Skip to content

Latest commit

 

History

History
128 lines (97 loc) · 7.85 KB

CHANGELOG.md

File metadata and controls

128 lines (97 loc) · 7.85 KB

Changelog

v7.5.1 (released 2023-02-01):

  • Added missing date fields to the casts array on the models to support Laravel 10. #181

v7.5.0 (released 2023-01-28):

  • Added the ability to override the domain of the default URL. #173

v7.4.0 (released 2023-01-11):

  • Added support for Laravel 10. 3488417
  • Added support for Larastan 2.0. #169

v7.3.0 (released 2022-10-17):

  • Added model factories for the ShortURL and ShortURLVisits models. #162

v7.2.0 (released 2022-09-12):

  • Added support for PHP 8.2. #139
  • Added support for using when when building short URLs. #140
  • Removed unused URL facade import. #147
  • Fixed bug that always resulted in a 404 if the prefix was set to null. #149, #158

v7.1.0 (released 2022-08-03):

  • Added toArray method to the Builder class. #133
  • Fixed shortURL relationship on the ShortURLVisit model. #132

v7.0.0 (released 2022-04-04):

  • Added ability to remove the prefix from default short URLs. #123
  • Added ability to define middleware for the default short URL route. #121
  • Added ability to set the key generator on-the-fly. #122

v6.3.0 (released 2022-01-24):

  • Added support for Laravel 9. #116

v6.2.0 (released 2021-11-26):

  • Updated incorrectly set file permissions. #104
  • 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

v6.1.0 (released 2021-10-21):

  • Added the ability to customise the default short URL prefix. #100

v6.0.0 (released 2021-10-21):

  • Added the ability to forward query parameters to the destination URL. #94
  • Dropped support for Laravel 6, 7. #96, #98
  • Dropped support for PHP 7.3, 7.4. #85

v5.2.0 (released 2021-09-21):

  • Updated the migration for the short_urls table so that url_key is now unique and destination_url is now a TEXT field rather than varchar. #80
  • Added the ability to configure the alphabet used for generating keys with hashids. #77

v5.1.0 (released 2021-06-11):

  • Migrated the CI tests to be run using GitHub Actions instead of Travis CI. #67

v5.0.0 (released 2021-04-18):

  • Removed the automatic loading of the migrations and made it mandatory for them to be published. #61

v4.3.0 (released 2021-04-12):

  • Updated the private fields in the Builder class to be protected. #62

v4.2.0 (released 2021-01-26):

  • Added support for PHP 8. #58

v4.1.1 (released 2020-09-16):

  • Updated the Travis CI config to run the tests on the correct Laravel versions. #55

4.1.0 (released 2020-09-08):

  • Added support for Laravel 8. #54

4.0.0 (released 2020-07-07):

  • Added a new config value that can be used to toggle the config validation. #50
  • Removed support for Laravel 5.8. #51
  • Removed the ShortURLBuilder facade that was deprecated in v3.0.0. #52
  • Documentation updates. #48

3.0.0 (released 2020-04-11):

  • Added the functionality to set activation and deactivation times for the short URLs. #46
  • Deprecated the ShortURLBuilder facade in favour of a newer ShortURL facade. #45

2.3.1 (released 2020-03-11):

  • Updated the documentation to mention that the BC Math or GMP PHP extensions are required. #43

2.3.0 (released 2020-03-05):

  • Added support for Laravel 7. #38
  • Updated the asset publishing tags from config and migrations to short-url-config and short-url-migrations. #39

2.2.0 (released 2020-02-27):

  • Added a default option to enforce HTTPS on destination URLs as a config option. #36

2.1.0 (released 2020-02-19):

  • Added the key salt (used for generating random URL keys) as a config option. #32

2.0.0 (released 2020-02-14):

  • Added the functionality to track a visitor's referer URL.
  • Added the functionality to track a user's device type.
  • Added the functionality to explicitly set the tracking options on for each specific short URL. Previously, the options were set in the config and affected all new and existing short URLs.
  • Added the functionality to explicitly set the HTTP status code for the redirect.
  • Added a ShortURLVisited event that is dispatched when the short URL is used.
  • Added the trackingEnabled() and trackingFields() helper methods to the ShortURL model.

1.2.1 (released 2020-01-13):

  • Fixed a bug that allowed multiple visits to a single-use URL if the URL's visit tracking was disabled. Pull Request #23

1.2.0 (released 2020-01-03):

  • Renamed the underlying facade class from BuilderFacade to ShortURLBuilder for consistency.

    Note: This isn't changing the name of the facade. It's just changing the underlying class name for if you want to use use AshAllenDesign\ShortURL\Facades\ShortURLBuilder; rather than use ShortURLBuilder;.

  • Added methods to the facade docblock. This will display the methods in the IDE's autocomplete.

1.1.0 (released 2020-01-03):

  • Enforced a minimum length of 3 for the URL key_length that is specified in the config.
  • Included hashids/hasids as a dependency. This is now used for generating the random, unique URL keys.
  • Updated documentation.

1.0.0 (released 2020-01-02):

  • Release for production.
  • Added a ShortURLBuilder facade.
  • Refactored folder structure to meet standards.
  • Updated documentation (thanks @NathanGiesbrecht)
  • Updated tests and Travis CI configuration for PHP 7.4 testing.

0.0.1 (pre-release):

  • Initial work and pre-release testing.