Skip to content

v2.2.0

Compare
Choose a tag to compare
@AleksandrRogov AleksandrRogov released this 09 Feb 19:09

Changes

  • ⚠️ Dropping official support for Node.js v16. Mainly because I cannot run actions with that version anymore, so I cannot guarantee that any future changes will continue working in it.
  • Replaced a custom UUID generator function with a built-in randomUUID (Crypto API).
    ⚠️ This may cause issues in the older browsers, and the library must now run in the "Secure Context" (https).
  • Slightly optimized dateReviver function.

Fixes

  • Modified expand property in the type definitions to accept a string. It could always accept a string together with an array of expand objects.