2024-10-07 (11 commits)

2024-10-09

Overview

Quite active and diverse day.

Changes range from improvement to database base classes, to recipes, to PHP 8.3 compatibility, to JavaScript.

Changes

It covers commits from 2024-10-07 on 11.x branch.

#3478771: InputConfigurator should expose input data definitions

#3478771 - 2ad947f2f3a4e16ae6080b2a8062f88f1568a782

Passes typed data on recipes InputConfigurator.

#3479160: 11.0.x yarn dependencies have mushroomed

#3479160 - 858610568b5e216fe87b77296c6d51c978adb37d

Adds a test to verify the same CKEditor version is used in Node.js development dependencies.

Apropos recent finding on 11.0.x that got one with a different version, and ended up in 2GB of extra dependencies.

#3478332: Add a way to prevent recipes’ imported config from being compared too strictly to active config

#3478332 - f0fda63b583ca7d497c248026e47b2781fca026c

Introduces a way to opt into strict check on recipes.

Before, this was always a strict comparison; which naturally supported less states.

#3473014: Prefer to add “node:” prefix to require() which imports Node.js built-in module

#3473014 - dd72f0183babf14a2ae08c55e81ba2c25b64df0b

Use node: prefix on JavaScript require() calls to import built-in Node.js module.

#3359649: User routes alter in custom module throwing error on “_format”

#3359649 - a6a40068166ae90c9c14ca43d83a91e93591e21b

Adds an extra check on serialization module to better handle routes with _format requirement.

#3310963: Attach correct image/webp header in .htaccess when mime module is enabled

#3310963 - 30bea1ebb1a9d1801e435ce47a01f4ba7c2cef6c

Adds relevant MIME type header for webp images.

#3477366: Fix closures in tests for PHP 8.4

#3477366 - 97775e78a586595a08428de44d6afc6e749496d8

Makes three test’s closures compatible with PHP 8.4.

#2005626: Implement ::arguments

#2005626 - ea261a9d1a58b736c08adf51f0c1306962acc396

Implements Drupal\Core\Database\Query\ConditionInterface::arguments() on \Drupal\Core\Database\Query\Update.

#3100083: Add js message theme override to match Umami message markup

#3100083 - 0e07179f7bd04a1fd333719852fee76799cd7efe

Tweaks umami message styling.

#3387960: Fix return type in ::__toString

#3387960 - 5f1bd5ffbdbf4056eab41a6fb9f455ed5fe20dd0

Improves merge query string conversion.

It now trows an exception instead of not returning.

#3474123: Reorganize navigation settings to be more consistent

#3474123 - d23a9f370698556991b6b9138a5eb1dd9e4c50d8

Tweaks navigation module configuration structure.

Make them multi-level instead of flat.

Annex

Meta

The set

$ git log --oneline --reverse --since=2024-10-06T23:59:59+00:00 --until=2024-10-08T00:00:00+00:00
d23a9f3706 Issue #3474123 by plopesc, smustgrave, alexpott: Reorganize navigation settings to be more consistent
5f1bd5ffbd Issue #3387960 by quietone, alexpott, daffie, mondrake, amateescu: Fix return type in \Drupal\Core\Database\Query\Merge::__toString
0e07179f7b Issue #3100083 by finnsky, Zsuffa Dávid, ankithashetty, _utsavsharma, gauravvvv, smustgrave, zrpnr, markconroy: Add js message theme override to match Umami message markup
ea261a9d1a Issue #2005626 by sukr_s, gold, jhedstrom, neelam_wadhwani, neslee canil pinto, jweowu, Mixologic, quietone, daffie, smustgrave, longwave, mondrake: Implement \Drupal\Core\Database\Query\Update::arguments
97775e78a5 Issue #3477366 by andypost: Fix closures in tests for PHP 8.4
30bea1ebb1 Issue #3310963 by rcodina, quietone, anybody, joegraduate, smustgrave, xjm, cilefen, alexpott, larowlan: Attach correct image/webp header in .htaccess when mime module is enabled
a6a4006816 Issue #3359649 by arnested, shalini_jha, alexpott, arunkumark, cilefen, smustgrave, aduthois, catch, quietone: User routes alter in custom module throwing error on "_format"
dd72f0183b Issue #3473014 by tom konda: Prefer to add "node:" prefix to require() which imports Node.js built-in module
f0fda63b58 Issue #3478332 by phenaproxima, nicxvan, thejimbirch, alexpott: Add a way to prevent recipes' imported config from being compared too strictly to active config
858610568b Issue #3479160 by longwave, catch, fjgarlin, nod_: 11.0.x yarn dependencies have mushroomed
2ad947f2f3 Issue #3478771 by phenaproxima, smustgrave, alexpott: InputConfigurator should expose input data definitions

$ git diff --shortstat d23a9f3706~1..2ad947f2f3
 60 files changed, 815 insertions(+), 346 deletions(-)