Install

Works with Drupal: ^9.3 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 39.03 KB
MD5: 7fb6f56d093d90978abace667e774121
SHA-1: 290efe25b8e80bac2ea3ad4a0ae99cf6d4085998
SHA-256: 8a6106d0972ea6b52e7879d67cb163a07af3836a0def1eb6b654983ce17693c7
Download zip 59.05 KB
MD5: 633f44943f94d463fb660987facb8f4a
SHA-1: 030c325d1a28316a1d6f26473068c0a9b13021c4
SHA-256: c2f33eca5d39bcc512540ec70caa82ec564552ef8d7ed8ae3b74b414309e6a59

Release notes

The shurly_service API works on Drupal 10/11 for the first time, and dead Drupal 7 code is removed.

Changes

  • #3596341: /shurly/api/shorten and /shurly/api/expand now work on Drupal 10/11 and return JSON. Expand without a valid API key returns an error instead of a fatal error.
  • #3593648: API access is now checked against the API key's owner instead of the current session user. The owner must be active and have "create short URLs".
  • #3622227: Removed dead Drupal 7 code: shurly_service.module, shurly_service.inc, views/shurly_service.views.inc, the JSONP/XML/TXT/PHP output formats and the unused format/func parameters. Rewrote the shurly_service README.
  • #3590263: Fixed config schema type mismatches in shurly.settings.
  • #3473675: Fixed the database merge key in shurly_set_link_active().

Upgrade notes

  • Rebuild caches after updating (drush cr). No database updates are needed.
  • The API returns JSON only. The format and func parameters are ignored.
  • There is no UI to create API keys yet; use shurly_generate_new_api_key($uid) (#3622228).
  • Per-role rate limits (shurly_throttle) are not enforced yet.

Credits

Thanks to everyone who contributed to this release: alonsomaniaco, nicxvan, yannickoo, jrglasgow, Yuvania, jcnventura, greggles and norman.lol.

Created by: norman.lol
Created on: 23 Oct 2026 at 22:56 UTC
Last updated: 23 Oct 2026 at 22:58 UTC
Bug fixes

Other releases