Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.2 - 2026-04-30¶
Fixed¶
get_scores()binding missing in pybind11 (was causingAttributeErrorinweb/game_manager.py)seedattribute assignment fixed: useset_seed()instead of direct member accessAll
to_string()methods returningbytesinstead ofstr(pybind11py::bytes→py::str)CI workflow test invocation broken after
test()removal from public APIimport pymahjongfailing in environments without torch (lazy-load RL model imports)
Changed¶
Established clean public
__all__API surface: 36 symbols, explicit imports, no wildcard pollutionAdded
__version__from setuptools-scm build-time injectiontest()moved to internalpymahjong.testmodule (not part of public API)Python submodules now export
__all__Renamed
paipu_replay_1→paipu_replay_summaryRemoved deprecated
env_mahjong.py(superseded byenv_pymahjong.py)
Added¶
docs/cpp_api/— C++ engine API reference documentationdocs/advanced/state_machine.md— C++ engine phase/state machine referencedocs/web_frontend.md— Web frontend (FastAPI + Canvas) documentationC++
ScoreTable,YakuDetector,FuCalculatormodulesweb/— Web UI for human-vs-AI, 4-AI battle, and paipu replay
1.1.0 - 2024-XX-XX¶
Added¶
Modern build system using
pyproject.tomlwith scikit-build-corecibuildwheel GitHub Actions for cross-platform wheel building
Trusted publishing to PyPI
Sphinx documentation with Furo theme
GitHub Pages documentation deployment
Changed¶
Python version support updated to 3.10-3.14 (dropped 3.8, 3.9)
pybind11 is now a build dependency instead of vendored
Build backend changed from setup.py to scikit-build-core
Removed¶
Vendored pybind11 from ThirdParty/
1.0.5 - 2024-01-XX¶
Changed¶
Migrated from gym to gymnasium for modern compatibility
Fixed CI workflow for compatibility with modern GitHub Actions runners
1.0.4 - 2023-XX-XX¶
Added¶
Pretrained VLOG models (CQL and BC variants)
Offline dataset for training
Fixed¶
Various bug fixes and performance improvements
1.0.0 - 2022-XX-XX¶
Added¶
Initial release
Complete Japanese Riichi Mahjong rules implementation
Multi-agent environment (
MahjongEnv)Single-agent environment (
SingleAgentMahjongEnv)Observation encoding (executor and oracle)
Paipu replay system
C++ backend with pybind11 bindings