Skip to content

Releases

KoMahjong Solitaire v1.34

Choose a tag to compare

@github-actions github-actions released this 29 Nov 12:17

Automated release for commit 841a031.

v1.34: typography, overlay lifecycle and install fixes

A full review pass over the plugin, its test suite and the install tooling.
No gameplay rules or saved-game formats changed; existing saves load as before.

Fixed

  • High-DPI typography no longer scales twice. KOReader's Font:getFace
    already applies Screen:scaleBySize, so pre-scaled sizes rendered text up to
    ~2x too large on 1072px/1448px canvases. Every font size is now raw, layout
    dimensions stay scaled, font sizes derived from a scaled dimension go through
    the new MahjongUI.scaledToRaw(), and help-tile icons use the same path
    (the old /Screen:scaleBySize(1) un-scale rounded the factor up).
  • A dead-board shuffle can no longer corrupt a replaced board. The
    candidate search is bound to the board it started on; New Game, a layout
    change and close cancel it, and board-mutating input (taps, undo, hint,
    auto-solve) is ignored while it runs.
  • Floating overlays can no longer outlive a restart. The layout picker,
    help, settings, stats, win summary and Home-key exit card are tracked on the
    owner and dismissed on relaunch/close. Open methods are idempotent (no
    stacked pickers or cards), owner close hooks fire exactly once, and a
    framework-driven settings close resumes the clock/Awake it paused.
  • Third-party layouts no longer leak layout.<id>. The picker, the stats
    card and the win summary fall back to the layout's registered name when no
    catalog entry exists.
  • Board geometry cache now follows a re-registered layout (the bounds were
    stale after registerLayout on an existing id).
  • Help close hook ran twice (dialog close plus CloseWidget); it now runs
    once.

Tests and CI

  • Regression coverage added for the stale shuffle, overlay lifecycle (including
    the exit card), raw font requests, the fitTextFace shrink loop, custom
    layout labels, bounds-cache invalidation, and icon scaling on a rounding
    canvas.
  • The test mock's Font:getFace now mirrors KOReader: it scales once and
    exposes orig_size, so a call site that pre-scales a font fails the suite.
  • New Tests workflow (pushes to main and pull requests). release.yml now
    runs the suite before publishing and serialises releases.
  • Removed the committed preview.png; extended .gitignore.

Install tooling

  • install_plugin.sh auto-detects the Kindle's Windows drive letter (it is not
    always D:), supports --drive E:, KINDLE_DRIVE and KINDLE_MOUNT,
    reuses an existing mount, cleans up a mount it created when the copy fails,
    and no longer mounts an unrelated D:.

Docs

  • Corrected chain-scoring rules (only identical faces chain, plus any two
    flowers / any two seasons), Spanish support, the 24-id layout registry and
    picker ordering, and marked US-51/US-52 complete.

Installation

  1. Download the mahjong.koplugin-v1.34.zip asset from this release.
  2. Extract the ZIP file directly into KOReader's plugins/ directory. The archive already contains the complete mahjong.koplugin/ folder, so it should create plugins/mahjong.koplugin/.
  3. Do not copy only the Lua files; keep the entire plugin folder and its icons/ directory intact.
  4. Fully restart KOReader, because plugins are loaded during startup.
  5. Open Tools -> Mahjong Solitaire from the KOReader menu.

KoMahjong Solitaire v1.33

Choose a tag to compare

@github-actions github-actions released this 20 Aug 09:42

Automated release for commit 25a5fb3.

Fix responsive action counters

  • Keep PW12 Hint and Shuffle counters compact.
  • Preserve readable native sizing on Kindle Touch.
  • Reserve fixed counter slots and add responsive regressions.

Installation

  1. Download the mahjong.koplugin-v1.33.zip asset from this release.
  2. Extract the ZIP file directly into KOReader's plugins/ directory. The archive already contains the complete mahjong.koplugin/ folder, so it should create plugins/mahjong.koplugin/.
  3. Do not copy only the Lua files; keep the entire plugin folder and its icons/ directory intact.
  4. Fully restart KOReader, because plugins are loaded during startup.
  5. Open Tools -> Mahjong Solitaire from the KOReader menu.

KoMahjong Solitaire v1.32

Choose a tag to compare

@github-actions github-actions released this 20 Aug 09:31

Automated release for commit 43687b2.

Pause timer during device suspend

Installation

  1. Download the mahjong.koplugin-v1.32.zip asset from this release.
  2. Extract the ZIP file directly into KOReader's plugins/ directory. The archive already contains the complete mahjong.koplugin/ folder, so it should create plugins/mahjong.koplugin/.
  3. Do not copy only the Lua files; keep the entire plugin folder and its icons/ directory intact.
  4. Fully restart KOReader, because plugins are loaded during startup.
  5. Open Tools -> Mahjong Solitaire from the KOReader menu.

KoMahjong Solitaire v1.31

Choose a tag to compare

@github-actions github-actions released this 20 Aug 09:25

Automated release for commit b6295dc.

Fix PW12 win headline overflow

Installation

  1. Download the mahjong.koplugin-v1.31.zip asset from this release.
  2. Extract the ZIP file directly into KOReader's plugins/ directory. The archive already contains the complete mahjong.koplugin/ folder, so it should create plugins/mahjong.koplugin/.
  3. Do not copy only the Lua files; keep the entire plugin folder and its icons/ directory intact.
  4. Fully restart KOReader, because plugins are loaded during startup.
  5. Open Tools -> Mahjong Solitaire from the KOReader menu.

KoMahjong Solitaire v1.30

Choose a tag to compare

@github-actions github-actions released this 19 Aug 08:34

Automated release for commit 6a22e03.

Fix PW12 HUD chip sizing

Installation

  1. Download the mahjong.koplugin-v1.30.zip asset from this release.
  2. Extract the ZIP file directly into KOReader's plugins/ directory. The archive already contains the complete mahjong.koplugin/ folder, so it should create plugins/mahjong.koplugin/.
  3. Do not copy only the Lua files; keep the entire plugin folder and its icons/ directory intact.
  4. Fully restart KOReader, because plugins are loaded during startup.
  5. Open Tools -> Mahjong Solitaire from the KOReader menu.

KoMahjong Solitaire v1.29

Choose a tag to compare

@github-actions github-actions released this 19 Aug 08:16

Automated release for commit 385f024.

Fix PW12 win summary sizing

  • Bound the results card to the runtime canvas.
  • Fit typography and constrain result markers, values, and buttons.
  • Add long-text PW12 responsive regression coverage.
  • Document the responsive win-summary behavior.

Installation

  1. Download the mahjong.koplugin-v1.29.zip asset from this release.
  2. Extract the ZIP file directly into KOReader's plugins/ directory. The archive already contains the complete mahjong.koplugin/ folder, so it should create plugins/mahjong.koplugin/.
  3. Do not copy only the Lua files; keep the entire plugin folder and its icons/ directory intact.
  4. Fully restart KOReader, because plugins are loaded during startup.
  5. Open Tools -> Mahjong Solitaire from the KOReader menu.

KoMahjong Solitaire v1.28

Choose a tag to compare

@github-actions github-actions released this 18 Aug 11:29

Automated release for commit 64b8ea3.

Fix Fold HUD sizing

  • Cap Android HUD stat text to chip geometry

  • Raise Fold layout captions above card borders

  • Add responsive Fold HUD regression coverage

Installation

  1. Download the mahjong.koplugin-v1.28.zip asset from this release.
  2. Extract the ZIP file directly into KOReader's plugins/ directory. The archive already contains the complete mahjong.koplugin/ folder, so it should create plugins/mahjong.koplugin/.
  3. Do not copy only the Lua files; keep the entire plugin folder and its icons/ directory intact.
  4. Fully restart KOReader, because plugins are loaded during startup.
  5. Open Tools -> Mahjong Solitaire from the KOReader menu.

KoMahjong Solitaire v1.27

Choose a tag to compare

@github-actions github-actions released this 18 Aug 11:20

Automated release for commit 428dd58.

fixed kindle design regression

Installation

  1. Download the mahjong.koplugin-v1.27.zip asset from this release.
  2. Extract the ZIP file directly into KOReader's plugins/ directory. The archive already contains the complete mahjong.koplugin/ folder, so it should create plugins/mahjong.koplugin/.
  3. Do not copy only the Lua files; keep the entire plugin folder and its icons/ directory intact.
  4. Fully restart KOReader, because plugins are loaded during startup.
  5. Open Tools -> Mahjong Solitaire from the KOReader menu.

KoMahjong Solitaire v1.26

Choose a tag to compare

@github-actions github-actions released this 18 Aug 11:15

Automated release for commit ca4c790.

Fix high-DPI picker sizing

  • Bound layout captions to card geometry

  • Scale picker chips and help glyphs independently of raw DPI

  • Add Fold-like responsive regression coverage

Installation

  1. Download the mahjong.koplugin-v1.26.zip asset from this release.
  2. Extract the ZIP file directly into KOReader's plugins/ directory. The archive already contains the complete mahjong.koplugin/ folder, so it should create plugins/mahjong.koplugin/.
  3. Do not copy only the Lua files; keep the entire plugin folder and its icons/ directory intact.
  4. Fully restart KOReader, because plugins are loaded during startup.
  5. Open Tools -> Mahjong Solitaire from the KOReader menu.

KoMahjong Solitaire v1.25

Choose a tag to compare

@github-actions github-actions released this 18 Aug 11:02

Automated release for commit 879052f.

Improve responsive UI sizing

Installation

  1. Download the mahjong.koplugin-v1.25.zip asset from this release.
  2. Extract the ZIP file directly into KOReader's plugins/ directory. The archive already contains the complete mahjong.koplugin/ folder, so it should create plugins/mahjong.koplugin/.
  3. Do not copy only the Lua files; keep the entire plugin folder and its icons/ directory intact.
  4. Fully restart KOReader, because plugins are loaded during startup.
  5. Open Tools -> Mahjong Solitaire from the KOReader menu.