API client
        /
          Getting started
        /
          Update
  
        
          
          
          
        
        Dec. 04, 2023
      
  Update the Scala API client
You should keep your Scala API client up to date to benefit from improvements and bug fixes. Algolia’s Service Level Agreement only applies to the latest version of the API client.
The Scala API client follows Semantic Versioning. You can check what the latest version of the API client is on the GitHub release page.
Update with sbt
Change the version of the algoliasearch dependency:
Copy
1
libraryDependencies += "com.algolia" %% "algoliasearch-scala" % "[1,)"
Then run:
Copy
1
sbt update
Update with Maven
Change the version of the algoliasearch dependency on the line:
Copy
1
2
3
4
5
<dependency>
  <groupId>com.algolia</groupId>
  <artifactId>algoliasearch-scala_2.11</artifactId>
  <version>[1,)</version>
</dependency>
Then run:
Copy
1
mvn compile
Did you find this page helpful?