Shlink v2.6.0 Release Notes

Release Date: 2021-02-13 // about 3 years ago
  • โž• Added

    • ๐Ÿ‘ #856 Added PHP 8.0 support.
    • ๐Ÿ‘ #941 Added support to provide a title for every short URL.

      The title can also be automatically resolved from the long URL, when no title was explicitly provided, but this option needs to be opted in.

    • ๐Ÿ‘ #913 Added support to import short URLs from a standard CSV file.

      The file requires the Long URL and Short code columns, and it also accepts the optional title, domain and tags columns.

    • ๐Ÿ‘ #1000 Added support to provide a margin query param when generating some URL's QR code.

    • #675 Added ability to track visits to the base URL, invalid short URLs or any other "not found" URL, as known as orphan visits.

      This behavior is enabled by default, but you can opt out via env vars or config options.

      This new orphan visits can be consumed in these ways:

      • The https://shlink.io/new-orphan-visit mercure topic, which gets notified when an orphan visit occurs.
      • The GET /visits/orphan REST endpoint, which behaves like the short URL visits and tags visits endpoints, but returns only orphan visits.

    ๐Ÿ”„ Changed

    • #977 Migrated from laminas/laminas-paginator to pagerfanta/core to handle pagination.
    • โšก๏ธ #986 Updated official docker image to use PHP 8.
    • โฑ #1010 Increased timeout for database commands to 10 minutes.
    • ๐Ÿ‘ #874 Changed how dist files are generated. Now there will be two for every supported PHP version, with and without support for swoole.

      The dist files will have been built under the same PHP version they are meant to be run under, ensuring resolved dependencies are the proper ones.

    ๐Ÿ—„ Deprecated

    • ๐Ÿ—„ #959 Deprecated all command flags using camelCase format (like --expirationDate), adding kebab-case replacements for all of them (like --expiration-date).

      All the existing camelCase flags will continue working for now, but will be removed in Shlink 3.0.0

    • ๐Ÿ—„ #862 Deprecated the endpoint to edit tags for a short URL (PUT /short-urls/{shortCode}/tags).

      The short URL edition endpoint (PATCH /short-urls/{shortCode}) now supports setting the tags too. Use it instead.

    โœ‚ Removed

    • Nothing

    ๐Ÿ›  Fixed

    • ๐Ÿ›  #988 Fixed serving zero-byte static files in apache and apache-compatible web servers.
    • ๐Ÿ›  #990 Fixed short URLs not properly composed in REST API endpoints when both custom domain and custom base path are used.
    • ๐Ÿ“‡ #1002 Fixed weird behavior in which GeoLite2 metadata's buildEpoch is parsed as string instead of int.
    • โฑ #851 Fixed error when trying to schedule swoole tasks in ARM architectures (like raspberry).