Skip to content

chore: Bump version to 2.1.4#21

Merged
plastikdreams merged 1 commit into
mainfrom
release/v2.1.4
Jul 6, 2026
Merged

chore: Bump version to 2.1.4#21
plastikdreams merged 1 commit into
mainfrom
release/v2.1.4

Conversation

@plastikdreams

Copy link
Copy Markdown
Collaborator

Summary

Version bump for the next zip package release, plus one bug found while preparing it.

  • Bump plugin version to 2.1.4 in the plugin header, readme.txt (Stable tag), and changelog/upgrade notice sections of readme.txt / README.md.
  • Fix SHIFTER_FUTURE_PUBLISH_VERSION: this constant is passed as the $version argument to wp_enqueue_script() for cache-busting, but it was hardcoded to 2.0.5 regardless of the actual plugin version (confirmed still present on main after the Fix fatal error and no-op hook removal, harden security and safety #20 merge). Browsers/CDNs could not detect changes to editor.js / classic-editor.js across any release since 2.0.5. Now set to 2.1.4 and should be bumped alongside the header Version: field going forward.

Why 2.1.4 (not 2.2.0 or 3.0.0)

This release only contains the #20 audit fixes already merged to main (no-op remove_action, uninstall.php, docs) plus this version-constant fix. No new features and no breaking changes to existing behavior — a patch release per semver.

Checks run

  • php -l shifter-future-publish.php: pass
  • _tests/vendor/bin/phpcs (repo's _tests/phpcs.xml): pass
  • _tests/vendor/bin/phpstan analyse (repo's _tests/phpstan.neon, level max): no errors

Also fixes a bug found while preparing this release: the
SHIFTER_FUTURE_PUBLISH_VERSION constant used for asset cache-busting was
hardcoded to 2.0.5 and never followed the plugin's actual version, so
browsers/CDNs could not detect changes to the enqueued JS files across
releases.
@plastikdreams plastikdreams marked this pull request as ready for review July 6, 2026 13:05
@plastikdreams plastikdreams merged commit 3c7b6bc into main Jul 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant