Skip to content

Releases: neg4n/obj-serialize

v2.1.0

08 Feb 05:51
cd285b6
Compare
Choose a tag to compare

What's Changed

  • Recode the object traverse and improve tests by @neg4n in #4

Note

The object traverse no longer depends on external flattie and nestie__ packages so the whole library is runtime dependency free 🚀

Full Changelog: 2.0.0...2.1.0

v2.0.0

07 Feb 23:39
4b9cf41
Compare
Choose a tag to compare

BREAKING CHANGE

From now on, the serialize (so also nextServerSideSerialize) does not support serializing Circular References

What else changed?

  • Removed lodash (see #1)
  • Migrated microbundle to tsup (#2)
  • Switched from flatten package to flattie and nestie
  • Fixed ESM and CJS library exports - see https://arethetypeswrong.github.io/?p=obj-serialize%402.0.0
  • Created unit tests for predefined serializers (using Next.js internal helpers for checking whether values are serializable or not)