Short URL v4.0.0 Released! – Add short URLs to your web app

Short URL v4.0.0 Released! – Add short URLs to your web app

https://ift.tt/32fp2TJ


Short URL v4.0.0

New Features

Added optional config validation (#50)

Up until now, the values defined in the short-url.php config file were always validated. However, this sometimes caused issues if the application’s config was cached before running composer require. A new config variable has been added which can now be used to toggle whether if the validation should be run. By default, the validation is now disabled.

To enable the validation, you can add the following line to your short-url.php config file:

'validate_config' => true,

Dropped Laravel 5.8 support (#51)

As of Short URL v4.0.0, Laravel 5.8 is no longer supported. Therefore, you must be using a minimum of Laravel 6.0 to use this library.

Note: The ShortURLBuilder will remain in version 3.* of the library but will be removed in version 4.0.0.

Removed the ShortURLBuilder facade (#53)

The ShortURLBuilder facade was deprecated in v3.0.0 to fit more with the Laravel naming conventions and standards. As of Short URL, v4.0.0 the ShortURLBuilder facade has now been removed in favour of a newer ShortURL facade.

programming

via Laravel News Links https://ift.tt/2dvygAJ

July 13, 2020 at 04:06PM