Skip to content

Releases: AppsFlyer/aerospike-clj

3.1.0

10 Sep 09:14
Compare
Choose a tag to compare

What's Changed

  • [skip ci] Update CHANGELOG, use semver spec 2.0.0 by @evg-tso in #66
  • Allocations improvements by @evg-tso in #69

Full Changelog: 3.0.0...3.1.0

3.0.0

10 Sep 09:14
4a530aa
Compare
Choose a tag to compare

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

Full Changelog: 2.0.6...3.0.0

2.0.6

01 Dec 15:17
c601c8b
Compare
Choose a tag to compare

What's Changed

  • Optimize aerospike-record/record->map by @evg-tso in #61

Full Changelog: 2.0.5...2.0.6

2.0.5

15 Aug 14:37
7713723
Compare
Choose a tag to compare

Changed

  • TTLs for the mock client are now correctly mocked.
    TTL is stored (and returned in get operations) as seconds from Aerospike epoch time.

Updated

  • Dependencies
    • promesa 6.0.0 -> 8.0.450
    • org.clojure/tools.logging 1.1.0 -> 1.2.4

2.0.3

27 Jul 08:38
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.1...2.0.3

2.0.1

31 Jan 08:47
Compare
Choose a tag to compare

Updated

  • Links in README and CI config.

2.0.0

31 Jan 08:47
Compare
Choose a tag to compare

Added

  • Aerospike Key - can now coerce java.util.UUID into keys alongside byte arrays,
    ints, longs, strings and com.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
    constructor init-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.

Changed

  • Artifact coordinates in Clojars have changed from aerospike-clj/aerospike-clj
    to com.appsflyer/aerospike-clj.
  • Upgraded dependency on promesa from 5.1.0 to 6.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 with com.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 the client 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.
    • All protocols moved to protocols namespace.
    • SimpleAerospikeClient record now implements the protocols mentioned above.
  • Mock client
    • The MockClient record now implements the protocols mentioned above, so
      production code could now have its SimpleAerospikeClient swapped with a mock
      client in-place and without using with-redefs.
    • Functionality that is needed for unit testing purposes is defined in the
      Stateful protocol and MockClient instances are extended to this protocol.
  • Logging via tools.logging as a façade.
  • CI
    • No longer runs the lein command compile - it would be executed implicitly by test

Removed

  • The function get-multiple was removed in favor of the protocol method get-batch.
  • Dependency on timbre.

1.0.1: Merge pull request #43 from sol-sh/set

02 Sep 09:57
2704149
Compare
Choose a tag to compare
add set to the batch-read rec

1.0.0

25 Aug 15:49
a399128
Compare
Choose a tag to compare
Merge pull request #39 from AppsFlyer/listeners

refactor listeners

0.6.0

30 Jul 11:58
16542a8
Compare
Choose a tag to compare
Merge pull request #37 from AppsFlyer/better-client-events

better client-events