Packages

exact-mirror

1.2.6 · 6 Sep 2026MIT1.2M / weekRepositorynpmAtom feed

Upgrading exact-mirror from 0.1.0 to 1.2.6

26 releases in betweenevery note read

Other targets from 0.1.0Newest 0.x0.2.7
The note of 1.0.0 lists no breaking change or deprecation, which is rare for a major.
?
changes to make
0
advisories fixed
5
new
8
fixes

Release by release

  1. 1.2.1 – 1.2.66 releases, nothing new or fixed in the notes

  2. 1.2.0

    15 Jun 20261 new
    • new

      Add decode / encode codec transform mode. A drop in replacement for TypeBox Value.Decode

  3. 1.1.1nothing new or fixed in the note

  4. 1.1.0

    9 Jun 20261 new · 1 fix
    • new

      Support cyclic schema (~kind: 'Cyclic'): each $defs definition compiles to its own mirror function and recursion happens between functions at runtime — unbounded depth, no recursionLimit truncation, no exponential ref inlining, modules option no longer required

    • fixed

      Handle array schema without items and object schema without properties, eg. elysia t.ArrayString() inside a union crashed codegen

  5. 1.0.2nothing new or fixed in the note

  6. 1.0.1

    1 Jun 20261 new
    • new

      Add emit method

  7. 0.2.6 – 1.0.03 releases, nothing new or fixed in the notes

  8. 0.2.5

    26 Nov 20251 fix
    • fixed

      Handle strict union check in array

26 other lines we could not sort, mostly version bumps
  • Encode an union member (or array element)

    1.2.6
  • A decoded value that no sibling matches (e.g. a JSON array next to an object member) is returned as-is

    1.2.6
  • sanitize still applies inside a container-shaped codec

    1.2.6
  • Scalar codecs (Numeric, Date) no longer re-enter their union on decode

    1.2.6
  • decode stop dropping optional fields of a container produced by a codec

    1.2.5
  • sanitize now not applied to a codec decoded value

    1.2.5
  • Codec missing field is sometime lossy

    1.2.4
  • A __proto__ key in a record value no longer hijacks the cleaned output's prototype

    1.2.3
  • Building a mirror over a union no longer throws on a frozen union member (e.g. Elysia's Object.freezed coercion singletons)

    1.2.2
  • A plain Ref used as a union member is now resolved against definitions before the union's Compile gate, so the ref branch validates and decodes instead of falling through undecoded

    1.2.2