v0.2.1
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
freemiusto the directory list inbin/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.1freemius/start.php: ✓sp_fs(): ✓ slug=semantic-postsgate.is_locked(200): yes