v1.0.31 - 17-August-2026
- Fix: Image size options now always render and insert correctly — with a fallback to original size, Pexels sizes derived from its CDN URL, and accurate Pixabay "Original" dimensions.
- Fix: Failed image downloads now return an error instead of a false success, so the media dialog no longer switches away without inserting.

v1.0.30 - 20-May-2026
- Fix: Use integer type and absint sanitize_callback for the per_page REST arg.
- Fix: Replace raw remote error message with a generic string to prevent info disclosure.

v1.0.29 - 19-May-2026
- Fix: Converted the images REST callback to return WP_REST_Response/WP_Error instead of wp_send_json_success/error. Required for WordPress.org compliance.
- Security: Added sanitize_callback definitions to REST route args for server-side sanitization.
- Fix: Replaced sanitize_url() with esc_url_raw( wp_unslash() ) for correct URL sanitization.

v1.0.28 - 27-April-2026
- Fix: Self-host the Figtree font used by the image-picker UI instead of fetching from fonts.googleapis.com on every editor load. Required for WordPress.org compliance.

v1.0.27 - 23-April-2026
- Fix: Removed server-IP geolocation lookups (ipify + ipwho.is) used to switch image sources by region. Required for WordPress.org compliance — the block-editor image picker now shows Pexels and Pixabay consistently for all users, including Russian-hosted sites that previously saw an Unsplash-only fallback.

v1.0.26 - 25-March-2026
- Security: Replaced wp_remote_get() with wp_safe_remote_get() for external HTTP requests (ipify, geolocation API).

v1.0.25 - 24-March-2026
- Fix: Added `function_exists()` guards around core file includes for WordPress.org compliance.

v1.0.24 - 24-March-2026
- Improvement: Updated build process to add ABSPATH guards to generated .asset.php files.
- Improvement: Added README.md documenting external service usage (ipinfo.io, ipify, ipwhois, ipapi, api.zipwp.com).
- Fix: Removed deprecated `load_plugin_textdomain()` call — WordPress auto-loads translations since 4.6.
- Security: Added `wp_unslash()` before sanitization on `$_POST` superglobal accesses.

v1.0.23 - 23-March-2026
- Fix: Replaced `unlink()` with `wp_delete_file()` for WordPress coding standards compliance.

v1.0.22 - 20-March-2026
- Fix: Replaced custom translation loading with `load_plugin_textdomain()` for proper WordPress.org translation support.
- Security: Added missing ABSPATH guards to class files to prevent direct file access.

v1.0.21 - 03-March-2026
- ABSPATH guard added to zipwp-images.php — prevents direct file access by exiting early if ABSPATH is not defined.

v1.0.20 - 30-December-2025
- Improvement: Automatically use Unsplash image engine for Russian users as Pexels is blocked in Russia.
- Fix: Media Uploader select button text now displays correctly by resolving the media API frame conflict from other plugins.

v1.0.19 - 09-September-2025
- Improvement: Added Beaver Builder plugin compatibility.

v1.0.18 - 27-March-2025
- Improvement: Optimized asset loading logic to prevent unnecessary script and style loading in non-essential backend areas, improving performance.

v1.0.17 - 20-March-2025
- Fix: Addressed a critical bug causing an error in the customizer.

v1.0.16 - 18-March-2025
- New: Added `zipwp_images_excluded_post_types` filter to restrict asset loading in unnecessary backend areas, improving performance.

v1.0.15 - 18-February-2025
- New: Integrated PHP Insights to GitHub Actions for improved readability and error reduction.
- Improvement: Added edit_pages capability check for API access.

v1.0.14 - 28-November-2024
- Fix: Removed garbage CSS conflicting with other plugins.

v1.0.13 - 11-November-2024
- Fix: Resolved an issue where the media library button text was incorrectly displayed in certain cases.

v1.0.12 - 24-October-2024
- Improvement: Removed the "Free Images" option from the WordPress media library where videos are expected.

v1.0.11 - 01-October-2024
- Improvement: Fixed broken UI components for Elementor and Beaver Builder.

v1.0.10 - 23-September-2024
- Improvement: UI/UX improvements.

v1.0.9 - 11-September-2024
- Fix: Resolved issue where image search results reset to default after applying filters.

v1.0.8 - 15-August-2024
- Improvement: Enhanced UI for better user experience.

v1.0.7 - 12-June-2024
- Fix: "Select" of media library was not showing in the customizer preview.

v1.0.6 - 06-June-2024
- Improvement: Updated preview screen for better UX.

v1.0.5 - 05-June-2024
- Improvement: Added compatibility for WP Gallery Block.

v1.0.4 - 29-May-2024
- New: Added option to clear the applied filters.

v1.0.3 - 27-May-2024
- Fix: Fixed trailing slash issue for image API.

v1.0.2 - 24-May-2024
- New: Added filter for tab title.

v1.0.1 - 23-May-2024
- New: Updated Image search API namespace.

v1.0.0 - 22-May-2024
- Initial release