From 72a3013e90d1d5fc238fd8a055b157e96a79bade Mon Sep 17 00:00:00 2001 From: Alexey Kuzin Date: Thu, 8 Jun 2023 19:20:40 -0400 Subject: [PATCH] Prepare for release 0.12.0 --- CHANGELOG.md | 8 ++++++-- README.md | 24 +++++++++++++----------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8e8b3c0..23603169 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,13 @@ ## [Unreleased] +## [0.12.0] - 2023-06-09 + ### Internal and API changes -- **[breaking change]** Split call API into calls with tuple result as return type and calls with generic Object return type ([#123](https://github.com/tarantool/cartridge-springdata/issues/123)) -- Add buildSingleValueResultMapper() in mapper builder for generic call result mappers. That will simplify the support for auto object converter in SpringData. +- **[breaking change]** Split `call*` client API methods into calls with Tuple result as a return type +and calls with generic Object as a return type ([#123](https://github.com/tarantool/cartridge-springdata/issues/123)) +- Add buildSingleValueResultMapper() in mapper builder for generic call result mappers. +That will simplify the support for auto object converter in SpringData module. ### Bugfixes - Support both string and integer values in index fields metadata diff --git a/README.md b/README.md index ed8988be..9a16b229 100644 --- a/README.md +++ b/README.md @@ -16,30 +16,32 @@ with sharding via [vshard](https://github.com/tarantool/vshard). ## Quickstart -Example of single instance Tarantool application and java app connected using cartridge-java. +Here is an easy way to try using Tarantool together with this Java driver. -The easiest way to start experimenting with cartridge-java and single instance tarantool app is to use -[single instance test](/src/test/java/io/tarantool/driver/integration/SingleInstanceExampleIT.java). -You can set breakpoints and run it in debug mode. -Testcontainers will start [single instance tarantool application](src/test/resources/single-instance.lua) for you. -So you will be able to manipulate data in Tarantool in real life through java expressions or Tarantool console. +Look at the [single instance test](/src/test/java/io/tarantool/driver/integration/SingleInstanceExampleIT.java) to start +experimenting with a single Tarantool server instance and a simple Java app. +You can set breakpoints and run it in "debug" mode using your IDE. +Testcontainers library will start a [single instance Tarantool server](src/test/resources/single-instance.lua) for you. +Try to manipulate data in Tarantool in real time through evaluating Java expressions in debug mode or using the Tarantool +console. -If you want to start tarantool application manually all you need is to run this file in tarantool +If you want to start a simple Tarantool application manually, all you need is to install Tarantool and run it with this file: ``` bash tarantool src/test/resources/single-instance.lua ``` -Example of TarantoolClient set up + +Example of creating a `TarantoolClient` instance: https://github.com/tarantool/cartridge-java/blob/2f8e826deb9833a5deb6d21177527a46e8fdd039/src/test/java/io/tarantool/driver/integration/SingleInstanceExampleTest.java#L51-L59 -Example of client API usage +Example of the `TarantoolClient` API usage: https://github.com/tarantool/cartridge-java/blob/2f8e826deb9833a5deb6d21177527a46e8fdd039/src/test/java/io/tarantool/driver/integration/SingleInstanceExampleTest.java#L64-L79 -If you use this code in another project don't forget to add `cartridge-driver` dependency: +If you use this code in another project don't forget to add a `cartridge-driver` dependency: ```xml io.tarantool cartridge-driver - 0.11.2 + 0.12.0 ``` ## Advanced usage