Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
41.8 KB
MD5: 3c30c04807c5464e598044b70e0724bc
SHA-1: c9995e456cb76e9cbbaccf56728b5114f762fc7a
SHA-256: 8daddc250c4d7f29d5054c476773beabc8624ad6039ed5599214e62f570e210d
Download zip
55.1 KB
MD5: 4f72d1b4d8f59f2728e0cdb33962642a
SHA-1: 44709c54a1a381c6bc290f21f509756f2838d3e1
SHA-256: 9dc57c10e49bfe9f19fdc56e05976e2bc6b8c84d2c46eefd654db92bdc5fb74c
Release notes
Second beta. Run drush updb after updating: one update hook runs.
- Security: the internal page cache could serve one consumer's settings to every other consumer. The request policy compared the raw request path to the endpoint, and the router accepts spellings that comparison never saw: a language prefix, a trailing slash, upper case, percent-encoding. The policy now denies the internal page cache on the
X-Consumer-IDheader alone, on any path. The dynamic page cache still serves such requests, varied on the header. - Security:
system.site:mail_notificationwas exposed by default next to thesystem.site:mailit already excluded. It is excluded now, and an update hook appends it for existing installs that have not edited the list. - The consumer overrides form keeps an override whose setting is no longer exposed instead of deleting it on the next save, and names such overrides in a warning. A theme switch renames every theme setting key, which used to lose every consumer's theme overrides silently.
- A functional test pins the Simple OAuth interop: a client credentials token alone identifies the consumer.
drupal/simple_oauthis a development dependency for it. - A kernel test pins the language behaviour: exposed values follow interface language negotiation, and a consumer override applies in every language.
- README notes for integrators: assert on
data.attributes.consumerin the build pipeline, how translations and overrides interact, and why the default payload is wider than the branding keys. - The changelog now records beta1 as published, with the Drupal 10 and language statements corrected under beta2. Drupal 10 was verified in the release CI.
Known limitations: a consumer override applies in every language, so a setting can be translated or overridden per consumer but not both at once (per-language overrides are planned for 1.1.0), and per-consumer include/exclude lists are designed and not built.