Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 21 May 12:01
· 2 commits to main since this release

Critical hotfix for 0.2.0

The 0.2.0 release zip was missing the bundled Freemius SDK because bin/build-zip.sh only copied src/ templates/ assets/ languages/ includes/ and silently skipped freemius/. Sites that auto-updated from 0.1.x saw sp_fs() return null at runtime — the paywall banner and Upgrade CTA never rendered, but no fatal error was thrown either (PaywallGate gracefully falls back to "not paying" when the SDK is missing).

Fix

  • Added freemius to the directory list in bin/build-zip.sh.
  • Prunes Freemius dev-only files (gulp tooling, README, .editorconfig, etc.) before zipping so the runtime payload stays small.

Upgrade

Required if you installed 0.2.0. Dashboard → Updates → Update now. The paywall banner will appear on Settings after the update completes.

Verification

Demo deploy confirmed:

  • version: 0.2.1
  • freemius/start.php: ✓
  • sp_fs(): ✓ slug=semantic-posts
  • gate.is_locked(200): yes