Skip to content

Releases: jeannemas/better-json-serializer

v3.0.0 - Updated plugins format

03 Nov 22:54
Compare
Choose a tag to compare

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's null 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...v3.0.0

v2.0.3

03 Dec 03:16
Compare
Choose a tag to compare

Removed redundant type folder

v2.0.2

03 Dec 03:08
Compare
Choose a tag to compare

Added missing entry in package

v2.0.1

26 Nov 23:19
Compare
Choose a tag to compare

Added missing entries in package

v2.0.0 - Major rewrite

15 Nov 18:29
Compare
Choose a tag to compare
  • 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

Compare versions

Initial publish

10 Nov 03:49
Compare
Choose a tag to compare
v1.0.2

v1.0.2