Skip to content

Releases: ash-jc-allen/short-url

v7.0.0

04 Apr 12:10
53df9e3
Compare
Choose a tag to compare

Added

  • Added ability to remove the prefix from default short URLs by @ash-jc-allen in #123
  • Added ability to define middleware for the default short URL route by @afiqiqmal in #121
  • Added ability to set the key generator on-the-fly by @Victor-emil in #122

New Contributors

Full Changelog: v6.3.0...v7.0.0

v.6.3.0

24 Jan 16:22
Compare
Choose a tag to compare

Added

  • Added support for Laravel 9. #116

v6.2.0

26 Nov 15:22
Compare
Choose a tag to compare

Added

  • Updated GitHub Actions to run workflow with PHP 8.1. #106
  • Added support for PHPUnit ^9.0. #101
  • Added support for Larastan ^1.0. #107

Changed

  • Updated incorrectly set file permissions. #104

v6.1.0

21 Oct 18:47
Compare
Choose a tag to compare

Added

  • Added the ability to customise the default short URL's prefix. Huge thanks to @ryangjchandler for this contribution! (#100)

v6.0.0

21 Oct 13:26
ac3ab70
Compare
Choose a tag to compare

Added

  • Added the ability to forward query parameters to the destination URL. Huge thanks to @julienarcin for this contribution! (#94)

Changed

  • Dropped support for Laravel 6 and 7 (#96, #98)
  • Dropped support for PHP 7.3 and 7.4 (#85)

v5.2.0

21 Sep 10:10
04ac76a
Compare
Choose a tag to compare

Added

Added the ability to configure the hashids alphabet (#77)

You can now specify an alphabet field in your short-url.php config file so that you can specify the range of characters that the Hashids package will use when generating a key.

Huge thanks to @Victor-emil for this contribution!

Changed

Updated the database migrations for the short_urls table (#80)

The initial migration that creates the short_urls table has now been updated to make some small improvements. The destination_url field has now been changed from a varchar field to a TEXT field to allow for longer destination URLs to be stored. The url_key field is now unique to prevent any race conditions that allowed duplicated keys to be stored in the database.

Huge thanks to @Victor-emil for this contribution too!

v5.1.0

11 Jun 17:48
Compare
Choose a tag to compare

Changed

Migrated the CI tests to be run using GitHub Actions instead of Travis CI (#67)

Up until now, the tests for the pull requests have been run on Travis CI. But, as of v5.1.0, the tests will now be run on GitHub Actions instead.

Short URL v5.0.0

18 Apr 00:09
Compare
Choose a tag to compare

Changed

Made it mandatory to publish migrations (#61)

Prior to v5.0.0 of Short URL, the database migrations would be automatically loaded via the package's service provider. As of
v5.0.0, it's now mandatory for the migrations to be published as they won't be automatically loaded anymore. This gives you more control over the migrations and when/how they are run in your system rather than being forced to run them by the service provider.

To publish the migrations to your own database/migrations folder, run the following command in your project root:

php artisan vendor:publish --tag="short-url-migrations"

Short URL v4.3.0

12 Apr 18:46
Compare
Choose a tag to compare

Changed

Updated the private fields in the Builder class to be protected (#62 )

The class-level properties in the Builder class are now protected rather than private to help with extendability.

Short URL v4.2.0

26 Jan 22:52
Compare
Choose a tag to compare

New Features

Added support for PHP 8 (#58)

As of Short URL v4.2.0, the package can now be run using PHP 8.