unstale

pypi / pydantic-monty

pydantic-monty

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

6 breaking1 security35 new APIs and options2 performance7 behavior and defaults1 tooling20 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.1 on npm

pydantic-monty 172 changes

Breaking changes 6

  • re.split() results now include capture groups.

    1.2.0release notes

  • Rejects a script path that collides with the type stubs file.

    1.1.0release notes

  • Dumps switch from postcard to CBOR.

    1.0.0release notes

  • AutoOsCalls is renamed to OsPolicy.

    1.0.0release notes

  • Session max_duration is replaced with feed and turn limits.

    1.0.0release notes

  • Wire types are restricted to a whitelist; other values use a proxy.

    1.0.0release notes

Security 1

  • Resource limit checks were added for binascii and base64 operations.

    1.2.0release notes

New APIs and options 35

Performance 2

  • F-string concatenation now optimizes buffer preallocation and refcount churn.

    1.2.0release notes

  • Sequence unpacking was optimized to use direct unpacking.

    1.2.0release notes

Behavior and default changes 7

  • File objects are now iterable.

    1.2.0release notes

  • The binary module is now loaded eagerly at package import.

    1.2.0release notes

  • Sets and frozensets now support ordering comparisons.

    1.2.0release notes

  • Many more dunder methods are now supported on user instances.

    1.2.0release notes

  • Await handling becomes eager.

    1.0.0release notes

  • Monty drops its experimental framing ahead of v1.

    1.0.0release notes

  • The source position of every suspension is reported.

    1.0.0release notes

Tooling 1

Fixes and other changes 20

  • Float format precision is capped at INT_MAX - 1024, matching CPython 3.14.8.

    1.2.0release notes

  • JavaScript print callbacks no longer swallow thrown null.

    1.2.0release notes

  • List slice assignment is now supported.

    1.2.0release notes

  • open() now honours its newline argument.

    1.2.0release notes

  • Restored session budgets are capped at the destination limits.

    1.2.0release notes

  • Treats bool values as int values in arithmetic expressions.

    1.1.0release notes

  • Scans raise, assert, and except expressions for closure captures.

    1.1.0release notes

  • Fixes octal escapes in the re module.

    1.1.0release notes

  • The module gains uu, quoted-printable, and CRC-16 conversions.

    1.0.0release notes

  • casefold and other case methods gain improved compatibility.

    1.0.0release notes

  • date.today() is answered during standard execution.

    1.0.0release notes

  • datetime.now() is answered during standard execution.

    1.0.0release notes

  • Exception classes are resolved directly and modeled inbound.

    1.0.0release notes

  • Integer/float arithmetic on long integers and float power overflow match CPython.

    1.0.0release notes

  • The math module accepts long integers.

    1.0.0release notes

  • Container growth is checked against the memory limit before allocation.

    1.0.0release notes

  • pow() accepts long integers.

    1.0.0release notes

  • print(file=sys.stderr) is supported.

    1.0.0release notes

  • round() accepts long integers.

    1.0.0release notes

  • Unpacking supports attribute and subscript targets.

    1.0.0release notes