Current section
Files
Jump to
Current section
Files
CHANGELOG.md
# Changelog for Abit
## v0.2.0
### Abit
* BREAKING - renamed function `set_bit/3` to `set_bit_at/3` to make it consistent with the API of the Bitmask module.
### Abit.Counter
* BREAKING - Added an option `wrap_around` to set wrap around behavior. By default wrap around is disabled from now on.
* BREAKING - Using built-in signed/unsigned implementation of integer matching instead of the custom one. Signed integers now wrap around the same way as in Elixir.
* BREAKING - The return value of `put/3` and `add/3` changed to `{:ok, {index, final_value}}` or `{:error, :value_out_of_bounds}` if the option `wrap_around` is set to false and value is out of bounds.