v0.0.15

ByteDance-Seed/SeedVRv0.0.15Apr 18, 2026by samuelcolvin

AI Summary

This release introduces core Python builtin functions (`setattr`, `hasattr`), improves sourcemaps, and enhances error handling for Unicode conversion. It also adds support for building the Monty instance asynchronously without holding the GIL.

Key Highlights

  • Implement `setattr` builtin function
  • Implement `hasattr` builtin function
  • Cheap sourcemaps
  • Support building Monty instance async without holding GIL
  • Wrap input unicode conversion errors as `MontyRuntimeError`

New Features

  • setattr builtin function
  • hasattr builtin function
  • Cheap sourcemaps
  • Async build support
  • Chain assignment support
  • Unicode error handling

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