Releases: ash-jc-allen/short-url
v7.0.0
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
- @afiqiqmal made their first contribution in #121
Full Changelog: v6.3.0...v7.0.0
v.6.3.0
v6.2.0
v6.1.0
Added
- Added the ability to customise the default short URL's prefix. Huge thanks to @ryangjchandler for this contribution! (#100)
v6.0.0
v5.2.0
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
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
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
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
New Features
Added support for PHP 8 (#58)
As of Short URL v4.2.0, the package can now be run using PHP 8.