Releases: GoSuccessHQ/xml-cache
Releases · GoSuccessHQ/xml-cache
v2.1.1
Highlights
Patch release fixing a block editor crash on custom post types that do not declare custom-fields support.
Bug Fixes
- Fixed TypeError in the block editor when editing a custom post type that does not support
custom-fields.
Improvements
- Added FAQ entry explaining the
custom-fieldsrequirement for custom post types.
Maintenance
- Fixed deploy workflow by removing fragile auto-changelog injection from release body.
- Added readme.txt back as trigger for the asset update workflow.
- Added 2.0.0 and 2.1.0 changelog entries to readme.txt.
XML Cache v2.1.0
Highlights
This release brings major new features, including multilingual support, an admin bar integration, WP-CLI commands, and a smarter cache that auto-regenerates on invalidation.
New Features
- Multilingual support for Polylang, WPML, and TranslatePress — all translated URLs are automatically included in the sitemap.
- Admin bar integration with flame icon, live URL count, and quick actions: Open Sitemap, Copy URL, and Clear Cache.
- WP-CLI commands:
wp xml-cache statusandwp xml-cache flushfor managing the sitemap from the command line. - Site Health debug info section showing sitemap URL, cache status, and all settings.
- Auto-regeneration: the sitemap automatically rebuilds whenever the cache is cleared — it's never empty.
- Cache statistics displayed on the admin settings page with URL count and cache status.
- 5 new URL types: categories, tags, archives, custom post types, and attachments — each toggleable in settings.
- Per-request throttling to prevent redundant cache invalidations.
- Cache invalidation on activation/deactivation to keep the sitemap in sync.
Improvements
- Responsive admin UI using container queries, pill-style stats badge, and unified button styling.
- Snackbar notifications fixed to the bottom-right corner.
- Removed Symfony DI — all services are now wired manually for a lighter footprint.
- Sitemap caching with no expiration via WordPress transients; includes
lastmodtimestamps. - Meta box registered for all public post types (including attachments).
Maintenance
- Updated all npm dependencies to latest versions.
- Fixed all PHPCS violations and added direct file access protection to all PHP files.
- Added
.distignoreto exclude dev files from production builds. - Simplified GitHub workflows using 10up deploy actions.
- Bumped minimum WordPress version to 6.4.
- Tested up to WordPress 7.0.
XML Cache 2.0.0
Highlights
- Custom Post Types: Add support for public CPTs, toggleable in settings.
- Sitemap: Refined URL collection and pagination; category/tag/archive/blog/front-page pagination aligned with permalink structure.
- Admin UI: Refactored settings screen; copy sitemap URL action; improved UX and error handling.
- Code quality: Major WPCS compliance (docblocks, sanitization/escaping, Yoda conditions); standardized strict_types formatting.
- Architecture: Migrated to Composer with PSR-4 under src; introduced Symfony DI/Config; normalized API namespace casing (V1).
- CI/CD: Added WordPress.org deploy workflow and plugin assets.
Requirements
- WordPress 6.0+
- PHP 8.2+ (due to Symfony 7.x dependencies)
Upgrade notes
- PHP 8.2 is now required.
- New setting
custom_post_types_enableddefaults to enabled; adjust under Settings → XML Cache if you don’t want CPTs included.