Skip to content

Commit 5baa5ff

Browse files
committed
chore: release v0.16.0
1 parent ea80b3f commit 5baa5ff

File tree

5 files changed

+29
-5
lines changed

5 files changed

+29
-5
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.16.0]
6+
7+
### Added
8+
9+
- **Japanese Localization (Web UI)**: Full Japanese (日本語) language support for the web interface
10+
- Type-safe i18n system with English and Japanese translations
11+
- Language switcher in header with persistent preference (localStorage)
12+
- Auto-detection of browser language preference
13+
- All UI strings, yaku names, and score levels translated
14+
- Translations for: 満貫, 跳満, 倍満, 三倍満, 役満, etc.
15+
16+
- **Suu Kantsu (四槓子) Yakuman**: Added the missing Four Kans yakuman
17+
- Detects when hand contains exactly 4 kans (open or closed)
18+
- Awards yakuman (13 han) - can stack with Suuankou for double yakuman
19+
- Added CLI display: "Suu Kantsu (Four Kans)"
20+
- Added WASM support and i18n translations
21+
22+
### Fixed
23+
24+
- **Yaku Translation Mapping**: Fixed yaku names not translating in Japanese locale
25+
- Updated yakuNameMap to match actual WASM backend output format
26+
- WASM uses shorter names (e.g., "Sanshoku Doujun") vs CLI verbose names
27+
- Made translation helpers reactive to locale changes
28+
529
## [0.15.0]
630

731
### Changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ lto = "thin"
1212
opt-level = "z"
1313

1414
[workspace.package]
15-
version = "0.15.0"
15+
version = "0.16.0"
1616
edition = "2024"
1717
repository = "https://github.com/ryblogs/agari"
1818
homepage = "https://github.com/ryblogs/agari"

crates/agari-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "agari"
3-
version = "0.15.0"
3+
version = "0.16.0"
44
edition = "2024"
55
repository = "https://github.com/ryblogs/agari"
66
homepage = "https://github.com/ryblogs/agari"

crates/agari-wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "agari-wasm"
3-
version = "0.15.0"
3+
version = "0.16.0"
44
edition = "2024"
55
description = "WebAssembly bindings for Agari Riichi Mahjong scoring engine"
66
license = "MIT"

0 commit comments

Comments
 (0)