Install
Works with Drupal: ^9.3 || ^10 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
36.24 KB
MD5: 2933b9bcc0cc68106bea10996471b3d2
SHA-1: ebc6d7bc3f464d7b53a2d21ac51508cb05ac4b5f
SHA-256: 09b2714bba5ff91ea0b57082ec541c8b686d426ded0ca828b5604668508fa8f3
Download zip
62.73 KB
MD5: c706b82fe2039f67090acd8b74d2078f
SHA-1: ec53edf3df743a939d0f26b6da1e5d9c5041f0f1
SHA-256: 24bfc3267f569b88b1d26c524014482dd71eb5640d0fd24c5b05bd0175b31f31
Release notes
Second release candidate of the 3.0.x branch. It fixes a caching issue in the create access check and adds GitLab CI with the cleanup the new pipeline called for. There are no API, configuration or schema changes since 3.0.0-rc1, and no database updates to run.
Changes since 3.0.0-rc1
- Create access no longer varies by user when no entity limit applies to the bundle. Previously every render that depends on create access, such as the node/add listing, was cached per user even on sites with no matching limit. Bundles that do have a limit keep the per-user cache context.
- #3620968: Inject the logger factory rather than a prebuilt channel: Tests and code quality checks (PHPUnit, PHPCS, PHPStan, CSpell) now run on GitLab CI for every push and merge request, against the current, previous and next Drupal major.
Fixes included in that issue
- Saving the order on the entity limit list showed "The text format ordering has been saved." It now reads "The entity limit ordering has been saved."
- Fixed a typo in the user limit form description ("Seperate" is now "Separate").
EntityLimitListBuilderreceives the current user through dependency injection, and the list builder and delete form use$this->messenger()instead of static\Drupal::calls.- Added
phpstan.neonand a project word list for CSpell. Spelling in code comments and the README was corrected.
Upgrade notes
- Translators: the two interface strings above changed, so their existing translations no longer apply.
- Custom code: a class that extends
EntityLimitListBuilderand overridescreateInstance()must call the parent method, because the current user is now set there.
Compatibility
Drupal 9.3, 10, 11 and 12 (^9.3 || ^10 || ^11 || ^12), unchanged from rc1.