Module

Access

Changes by version

Elixir 1.19.0

· 1 change

Enhancement Tool: Elixir

Add Access.values/0 for traversing maps and keyword lists values

Elixir 1.17.0

· 1 change

Enhancement Tool: Elixir

Add Access.find/1 that mirrors Enum.find/2

Elixir 1.14.0

· 1 change

Enhancement Tool: Elixir

Add Access.slice/1

Elixir 1.11.0

· 1 change

Enhancement Tool: Elixir

Add Access.at!/1

Elixir 1.9.0

· 1 change

Enhancement Tool: Elixir

Allow Access.at/1 to handle negative index

Elixir 1.5.0

· 1 change

Enhancement Tool: Elixir

Optimize Access.get/2

Elixir 1.4.0

· 2 changes

Bugfix Tool: Elixir

Do not accept nils in Access.key/1 and Access.key/2 in favor of explicit default values (or Access.key!/1 if you expect the key to always be available)

Enhancement Tool: Elixir

Access.key/1 is deprecated due to erratic behaviour for missing keys, please use Access.key/2 instead with proper default values

Elixir 1.3.0

· 1 change

Enhancement Tool: Elixir

Add support for Access.all/0, Access.elem/1, Access.key/2 and Access.key!/1 for traversing nested data structures

Elixir 1.2.0

· 1 change

Bugfix Tool: Kernel

Improve error messages when using Access on non-valid key-value structures

Elixir 1.1.0

· 1 change

Enhancement Tool: Elixir

Implementing the Access protocol is deprecated. The Access protocol relies on the code server in development and test mode (when protocol consolidation is not applied) and it generated a bottleneck when working with multiple processes and the Access protocol was invoked hundreds of times (which is not uncommon). Note the Access module and the opts[key] syntax are not affected and they are not deprecated, only the underlying protocol dispatch

Elixir 0.14.3

· 2 changes

Enhancement Tool: Elixir

Allow function access on get_in/2 and get_and_update_in/3

Enhancement Tool: Elixir

No longer fill in missing intermediate values with empty maps

Elixir 0.14.0

· 2 changes

Enhancement Tool: Elixir

Access.access/2 is deprecated in favor of Access.get/2

Enhancement Tool: Elixir

Kernel.access/2 no longer exists and the Access protocol now requires get/2 (instead of access/2) and get_and_update/3 to be implemented