NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #1844 most downloaded on PyPI
A prompt programming language
Latest stable
2.5.1
Last release 2 months ago
10 Sep 2026
Release timing varies
gaps range from 8 days to 6 months
Most releases are documented
notes for 31 of 38 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
38 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Prevent symlinks in the prompt registry by @masci in https://github.com/masci/banks/pull/79
Full Changelog: https://github.com/masci/banks/compare/v2.5.0...v2.5.1
fix: only parse marked output as chat messages by @masci in https://github.com/masci/banks/pull/78
{% for m in history %}{{ m | tojson }}{% endfor %}) no longer produces messages — the JSON is returned as literal text. Use {% chat %} blocks instead.image, audio, video, document, cache_control and tool filters now take the Jinja render context as their first argument. Templates are unaffected; only direct Python calls need updating.banks.types.CONTENT_BLOCK_REGEX is removed, replaced by content_block_start(sentinel) and CONTENT_BLOCK_END.chat_message_from_text() gained a sentinel keyword argument; without it, content blocks are no longer parsed.Prompt.text() output and the chat_messages() API are unchanged.
Full Changelog: https://github.com/masci/banks/compare/v2.4.5...v2.5.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix: validate prompt paths in DirectoryPromptRegistry by @masci in https://github.com/masci/banks/pull/77
Full Changelog: https://github.com/masci/banks/compare/v2.4.4...v2.4.5
fix: restrict media filter file paths to the current working directory by @masci in https://github.com/masci/banks/pull/76
Full Changelog: https://github.com/masci/banks/compare/v2.4.3...v2.4.4
fix: resolve tool callables from an explicit registry instead of importlib by @masci in https://github.com/masci/banks/pull/75
Full Changelog: https://github.com/masci/banks/compare/v2.4.2...v2.4.3
fix: prevent SSTI by switching to SandboxedEnvironment by @masci in https://github.com/masci/banks/pull/74
Full Changelog: https://github.com/masci/banks/compare/v2.4.1...v2.4.2
CI: explicitly ignore missing stubs for griffe by @masci in https://github.com/masci/banks/pull/72
Full Changelog: https://github.com/masci/banks/compare/v2.4.0...v2.4.1
Support binary inputs to Image, Audio, Video, and Document types by @bschloss in https://github.com/masci/banks/pull/67
Full Changelog: https://github.com/masci/banks/compare/v2.3.0...v2.4.0
fix typing and linting with latest Python by @masci in https://github.com/masci/banks/pull/62
Full Changelog: https://github.com/masci/banks/compare/v2.2.0...v2.3.0
feat: implement XML filter for Pydantic/dictionary/deserializable string by @AstraBert in https://github.com/masci/banks/pull/59
Full Changelog: https://github.com/masci/banks/compare/v2.1.3...v2.2.0
fix: populate template path when reading the directory index by @masci in https://github.com/masci/banks/pull/57
Full Changelog: https://github.com/masci/banks/compare/v2.1.2...v2.1.3
fix: fix unknown role error message + other small fixes by @anakin87 in https://github.com/masci/banks/pull/52
Full Changelog: https://github.com/masci/banks/compare/v2.1.1...v2.1.2
Update URLs by @fabaff in https://github.com/masci/banks/pull/48
Full Changelog: https://github.com/masci/banks/compare/v2.1.0...v2.1.1
Support string as input for DirectoryPromptRegistry and FilePromptRegistry and documentation correction by @AstraBert in https://github.com/masci/bank
Full Changelog: https://github.com/masci/banks/compare/v2.0.0...v2.1.0
feat: add variables property to the Prompt class by @masci in https://github.com/masci/banks/pull/39
variables property to the Prompt class by @masci in https://github.com/masci/banks/pull/39{% chat %} blocks by @masci in https://github.com/masci/banks/pull/38Full Changelog: https://github.com/masci/banks/compare/v1.8.0...v2.0.0
feat: re-introduce support for Python 3.9 by @masci in https://github.com/masci/banks/pull/37
minimal extra install option by @logan-markewich in https://github.com/masci/banks/pull/33Full Changelog: https://github.com/masci/banks/compare/v1.7.1...v1.8.0
fix: fix interleaved blocks in chat messages by @masci in https://github.com/masci/banks/pull/32
Full Changelog: https://github.com/masci/banks/compare/v1.7.0...v1.7.1
Added assistant support to banks for few shot learning by @ArmykOliva in https://github.com/masci/banks/pull/31
Full Changelog: https://github.com/masci/banks/compare/v1.6.1...v1.7.0
fix: support xml tags inside chat messages by @masci in https://github.com/masci/banks/pull/30
Full Changelog: https://github.com/masci/banks/compare/v1.6.0...v1.6.1
chore: remove deprecated 'generate' and 'run_prompt' by @masci in https://github.com/masci/banks/pull/28
Full Changelog: https://github.com/masci/banks/compare/v1.5.0...v1.6.0
feat: remove deprecated extension HFInferenceEndpointsExtension by @masci in https://github.com/masci/banks/pull/23
image tag filter to support images within a prompt for vision models by @masci in https://github.com/masci/banks/pull/22HFInferenceEndpointsExtension by @masci in https://github.com/masci/banks/pull/23Full Changelog: https://github.com/masci/banks/compare/v1.4.0...v1.5.0
feat: Add function calling from {% completion %} by @masci in https://github.com/masci/banks/pull/20
{% completion %} by @masci in https://github.com/masci/banks/pull/20Full Changelog: https://github.com/masci/banks/compare/v1.3.0...v1.4.0
feat: add completion extension by @masci in https://github.com/masci/banks/pull/19
Full Changelog: https://github.com/masci/banks/compare/v1.2.1...v1.3.0
fix: return a single chat message instead of an empty list when template has no {% chat %} tags by @masci in https://github.com/masci/banks/pull/18
{% chat %} tags by @masci in https://github.com/masci/banks/pull/18Full Changelog: https://github.com/masci/banks/compare/v1.2.0...v1.2.1
fix: re-add Python 3.10 support by @masci in https://github.com/masci/banks/pull/17
Full Changelog: https://github.com/masci/banks/compare/v1.1.0...v1.2.0
feat: add cache_control filter to support prompt caching in Anthropic by @masci in https://github.com/masci/banks/pull/16
cache_control filter to support prompt caching in Anthropic by @masci in https://github.com/masci/banks/pull/16Full Changelog: https://github.com/masci/banks/compare/v1.0.0...v1.1.0
feat: add meta and version to the Prompt class by @masci in https://github.com/masci/banks/pull/12
name field to Prompt by @masci in https://github.com/masci/banks/pull/13{% chat %} by @masci in https://github.com/masci/banks/pull/15Full Changelog: https://github.com/masci/banks/compare/v0.6.0...v1.0.0
feat & bugfix: Added metadata features and fixed naming bug by @mayankjobanputra in https://github.com/masci/banks/pull/11
Full Changelog: https://github.com/masci/banks/compare/v0.5.0...v0.6.0
feat: cache prompt rendering by @masci in https://github.com/masci/banks/pull/4
Prompt.from_template by @masci in https://github.com/masci/banks/pull/6from_template and add Directory Registry by @masci in https://github.com/masci/banks/pull/9Full Changelog: https://github.com/masci/banks/compare/v0.4.1...v0.5.0
fix: Fix a regression in the generate extension. by @masci in https://github.com/masci/banks/pull/3
generate extension. by @masci in https://github.com/masci/banks/pull/3Full Changelog: https://github.com/masci/banks/compare/v0.4.0...v0.4.1
Nothing published for this version
Nothing published for this version
Full Changelog: https://github.com/masci/banks/compare/v0.1.1...v0.2.0
Full Changelog: https://github.com/masci/banks/compare/v0.1.1...v0.2.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.