unstale

pypi / flax

flax

What changed in flax 0.12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-30.

1 breaking3 new APIs and options2 behavior and defaults5 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

flax 0.1211 changes

Breaking changes 1

  • Raises ValueError when the separator conflicts with keys.

    0.12.11release notes

New APIs and options 3

  • Adds a capture_noop option to Module.perturb.

    0.12.11release notes

  • Adds a capture_noop option to Module.sow.

    0.12.11release notes

  • Adds a config flag for controlling no-op capture in sow.

    0.12.11release notes

Behavior and default changes 2

  • Makes nnx.Sequential iterable and filters **kwargs per layer.

    0.12.11release notes

  • The HiPrim fallback now uses attribute lookup.

    0.12.10release notes

Fixes and other changes 5

  • Changes to traverse utilities were reverted, restoring the behavior before the breaking change.

    0.12.12release notes

  • Skips Sequence modules in capture to prevent mixed key types.

    0.12.11release notes

  • Fixes tracing cache misses by caching SimpleCondFn wrappers.

    0.12.11release notes

  • Fixes the is_causal mask during decode.

    0.12.11release notes

  • Stores WeightNorm scales as Param so they are trainable.

    0.12.11release notes