Skip to content

0.1.2

Choose a tag to compare

@tobeyadr tobeyadr released this 02 Oct 00:11
· 8 commits to main since this release

Patch release: fixes a real bug found while shipping Traffic Filter 1.3 live on groundhogg.io.

Fixed

  • edd/release-product-version kept the download's file name stuck on a previous version. If a product's file name was already set (e.g. repo-1.2.zip, from an earlier release or set by hand), every later release reused that exact name instead of updating it - the version, the changelog and the actually-fetched file content all updated correctly, but the file's name and URL kept saying the old version, forever, since the stale name got written straight back into the meta each time too.

    Confirmed live: shipping version 1.3 over a product whose file was named ...-1.2.zip produced a correct 1.3 build under a ...-1.2.zip name. Fixed by always deriving a fresh {repo}-{version}.zip name per release.

    Added a regression test reproducing the exact scenario.

Install / upgrade

Download edd-abilities-0.1.2.zip below and upload it over your existing install, or:

wp plugin install edd-abilities-0.1.2.zip --activate --force

Requires: WordPress 6.9+, PHP 7.4+, Easy Digital Downloads 3.x.

If you already shipped a release with the bug

The file content was correct; only its name/URL is stale. Easiest fix: run edd/release-product-version again for that product on this version - it will now save under the correct name. Note this will also prepend the changelog entry a second time, so clean up the duplicate afterward (or ask an assistant to do both in one go).

Notes

134 tests, all passing against EDD 3.5.3, Software Licensing 3.9.1, Recurring 2.13.9 and Git Download Updater 1.3.1.