2.0.12 - 20th May 2026
- Fix: Add 403 HTTP status code to AJAX permission error responses.
- Security: Sanitize message_array REST parameter — role via sanitize_text_field, content via wp_kses_post.
- Fix: Replace raw upstream error messages with custom mapped messages or a generic fallback.

2.0.11 - 19th May 2026
- Fix: Renamed sidebar AJAX action names to use the zip_ai_ prefix for WordPress.org compliance.
- Fix: Converted the AI content REST callback to return WP_REST_Response/WP_Error instead of wp_send_json_success/error. Required for WordPress.org compliance.
- Security: Added current_user_can() capability checks to all AJAX handlers.
- Fix: Added wp_unslash() before sanitize_text_field() on $_POST superglobal access.

2.0.10 - 27th April 2026
- Fix: Self-host the Inter and Courier Prime fonts used by the admin dashboard and editor sidebar instead of fetching from fonts.googleapis.com on every page load. Required for WordPress.org compliance.

2.0.9 - 25th March 2026
- Fix: Replaced variable in i18n function with translatable string literal map for message tone labels.

2.0.8 - 24th March 2026
- Security: Added `wp_unslash()` before sanitization on all `$_GET`/`$_POST` superglobal accesses.
- Improvement: Added ABSPATH guards to generated `.asset.php` files via webpack plugin.

2.0.7 - 2nd March 2026
- Improved security.

2.0.6 - 16th June 2025
- Improvement: Offloaded custom fonts to Google Fonts to reduce bundle size and improve performance.
- Improvement: Cleaned up unnecessary bloat code to optimize performance and maintainability.
- Fix: Resolved an duplicate content rendering issue.

2.0.5 - 30th April 2025
- Improvement: Added a caching mechanism for credit response to optimize API calls.

2.0.4 - 14th April 2025
- Improvement: Enhanced credit exceeded error in the chat interface.
- Improvement: Now showing credits usage directly on chat window instead of open popup.

2.0.3 - 9th April 2025
- Improvement: Clearer error messages when AI credits are exhausted or user is invalid.
- Fix: Resolved an toolbar icons size issue for Ask AI in WordPress 6.8.

2.0.2 - 31st January 2025
- Reverted: Caching mechanism for credit response to optimize API calls due to unforeseen issues.

2.0.1 - 31st January 2025
- Improvement: Added a caching mechanism for credit response to optimize API calls.
- Fix: Resolved an issue wherein the AI Assistant side bar would not be clickable for some teams.

2.0.0 - 9th December 2024
- New: The AI Assistant is now Location Aware.
- Improvement: Revamped the entire UI of the Assistant Sidebar.

1.2.4 - 1st November 2024
- Fix: Added a function check for 'get_current_screen'.

1.2.3 - 23rd October 2024
- Improvement: Added support for the 'source' parameter in the middleware URL.

1.2.2 - 8th October 2024
- Excluded assets from loading via Spectra for SureForms CPTs.

1.2.1 - 27th September 2024
- Improvement: Hid the chat textbox interface when the user is not authorized.
- Improvement: Removed the GPT model parameter for real-time model updates from the middleware.

1.2.0 - 26th July 2024
- Improvement: Switched from the GPT 3.5 Turbo modal to the 4o Mini modal.

1.1.10 - 15th July 2024
- Fix: Resolved an issue with the AI Assistant admin-bar trigger loading order in WordPress 6.6.

v1.1.9 - 2nd July 2024
- Improvement: The library's text-domain support has been removed & translation is now managed from the project level.

v1.1.8 - 27th June 2024
- Improved security.

v1.1.7 - 24th June 2024
- Feature: Added tooltips for icons in the Chat sidebar for improved user experience.
- Improvement: Added disconnection status to the settings option to avoid deletion after disconnecting.
- Fix: Resolved the empty text glitch that would occur when editing the first message in the chat.
- Fix: Resolved PHP warnings in the widget editor for PluginSidebar and PluginSidebarMoreMenuItem.

v1.1.6 - 15th May 2024
- Improvement: Added dropdown menu for common Zip AI Assistant actions in the toolbar.
- Improvement: Upgraded the `get_credit_server_response` helper function to support data.

v1.1.5 - 25th April 2024
- Fix: Copy and Regenerate buttons are now visible by default instead of being displayed on hover.

v1.1.4 - 23rd April 2024
- Replaced "AI Assistant" text with a Sparkles icon for clearer visual representation.

v1.1.3 - 14th March 2024
- Removed the highlight color for Richtexts.
- Replaced ZipWP logo with the AI Sparkle icon for all AI-Assistant-related buttons.
- Improved the AI Assistant sidebar UI on the front end.

v1.1.2 - 27th February 2024
- Improvement: Added ZipWP API server helper functions to get the current plan.

v1.1.1 - 16th February 2024
- Improvement: Added middleware parameter handling for the affiliate ID.
- Improvement: Locally loaded Google Fonts for the AI Assistant sidebar.
- Fix: Restricted front-end assets for non-admin users.

v1.1.0 - 17th January 2024
- Feature: Made the AI Assistant sidebar accessible outside the editor.
- Improvement: Added the 'Force Enabled' function to ensure that modules are enabled.

v1.0.9 - 11th January 2024
- Improvement: Added middleware parameter handling for the plugin slug.

v1.0.8 - 18th December 2023
- Fix: Added compatibility with PHP version 7.0 and above.

v1.0.7 - 2nd December 2023
- Improvement: Updated the middleware request and the Zip AI settings that are saved.
- Fix: Implemented proper multi-setting updation.

v1.0.6 - 30th November 2023
- Improvement: Added a filter to disable the entire library from loading.

v1.0.5 - 30th November 2023
- Improvement: Added a new module structure and removed the admin page from Tools.

v1.0.4 - 30th November 2023
- Updating `distignore` for composer update compatibility.

v1.0.3 - 11th November 2023
- Improvement: Added an option to disable Zip Ai Assistant from the sidebar.

v1.0.2 - 9th November 2023
- Improvement: Better one-click command.

v1.0.1 - 9th November 2023
- Initial Commit
