@@ -55,12 +55,12 @@ Just include immudb4j as a dependency in your project:
5555 <dependency >
5656 <groupId >io.codenotary</groupId >
5757 <artifactId >immudb4j</artifactId >
58- <version >0.9.10.2 </version >
58+ <version >1.0.0-alpha1 </version >
5959 </dependency >
6060 ```
6161- if using Gradle:
6262 ``` groovy
63- compile 'io.codenotary:immudb4j:0.9.10.2 '
63+ compile 'io.codenotary:immudb4j:1.0.0-alpha1 '
6464 ```
6565
6666` immudb4j ` is currently hosted on both [ Maven Central] and [ Github Packages] .
@@ -77,9 +77,9 @@ and _Configuring Gradle for use with GitHub Packages_ at [Github Packages].
7777
7878## Supported Versions
7979
80- immudb4j supports the [ latest immudb server] release, that is 1.3.0 at the time of updating this document.
80+ immudb4j supports the [ latest immudb server] release, that is 1.4.1 at the time of updating this document.
8181
82- [ latest immudb server ] : https://github.com/codenotary/immudb/releases/tag/v1.3.0
82+ [ latest immudb server ] : https://github.com/codenotary/immudb/releases/tag/v1.4.1
8383
8484## Quickstart
8585
@@ -121,15 +121,15 @@ Customizing the `State Holder`:
121121
122122### User Sessions
123123
124- Use ` login ` and ` logout ` methods to initiate and terminate user sessions:
124+ Use ` openSession ` and ` closeSession ` methods to initiate and terminate user sessions:
125125
126126``` java
127- immuClient. login( " usr1" , " pwd1" );
127+ immuClient. openSession( " defaultdb " , " usr1" , " pwd1" );
128128
129- // Interact with immudb using logged-in user .
129+ // Interact with immudb using open session .
130130 // ...
131131
132- immuClient. logout ();
132+ immuClient. closeSession ();
133133```
134134
135135### Creating a Database
@@ -140,14 +140,6 @@ Creating a new database is quite simple:
140140 immuClient. createDatabase(" db1" );
141141```
142142
143- ### Setting the Active Database
144-
145- Specify the active database with:
146-
147- ``` java
148- immuClient. useDatabase(" db1" );
149- ```
150-
151143### Standard Read and Write
152144
153145immudb provides standard read and write operations that behave as in a standard
@@ -213,7 +205,7 @@ Atomic multi-key read (all entries are retrieved or none):
213205
214206### Closing the client
215207
216- Apart from the ` logout ` , for closing the connection with immudb server use the ` shutdown ` operation:
208+ Apart from the ` closeSession ` , for closing the connection with immudb server use the ` shutdown ` operation:
217209
218210``` java
219211 immuClient. shutdown();
0 commit comments