Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .agents/skills
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
---
name: translate-docs-zh
description: Translate Apache Fory docs into Simplified Chinese and maintain existing Chinese translations by diffing English source changes. Use when asked to translate docs, sync i18n/zh-CN content, remove placeholder Chinese-intro notices, or update already-translated files after English docs changed. Strict rule: do NOT use any external translation service, API, website, or translation CLI tool; translation must be done directly by Codex.
description: >-
Translate Apache Fory docs into Simplified Chinese and maintain existing
Chinese translations by diffing English source changes. Use when asked to
translate docs, sync i18n/zh-CN content, remove placeholder Chinese-intro
notices, or update already-translated files after English docs changed.
Strict rule: do NOT use any external translation service, API, website, or
translation CLI tool; translation must be done directly by Codex.
---

# Translate Docs (zh-CN)
Expand Down
293 changes: 293 additions & 0 deletions blog/2026-03-17-fory_0_16_0_release.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/guide/cpp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ include(FetchContent)
FetchContent_Declare(
fory
GIT_REPOSITORY https://github.com/apache/fory.git
GIT_TAG v0.15.0
GIT_TAG v0.16.0
SOURCE_SUBDIR cpp
)
FetchContent_MakeAvailable(fory)
Expand Down Expand Up @@ -89,11 +89,11 @@ module(

bazel_dep(name = "rules_cc", version = "0.1.1")

bazel_dep(name = "fory", version = "0.15.0")
bazel_dep(name = "fory", version = "0.16.0")
git_override(
module_name = "fory",
remote = "https://github.com/apache/fory.git",
commit = "v0.15.0", # Or use a specific commit hash for reproducibility
commit = "v0.16.0", # Or use a specific commit hash for reproducibility
)
```

Expand All @@ -117,7 +117,7 @@ bazel run //:my_app
For local development, you can use `local_path_override` instead:

```bazel
bazel_dep(name = "fory", version = "0.15.0")
bazel_dep(name = "fory", version = "0.16.0")
local_path_override(
module_name = "fory",
path = "/path/to/fory",
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/csharp/cross-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ value = fory.deserialize(payload_from_csharp)

## Type Mapping Reference

See [xlang guide](../xlang/index.md) for complete mapping.
See [xlang guide](../xlang) for complete mapping.

## Best Practices

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/csharp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ User decoded = fory.Deserialize<User>(payload);

## Related Resources

- [Cross-language serialization specification](../../specification/xlang_serialization_spec.md)
- [Cross-language guide](../xlang/index.md)
- [Cross-language serialization specification](../../specification/xlang_serialization_spec)
- [Cross-language guide](../xlang)
- [C# source directory](https://github.com/apache/fory/tree/main/csharp)
2 changes: 1 addition & 1 deletion docs/guide/csharp/supported-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Dynamic object payloads via `Serialize<object?>` / `Deserialize<object?>` suppor
## Notes

- User-defined types should be registered explicitly.
- For cross-language usage, follow the [xlang guide](../xlang/index.md).
- For cross-language usage, follow the [xlang guide](../xlang).

## Related Topics

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/java/compression.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ CompressedArraySerializers.registerSerializers(fory);
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-simd</artifactId>
<version>0.15.0</version>
<version>0.16.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/kotlin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ See [Java Features](../java/index.md#features) for complete feature list.
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin</artifactId>
<version>0.15.0</version>
<version>0.16.0</version>
</dependency>
```

### Gradle

```kotlin
implementation("org.apache.fory:fory-kotlin:0.15.0")
implementation("org.apache.fory:fory-kotlin:0.16.0")
```

## Quick Start
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/scala/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ See [Java Features](../java/index.md#features) for complete feature list.
Add the dependency with sbt:

```sbt
libraryDependencies += "org.apache.fory" %% "fory-scala" % "0.15.0"
libraryDependencies += "org.apache.fory" %% "fory-scala" % "0.16.0"
```

## Quick Start
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/xlang/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ This guide covers installation and basic setup for cross-language serialization
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-core</artifactId>
<version>0.15.0</version>
<version>0.16.0</version>
</dependency>
```

**Gradle:**

```gradle
implementation 'org.apache.fory:fory-core:0.15.0'
implementation 'org.apache.fory:fory-core:0.16.0'
```

### Python
Expand Down
30 changes: 30 additions & 0 deletions docs/introduction/benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,36 @@ Fory C++ demonstrates competitive performance compared to Protobuf C++ serializa

<img src="/img/benchmarks/cpp/throughput.png" width="90%"/>

## Go Benchmark

Fory Go demonstrates strong performance compared to Protobuf and Msgpack across
single-object and list workloads.

<img src="/img/blog/fory_0_16_0_release/go_benchmark_combined.png" width="90%"/>

Note: Results depend on hardware, dataset, and implementation versions. See the
Go benchmark report for details: https://fory.apache.org/docs/benchmarks/go/

## C# Benchmark

Fory C# demonstrates strong performance compared to Protobuf and Msgpack across
typed object serialization and deserialization workloads.

<img src="/img/blog/fory_0_16_0_release/csharp_benchmark_combined.png" width="90%"/>

Note: Results depend on hardware and runtime versions. See the C# benchmark
report for details: https://fory.apache.org/docs/benchmarks/csharp/

## Swift Benchmark

Fory Swift demonstrates strong performance compared to Protobuf and Msgpack
across both scalar-object and list workloads.

<img src="/img/blog/fory_0_16_0_release/swift_benchmark_combined.png" width="90%"/>

Note: Results depend on hardware and runtime versions. See the Swift benchmark
report for details: https://fory.apache.org/docs/benchmarks/swift/

## JavaScript Benchmark

<img width="50%" alt="" src="/img/benchmarks/javascript/complex_object.jpg" />
Expand Down
16 changes: 8 additions & 8 deletions docs/start/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To add a dependency on Apache Fory™ using Maven, use the following:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-core</artifactId>
<version>0.15.0</version>
<version>0.16.0</version>
</dependency>
<!-- Optional row format support -->
<!--
Expand Down Expand Up @@ -44,7 +44,7 @@ To add a dependency on Apache Fory™ scala for scala 2.13 with maven, use the f
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-scala_2.13</artifactId>
<version>0.15.0</version>
<version>0.16.0</version>
</dependency>
```

Expand All @@ -54,20 +54,20 @@ To add a dependency on Apache Fory™ scala for scala 3 with maven, use the foll
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-scala_3</artifactId>
<version>0.15.0</version>
<version>0.16.0</version>
</dependency>
```

To add a dependency on Apache Fory™ scala for scala 2.13 with sbt, use the following:

```sbt
libraryDependencies += "org.apache.fory" % "fory-scala_2.13" % "0.15.0"
libraryDependencies += "org.apache.fory" % "fory-scala_2.13" % "0.16.0"
```

To add a dependency on Apache Fory™ scala for scala 3 with sbt, use the following:

```sbt
libraryDependencies += "org.apache.fory" % "fory-scala_3" % "0.15.0"
libraryDependencies += "org.apache.fory" % "fory-scala_3" % "0.16.0"
```

## Kotlin
Expand All @@ -78,15 +78,15 @@ To add a dependency on Apache Fory™ kotlin with maven, use the following:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin</artifactId>
<version>0.15.0</version>
<version>0.16.0</version>
</dependency>
```

## Python

```bash
python -m pip install --upgrade pip
pip install pyfory==0.15.0
pip install pyfory==0.16.0
```

## Rust
Expand All @@ -99,7 +99,7 @@ fory = "0.14"
or just execute command:

```bash
cargo add fory@0.15.0
cargo add fory@0.16.0
```

## JavaScript
Expand Down
2 changes: 1 addition & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const config: Config = {
{
docs: {
sidebarCollapsible: true,
lastVersion: '0.15',
lastVersion: '0.16',
versions: {
current: {
label: 'dev',
Expand Down
Empty file.
Loading
Loading