unstale

pypi / bashkit

bashkit

What changed in bashkit 0.2 to 0.21, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.

63 breaking28 security1 deprecations68 new APIs and options9 performance34 behavior and defaults8 tooling121 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

bashkit 0.2118 changes

Breaking changes 7

  • Network path rules now refuse encoded slashes.

    0.21.0release notes

  • Caller-supplied Host headers are dropped before credential injection.

    0.21.0release notes

  • Applications enabling the python or typescript feature must install bashkit::MeteredAllocator as the global allocator; otherwise python3 or ts refuses to run.

    0.21.0release notes

  • The time limit now bounds wall-clock time across host calls.

    0.21.0release notes

  • Embedded runtime time limits now exit with status 124.

    0.21.0release notes

  • Setuid bits are dropped on real mounts.

    0.21.0release notes

  • The TypeScript runtime time limit now bounds wall-clock time across host calls.

    0.21.0release notes

Security 1

  • Embedded Python runs on the Monty 1.5 fork, with memory charged per run so one tenant cannot exhaust another tenant's budget or abort the shared process.

    0.21.0release notes

New APIs and options 1

  • Custom builtins in language bindings gain execution-scoped cancellation.

    0.21.0release notes

Performance 1

  • rg searches each file as it is read instead of holding every file's text.

    0.21.0release notes

Behavior and default changes 5

  • Recursion in eval, compgen, and path scripts is bounded, with stack growth on demand.

    0.21.0release notes

  • The TypeScript padStart and padEnd builtins are capped.

    0.21.0release notes

  • The approximately 95-call cap per session is removed.

    0.21.0release notes

  • In the Python package, timeout_seconds raises the embedded runtime time limit.

    0.21.0release notes

  • TypeScript runs now enforce max_memory using a per-run heap meter, preventing memory-heavy operations from aborting the shared process.

    0.21.0release notes

Fixes and other changes 3

  • json.dumps preflights indent and separators.

    0.21.0release notes

  • markkit and fetchkit now honor the exec deadline off the async worker.

    0.21.0release notes

  • Blocked Python imports are found by parsing rather than by checking line prefixes.

    0.21.0release notes

bashkit 0.2022 changes

Breaking changes 2

  • Replaces the static-analysis enum analysis::CommandContext; update imports, enum references and AnalyzedCommand.context annotations.

    0.20.0release notes

  • The root bashkit::CommandContext now describes a live host-command invocation, rather than the static-analysis enum.

    0.20.0release notes

Security 3

  • The sandbox engine and embedded CPython artifact use Wasmtime 48.0.8, addressing three security advisories.

    0.20.2release notes

  • Windows native modules in release wheels receive Authenticode signatures and timestamps, verified before the final wheel is tested and published.

    0.20.2release notes

  • Node is supplied by the embedding application; use a patched supported runtime because compatibility with Node 18/20 does not imply security support.

    0.20.0release notes

New APIs and options 10

  • The Deep Agents backend adds base64 binary reads.

    0.20.3release notes

  • Deep Agents supports per-call timeouts that can only tighten the configured limit.

    0.20.3release notes

  • An opt-in builtin registers fetchkit with the same CLI as the standalone binary; files come from the VFS and HTTP hops use the sandbox HTTP client.

    0.20.3release notes

  • An opt-in builtin registers markkit with the same CLI as the standalone binary; files come from the VFS and HTTP hops use the sandbox HTTP client.

    0.20.3release notes

  • Execution output can be written to a capped VFS file; Python execute and execute_sync also accept output_file, and Deep Agents can offload large output natively.

    0.20.3release notes

  • The Deep Agents backend adds structured error codes for file operations.

    0.20.3release notes

  • The Python Deep Agents backend supports per-call timeouts that can only tighten the configured limit.

    0.20.3release notes

  • Python and TypeScript scripts can call application-provided functions across native and browser bindings.

    0.20.0release notes

  • Rust, Python, JavaScript, C and browser WASM consumers can stream command input and output while preserving shell routing and execution budgets.

    0.20.0release notes

  • Feature-enabled runtimes can be initialized before serving requests.

    0.20.0release notes

Performance 1

  • Tree-walking commands use a bounded bulk walk hook, trust read_dir metadata, and stay within memory and entry budgets to reduce round trips on remote backends.

    0.20.3release notes

Fixes and other changes 6

  • Abandoned async callback dispatch is drained before interpreter exit, preventing a timeout race that could abort CPython versions below 3.13.

    0.20.3release notes

  • cp -r source/. destination copies directory contents into an existing destination without adding a source-directory layer.

    0.20.2release notes

  • curl downloads and curl/wget stdout preserve bytes through redirections and pipelines, including compressed responses.

    0.20.2release notes

  • The host-callback timeout is sized for the slowest shipped lane.

    0.20.2release notes

  • The npm publish artifact includes this file and its declarations so importing the package succeeds.

    0.20.1release notes

  • Embedded CPython builds avoid unsupported over-aligned statics on Windows, keeping Python and the hosted integration catalog available.

    0.20.1release notes

bashkit 0.1932 changes

Breaking changes 5

  • ScriptedTool moved to its own Rust package; callers replace the bashkit scripted_tool feature and imports with this crate.

    0.19.0release notes

  • Python ScriptedTool imports move from bashkit to bashkit.scripted.

    0.19.0release notes

  • JavaScript ScriptedTool imports move from @everruns/bashkit to this subpath.

    0.19.0release notes

  • Rust callers install the registry with registry.install(builder) instead of builder.tool_registry(registry).

    0.19.0release notes

  • Allocation, recursion, input, and output accounting makes resource refusals explicit instead of silently truncating or allowing unbounded growth.

    0.19.0release notes

Security 2

  • Reduces browser transfer size and verifies package identity.

    0.19.0release notes

  • NAT64 and 6to4 addresses are classified by their embedded IPv4 address, and reserved ranges are blocked.

    0.19.0release notes

New APIs and options 10

  • Interactive shell support adds history, fc, completion, bind, and prompts.

    0.19.0release notes

  • Enables Python and TypeScript in BashTool.

    0.19.0release notes

  • The opt-in feature runs CPython 3.14 as python3 through WebAssembly, with VFS access and HTTP routed through Bashkit's egress boundary.

    0.19.0release notes

  • An opt-in cpython-native feature is available.

    0.19.0release notes

  • A default root filesystem including /etc, /proc, and /usr/bin is available.

    0.19.0release notes

  • Python requests and httpx modules can make HTTP requests through Bashkit's egress boundary.

    0.19.0release notes

  • The jq builtin adds halt and debug, several output and input modes, $__loc__, and ?//, with date and base64 fixes.

    0.19.0release notes

  • A GNU make subset is available in the sandbox shell.

    0.19.0release notes

  • An in-process interactive terminal provides screen text, scrollback, input, interrupts, and editor and pager commands.

    0.19.0release notes

  • A terminal tool for LLM agents is available, with support for multiple terminal sessions.

    0.19.0release notes

Behavior and default changes 5

  • The awk builtin was rewritten to match gawk 5.2 and can run gawk, mawk, and nawk scripts.

    0.19.0release notes

  • Background jobs run concurrently.

    0.19.0release notes

  • Pipeline stages run concurrently and stream data through pipelines with SIGPIPE behavior.

    0.19.0release notes

  • Additional everyday commands and GNU-oriented coreutils behavior improve compatibility for shell scripts.

    0.19.0release notes

  • The VFS can follow symlinks.

    0.19.0release notes

Fixes and other changes 10

  • Expands aliases per line and closes remaining Oils specification gaps.

    0.19.0release notes

  • Unifies indirect subscript consumption and preserves nested subscripts with a complete-reference boundary.

    0.19.0release notes

  • Reads a backquoted substitution after a quoted segment.

    0.19.0release notes

  • Interpreter and parser behavior was brought closer to bash across expansion, arrays, redirects, traps, shell options, and diagnostics.

    0.19.0release notes

  • Coprocesses run concurrently over in-process pipes.

    0.19.0release notes

  • Accepts HH:MM date-times and zone suffixes, and reads weekday names instead of returning the current time.

    0.19.0release notes

  • Truncates array targets at the first ] to stop operand recursion and preserves nested subscripts.

    0.19.0release notes

  • Ignores invalid stdin when stdin is unread under -n.

    0.19.0release notes

  • Releases mapfile budgets and surfaces refusals.

    0.19.0release notes

  • Falls back to a direct write when creation of a hidden temporary file is refused.

    0.19.0release notes

bashkit 0.1820 changes

Breaking changes 2

  • Untrusted workflow code no longer receives the checkout token.

    0.18.2release notes

  • With additionalProperties set to false, unrecognised flags now produce an error naming the valid flags instead of silently dropping the property.

    0.18.1release notes

Security 1

  • A host-environment hole in builtins is closed.

    0.18.0release notes

New APIs and options 5

  • Adds GNU-style case conversion escapes for uppercasing and lowercasing text.

    0.18.2release notes

  • Adds GNU-style getopt support, including -s, -z, -f, -l, and attached -i.bak.

    0.18.2release notes

  • Registers a raw-argv builtin alongside ToolDef tools, enabling positionals, short flags, --, and parse-time required-argument checking inside a ScriptedTool.

    0.18.1release notes

  • The C ABI now exposes host-directory mounts, bringing native embeddings to parity with other host bindings.

    0.18.0release notes

  • Bindings now support read-only filesystem mounts.

    0.18.0release notes

Behavior and default changes 2

Fixes and other changes 10

  • Verification now outlasts the registry cache, improving release pipeline reliability.

    0.18.2release notes

  • Adds the missing GNU sed commands: y, =, l, n, N, P, D, T, z, F, r, R, w, and W.

    0.18.2release notes

  • Implements GNU range-address semantics, bringing sed address behavior closer to GNU sed 4.9.

    0.18.2release notes

  • Preserves a missing final newline instead of adding one.

    0.18.2release notes

  • VFS paths now use forward slashes on every host, fixing Windows path handling.

    0.18.2release notes

  • The number lexer no longer swallows following + or - operators.

    0.18.0release notes

  • Execution deadlines are now enforced while a host call is parked.

    0.18.0release notes

  • RealFs now sets modification times with FILE_WRITE_ATTRIBUTES on Windows.

    0.18.0release notes

  • Runtime mount replay keys are canonicalized.

    0.18.0release notes

  • SQLite budgets now account for work performed inside a single engine step.

    0.18.0release notes

bashkit 0.1726 changes

Breaking changes 7

  • Reads through backend symlinks are refused.

    0.17.0release notes

  • Oversized scripts are rejected before UTF-8 validation.

    0.17.0release notes

  • Without tzdata, date no longer silently formats a named timezone as UTC; it reports that it cannot honour the zone and exits 1.

    0.17.0release notes

  • Non-ASCII domain names are rejected rather than normalized; allowlists relying on internationalized domain names must use their punycode form.

    0.17.0release notes

  • Referenced input schemas are now enforced.

    0.17.0release notes

  • Select the rustls crypto backend with the ring feature when enabling http_client; consumers using --no-default-features must now choose ring or aws-lc-rs.

    0.17.0release notes

  • YAML aliases are rejected before parsing.

    0.17.0release notes

Security 3

  • Validation work is bounded to prevent CPU amplification from untrusted input.

    0.17.0release notes

  • The host bridge no longer interpolates into a shell, preventing shell injection at the host boundary.

    0.17.0release notes

  • VFS paths are normalized before mapping to prevent host traversal.

    0.17.0release notes

New APIs and options 2

  • Timezone data is now controlled by the tzdata feature, which is on by default; no-default-features builds using named TZ zones must enable it.

    0.17.0release notes

  • Bashkit can run as a plain WebAssembly component exposing shell execution over WIT, without a JavaScript engine or WASI implementation.

    0.17.0release notes

Performance 2

  • Reuse pre-built clap Command definitions instead of rebuilding them per invocation.

    0.17.1release notes

  • Append memory use is bounded by streaming data into staging.

    0.17.0release notes

Behavior and default changes 4

  • Select aws-lc-rs as the rustls crypto backend when enabling http_client; consumers using --no-default-features must choose it or ring.

    0.17.0release notes

  • CLI host stdin reads are bounded by the execution timeout.

    0.17.0release notes

  • Pipeline stderr aggregation is bounded.

    0.17.0release notes

  • Archive buffer resource budgets are checked before allocation.

    0.17.0release notes

Tooling 2

  • Checks release workflows against CI for runtime-version, shared-test-suite gating, and Rust toolchain pin drift.

    0.17.1release notes

  • Static analysis now flags arithmetic command substitutions.

    0.17.0release notes

Fixes and other changes 6

  • Binary lines are consumed by byte offset.

    0.17.0release notes

  • Panics from CommandResolver are contained by the interpreter.

    0.17.0release notes

  • Host environment and mounts applied after construction now survive reset.

    0.17.0release notes

  • printf formatting is synchronized with uutils 0.10.

    0.17.0release notes

  • Redirection failures now use bash's strerror wording.

    0.17.0release notes

  • Filesystem limits are enforced before expanding v2 snapshot chunks.

    0.17.0release notes

bashkit 0.1624 changes

Breaking changes 6

  • Execution-scoped host access expires with the request; extension and callback consumers must use revocation-aware access methods.

    0.16.0release notes

  • Pipelines, redirects, command results, callbacks, custom builtins, and language bindings preserve NUL, invalid UTF-8, and high bytes without lossy text conversion.

    0.16.0release notes

  • Public Rust stream fields that previously used String now use StreamData; callers pass bytes through StreamData and convert to text explicitly at the application boundary.

    0.16.0release notes

  • ToolArgs context getters are revocation-aware because execution-scoped host access expires with the request.

    0.16.0release notes

  • The nonstandard yaml builtin is removed; enable the existing jq feature and invoke yq with jq-style filters.

    0.16.0release notes

  • YAML is converted through a JSON value model, so comments, styles, anchors, and source key order are not preserved; unsupported tags and non-string keys fail closed.

    0.16.0release notes

Security 4

  • Hosts that need session-lived raw VFS access must register through insert_trusted.

    0.16.0release notes

  • A command-wrapper list is published for permission gating.

    0.16.0release notes

  • Filesystem security invariants are certified.

    0.16.0release notes

  • Windows path containment is hardened.

    0.16.0release notes

New APIs and options 9

  • Browser bindings add analysis, cancellation, streaming, snapshots, and binary VFS APIs to reach native-binding parity.

    0.16.0release notes

  • Browser bindings accept asynchronous filesystem adapters for host-owned storage such as Durable Objects, IndexedDB, and OPFS.

    0.16.0release notes

  • CommandResolver provides last-chance name resolution.

    0.16.0release notes

  • curl supports ordered data options.

    0.16.0release notes

  • Typed execution profiles configure coherent limits across runtimes.

    0.16.0release notes

  • A host mount table is published for VFS-to-host path mapping.

    0.16.0release notes

  • Hosts can suspend a live shell for a process-local callback and resume it with byte-exact input and output.

    0.16.0release notes

  • Language bindings retain their text views and add raw-byte stdout/stderr fields.

    0.16.0release notes

  • A jq-backed builtin handles YAML and JSON files and streams, with selection, mapping, assignment, format conversion, and atomic in-place updates under shared resource limits.

    0.16.0release notes

Behavior and default changes 1

  • One request budget follows work across subsystem boundaries.

    0.16.0release notes

Fixes and other changes 4

  • Buffer growth is charged before allocation.

    0.16.0release notes

  • GNU-compatible bzip2 archives and standalone compression commands interoperate with system tools.

    0.16.0release notes

  • time reports elapsed time, status, and Bashkit-owned work counters without fabricating host CPU or memory data.

    0.16.0release notes

  • Timezone handling is sandboxed.

    0.16.0release notes

bashkit 0.1513 changes

Breaking changes 7

  • Compound assignment and prefix/postfix increment and decrement wrap with Bash-compatible integer semantics at 64-bit boundaries instead of panicking.

    0.15.0release notes

  • Writes the v2 content-addressed container. Existing snapshots still restore, but snapshots written by this release require Bashkit 0.14.5 or newer.

    0.15.0release notes

  • Invalid command substitution syntax now fails closed instead of inventing a command name for permission analysis.

    0.15.0release notes

  • Expand every path component instead of only the trailing one.

    0.15.0release notes

  • Defaults to CheckoutPolicy::Superset and rejects restore when the runtime lacks a recorded builtin, feature, or filesystem capability.

    0.15.0release notes

  • Adds a typed snapshot error for runtime capability mismatches; exhaustive matches on bashkit::Error must handle it.

    0.15.0release notes

  • Rejects reserved internal lexer/expansion sentinel bytes, unterminated quote segments, and malformed heredoc reinjection that inserts command-name characters.

    0.15.0release notes

New APIs and options 5

  • Adds a capability gate that can refuse to restore a session into an environment missing required builtins or features.

    0.15.0release notes

  • Adds a native C ABI with opaque handles, binary-safe VFS access, and explicit ownership.

    0.15.0release notes

  • Allows callers to select a checkout policy; CheckoutPolicy::Force can be used when the host deliberately accepts a capability mismatch.

    0.15.0release notes

  • Adds ancestry, diffs, reachability, and lazy fetch planning for content-addressed snapshots.

    0.15.0release notes

  • Adds a typed error for snapshots requiring a newer reader.

    0.15.0release notes

Behavior and default changes 1

  • Script arguments populate $0 and positional parameters, piped stdin reaches the script, and stdout/stderr stream before completion or resource-limit failure.

    0.15.0release notes

bashkit 0.1420 changes

Breaking changes 7

  • Async custom builtins are rejected before executeSync invocation.

    0.14.4release notes

  • Copy operations are blocked from using namespace nodes as destinations.

    0.14.4release notes

  • The WebAssembly runtime rejects timeout guarantees it cannot enforce because it is single-threaded.

    0.14.4release notes

  • Unrecognized shell invocation options now print a Bash-style diagnostic and exit non-zero instead of being silently ignored.

    0.14.3release notes

  • Unknown options to 26 builtins now produce GNU coreutils-style diagnostics and non-zero exit codes instead of being silently ignored.

    0.14.3release notes

  • The browser/WebAssembly npm package was renamed from @everruns/bashkit-web to @everruns/bashkit-wasm; it runs in JavaScript runtimes beyond browsers.

    0.14.3release notes

  • Directory limits now apply to add_dir.

    0.14.0release notes

Security 1

  • Rust, Node, and Python gain analyze() for static reports of script commands, arguments, redirect targets, and function definitions; opaque cases are marked with is_opaque.

    0.14.5release notes

Deprecations 1

  • The blocking constructor is deprecated; async embedders should use RealFs::open.

    0.14.4release notes

New APIs and options 3

  • Async embedders should use RealFs::open for filesystem access.

    0.14.4release notes

  • A slim, single-threaded WebAssembly package runs Bashkit in browsers without SharedArrayBuffer or COOP/COEP headers, with async custom builtins and live VFS access.

    0.14.0release notes

  • Mount independent filesystems under virtual path prefixes, with longest-prefix routing and rebasing.

    0.14.0release notes

Performance 1

  • RealFs path resolution and metadata operations use asynchronous host filesystem I/O, so they no longer block current-thread runtimes.

    0.14.4release notes

Behavior and default changes 2

  • Snapshots can now be read in the new content-addressed object graph format, allowing deployments to upgrade before a later release starts writing it.

    0.14.5release notes

  • The browser example stores its virtual filesystem in browser storage so files can persist across sessions.

    0.14.4release notes

Tooling 1

  • Python wheels use CPython's stable ABI: one cp39-abi3 wheel per platform supports Python 3.9 onward, reducing release artifacts and preventing partial PyPI publications.

    0.14.4release notes

Fixes and other changes 4

  • The browser example tolerates environments where storage access is blocked.

    0.14.4release notes

  • Core shell features now run inline on single-threaded browser wasm instead of assuming a multi-threaded tokio runtime, preventing hard panics and module poisoning.

    0.14.2release notes

  • Publication of the browser package is fixed after the v0.14.0 release build failed.

    0.14.1release notes

  • Glob backtracking now correctly restores bracket-match cache state.

    0.14.0release notes

bashkit 0.1313 changes

Breaking changes 3

  • Replace this builder method with BashBuilder::http_transport; there is no compatibility shim.

    0.13.0release notes

  • Replace this client method with HttpClient::set_transport; there is no compatibility shim.

    0.13.0release notes

  • HttpHandler is removed without a compatibility shim; implement HttpTransport instead.

    0.13.0release notes

Security 2

  • Inject a pluggable HTTP transport for sandbox HTTP egress while bashkit enforces policy before each dispatch.

    0.13.0release notes

  • Matching is linear-time instead of using pathological backtracking that allowed exponential blowup on adversarial patterns.

    0.13.0release notes

New APIs and options 3

  • List directories themselves instead of listing their contents.

    0.13.0release notes

  • Run command batches concurrently by setting the maximum number of processes.

    0.13.0release notes

  • Expose the process slot index to each child command.

    0.13.0release notes

Behavior and default changes 2

  • The LLM eval harness is reimplemented on the mira framework.

    0.13.0release notes

  • bashkit runs on wasm32-unknown-unknown by routing clock reads through web-time.

    0.13.0release notes

Fixes and other changes 3

  • The parser treats do and done as words inside a for/select in-list.

    0.13.0release notes

  • The user home directory is provisioned so that $HOME is writable.

    0.13.0release notes

  • ls long format renders actual UTC calendar dates.

    0.13.0release notes

bashkit 0.1218 changes

Breaking changes 5

  • Literal case patterns are no longer expanded.

    0.12.0release notes

  • CSV quote matches must be balanced.

    0.12.0release notes

  • Limit fields moved under common: RuntimeLimits; code reading fields such as max_memory must now access them through .common.

    0.12.0release notes

  • Expansion fails closed when quote markers collide and preserves quoted operands in collision cases.

    0.12.0release notes

  • Limit fields moved under common: RuntimeLimits; code reading fields such as max_memory must now access them through .common.

    0.12.0release notes

Security 1

New APIs and options 2

  • LLM-tool callers can access the complete BashBuilder surface when wiring up a tool.

    0.12.0release notes

  • A request struct provides an extensible way to configure a run through the new exec_with_options entry point.

    0.12.0release notes

Behavior and default changes 1

  • The BashTool wrapper is gated behind the default bash_tool feature.

    0.12.0release notes

Fixes and other changes 9

  • Restored snapshots now validate the directory stack.

    0.12.0release notes

  • String handling now preserves the double-dash delimiter.

    0.12.0release notes

  • The ERR trap is suppressed in conditions.

    0.12.0release notes

  • The getopts cursor resets across shell boundaries.

    0.12.0release notes

  • Expanded backslashes are preserved in glob directories.

    0.12.0release notes

  • Trailing IFS whitespace is trimmed when assigning the final variable, and mixed-word IFS boundaries are preserved.

    0.12.0release notes

  • Restored snapshots now validate the last background process ID.

    0.12.0release notes

  • Implicit REPLY assignment now preserves whitespace.

    0.12.0release notes

  • The delimiter scan skips option values.

    0.12.0release notes

bashkit 0.117 changes

New APIs and options 2

  • Node and Python callers can set the starting working directory at Bash construction time instead of using a leading cd prelude on every run.

    0.11.0release notes

  • Node and Python callers can set the initial environment at Bash construction time instead of using an export prelude on every run.

    0.11.0release notes

Fixes and other changes 5

  • The parser now escapes ANSI-C NUL sentinel collisions.

    0.11.0release notes

  • Multi-subscript arrays are capped.

    0.11.0release notes

  • compgen lists builtins from the live registry rather than hardcoded copies.

    0.11.0release notes

  • The paste command now handles a trailing -d flag.

    0.11.0release notes

  • Recursive delete now preserves child whiteouts.

    0.11.0release notes

bashkit 0.104 changes

Breaking changes 1

  • Security and resource-safety hardening adds caps and budget enforcement across the interpreter, parser, builtins, VFS, streaming callbacks, and snapshot/restore.

    0.10.0release notes

New APIs and options 1

  • Python custom_builtins callbacks can use ctx.fs to read and write the VFS through a live, sandbox-respecting filesystem handle.

    0.10.0release notes

Fixes and other changes 2

  • grep -P uses real PCRE via fancy-regex.

    0.10.0release notes

  • JS bindings close parity gaps with the Python API, including filesystem access, network access, and shellState for custom builtins.

    0.10.0release notes

bashkit 0.927 changes

Breaking changes 1

Security 2

New APIs and options 1

  • A reduced-feature Python wheel is now available for wasm32-unknown-emscripten, enabling the embedded Python builtin in browser and wasm hosts.

    0.9.0release notes

Performance 1

  • rg summary scans stream results instead of eagerly allocating lines.

    0.9.0release notes

Fixes and other changes 22

bashkit 0.85 changes

Fixes and other changes 5

  • VFS-backed open() and Path.open() now support read, write, and append in the embedded Python builtin, so scripts using with open("/tmp/...") run. Host filesystem and network access remain unavailable to Python.

    0.8.0release notes

  • Negative persistent file descriptors are now rejected.

    0.8.0release notes

  • The default type globs for r and tf are aligned with ripgrep.

    0.8.0release notes

  • JSON context event fanout is capped.

    0.8.0release notes

  • Variable attributes and namerefs now persist across shell state restore.

    0.8.0release notes

bashkit 0.733 changes

Breaking changes 1

  • Commands run with bash -c are isolated from parent shell state.

    0.7.2release notes

Security 4

  • Persistent file descriptors are capped.

    0.7.2release notes

  • Parsing is bounded and invalid specification text is sanitized in output.

    0.7.2release notes

  • Hyperlink URL interpolation is hardened.

    0.7.2release notes

  • readonly_filesystem now reliably blocks writes to runtime live mounts.

    0.7.0release notes

New APIs and options 2

  • Embedders can use a host-owned mutable registry to add or remove builtins throughout an interpreter's lifetime, without rebuilding the interpreter and losing its in-memory VFS.

    0.7.0release notes

  • The rg builtin gains broad ripgrep compatibility, including PCRE2 and multiline search, encoding, expanded glob and file-type support, ignore-file precedence, preprocessing controls, color and hyperlink output, sorting, stats, size limits, gzip search, and symlink following; output-mode and binary-search behavior are…

    0.7.0release notes

Performance 3

  • Glob toggle recompilation avoids quadratic behavior.

    0.7.2release notes

  • Match vectors are no longer allocated eagerly.

    0.7.2release notes

  • Copy-on-write subshell snapshots improve performance.

    0.7.2release notes

Fixes and other changes 23

  • Array elements are now resolved in arithmetic parameter expansion.

    0.7.2release notes

  • Tool hooks are enforced for host-builtins invoked through command.

    0.7.2release notes

  • Color match amplification is bounded for dense patterns.

    0.7.2release notes

  • Indexed prefiltering is skipped for CRLF searches.

    0.7.2release notes

  • Value arguments no longer trigger false generate-option detection.

    0.7.2release notes

  • Negation clears explicit line-number state.

    0.7.2release notes

  • The maximum count is applied after multiline inversion.

    0.7.2release notes

  • The option is honored between files.

    0.7.2release notes

  • Parent dot-ignore rules remain active.

    0.7.2release notes

  • Indexed prefiltering is skipped for non-literal queries when Unicode is disabled.

    0.7.2release notes

  • Ignore classes for -u now align with --no-ignore.

    0.7.2release notes

  • Unrestricted flags are counted independently.

    0.7.2release notes

  • Ignore rule parsing and traversal memory are bounded.

    0.7.2release notes

  • Brace alternation recursion depth is capped.

    0.7.2release notes

  • Type filters are resolved after type database mutations.

    0.7.2release notes

  • Explicit path sets now receive global sorting.

    0.7.2release notes

  • Explicit file paths now have parity with expected behavior.

    0.7.2release notes

  • Output mode precedence is corrected.

    0.7.2release notes

  • Collected diagnostics are preserved on quiet match paths.

    0.7.2release notes

  • Commands run with sh -c are isolated from parent shell state.

    0.7.2release notes

  • Reversal preserves an unterminated final line.

    0.7.2release notes

  • A guardrail prevents deadlocks when executeSync is used with a custom builtin.

    0.7.0release notes

  • Date formatting is forced to UTC under virtual clock modes.

    0.7.0release notes

bashkit 0.621 changes

Breaking changes 8

  • The CLI MCP server subcommand and bundled transport have been removed; MCP integrations should embed bashkit through library bindings.

    0.6.0release notes

  • With -f, ln now surfaces remove failures instead of falling through to creating a symlink.

    0.6.0release notes

  • SSRF prechecks now fail closed, and IPv4-mapped IPv6 addresses are normalized when checking for private IPs.

    0.6.0release notes

  • Filesystem stat, read_link, and remove use a no-follow resolver; writes to leaf symlinks are rejected.

    0.6.0release notes

  • SQLite rejects VACUUM and VACUUM INTO, enforces row caps while stepping, and invalidates cached engines when VFS files change.

    0.6.0release notes

  • SFTP ls paths are shell-escaped, and SSH tries none-auth before password or key authentication.

    0.6.0release notes

  • Tool definitions reject bare array flags without values and bound aggregate JSON flag coercion.

    0.6.0release notes

  • Snapshot restore now fails closed and applies changes atomically.

    0.6.0release notes

Security 1

  • jq replaces halt to prevent sandbox escape via process::exit, and limits fancy-regex execution and file-binding memory.

    0.6.0release notes

Behavior and default changes 3

  • The env builtin now ports the uutils env-default surface through a virtual-env shim.

    0.6.0release notes

  • printf now runs on a vendored copy of uucore's format implementation; float exponent magnitude is capped during format validation.

    0.6.0release notes

  • The stat builtin now flows through code generation; its filesystem handling also uses a no-follow resolver.

    0.6.0release notes

Tooling 4

  • The mktemp builtin now flows through code generation as part of the coreutils adoption experiment.

    0.6.0release notes

  • The od builtin now flows through code generation as part of the coreutils adoption experiment.

    0.6.0release notes

  • The realpath builtin now flows through code generation as part of the coreutils adoption experiment.

    0.6.0release notes

  • The tee builtin now flows through code generation as part of the coreutils adoption experiment.

    0.6.0release notes

Fixes and other changes 5

  • The rustls provider is installed for library providers, and initialization is idempotent.

    0.6.0release notes

  • Successful exports are synchronized even when readonly arguments fail, and invalid identifiers no longer leave stale environment synchronization.

    0.6.0release notes

  • Extension invocation traces are isolated and bounded.

    0.6.0release notes

  • shuf caps range and repeat-output allocations.

    0.6.0release notes

  • truncate enforces VFS limits before resizing.

    0.6.0release notes

bashkit 0.57 changes

New APIs and options 3

  • Object and array flags now accept the --flag key=value... syntax.

    0.5.0release notes

  • shuf was added via codegen with helper-function inlining.

    0.5.0release notes

  • truncate was added via a codegen-ported argument surface.

    0.5.0release notes

Behavior and default changes 2

  • cat now uses a codegen-ported uutils argument surface, giving it the real coreutils argument shape.

    0.5.0release notes

  • tac now uses a codegen-ported uutils argument surface, giving it the real coreutils argument shape.

    0.5.0release notes

Tooling 1

  • readlink migrated to the codegen-ported argument surface.

    0.5.0release notes

Fixes and other changes 1

  • Stringified JSON is now coerced for array and object flag schemas.

    0.5.0release notes

bashkit 0.48 changes

Security 1

  • Parsing now handles SQL comments and quoted, bracketed, and backtick identifiers, closing a PRAGMA main."cache_size" bypass.

    0.4.0release notes

New APIs and options 3

  • Custom builtins can be defined declaratively against a clap parser instead of using hand-rolled argument parsing.

    0.4.0release notes

  • A public trait groups related builtins for one-call registration on BashBuilder and BashToolBuilder.

    0.4.0release notes

  • ScriptedTool reuses a shared extension for its per-call logic shell.

    0.4.0release notes

Behavior and default changes 2

  • The builtin keeps a session-scoped engine alive across exec() calls, allowing transactions and prepared state to survive multiple shell invocations in one session.

    0.4.0release notes

  • TypeScript registration now flows through TypeScriptExtension.

    0.4.0release notes

Fixes and other changes 2

  • The crate packaging was fixed so the clap-builtins guide is included, addressing the crates.io publish failure.

    0.4.1release notes

  • The database size limit is enforced consistently across VFS writes, truncates, and memory-backend persistence.

    0.4.0release notes

bashkit 0.312 changes

Breaking changes 1

  • The SQLite builtin blocks ATTACH and DETACH and adds a deny list for dangerous PRAGMA statements.

    0.3.0release notes

Security 2

  • Orchestrator scripts can run in a restricted mode that disables shell features unrelated to control flow, narrowing the attack surface for LLM-authored scripts.

    0.3.0release notes

  • Runtime errors become short and jq-style, with a cross-tool guard against Debug output leaking.

    0.3.0release notes

New APIs and options 6

  • Adds the credential_placeholders= keyword argument to Bash(network=...) for Python network policy.

    0.3.0release notes

  • Adds the credentials= keyword argument to Bash(network=...) for Python network policy.

    0.3.0release notes

  • Adds the jq-style @csv definition.

    0.3.0release notes

  • Adds an embedded SQLite builtin via Turso, with MemoryIO and VfsIO backends and the .tables, .schema, and .dump dot-commands.

    0.3.0release notes

  • The SQLite builtin is exposed to Python and JavaScript bindings.

    0.3.0release notes

  • Adds the jq-style @tsv definition.

    0.3.0release notes

Behavior and default changes 3

  • curl uses a curl user agent by default.

    0.3.0release notes

  • Expands filter parity with real jq and uses fancy-regex for advanced patterns, including lookaround and backreferences.

    0.3.0release notes

  • Python execution is enabled by default in the CLI.

    0.3.0release notes

bashkit 0.22 changes

Behavior and default changes 1

  • rustls switches to the pure-Rust ring crypto provider, replacing the aws-lc-rs/aws-lc-sys C crypto stack and unblocking the aarch64 manylinux wheel build.

    0.2.1release notes

Fixes and other changes 1

  • Mount paths are validated with Path::has_root instead of Path::is_absolute, allowing POSIX-style mount points like /workspace on every host.

    0.2.1release notes