Shlink v1.13.0 Release Notes

Release Date: 2018-10-06 // over 5 years ago
  • โž• Added

    • #197 Added cakephp/chronos library for date manipulations.
    • ๐Ÿ— #214 Improved build script, which allows builds to be done without "jumping" outside the project directory, and generates smaller dist files.

      It also allows automating the dist file generation in travis-ci builds.

    • #207 Added two new config options which are asked during installation process. The config options already existed in previous shlink version, but you had to manually set their values.

      These are the new options:

      • Visits threshold to allow short URLs to be deleted.
      • Check the visits threshold when trying to delete a short URL via REST API.

    ๐Ÿ”„ Changed

    • ๐Ÿ“ฆ #211 Extracted installer to its own module, which will simplify moving it to a separated package in the future.
    • #200 and #201 Renamed REST Action classes and CLI Command classes to use the concept of ShortUrl instead of the concept of ShortCode when referring to the entity, and left the short code concept to the identifier which is used as a unique code for a specific Short URL.
    • ๐Ÿ”ง #181 When importing the configuration from a previous shlink installation, it no longer asks to import every block. Instead, it is capable of detecting only new config options introduced in the new version, and ask only for those.

      If no new options are found and you have selected to import config, no further questions will be asked and shlink will just import the old config.

    ๐Ÿ—„ Deprecated

    • ๐Ÿ—„ #205 Deprecated [POST /authenticate] endpoint, and allowed any API request to be automatically authenticated using the X-Api-Key header with a valid API key.

      This effectively deprecates the Authorization: Bearer <JWT> authentication form, but it will keep working.

    • As of #200 and #201 REST urls have changed from /short-codes/... to /short-urls/..., and the command namespaces have changed from short-code:... to short-url:....

      In both cases, backwards compatibility has been retained and the old ones are aliases for the new ones, but the old ones are considered deprecated.

    โœ‚ Removed

    • Nothing

    ๐Ÿ›  Fixed

    • โš  #203 Fixed some warnings thrown while unzipping distributable files.
    • #206 An error is now thrown during installation if any required param is left empty, making the installer display a message and ask again until a value is set.