---
type: "post"
id: "rust-anything-v4-0-0-launches-a-multilingual-e58323"
slug: "rust-anything-v4-0-0-launches-a-multilingual-e58323"
title: "rust-anything v4.0.0 launches a multilingual docs site and improves the Python bytes bridge"
description: "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."
retrieval_nugget: "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."
published_at: "2026-11-26"
updated_at: "2026-11-26"
record_date: "2026-11-26"
date_kind: "published_at"
topics: ["developer-tools","interoperability"]
entities: ["rust-anything","PyO3"]
related_patterns: []
novelty_label: "new_fact"
what_changed: "rust-anything v4.0.0 adds multilingual documentation and improves its Python bytes bridge."
prior_refs: []
source_url: "https://github.com/erkamyaman/rust-anything/releases/tag/v4.0.0"
source_urls: ["https://github.com/erkamyaman/rust-anything/releases/tag/v4.0.0"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:rust-anything-v4-0-0-launches-a-multilingual-e58323"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/rust-anything-v4-0-0-launches-a-multilingual-e58323/","markdown":"https://newruntime.com/posts/rust-anything-v4-0-0-launches-a-multilingual-e58323.md","json":"https://newruntime.com/posts/rust-anything-v4-0-0-launches-a-multilingual-e58323.json"}
markdown_url: "https://newruntime.com/posts/rust-anything-v4-0-0-launches-a-multilingual-e58323.md"
---

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

## Retrieval answer

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.

## Summary

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](https://github.com/erkamyaman/rust-anything/releases/tag/v4.0.0))

## 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](https://newruntime.com/posts/rust-anything-is-an-open-source-tool-for-2953cc/), [earlier New Runtime note](https://newruntime.com/posts/rust-anything-v3-1-0-adds-a-one-53c000/), [earlier New Runtime note](https://newruntime.com/posts/rust-anything-v3-3-0-adds-php-and-983e75/))

## 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.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Developer Tools](https://newruntime.com/topics/developer-tools.md): Explore the developer-tools topic hub.
- topic hub: [Interoperability](https://newruntime.com/topics/interoperability.md): Explore the interoperability topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
