Releases: FriendsOfFlarum/sitemap
2.2.1
2.2.0
2.1.0
What's Changed
- Bump loader-utils from 2.0.2 to 2.0.4 in /js by @dependabot in #44
- Bump json5 from 2.2.1 to 2.2.3 in /js by @dependabot in #45
- Bump webpack from 5.74.0 to 5.76.0 in /js by @dependabot in #46
- Add pseudo resource for registering static URLs by @iPurpl3x in #47
Full Changelog: 2.0.1...2.1.0
Bugfixes
- Allow
.xml
extension at the end of live URLs used by the runtime driver
It appears it might be needed to support some search engines which don't use the extension-less URLs as-it.
2.0.0
Sitemap version 2.0
- PHP 8.0 requirement
- Complete rewrite of the deploy system.
- Simplification of the available modes: now only runtime and cached multi-file are available.
- Runtime now depends on the same logic as multi-file, so it is no longer limited to 50.000 items. But it's still not advisable to use it with so many items.
- Added admin setting to exclude all user profiles from sitemap.
- Added
ForceCached
extender. - Added optional "risky" performance improvements. This option is likely not for you. Consult the README for details.
To update from version 1.x
The update requires PHP 8.0 or greater. If you are still on PHP 7.3 or 7.4, you can continue using version 1.x. There will be no new updates for the 1.x line.
If composer update
doesn't pick up the new version, you can force the update to version 2.0 with this command:
composer require fof/sitemap:"*"
Clear the cache:
php flarum cache:clear
If you were running runtime mode, that's everything that was needed. The extension should work right away.
If you were running cache or disk mode, the mode will automatically switch to the new multi-file mode.
Then run the following command to generate a first sitemap immediately:
php flarum fof:sitemap:build
If you had already configured the scheduler, the new build command will automatically run at the previously selected time.
If you get a filesystem write error, verify Flarum can write to the public
folder. A sitemaps
folder will be created and all subsequent write operations will be in that folder.
This update was sponsored by Blomstra.
Add RemoveResource extender
Added `RemoveResource` extender. (#34) * Added `RemoveResource` extender. * Added docs for removing a resource to README
Flarum/core 1.0 ready
Bump browserslist from 4.16.0 to 4.16.6 in /js (#27) Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.0 to 4.16.6. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](https://github.com/browserslist/browserslist/compare/4.16.0...4.16.6) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0.7.0 - Support for Flarum beta 16
- Adds support for Beta 16 🎉
0.6.0
0.5.1: Add operation modes to the scheduler (#13)
* WIP Add scheduler & config * Apply fixes from StyleCI * Create default setting * Clear the sitemap cache if mode is runtime * Register provider, add frequency selection, define defaults * Apply fixes from StyleCI * Add translations for freqency * Cleanup * Apply fixes from StyleCI * Add warning and link to info on setting up the scheduler * Add link to info on scheduler * Tidy * Build JS