All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix 'ParameterBag::get(): Argument #1 ($key) must be of type string, null given'
- Fix 'ParameterBag::get(): Argument #1 ($key) must be of type string, null given'
- Add Drupal 10 support
- Drop support for Drupal versions below 9.1
- Support
stale-while-revalidate
andstale-if-error
cache control header
- Fix wmtwig version constraint
- Add support for node previews
- Add support for the Preview Link module
- Add support for content moderation
- Change controllers to plugins
- Allow early rendering in controllers
- Remove the
wmcontroller.settings.module
option since controllers can now be provided in any module.
- Support
stale-while-revalidate
andstale-if-error
cache control header
- Add v2 upgrade guide & script
- Add stubs of new modules, including only database schema
- Avoid null notice on strlen
- Add support for all entities with canonical routes
- Add issue & pull request templates
- Add coding standard fixers
- Add Drupal 9 support
- Increase PHP dependency to 8.0
- Update module name & description
- Make bundle-specific controllers optional, falling back to the default controller
- Add helpful error message when throwing 404 because the entity is not translated
- Stop extending
Drupal\Core\Controller\ControllerBase
inDrupal\wmcontroller\Controller\FrontController
- Apply code style related fixes
- Only validate language in FrontController when entity is translatable
- Allow adding attachments to ViewBuilder
- Remove dependency on the node module