Current section

Files

Jump to
ets CHANGELOG.md
Raw

CHANGELOG.md

# Changelog
## 0.9.0
- Add `update_element/3` - Thanks @APB9785
- Add `match_object/{1,2,3}` and `match_delete/2` - Thanks @APB9785
- Add `give_away/3`, `accept/1`, and `accept/6` - Thanks @APB9785
## 0.8.1
- Add Set.fetch/2 - Thanks @christhekeele
## 0.8.0
- Rename `Ets` to `ETS`
- Move `ETS.Set.KeyValueSet` to `ETS.KeyValueSet`
- Add `select/1` and `select/3` to `ETS.set` - Thanks @zachdaniel
- Handle and return :position_out_of_bounds error when calling `get_element`/`lookup_element` with a position greater than the size of one of the returned tuples
- Add documentation for named table usage pattern.
## 0.7.3
- Handle and return :read_protected error when reading from a private table from a different process
## 0.7.2
- Handle and return :write_protected error when inserting into a non-public table from a different process
- Handle and return :invalid_select_spec error
## 0.7.1
- Handle and return :record_too_small when size of inserted record is smaller than keypos
## 0.7.0
- Add `Access` protocol for `KeyValueSet` - Thanks @am-kantox
- Fix return issue in `KeyValueSet` delete/delete_all - Thanks @am-kantox
- Add documentation for choosing which table to use
## 0.6.0
- Add `ETS.KeyValueSet`
## 0.5.0
- Handle and return `:table_already_exists` on `new`
- Fix spec for `Set.get` to reflect possible nil return
- Implemented `delete_all` for `Set` and `Bag`
- Implemented `select` for `Set` and `Bag`
- Implemented `select_delete` for `Set` and `Bag`
- Implemented `get_element`/`lookup_element` for `Set` and `Bag`
- Add `Bag`s to `ETS.all`
- Add list default option values in `new` documentation
## 0.4.0
- Implement `ETS.Bag`
## 0.3.0
- Combined `put_multi` into `put` and `put_multi_new` into `put_new`
- `put_new` with existing key(s) is no longer an error condition
- Catch list of non-tuples passed to `put` or `put_new`
## 0.2.2
- Fix issue with docs
## 0.2.1
- Add `get_table` to access underlying ets table reference (to directly access not-yet-implemented functions of `:ets`)
## 0.2.0
- Redesign from ground up to use module/struct based approach
- Implemented `ETS.Set` and `ETS.Base`
- Set up CI and Readme badges