2.6.0
February 2nd, 2023
What's Changed
- Add support for spatie/simple-excel 3.0
Dependency updates
- Update stefanzweifel/git-auto-commit-action action to v4.16.0 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/105
- Update dependency vue-loader to v15.10.1 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/104
- Update vue monorepo to v2.7.14 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/102
- Update dependency phpunit/phpunit to v9.5.28 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/101
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.5.1...2.6.0
2.5.1
January 5th, 2023
What's Changed
- Add labels to permissions by @duncanmcclean in https://github.com/riasvdv/statamic-redirect/pull/107
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.5.0...2.5.1
2.5.0
October 30th, 2022
2.5.0 (2022-10-30)
What's new
- You can now add
site
as a column for imports site
is added to the CSV and JSON exports- Allow v2.0 for spatie/simple-excel
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.4.0...2.5.0
2.4.0
July 22nd, 2022
What's Changed
- Respect enable config in event listeners by @okaufmann in https://github.com/riasvdv/statamic-redirect/pull/87
New Contributors
- @okaufmann made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/87
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.3.9...2.4.0
2.3.9
July 15th, 2022
- Use report instead of logger so exception trackers still get the exception
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.3.8...2.3.9
2.3.8
July 15th, 2022
- Only dispatch CleanErrorsJob if we're actually logging errors
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.3.7...2.3.8
2.3.7
July 14th, 2022
What's Changed
- Update dependency phpunit/phpunit to v9.5.21 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/81
- Update dependency laravel-mix to v6.0.49 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/80
- Add MoveRedirectsToDefaultSite to the array of upgrade scripts by @duncanmcclean in https://github.com/riasvdv/statamic-redirect/pull/84
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.3.6...2.3.7
2.3.6
June 21st, 2022
What's Changed
- Saving redirect locale in Store. by @karpoq in https://github.com/riasvdv/statamic-redirect/pull/79
New Contributors
- @karpoq made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/79
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.3.5...2.3.6
2.3.5
June 4th, 2022
2.3.5 (2022-06-04)
What's changed
- Fix #77 - Use default site if no site is found
- Fix #75 - Redirect site filter was overriding default site filter
- Update dependency laravel-mix to v6.0.44 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/76
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.3.4...2.3.5
2.3.4
May 25th, 2022
What's Changed
- Update dependency prettier to v2.6.2 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/70
- FIX The redirect is automatically deleted for Drafts by @OleksiiBrylin in https://github.com/riasvdv/statamic-redirect/pull/74
New Contributors
- @OleksiiBrylin made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/74
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.3.3...2.3.4
2.3.3
May 23rd, 2022
What's changed
- Automatically add a .gitignore in the storage/redirect folder the first time we create the database
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.3.2...2.3.3
2.3.2
May 23rd, 2022
2.3.2 (2022-05-23)
- Fix selected site not saving correctly to redirect
- A Redirect's site can be switched by switching the site at the top of the page when updating a Redirect
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.3.1...2.3.2
2.3.1
May 23rd, 2022
What's Changed
- Fix bug when listening to Entry saved events
- Update actions/checkout action to v3 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/66
- Update stefanzweifel/git-auto-commit-action action to v4 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/67
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.3.0...2.3.1
2.3.0
May 22nd, 2022
What's Changed
- Adds support for multisite
- Adds validation to the importer that skips invalid rows
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.2.0...2.3.0
2.2.0
May 9th, 2022
What's Changed
- Re-added support for Statamic 3.2 by @FrittenKeeZ in https://github.com/riasvdv/statamic-redirect/pull/57
New Contributors
- @FrittenKeeZ made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/57
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.1.2...2.2.0
2.1.2
March 27th, 2022
2.1.1
March 22nd, 2022
What's Changed
- Changed migration to set lastSeenAt and timestamp as integer by @linuxtheblack in https://github.com/riasvdv/statamic-redirect/pull/53
New Contributors
- @linuxtheblack made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/53
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.1.0...2.1.1
2.1.0
March 15th, 2022
- Add support for Statamic 3.3
- Drop support for Statamic 3.2
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.0.0...2.1.0
2.0.0
January 21st, 2022
2.0.0 (2022-01-21)
BREAKING
- The config file has been restructured make sure to publish it again using:
php artisan vendor:publish --tag=statamic-redirect-config --force
- You can no longer choose between Eloquent and Stache for storing Redirects, these are considered content so are currently always Stache.
- You can no longer choose to store errors & hits inside the Stache, there's just no way to keep this performant.
1.10.3
January 16th, 2022
1.10.3 (2022-01-16)
What's fixed
- Fix an issue caused by Statamic 3.2.31
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/1.10.2...1.10.3
1.10.2
January 14th, 2022
What's Changed
- Handle trailing slashes correctly
- Fix link to Statamic Marketplace by @jackmcdade in https://github.com/riasvdv/statamic-redirect/pull/38
- Fix error when updating addon by @duncanmcclean in https://github.com/riasvdv/statamic-redirect/pull/40
New Contributors
- @jackmcdade made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/38
- @duncanmcclean made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/40
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/1.10.1...1.10.2
1.10.1
January 13th, 2022
1.10.1 (2022-01-13)
If you haven't updated to 1.10.0 yet, this update will clear your errors
What's fixed
- Fixed a visual bug when having really long urls on the redirects page
1.10.0
January 13th, 2022
1.10.0 (2022-01-13)
Updating to this version will clear your errors
What's new
- Added a warning when the cleanup command hasn't run for more than a day (it should be running every day)
- Restructured how hits are stored, this should improve performance.
- Added a detail view for an error that displays the hits
- Added a "Clear all" button for errors
- Added a "Delete error" button on the detail view of an error
What's fixed
- Fixed the import failing sometimes with a file not found exception
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/1.9.0...1.10.0
1.9.0
November 27th, 2021
1.9.0 (2021-11-27)
What's new
- Added a
enable
config value to enable/disable the addon. - Turning off
log_hits
will still keep a log of the number of hits. Also fixed a dashboard issue when this config was turned off.
1.8.0
October 30th, 2021
What's new
- Statamic Redirect now ships with 2 Eloquent providers for the Errors & Redirects
1.7.2
October 27th, 2021
What's fixed
- Fixed an isssue when trying to delete redirects on a paginated listing.
1.7.0
October 19th, 2021
What's Changed
- Closes #26, allows to customize the store paths by @isarphilipp in https://github.com/riasvdv/statamic-redirect/pull/27
New Contributors
- @isarphilipp made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/27
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/1.6.1...1.7.0
1.6.0
September 18th, 2021
What's new
- Import functionality! You can now import redirects from a CSV file.
- We now require at least PHP 7.4.
1.5.0
September 18th, 2021
What's new
- Errors are now stored in folders according to their id, similar to how Laravel stores its cache files. This should improve performance.
- You can now disable logging individual hits on each error.
What's Fixed
- The listing now breaks up long urls.
- Corrupted yaml files won't break the functionality anymore. The dashboard & clean command will keep working.
- An error's hits can now be 0.
- Fix the handled destination not being shown in the error listing.
1.4.0
February 1st, 2021
1.4.0 (2021-02-01)
What's new
- You can now disable logging of errors by setting the
log_errors
config value tofalse
1.3.0
October 19th, 2020
What's new
- Added better Error cleaning, with 2 new config options:
clean_errors_on_save
andkeep_unique_errors
which will clean errors when a new one is added and only keep a set amount of unique errors, deleting the oldest ones first. If you have configured a queue the cleaning will take place on the queue. - The
php please redirect:clean-errors
command now also takes into account the unique errors count.
1.2.0
September 29th, 2020
What's new
- Add permissions for viewing, creating, editing and deleting redirects
- Add metadata (user agent, referer & ip) when hovering over the error path
- Add redirects export to JSON or CSV
1.1.0
September 21st, 2020
What's new
- Filters and search for the Error and Redirect listings!
What's changed
- Errors and Redirects now use the Stache, which makes loading & querying faster.
1.0.2
September 20th, 2020
What's fixed
- The config file had the wrong tag, it can now be published using the
statamic-redirect-config
tag.
1.0.1
September 20th, 2020
What's new
- Introduced caching for redirects, consequent 404 hits will not trigger a new lookup into the Redirect storage
- Refactored the code so we can add Eloquent database storage in the future for errors & redirects