v0.0.7

pydantic/montyv0.0.7Feb 19, 2026by samuelcolvin

AI Summary

Major release adding core Python functionality including map builtin, dataclass methods, asyncio run support, and user-defined function calling. Significant HeapGuard system improvements and async stack overflow fix.

Key Highlights

  • Implemented map builtin function
  • Added dataclass methods support
  • Implemented asyncio run functionality
  • Fixed async stack overflow
  • Added calling of user-defined functions
  • Continued HeapGuard system improvements across bytecode/vm and builtins

New Features

  • map builtin function
  • dataclass methods
  • asyncio.run()
  • user-defined function calling
  • HeapGuard memory safety system

Full Release Notes

## What's Changed
* convert files in `bytecode/vm` to `HeapGuard` by @davidhewitt in https://github.com/pydantic/monty/pull/166
* remove static dispatch from `PrintWriter` in `VM` by @davidhewitt in https://github.com/pydantic/monty/pull/142
* convert `signature.rs` and more builtins to HeapGuard by @davidhewitt in https://github.com/pydantic/monty/pull/170
* Add `redundant_clone` clippy lint by @davidhewitt in https://github.com/pydantic/monty/pull/169
* Implement `map` builtin function by @friendlymatthew in https://github.com/pydantic/monty/pull/64
* fix async stack overflow by @samuelcolvin in https://github.com/pydantic/monty/pull/174
* more heap guard cleanups by @davidhewitt in https://github.com/pydantic/monty/pull/179
* better Pydantic AI example by @samuelcolvin in https://github.com/pydantic/monty/pull/173
* Implement dataclass methods by @samuelcolvin in https://github.com/pydantic/monty/pull/175
* Builtin resolution by @samuelcolvin in https://github.com/pydantic/monty/pull/182
* Asyncio run by @samuelcolvin in https://github.com/pydantic/monty/pull/185
* implement calling of user-defined functions by @davidhewitt in https://github.com/pydantic/monty/pull/180
* prep to 0.0.7 release by @samuelcolvin in https://github.com/pydantic/monty/pull/188

## New Contributors
* @friendlymatthew made their first contribution in https://github.com/pydantic/monty/pull/64

**Full Changelog**: https://github.com/pydantic/monty/compare/v0.0.6...v0.0.7