3.8.3
December 9th, 2024
What's Changed
- fix filtering by match type in CP by @faltjo in https://github.com/riasvdv/statamic-redirect/pull/195
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.8.2...3.8.3
3.8.2
November 19th, 2024
- Fix the wrong config being read for query strings
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.8.1...3.8.2
3.8.1
September 28th, 2024
- Automatically created redirects should be exact
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.8.0...3.8.1
3.8.0
September 28th, 2024
What's Changed
- Use a quicker query to fetch static redirects first, if no static redirect is found, we try the REGEX type redirects
- Add a config value to preserve query strings - Fix #180
- Allow same URL for different sites (multi-site) - Fix #171
Dependency updates
- Update dependency statamic/cms to v4 [SECURITY] by @renovate in https://github.com/riasvdv/statamic-redirect/pull/182
- Update dependency prettier to v3.3.3 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/181
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.7.2...3.8.0
3.7.2
August 19th, 2024
- Fix validation on the redirect type
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.7.1...3.7.2
3.7.1
May 4th, 2024
What's Changed
- Don't create entry redirects if the entry isn't published
- Update stefanzweifel/git-auto-commit-action action to v5.0.1 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/178
- Update dependency orchestra/testbench to v9 - autoclosed by @renovate in https://github.com/riasvdv/statamic-redirect/pull/174
- change datatype in migration so unpadded datatypes are used in db by @faltjo in https://github.com/riasvdv/statamic-redirect/pull/173
New Contributors
- @faltjo made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/173
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.7.0...3.7.1
3.7.0
May 4th, 2024
- Add support for Statamic v5
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.6.2...3.7.0
3.6.2
February 10th, 2024
What's Changed
- Update dependency prettier to v3.2.5 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/169
- Use
::dispatch
instead of the event helper to trigger the RedirectSaved event
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.6.1...3.6.2
3.6.1
January 29th, 2024
What's Changed
- Cleanup publish form by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/165
- Remove Github note markdown by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/164
- Fix compatibility with old config file
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.6.0...3.6.1
3.6.0
January 16th, 2024
What's Changed
- Improve DX using connections. by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/159
- Fix eloquent redirects not updating by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/160
- Make redirect fields listable by default by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/161
- Improve redirect management UX by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/162
- Prevent an exception when a redirect has no site attached
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.5.0...3.6.0
3.5.0
January 8th, 2024
What's Changed
- Update dependency prettier to v3.1.1 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/150
- Update vue monorepo to v2.7.16 - autoclosed by @renovate in https://github.com/riasvdv/statamic-redirect/pull/153
- Fix date error on error widget by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/154
- Style improvements error page by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/157
- Fix handled dot indicator by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/158
- Improve plus icon alignment by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/155
- Rename
locale
tosite
on redirects table by @vluijkx in https://github.com/riasvdv/statamic-redirect/pull/156
New Contributors
- @vluijkx made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/154
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.4.4...3.5.0
3.4.4
November 30th, 2023
What's Changed
- Clear eloquent blink cache in cache old uri listener by @ryanmitchell in https://github.com/riasvdv/statamic-redirect/pull/149
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.4.3...3.4.4
3.4.3
November 30th, 2023
- Validate on redirects having a unique
source
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.4.2...3.4.3
3.4.2
November 30th, 2023
- Fix exporters - fixes #144
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.4.1...3.4.2
3.4.1
November 30th, 2023
What's Changed
- Fix wrong variable name in eloquent repository by @SylvesterDamgaard in https://github.com/riasvdv/statamic-redirect/pull/147
New Contributors
- @SylvesterDamgaard made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/147
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.4.0...3.4.1
3.4.0
November 29th, 2023
What's Changed
- Support symfony http foundation steamed response by @jhhazelaar in https://github.com/riasvdv/statamic-redirect/pull/143
- Switch to using a repository & facade for Redirect, add eloquent support by @ryanmitchell in https://github.com/riasvdv/statamic-redirect/pull/139
New Contributors
- @jhhazelaar made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/143
- @ryanmitchell made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/139
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.3.0...3.4.0
3.3.0
November 11th, 2023
What's new
This addon comes with the following widgets:
-
errors
: for a listing of the most recent errors -
errors_last_month
: the same chart as in the redirect dashboard -
errors_last_week
: the same chart as in the redirect dashboard -
errors_last_day
: the same chart as in the redirect dashboard
Widgets can be added to the dashboard by modifying the widgets array in the config/statamic/cp.php
file.
#676E95;">// config/statamic/cp.php #89DDFF;">'widgets#89DDFF;">' #89DDFF;">=> #89DDFF;">[ #89DDFF;">[ #89DDFF;">'type#89DDFF;">' #89DDFF;">=> #89DDFF;">'errors#89DDFF;">'#89DDFF;">, #89DDFF;">'limit#89DDFF;">' #89DDFF;">=> 5#89DDFF;">, #89DDFF;">], #89DDFF;">'errors_last_month#89DDFF;">'#89DDFF;">, #89DDFF;">'errors_last_week#89DDFF;">'#89DDFF;">, #89DDFF;">'errors_last_day#89DDFF;">'#89DDFF;">,#89DDFF;">],
Like the default widgets of Statamic, you can also configure title
& width
of the widgets.
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.2.1...3.3.0
3.2.1
November 11th, 2023
What's Changed
- Fix an issue with Statamic 4.33
Dependencies
- Update stefanzweifel/git-auto-commit-action action to v5 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/136
- Update dependency orchestra/testbench to v8.15.0 - autoclosed by @renovate in https://github.com/riasvdv/statamic-redirect/pull/135
- Update vue monorepo to v2.7.15 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/134
- Update dependency vue-loader to v15.11.1 - autoclosed by @renovate in https://github.com/riasvdv/statamic-redirect/pull/125
- Update dependency phpunit/phpunit to v10 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/123
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.2.0...3.2.1
3.2.0
October 13th, 2023
What's Changed
- Redirects can now be sorted
- A search field has been added to both the error & redirect listing
- Destination is no longer required when creating a redirect with status 410
- After creating a redirect, we now redirect back to the error dashboard if you clicked the "create" button there
- Fixed an issue where
->isSuper()
was being called on auth()->user() instead of Statamic's user model
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.1.0...3.2.0
3.1.0
May 26th, 2023
What's Changed
- add delete_conflicting_redirects config setting by @galengidman in https://github.com/riasvdv/statamic-redirect/pull/119
- Add
site
to the export headers - Make the
findByUrl
method do a case sensitive comparison instead of case insensitive
New Contributors
- @galengidman made their first contribution in https://github.com/riasvdv/statamic-redirect/pull/119
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.0.1...3.1.0
3.0.1
May 16th, 2023
- Fix live preview being hidden on other entries
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/3.0.0...3.0.1
3.0.0
May 9th, 2023
What's new
This major release adds support for Statamic v4
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.7.0...3.0.0
2.7.0
April 4th, 2023
What's Changed
- Add a
RedirectSaved
event and have Statamic's git integration listen to it - Update dependency orchestra/testbench to v8 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/113
- Update dependency prettier to v2.8.7 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/112
- Update dependency friendsofphp/php-cs-fixer to v3.16.0 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/109
- Update dependency phpunit/phpunit to v9.6.6 by @renovate in https://github.com/riasvdv/statamic-redirect/pull/110
Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.6.0...2.7.0
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.1
October 25th, 2021
What's fixed
- Fix wrong default paths
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.1
September 20th, 2021
What's fixed
- Fix route cache issue with duplicate name
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.7
August 11th, 2021
What's Fixed
- Fix an issue with deleting redirects
1.4.6
May 6th, 2021
What's Fixed
- Fix 410 status when a redirect is cached
1.4.5
May 4th, 2021
What's Fixed
- Actually fix handling of the 410 Gone status
1.4.4
May 3rd, 2021
What's Fixed
- Fix handling of the 410 Gone status
1.4.3
March 10th, 2021
What's Fixed
- Fixed an issue where query parameters were ignored
1.4.2
February 17th, 2021
1.4.2 (2021-02-17)
What's Fixed
- Fix pagination on redirects listing
1.4.1
February 17th, 2021
1.4.1 (2021-02-17)
What's Fixed
- Account for trailing slashes in redirects
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.2
January 21st, 2021
What's fixed
- Fix composer dependencies
1.3.1
October 20th, 2020
What's fixed
- Fix exception when an error has no hits
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.1
September 28th, 2020
What's fixed
- Fix incorrect typehint in RedirectController
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.3
September 20th, 2020
What's fixed
- Automatic redirects weren't working properly
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
1.0
September 19th, 2020
What's new
- This addon!