Releases: eproxus/mapz
Releases · eproxus/mapz
v2.4.0
Added
- New
deep_intersect/2
function - New
deep_intersect_with/3
function
Fixed
deep_merge_with/3
now exits withbadarg
in case the fun is not valid.
v2.3.0
v2.2.0
Added
- New
deep_iterator/1
function - New
deep_next/1
function - New
deep_merge_with/2
function - New
deep_merge_with/3
function
v2.1.1
v2.1.0
Added
- New
deep_update_with/4
function
v2.0.0
Added
- New
deep_update/3
function - New
deep_update_with/3
function
Changed
- The
{badvalue, P}
exception fromdeep_put/3
now returns a path to the bad
value instead of the value itself to make it coherent with the new
deep_update/3
implementation. - The
{badkey, K}
exception fromdeep_get/2
has been changed to
{badvalue, P}
to make it coherent withdeep_put/3
and others.
v1.0.0
Added
- Clarified documentation for
deep_put/3
regarding possible exceptions.
Changed
deep_remove
now removes the last existing key in the path, ignoring the rest
to keep it in line with the behavior ofmaps:remove/1
which silently returns
the map if the key doesn't exist.