github shlinkio/shlink v2.4.0

latest releases: v4.1.0, v4.0.3, v3.7.4...
3 years ago

Added

  • #829 Added support for QR codes in SVG format, by passing ?format=svg to the QR code URL.

  • #820 Added new option to force enabling or disabling URL validation on a per-URL basis.

    Currently, there's a global config that tells if long URLs should be validated (by ensuring they are publicly accessible and return a 2xx status). However, this is either always applied or never applied.

    Now, it is possible to enforce validation or enforce disabling validation when a new short URL is created or edited:

    • On the POST /short-url and PATCH /short-url/{shortCode} endpoints, you can now pass validateUrl: true/false in order to enforce enabling or disabling validation, ignoring the global config. If the value is not provided, the global config is still normally applied.
    • On the short-url:generate CLI command, you can pass --validate-url or --no-validate-url flags, in order to enforce enabling or disabling validation. If none of them is provided, the global config is still normally applied.
  • #838 Added new endpoint and CLI command to list existing domains.

    It returns both default domain and specific domains that were used for some short URLs.

    • REST endpoint: GET /rest/v2/domains
    • CLI Command: domain:list
  • #832 Added support to customize the port in which the docker image listens by using the PORT env var or the port config option.

  • #860 Added support to import links from bit.ly.

    Run the command short-urls:import bitly and introduce requested information in order to import all your links.

    Other sources will be supported in future releases.

Changed

  • #836 Added support for the <field>-<dir> notation while determining how to order the short URLs list, as in ?orderBy=shortCode-DESC. This effectively deprecates the array notation (?orderBy[shortCode]=DESC), that will be removed in Shlink 3.0.0
  • #782 Added code coverage to API tests.
  • #858 Updated to latest infection version. Updated docker images to PHP 7.4.11 and swoole 4.5.5
  • #887 Started tracking the API key used to create short URLs, in order to allow restrictions in future releases.

Deprecated

  • #883 Deprecated POST /tags endpoint and tag:create command, as tags are created automatically while creating short URLs.

Removed

  • Nothing

Fixed

  • #837 Drastically improved performance when creating a new shortUrl and providing findIfExists = true.
  • #878 Added missing gmp extension to the official docker image.

Don't miss a new shlink release

NewReleases is sending notifications on new releases.