Skip to content

v1.2.1 — PHPUnit unit tests + usage-focused README

Choose a tag to compare

@toineenzo toineenzo released this 26 Apr 22:01
· 2 commits to main since this release

A test-infrastructure and documentation release. No functional plugin changes — runtime behavior is identical to v1.2.0.

What changed

  • PHPUnit unit-test suite added via YOURLS-test-suite-for-plugins, covering the settings save flow and the validation/clamp logic for the per-page count.
  • README rewritten to be usage-focused — quickstart, screenshots, and configuration lead. CI / dev notes moved further down.

Install / upgrade

Same layout as v1.2.0 — the install zip wraps everything in a Links-Per-Page/ folder.

cd /path/to/yourls/user/plugins
unzip /path/to/YOURLS-Links-Per-Page-v1.2.1.zip

Saved per-page value persists across upgrades (stored in YOURLS options, not the plugin folder).

Assets

Two zips, built and uploaded by the release-test workflow once the e2e + Sleeky matrix passes:

File Use for
YOURLS-Links-Per-Page-v1.2.1.zip Production installs (plugin.php, LICENSE, README.md)
YOURLS-Links-Per-Page-v1.2.1-debug.zip Reproducing CI runs / contributing (full repo snapshot)

Full changelog: v1.2.0…v1.2.1