Skip to content

chore(python): bump monty to 49faa4c (0.0.17) and Rust to 1.95.0#1520

Merged
chaliy merged 2 commits intomainfrom
claude/bump-monty-i7xaU
May 4, 2026
Merged

chore(python): bump monty to 49faa4c (0.0.17) and Rust to 1.95.0#1520
chaliy merged 2 commits intomainfrom
claude/bump-monty-i7xaU

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented May 4, 2026

Summary

  • Bump pinned monty git rev from 2e9df4b (0.0.11) to 49faa4c (0.0.17)
  • Bump pinned Rust toolchain to 1.95.0 (required by monty 0.0.17) in rust-toolchain.toml and all dtolnay/rust-toolchain@<ver> refs across .github/workflows/*
  • Update PrintWriter::CollectPrintWriter::CollectString at four call sites in crates/bashkit/src/builtins/python.rs (variant renamed upstream; Collect is now CollectString, alongside the new CollectStreams and Callback variants)

Test plan

  • cargo fmt --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo clippy --all-targets -- -D warnings (default features, matches just check)
  • cargo test -p bashkit --features python --lib (2245 passed)
  • cargo test -p bashkit --lib (2185 passed, default features)
  • cargo test --features python --test python_integration_tests (129 passed — covers all four renamed PrintWriter::CollectString call sites)
  • cargo test --features python --test python_security_tests (115 passed)
  • CI green

Generated by Claude Code

monty 0.0.17 requires rustc 1.95, so bump rust-toolchain.toml and
the dtolnay/rust-toolchain refs in CI workflows alongside the
PrintWriter::Collect -> PrintWriter::CollectString rename.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 4, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit 1151494 Commit Preview URL

Branch Preview URL
May 04 2026, 02:53 AM

monty 0.0.17 lowered debug-build MAX_NESTING_DEPTH from 35 to 30.
Drop the test's nesting depth from 30 to 25 so it stays within the
new budget on debug builds.
@chaliy chaliy merged commit a53522d into main May 4, 2026
34 checks passed
@chaliy chaliy deleted the claude/bump-monty-i7xaU branch May 4, 2026 03:04
@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

chaliy added a commit that referenced this pull request May 4, 2026
Minor release bumping `0.3.0` → `0.4.0`.

## Highlights

- **Builtin extension abstraction** — New public `Extension` trait
groups related builtins for one-call registration on
`BashBuilder`/`BashToolBuilder`. TypeScript registration now flows
through `TypeScriptExtension`, and `ScriptedTool` reuses a shared
`ToolDefExtension` for its per-call logic shell (#1515, #1518).
- **Clap-backed custom builtins** — Custom builtins can now be defined
declaratively against a `clap` parser, replacing hand-rolled arg parsing
for new integrations (#1514).
- **SQLite session engine cache** — The `sqlite` builtin keeps a
session-scoped engine alive across `exec()` calls, so transactions and
prepared state survive multiple shell invocations within one session
(#1513).
- **SQLite hardening follow-up** — PRAGMA policy parsing now handles SQL
comments and quoted/bracket/backtick identifiers (closing a `PRAGMA
main."cache_size"` bypass), and `max_db_bytes` is enforced consistently
across VFS writes/truncates and memory-backend persistence (#1521).
- **Python + toolchain bumps** — Embedded Python (`monty`) bumped to
`0.0.17` and Rust toolchain bumped to `1.95.0` across
`rust-toolchain.toml` and matching CI workflow refs (#1520).

## Files

- `Cargo.toml`, `crates/bashkit-cli/Cargo.toml`, `Cargo.lock` → `0.4.0`
- `crates/bashkit-js/package.json`,
`crates/bashkit-js/package-lock.json` → `0.4.0`
- `CHANGELOG.md` — new `[0.4.0] - 2026-05-04` section

On merge, `release.yml` will create the GitHub Release and dispatch the
publish workflows for crates.io, PyPI, npm, and Homebrew.

**Full Changelog**:
v0.3.0...v0.4.0

---
_Generated by [Claude
Code](https://claude.ai/code/session_01MTiBUK5YiumTRtqjogv9A5)_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant