Skip to content

Commit

Permalink
Documented changed send_key policy default
Browse files Browse the repository at this point in the history
  • Loading branch information
jhecking committed Nov 9, 2018
1 parent 3dd171d commit e330acc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/api-changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Backward Incompatible API Changes

<a name="v2.9.0"></a>
## Version 2.9.0

### Changed Default for `send_key` Policy

The default value for the `send_key` write policy has changed from true to false. I.e. by default, the client only sends the record digest to the server on writes and no longer sends the user key.

The default `send_key` policy can be set through the global client policy:

require "aerospike"
include Aerospike

policy = ClientPolicy.new(
policies: {
write: WritePolicy.new(send_key: true)
}
)
client = Client.new(policy: policy)

<a name="v2.6.0"></a>
## Version 2.6.0

Expand Down

0 comments on commit e330acc

Please sign in to comment.