Rias.be

Redirect Release Notes

Rias.be

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

What's fixed

  • Fix button alignment - #44
  • Fix import failing with a txt file - #46
  • Fix permissions check to user correct User instance - #48
  • Reload on delete - #51
  • Add down migration - #50

Full Changelog: https://github.com/riasvdv/statamic-redirect/compare/2.1.1...2.1.2

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 to false

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 and keep_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!