unstale

pypi / onnx

onnx

What changed in onnx 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

2 breaking7 security10 new APIs and options1 performance5 behavior and defaults17 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

onnx 142 changes

Breaking changes 2

  • The IR version changes from 13 to 14; developers creating or consuming models may need to account for the new version.

    1.23.0release notes

  • ReduceLogSum operators in opset 28 are restricted to float types.

    1.23.0release notes

Security 7

  • ONNX has Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs)

    1.22.0security advisory

  • ONNX: Heap-Buffer-Overflow READ in Gemm Version Converter Adapter via Undersized Input Shape

    1.22.0security advisory

  • ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load

    1.21.0security advisory

  • ONNX: External Data Symlink Traversal

    1.21.0security advisory

  • ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.

    1.21.0security advisory

  • ONNX: TOCTOU arbitrary file read/write in save_external_dat

    1.21.0security advisory

  • onnx Vulnerable to Path Traversal via Symlink

    1.21.0security advisory

New APIs and options 10

  • Attention opset 25 adds the local_window_size attribute.

    1.23.0release notes

  • BitShift-28 adds signed integer type support.

    1.23.0release notes

  • Celu-28 adds float16, bfloat16, and double support.

    1.23.0release notes

  • Compress and related operators add bfloat16 support.

    1.23.0release notes

  • The latest DequantizeLinear reference implementation is registered.

    1.23.0release notes

  • FLOAT6E2M3 is added as a quantization data type.

    1.23.0release notes

  • FLOAT6E3M2 is added as a quantization data type.

    1.23.0release notes

  • The latest QuantizeLinear reference implementation is registered.

    1.23.0release notes

  • Opset 28 adds a mode attribute with DCR and CRD choices; function bodies are also added for SpaceToDepth and DepthToSpace.

    1.23.0release notes

  • SwiGLU is added as an ONNX function-op.

    1.23.0release notes

Performance 1

  • The reference Conv implementation is vectorized, changing its performance.

    1.23.0release notes

Behavior and default changes 5

  • Mod allows float input when fmod is 0.

    1.23.0release notes

  • Optional operators support all IR14 types.

    1.23.0release notes

  • Range is marked deterministic.

    1.23.0release notes

  • Reference evaluation now supports higher-rank inputs.

    1.23.0release notes

  • The reference evaluator performs runtime checks of shape annotations.

    1.23.0release notes

Fixes and other changes 17

  • Fixes a version miss for Opset 28.

    1.23.2release notes

  • Validates the offset in save_external_data.

    1.23.1release notes

  • The causal-mask and padding-mask paths in opsets 23 and 24 fix a bfloat16 type mismatch.

    1.23.0release notes

  • Causal-mask alignment and NaN robustness are fixed when is_causal is composed with attn_mask for external static KV caches.

    1.23.0release notes

  • Float parsing no longer depends on the locale.

    1.23.0release notes

  • The reference implementation rejects out-of-range axes.

    1.23.0release notes

  • A heap buffer over-read in shape inference for weight rank mismatch is fixed.

    1.23.0release notes

  • Einsum-28 adds bfloat16 support.

    1.23.0release notes

  • The checker rejects non-canonical FLOAT6 encodings.

    1.23.0release notes

  • The reference implementation fixes output shape for empty indices.

    1.23.0release notes

  • The reference implementation now handles scalar inputs.

    1.23.0release notes

  • Shape inference is fixed when depth is empty.

    1.23.0release notes

  • The reference implementation fixes behavior on empty boolean tensors.

    1.23.0release notes

  • The reference implementation now handles zero-length slices.

    1.23.0release notes

  • Shape inference validates num_scan_inputs to prevent underflow.

    1.23.0release notes

  • The reference implementation fixes min and max with multi-axis indices.

    1.23.0release notes

  • Circular mode now wraps non-sequence coordinates correctly.

    1.23.0release notes