v0.0.15
pydantic/montyv0.0.15Apr 18, 2026by samuelcolvin
AI Summary
Feature-rich release adding hasattr builtin, cheap sourcemaps, chain assignment support, and async Monty instance building without holding the GIL.
Key Highlights
- Implemented hasattr builtin function
- Added cheap sourcemaps
- Support chain assignment
- Support building Monty instance async without holding GIL
- Fix partial future resolution panics in mixed gathers
New Features
- hasattr builtin function
- Cheap sourcemaps
- Chain assignment support
- Async Monty instance building
- MontyRepl methods for calling Python functions from Rust
Full Release Notes
## What's Changed * fix(vm): fix partial future resolution panics in mixed gathers by @runyaga in https://github.com/pydantic/monty/pull/251 * Implement `hasattr` builtin function by @friendlymatthew in https://github.com/pydantic/monty/pull/66 * add benchmark for parsing 1000 lines by @samuelcolvin in https://github.com/pydantic/monty/pull/353 * Cheap sourcemaps by @samuelcolvin in https://github.com/pydantic/monty/pull/354 * raise `MontySyntaxError` for source with lone surrogates by @samuelcolvin in https://github.com/pydantic/monty/pull/355 * feat: add MontyRepl methods for calling Python functions from Rust by @rsr5 in https://github.com/pydantic/monty/pull/271 * wrap input unicode conversion errors as `MontyRuntimeError` by @samuelcolvin in https://github.com/pydantic/monty/pull/356 * support chain assignment by @samuelcolvin in https://github.com/pydantic/monty/pull/357 * Support building a `Monty` instance async and without holding the GIL by @samuelcolvin in https://github.com/pydantic/monty/pull/358 ## New Contributors * @runyaga made their first contribution in https://github.com/pydantic/monty/pull/251 **Full Changelog**: https://github.com/pydantic/monty/compare/v0.0.14...v0.0.15