Releases: AppsFlyer/aerospike-clj
Releases · AppsFlyer/aerospike-clj
3.1.0
3.0.0
What's Changed
- Fix broken integration test; fix ClientEvents exception for the
operate
op by @asafch in #64 - Client version 6.1.7 by @idantavor in #62
New Contributors
- @idantavor made their first contribution in #62
Full Changelog: 2.0.6...3.0.0
2.0.6
2.0.5
2.0.3
2.0.1
2.0.0
Added
- Aerospike
Key
- can now coercejava.util.UUID
into keys alongside byte arrays,
ints, longs, strings andcom.aerospike.client.Value
. - Created the
protocols
namespace which now holds a myriad of protocols.- This includes new protocols that group Aerospike operations by CRUD/admin semantics.
- Can explicitly specify the port in the host string that is passed to the client
constructorinit-simple-aerospike-client
. - Integration test namespace now has the
^:integration
metadata:- Run unit tests with
lein test
- Run integration tests that require a locally-running Aerospike client via
lein test :integration
.
- Run unit tests with
Changed
- Artifact coordinates in Clojars have changed from
aerospike-clj/aerospike-clj
tocom.appsflyer/aerospike-clj
. - Upgraded dependency on
promesa
from5.1.0
to6.0.0
. - Implementations of
ClientEvents
protocol will no longer get the DB instance
for runtime parameters. Instead, they should be pre-configured at instance construction time. - Cleaned up the
client
namespace:- Removed the
IAerospikeClient
protocol it can create a collision withcom.aerospike.client.IAerospikeClient
.
Abstracting over the Java client instance selection is of no concern to a simple
client that interacts with a single cluster.- As a result
SimpleAerospikeClient
now directly uses the vars passed in
construction time instead of fetching them from theclient
with keywords, e.g.(:el client)
. - The return type of
get-cluster-stats
is no longer a triply-nested vector,
but a doubly-nested vector.
- As a result
- All protocols moved to
protocols
namespace. SimpleAerospikeClient
record now implements the protocols mentioned above.
- Removed the
- Mock client
- The
MockClient
record now implements the protocols mentioned above, so
production code could now have itsSimpleAerospikeClient
swapped with a mock
client in-place and without usingwith-redefs
. - Functionality that is needed for unit testing purposes is defined in the
Stateful
protocol andMockClient
instances are extended to this protocol.
- The
- Logging via
tools.logging
as a façade. - CI
- No longer runs the lein command
compile
- it would be executed implicitly bytest
- No longer runs the lein command
Removed
- The function
get-multiple
was removed in favor of the protocol methodget-batch
. - Dependency on
timbre
.
1.0.1: Merge pull request #43 from sol-sh/set
add set to the batch-read rec
1.0.0
Merge pull request #39 from AppsFlyer/listeners refactor listeners