Releases: jeannemas/better-json-serializer
Releases · jeannemas/better-json-serializer
v3.0.0 - Updated plugins format
Changes
- Added new built-in plugins for special cases values:
Infinity
NaN
undefined
Breaking changes
- Reworked configuration management
Configuration is now managed by the
.config
property on the serializer instance. - Removed
version
property from serialized object.This property was already unused and was taking space on the serialized object making it
heavier for nothing. - Removed built-in plugin for
null
, value will be inserted as native JSON'snull
value. - Plugins are now middlewares, deferring the roles to them to identify if a value should be
serialized instead of leaving the job to the serializer
v2.0.3
v2.0.2
v2.0.1
v2.0.0 - Major rewrite
- Updated README to better document package
- Improved TypeScript declarations:
- Removed redundant declarations
- Improved overload declarations
- Removed auto-loading of default plugins to reduce package size
- Simplified configuration, and removed unsecure configuration property
- Added reviver1replacer functions (just like the native
JSON
object) - Removed default plugin for
Date
as there was an issue with it - Added tests
Initial publish
v1.0.2 v1.0.2