Releases: MahjongRepository/mahjong
Releases · MahjongRepository/mahjong
v1.4.0
20 Oct 01:22
Compare
Sorry, something went wrong.
No results found
What's Changed
chore: Update astral-sh/setup-uv action by @Apricot-S in #78
chore: Update actions/checkout action by @Apricot-S in #80
chore: Add Python 3.14 support by @Apricot-S in #81
feat: Deprecate Shanten.number_characters and Shanten.number_isolated_tiles by @Apricot-S in #82
feat: Deprecate internal state properties of Shanten by @Apricot-S in #83
docs: Apply markdownlint rules to README by @Apricot-S in #87
docs: Add badges by @Apricot-S in #88
docs: Change uv venv to uv sync for accurate setup and dependency installation via pyproject.toml by @Apricot-S in #89
Full Changelog : v1.3.0...v1.4.0
v1.3.0
17 May 00:47
Compare
Sorry, something went wrong.
No results found
Breaking Changes
dropped support for Python 3.7 and 3.8
Bug fixes
fix: Correct miscalculation of shanten number for Seven Pairs (chiitoitsu, 七対子) by @Apricot-S in #61
fix: Correct miscalculation of shanten number for general form by @Apricot-S in #62
Other changes
migrate the project to a modern Python stack: uv and ruff
other minor improvements and optimizations along the way
add support for Python 3.13
New Contributors
Full Changelog : v1.2.1...v1.3.0
v1.2.1
08 Aug 02:20
Compare
Sorry, something went wrong.
No results found
Features
Adjust warning configs. Thanks @0num4 for contribution in PR #46
Chores
Fix type in the test name. Thanks @kianmeng for contribution in PR #45
Remove Python 3.6 support
Move wiki files to md files for easier diffs
v1.2.0
22 May 14:53
Compare
Sorry, something went wrong.
No results found
This release contains many improvements and bug fixes. The new version was tested over millions of real hanchans and many bugs were fixed.
Incompatibility highlight:
Python 2 support was dropped
Changes in interfaces, please refer doc/example.py for usage examples. For example now all four tiles should be in hand tiles when you have kan melds.
v1.1.11
02 Nov 07:42
Compare
Sorry, something went wrong.
No results found
Speed up performance a bit
Add support for Python 3.9
v1.1.10
11 May 13:18
Compare
Sorry, something went wrong.
No results found
Add japanese yaku names
Fix an issue with not correct ryuuiisou detection
Allow to print aka dora in TilesConverter.to_one_line_string() method ("0" symbol)
Add support for Python 3.8
v1.1.9
29 Jul 01:42
Compare
Sorry, something went wrong.
No results found
Add TilesConverter.one_line_string_to_136_array() and TilesConverter.one_line_string_to_34_array() methods
v1.1.8
26 Jul 02:07
Compare
Sorry, something went wrong.
No results found
Fix an issue with incorrect daburu chuuren poutou calculations
Allow passing '0' as a red five to tiles converter
v1.1.7
08 Apr 16:46
Compare
Sorry, something went wrong.
No results found
Introduce OptionalRules hand configuration
v1.1.6
11 Feb 01:56
Compare
Sorry, something went wrong.
No results found
Fix a bug when hatsu yaku was added to the hand instead of chun
Fix a bug where kokushi wasn't combined with tenhou/renhou/chihou
Add English names to all yaku
Add support of python 2.7
Add a way to pass aka dora to tile converter