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