v1.1.0
-
Enhancements
- Maps can be decoded with a custom key type by passing
:map_keys
in the options oflookup/5
- default is
:atoms
(keeping current behaviour, usesString.to_atom/1
) :atoms!
usesString.to_existing_atom/1
:strings
to perform no conversion (future default)
- default is
- Precision for
:double
data can be defined by passing:double_precision
in the options oflookup/5
- default is
8
(keeping current behaviour) nil
will deactivate rounding (future default)
- default is
- Precision for
:float
data can be defined by passing:float_precision
in the options oflookup/5
- default is
4
(keeping current behaviour) nil
will deactivate rounding (future default)
- default is
- Maps can be decoded with a custom key type by passing
-
Bug fixes
- Max values for
:double
and:float
datatypes (magic'Inf'
string in Perl) should now properly decode
- Max values for
-
Deprecations
- The function
MMDB2Decoder.Data.value/2
is no longer documented as it should not be called directly. It will be made fully private in the next major release
- The function