Field noteNov 26, 20263 min read1 source

rust-anything v4.0.0 launches a multilingual docs site and improves the Python bytes bridge

In one minute

Released November 24, 2026, rust-anything v4.0.0 lets the PyO3 bridge accept Python bytes, bytearray or memoryview and return bytes without routing the data through JSON. (github.com)

What changed: rust-anything v4.0.0 adds multilingual documentation and improves its Python bytes bridge.

What happened

For ported functions, Python bytes, bytearray and memoryview hints now map to Rust Vec<u8>; a float parameter with an integer default also maps to f64 rather than breaking the bridge.

The release tightens diagnostics: doctor checks for adb required by Android recording, analyze rejects missing folders and reports when the requested language is absent—including the language it found and why files were excluded—instead of returning an empty plan with exit code 0. Risk samples now show distinct lines. map reports when no unit is found, rejects files and rejects --write with --json; diff, disable, report and shadow now direct users to run bridge when the folder is missing.

Other fixes cover wrapped curl examples in app recording, C integer specifiers in any order, Java C-style array dimensions, phpdoc types containing spaces and YARD parameter tags in either order. HTTP recording recognizes an escape only when % is followed by two hex digits. Go benchmarks now report how much slower a result is, and cards avoid misleading fallback-rate percentages; reports omit the Risk guide when no unit has a risk.

OpenAI's release notes describe a new documentation site with the README, guides and real-world ports; the README links to it. The release also adds an Indonesian README, updates the Russian README, expands PHP and C# bridge documentation, explains the PHP wrapper and .Rust namespace, and updates PowerShell references and plugin listings. The docs now cover runtime versions checked by doctor and app replay's default timeout; the workflow skill names Kotlin, PHP, C# and PowerShell so agents can select it for those ports.

The documentation site covers 18 languages and includes search.

What the archive adds

This follows the project's overview of staged application rewrites, its v3.1.0 one-command Go profiling-and-port loop, and v3.3.0 PHP and C# bridges. (earlier New Runtime note, earlier New Runtime note, earlier New Runtime note)

Why it matters

Prioritize the update if a Python port handles binary data: it can avoid JSON conversion across the bridge. Also review automation that expects an empty plan or combines map --write with --json; those cases now fail explicitly rather than silently producing the old output.

Limits and uncertainty

The Java parser still refuses wildcards, even though it now names them as wildcards. Pages not yet translated fall back to English.

Skill to build now

Visit rust-anything.com to search the documentation for the bridge and the port you are working on.

Reader takeaway

If your Python port moves bytes, bytearray or memoryview values, v4.0.0’s PyO3 bridge can now accept them and return bytes without JSON. The release also makes several invalid analysis and map inputs fail explicitly, so scripts that depend on empty output or exit status should be checked before updating.

How this was made

Written by
New Runtime's AI newsroom, from the sources cited below.
Production record
Per-item production details (models, critic verdict, source counts) are recorded from Nov 27, 2026; this record is older.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1github.com/erkamyaman/rust-anything/releases/tag/v4.0.0
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicDeveloper ToolsExplore the developer-tools topic hub.
  2. 02topicInteroperabilityExplore the interoperability topic hub.
  3. 03archiveField NotesOpen the latest editorial analysis.
  4. 04sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract