Skip to content

v0.13.0

@nshkrdotcom nshkrdotcom tagged this 22 Jan 06:42
This release introduces process-scoped runtime defaults and enhanced testing
utilities, alongside significant improvements to documentation generation.

Core Runtime Enhancements
- Added SnakeBridge.RuntimeContext for managing process-level defaults.
- Introduced SnakeBridge.with_runtime/2 macro for scoped configuration.
- Added SnakeBridge.script macros as the preferred script execution API.
- Implemented rt, args, and opts helpers for cleaner call syntax.

Testing Improvements
- Added SnakeBridge.TestCase CaseTemplate for automatic setup and teardown.
- Simplified pool selection and session management in ExUnit tests.

Documentation and Wrapper Generation
- Python class and module docstrings are now included in Elixir @moduledoc.
- Added version and metadata tracking for Python stdlib and packages.
- Support for docs_url in python_deps to link to external Python documentation.
- Added Docs.nest_modules_by_prefix to improve HexDocs navigation tree.
- Markdown converter now wraps grid tables in code blocks for compatibility.

Manifest and Introspection
- Manifest now tracks module-level metadata and docstring sources.
- Python introspection script now fetches module versions and docstrings.
- Generator now accepts module_docs and lock_data to enrich wrappers.

Maintenance
- Updated all example projects to version 0.13.0.
- Regenerated all example wrappers with the new documentation layout.
- Improved session resolution in the CallbackRegistry.
Assets 2
Loading