Skip to content

Releases: rysb-dev/agari

0.21.0

28 Mar 03:54

Choose a tag to compare

Release Notes

Fixed

  • Shanten Meld Extraction: Replaced greedy dual-pass meld extraction with recursive backtracking to fix incorrect shanten values for certain hands (e.g., hands with kanchan taatsu like 46789m were miscounted)

Install agari 0.21.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rysb-dev/agari/releases/download/v0.21.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/rysb-dev/agari/releases/download/v0.21.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install rysb-dev/tap/agari

Download agari 0.21.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.20.0

17 Mar 21:04

Choose a tag to compare

Release Notes

Added

  • Python Bindings (agari-python crate): New agari-python crate providing PyO3-based Python bindings for shanten and ukeire calculations, along with general-purpose mahjong utilities (chi/kan helpers, tile parsing, etc.)

Changed

  • Chi/Kan Utilities Moved to agari-core: Chi and kan utility functions previously in agari-python have been moved into the agari-core library for broader reuse

Fixed

  • Cargo Clippy Warnings: Resolved all outstanding cargo clippy warnings in agari-core and agari-python

Install agari 0.20.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rysb-dev/agari/releases/download/v0.20.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/rysb-dev/agari/releases/download/v0.20.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install rysb-dev/tap/agari

Download agari 0.20.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.19.1

18 Feb 06:11

Choose a tag to compare

Release Notes

Fixed

  • Practical Ukeire Zero-Available Waits: Fixed ukeire excluding valid wait tiles when all copies were accounted for (hand + visible). A tile that improves shanten now always appears in the results even when 0 copies remain in the wall, so players can see their full wait shape.

Install agari 0.19.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rysb-dev/agari/releases/download/v0.19.1/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/rysb-dev/agari/releases/download/v0.19.1/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install rysb-dev/tap/agari

Download agari 0.19.1

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.19.0

18 Feb 05:10

Choose a tag to compare

Release Notes

Added

  • Practical Ukeire (Tile Acceptance): New calculate_ukeire_with_visible and calculate_ukeire_with_melds_and_visible library functions that account for tiles already visible on the table (discard ponds, open melds, dora indicators). Available copies are computed as 4 - hand_count - visible_count instead of the theoretical 4 - hand_count.
  • --visible CLI Flag: New --visible <TILES> option for practical ukeire from the command line. Pass comma-separated visible tiles (e.g., --visible 2z,2z,5p) to subtract them from the available pool when computing ukeire.

Changed

  • Ukeire Documentation: Updated doc comments on all ukeire functions and UkeireTile::available to clarify the difference between theoretical and practical ukeire. Updated README with practical ukeire examples for both CLI and library usage.

Install agari 0.19.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rysb-dev/agari/releases/download/v0.19.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/rysb-dev/agari/releases/download/v0.19.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install rysb-dev/tap/agari

Download agari 0.19.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.18.0

17 Feb 04:09

Choose a tag to compare

Release Notes

Added

  • Shareable URL Support: Generate shareable URLs that encode the full hand configuration for the web calculator
  • Crates.io Publishing: Package is now available on crates.io with cargo install agari

Fixed

  • Ukeire Analysis with Called Melds: Fixed ukeire (tile acceptance) producing bogus results for hands with open melds — previously showed nearly all 34 tile types as improving tiles instead of the correct few
  • Red Five in Shared URLs: Preserved red five (aka dora) notation in the winning tile when generating shareable URLs
  • Crates.io Publish Job: Fixed cargo-dist custom publish job configuration for crates.io releases

Changed

  • GitHub Username Migration: Updated repository references from sullenb to rysb-dev

Install agari 0.18.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rysb-dev/agari/releases/download/v0.18.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/rysb-dev/agari/releases/download/v0.18.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install rysb-dev/tap/agari

Download agari 0.18.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.17.0

08 Feb 03:28

Choose a tag to compare

Release Notes

Changed

  • GitHub Username Migration: Updated all repository URLs and references from ryblogs to sullenb
    • Updated Cargo.toml repository and homepage URLs
    • Updated GitHub Actions workflows for deploy and release
    • Updated Homebrew tap reference to sullenb/homebrew-tap
    • Updated all installation instructions in README

Added

  • Web UI Enhancements:
    • Dark tile theme with toggle option
    • Improved score result layout
    • Custom domain support (agari.org)

Fixed

  • Mobile UX: Prevented double-tap-to-zoom on mobile tile interactions

Documentation

  • Enhanced README with images and web frontend information
  • Updated live demo URL to agari.org

Install agari 0.17.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/sullenb/agari/releases/download/v0.17.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/sullenb/agari/releases/download/v0.17.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install sullenb/tap/agari

Download agari 0.17.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.16.0

05 Feb 00:54

Choose a tag to compare

Release Notes

Added

  • Japanese Localization (Web UI): Full Japanese (日本語) language support for the web interface

    • Type-safe i18n system with English and Japanese translations
    • Language switcher in header with persistent preference (localStorage)
    • Auto-detection of browser language preference
    • All UI strings, yaku names, and score levels translated
    • Translations for: 満貫, 跳満, 倍満, 三倍満, 役満, etc.
  • Suu Kantsu (四槓子) Yakuman: Added the missing Four Kans yakuman

    • Detects when hand contains exactly 4 kans (open or closed)
    • Awards yakuman (13 han) - can stack with Suuankou for double yakuman
    • Added CLI display: "Suu Kantsu (Four Kans)"
    • Added WASM support and i18n translations

Fixed

  • Yaku Translation Mapping: Fixed yaku names not translating in Japanese locale
    • Updated yakuNameMap to match actual WASM backend output format
    • WASM uses shorter names (e.g., "Sanshoku Doujun") vs CLI verbose names
    • Made translation helpers reactive to locale changes

Install agari 0.16.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.16.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.16.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.16.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.15.0

04 Feb 20:55

Choose a tag to compare

Release Notes

Changed

  • Web UI Redesign: Complete redesign of the web interface with a modern linear design language
    • Boxy, sharp-cornered design with no border-radius
    • 1px borders for depth instead of shadows
    • Modern dark color scheme (#09090b base, #3b82f6 accent)
    • Monospace typography for values, badges, and code elements
    • Grid-based panel layout with 1px gap separators
    • Flat hover states using border color changes
    • Updated all components: Tile, TilePalette, ContextOptions, ScoreResult, DoraPicker

Fixed

  • Validator CLI: Simplified CLI by removing --files parameter; validator now always uses bundled test files

Install agari 0.15.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.15.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.15.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.15.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.14.0

01 Feb 15:37

Choose a tag to compare

Release Notes

Added

  • CI Test Workflow: Added GitHub Actions workflow to run tests on all PRs and pushes to main
  • CI Clippy Lint Check: Added clippy linting to CI pipeline, enforcing zero warnings
  • Regression Tests: Added tests for sequences-first triplet extraction in shanten calculation

Changed

  • Clippy 2024 Compliance: Comprehensive clippy fixes across the codebase (PR #10)
    • Modernized iterator patterns and range checks
    • Replaced manual implementations with idiomatic Rust
    • Simplified conditional expressions and closures

Fixed

  • Deploy Workflow on Forks: Fixed GitHub Pages deploy workflow failing on forks by adding repository owner check

New Contributors

Install agari 0.14.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.14.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.14.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.14.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.13.1

31 Jan 14:55

Choose a tag to compare

Release Notes

Fixed

  • Tile Texture Rendering: Embedded Front.svg background directly into all tile SVGs for proper texture/3D effect rendering
  • Dora Picker Exhausted Tiles: Tiles that have been fully used in the hand are now disabled in the dora/ura dora picker, preventing selection of unavailable tiles
  • WIN Badge Overlap: Moved the "WIN" label from top-right to bottom-center of tiles to avoid overlap with the remove button
  • TypeScript Warning: Fixed "Cannot find name 'process'" warning in vite.config.ts by using Vite's built-in mode parameter

Changed

  • Tile Component Simplification: Removed redundant tile background layering in Tile.svelte since backgrounds are now embedded in SVGs

Install agari 0.13.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.13.1/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.13.1/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.13.1

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum