*** BrewmyApp Changelog ***
2026-08-19 - version 2.6.2
* Changed - Admin pricing card: Pro fallback prices updated to $99/mo and $999/yr, and the introductory-offer lines removed. Backend plan prices still take priority over the fallback.

2026-08-09 - version 2.6.1
* Changed - Privacy section documents how back-in-stock ("Notify Me") requests are stored (product ID as user meta on the merchant's own site) and how the store owner can disable the feature. No functional changes.

2026-08-08 - version 2.6.0
* Added - Back-in-stock subscriber list (/bma/v1/back-in-stock/subscribers) so the BrewmyApp dashboard can show which customers asked to be notified about which product.
* Changed - "Notify me" requests are no longer discarded once the alert is sent. The product moves from the customer's waiting list to a notified ledger (brewmyapp_back_in_stock_notified), so proven interest survives the restock. Alerts remain one-time.
* Added - Read-only media library endpoint (/bma/v1/media, images only, same server-to-server permission as the other backend routes) so the Visual App Designer's image picker can reuse images already uploaded to WordPress.

2026-08-02 - version 2.5.0
* Added - Order status notifications are now localized to the app's build language; localized WooCommerce status defaults are fetched from BrewmyApp (cached 6h) and merchant overrides still win.
* Added - Site Address change detection: the plugin compares the connected address to the live one and prompts the merchant to confirm the move in the BrewmyApp dashboard.
* Fixed - Address changes are reported on save (update_option_home / update_option_siteurl) instead of only on admin page load, so unattended stores are still detected.
* Fixed - The address-change notice now links to the store's own dashboard page, where the confirm-domain-change banner renders.
* Changed - Preview card copy clarifies that the QR opens the store in the BrewmyApp Preview app, not the published app.
* Changed - Removed the 14-day money-back guarantee and the "incl. tax" note from the admin pricing card.

2026-06-22 - version 2.4.9
* Maintenance - Version bump; no functional changes.

2026-06-22 - version 2.4.8
* Changed - Extended the connect nonce lifetime from 10 to 30 minutes so email/Google sign-up has time to finish before the link expires.

2026-06-22 - version 2.4.7
* Added - Admin language switcher (11 languages) in the plugin header; per-user, applies only to the plugin's admin UI. Translation files (.po) scaffolded for all locales.
* Changed - Moved the full Free plan details ($0/forever and feature list) into the subscription Plan block; the pricing card now focuses on the Pro upgrade.
* Fixed - Added spacing between card titles and quick-link button groups in the admin UI.

2026-06-14 - version 2.4.0
* Added - Setting to toggle the developer credit link in the admin footer.
* Added - Banner image support for push notifications when an image URL is provided.
* Changed - Developer credit option is now removed on plugin uninstall.
* Fixed - Formatting and indentation in the connect panel rendering.

2026-05-21 - version 2.3.6
* Added - Embedded Visual App Designer as the default top-level admin page.
* Added - Automatic WooCommerce API key provisioning on new app connections.
* Added - Nonce-based secure iframe authentication for the embedded app builder.
* Added - REST endpoint for WordPress admin to submit store phone number during onboarding.
* Added - Autoconnect flow on the Get Started page; removed explicit Connect submenu item.
* Added - Suppression of third-party admin notices on BrewmyApp pages for a cleaner UI.
* Added - Logging for push-token register/unregister actions.
* Changed - OTP is now sent via BrewmyApp backend instead of wp_mail.
* Changed - Push Notifications management moved to brewmyapp.io dashboard.
* Changed - Plugin action links updated to point to the embedded app builder.
* Fixed - Submenu wipe on each page load broke welcome page access on fresh installs.
* Fixed - Re-registered brewmyapp-welcome slug so legacy page= links no longer 403.
* Fixed - WooCommerce API credentials re-delivered on every iframe render.
* Fixed - connected_at cleared on plugin activation; activation now redirects to Get Started.
* Updated - Tested up to WordPress 7.0.

2026-05-06 - version 2.3.3
* Added - Onboarding screenshots in the Get Started page step cards (register, add store, store details, authorize).
* Added - "How It Works" + "Support" links in the header and footer of every plugin admin page.
* Added - Top help banner on every plugin admin page linking to https://www.brewmyapp.io/contact.
* Added - Inline "Complete Guide — From Install to App Store" section on the Get Started page.
* Added - Frontend "Mobile app powered by BrewmyApp" credit (filterable via brewmyapp_show_credit).
* Changed - Reordered admin submenu: Get Started, Dashboard, Settings, WhatsApp, Push Notifications, Logs, API Reference.
* Changed - Get Started page setup steps now match the brewmyapp.io onboarding flow (register → add store → enter details → authorize & design).
* Removed - "What is BrewmyApp?", "What This Plugin Does", "Video Tutorials" sections and "Go to Dashboard" CTA from the Get Started page.
* Fixed - Missing brewmyapp-logo.png in plugin assets caused broken header logo.
* Updated - All brewmyapp.io URLs normalized to https://www.brewmyapp.io.

2026-04-14 - version 2.3.2
* Fixed - PHP 8.0 dependency requirement causing activation failures on PHP 7.4. Reverted firebase/php-jwt to v6.4.0.
* Fixed - Updated testing environment compatibility checks for QIT.
* Updated - Suppressed false positive security scanner warnings (phpcs/semgrep).

2026-04-12 - version 2.3.1
* Changed - Updated variable and function prefixes to bma_ for proper naming conventions
* Removed - Prohibited self-update logic to comply with WordPress Plugin Directory guidelines
* Changed - Updated asset enqueuing implementations for scripts and styles
* Added - Secure file handling with ABSPATH checks in all core files

2026-03-28 - version 2.3.0
* Changed - REST API namespace from app/v1 to bma/v1 for proper prefixing
* Updated - Upgraded firebase/php-jwt library from v6 to v7
* Fixed - Secured test/status endpoints with admin-only permission callbacks
* Added - Requires Plugins: woocommerce header
* Removed - Duplicate Plugin URI / Author URI
* Updated - Cleaned up external link tracking parameters
* Updated - General code quality and compliance improvements

2026-03-27 - version 2.2.1
* Added - Welcome and Getting Started page for new users
* Added - API Reference page in the admin menu
* Changed - Improved first-time activation with redirect to Welcome page
* Fixed - Version mismatch between plugin header and readme.txt
* Removed - Unnecessary development files from distribution

2026-03-26 - version 2.0.0
* Changed - Complete admin UI redesign with modern, branded card-based layouts
* Added - New Dashboard page with health check, stats, and integration status
* Added - New API Reference page with full endpoint documentation
* Added - Tab-based log filtering (All, Email OTP, WhatsApp OTP)
* Added - Toggle switches for order notification settings
* Added - Animated stat cards and smooth page transitions
* Added - Copy-to-clipboard for API base URL and JSON exports
* Changed - Consistent BrewmyApp branding across admin pages
* Changed - Improved form UX with field hints and better input styling
* Added - Custom SVG menu icon
* Updated - Plugin publishing readiness (readme.txt, uninstall.php, proper headers)

2026-03-25 - version 1.2.0
* Added - Push notification system with Expo integration
	* Added order status change notifications with customizable templates
	* Added push token registration and management API
	* Added admin notification sender with history
	* Added deep link support for order notifications

2026-03-24 - version 1.1.0
* Added - WhatsApp OTP authentication
* Added - Payment URL generation for in-app checkout
* Added - Auto-login payment redirect
* Updated - API logging improvements

2026-03-23 - version 1.0.0
* Added - Initial release
* Added - Email OTP authentication with JWT
* Added - Health check ping endpoint
* Added - Admin log viewer
