unstale

npm / @owf/identity-common

@owf/identity-common

What changed in @owf/identity-common 0.4 to 0.5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

4 breaking8 new APIs and options

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@owf/identity-common 0.51 changes

Breaking changes 1

  • The CommonJS build is removed; only ESM is published, avoiding the dual-package hazard that caused instanceof checks to fail in single-module-system runtimes.

    0.5.0release notes

@owf/identity-common 0.411 changes

Breaking changes 3

  • Base64 and base64url now share one codec; decoding input with an impossible length throws instead of returning a corrupt byte.

    0.4.0release notes

  • Invalid base64url, UTF-8 or JSON in a JWT header or payload now throws IdentityCommonException('Invalid JWT as input') without exposing parser details.

    0.4.0release notes

  • These APIs must now be available in the environment for stringToBytes and bytesToString.

    0.4.0release notes

New APIs and options 8

  • Accepts { fatal: true } to throw on invalid UTF-8 instead of replacing it.

    0.4.0release notes

  • Adds a function for decoding JSON from base64url input.

    0.4.0release notes

  • Accepts { fatal: true } to throw on invalid UTF-8 instead of replacing it.

    0.4.0release notes

  • Adds a function to convert a date to seconds.

    0.4.0release notes

  • Adds a function for extracting media types from Content-Type header values.

    0.4.0release notes

  • Adds a function for comparing Content-Type values against expected media types, ignoring casing and parameters.

    0.4.0release notes

  • Adds a function for working with the current time in seconds.

    0.4.0release notes

  • Adds a function to convert seconds to a date.

    0.4.0release notes