Releases: mezzio/mezzio-laminasviewrenderer
3.0.0
Release Notes for 3.0.0
Version 3.0.0 contains a number of BC breaks:
laminas-view:3.x #74
laminas-view has been upgraded to version 3 which itself comes with significant BC breaks.
Helper usage has changed for many of the shipped plugins, some are removed etc.
Consult the migration guide for more detailed information.
mezzio-template:3.x
More detail can be found in the release notes.
It is unlikely that updating to mezzio-template v3 will cause any problems, unless you were manipulating the template "paths" via TemplateRenderer::addPath().
Other BC Breaks
- Stream wrapper support has been removed (It's also removed in
laminas-view): #19 - Removes service aliases for legacy
Zend\Expressive\…equivalents #27 - A number of unused exception classes have been removed along with some factories. Laminas View now ships factories and configuration that reduces some of the requirements here.
- All classes are now
finalwhich will affect you if you were extending the shipped renderer, the template resolver, or any of the shipped helpers.
Configuration changes
Shipped configuration no longer configures a "default layout" under templates.layout. The value used to be 'layout::default', so you will need to re-introduce this in your own configuration:
return [
'templates' => [
'layout' => 'layout::default',
],
];Improvements
The namespaced path stack resolver will now load template paths from configuration under $config['templates']['paths'], so if you had a delegator doing this, it is no longer necessary.
All factories now work as expected when an iterable/ArrayObject is used for configuration instead of a regular array.
Overall performance improvements have been noted in the region of a 10% speed increase (Likely due to changes in laminas-view v3), but there are no official benchmarks as of yet.
Stateful helpers are now reset for each rendering cycle, meaning that using laminas view in cli processes such as RoadRunner, Swoole and Franken PHP is safer, providing your stateful custom view helpers implement the correct interface. More information
3.0.0
- Total issues resolved: 4
- Total pull requests resolved: 26
- Total contributors: 5
QA
BC Break,Bug,Enhancement
- 84: Fix: Changing layouts in nested templates breaks redering of the main template when layout is disabled thanks to @gsteel and @Xerkus
Documentation
Enhancement,QA
BC Break,Documentation
Dependencies
- 76: Merge release 2.19.0 into 3.0.x thanks to @github-actions[bot]
BC Break,Dependencies,Enhancement
BC Break,Enhancement
- 72: Migrate to
finalkeyword and remove unused exception class thanks to @gsteel - 51:
NamespacedPathStackResolvercannot inherit fromTemplatePathStackthanks to @gsteel - 27: Remove Zend related service aliases and compatibility thanks to @gsteel
- 19: Removes stream wrapper functionality thanks to @gsteel
Enhancement
- 71: Merge release 2.18.0 into 3.0.x thanks to @github-actions[bot]
- 70: Merge release 2.17.0 into 3.0.x thanks to @github-actions[bot]
- 55: Support
psr/container:^2.0thanks to @pascalheidmann - 54: Fix readme linting issues, remove fixed issues from the psalm baseline thanks to @gsteel
- 53: Merge release 2.15.0 into 3.0.x thanks to @github-actions[bot]
- 44: Merge release 2.13.0 into 3.0.x thanks to @github-actions[bot]
- 41: Merge release 2.12.0 into 3.0.x thanks to @github-actions[bot]
- 34: Merge release 2.10.0 into 3.0.x thanks to @github-actions[bot]
- 31: Merge release 2.9.0 into 3.0.x thanks to @github-actions[bot]
- 29: Merge release 2.8.0 into 3.0.x thanks to @github-actions[bot]
- 26: Merge release 2.7.0 into 3.0.x thanks to @github-actions[bot]
- 16: Merge 2.4.0 into 3.0.x thanks to @gsteel
Bug,Enhancement
-
49: Merge release 2.14.0 into 3.0.x thanks to @github-actions[bot]
-
21: Merge 2.6.0 into 3.0.x thanks to @Ocramius
-
37: Merge release 2.11.0 into 3.0.x thanks to @github-actions[bot]
Bug,Duplicate,Enhancement
- 15: Merge release 2.4.0 into 3.0.x thanks to @github-actions[bot]
2.19.0
Release Notes for 2.19.0
2.19.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Dependencies,Enhancement
2.18.0
Release Notes for 2.18.0
2.18.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Dependencies,Enhancement,renovate
- 69: Update dependency mezzio/mezzio-router to v4 thanks to @renovate[bot]
2.17.0
Release Notes for 2.17.0
2.17.0
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 2
Dependencies,QA
- 68: Mark all classes as
@finalto signal move tofinalkeyword in the next major thanks to @renovate[bot] - 67: Upgrade laminas coding standard to v3 thanks to @gsteel
Dependencies,QA,renovate
- 65: Update dependency vimeo/psalm to v6 thanks to @renovate[bot]
2.16.0
Release Notes for 2.16.0
2.16.0
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 3
Enhancement
- 63: Add support for PHP 8.4 thanks to @gsteel
Bug,Documentation
- 59: Merge release 2.15.1 into 2.16.x thanks to @github-actions[bot]
renovate
- 56: Lock file maintenance, minor static analysis fixes thanks to @renovate[bot]
2.15.1
Release Notes for 2.15.1
2.15.x bugfix release (patch)
2.15.1
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug
2.15.0
Release Notes for 2.15.0
2.15.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 2
Enhancement
renovate
- 50: Lock file maintenance thanks to @renovate[bot]
2.14.0
Release Notes for 2.14.0
2.14.0
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 2
Bug
- 48: Merge release 2.13.1 into 2.14.x thanks to @github-actions[bot]
renovate
Enhancement,renovate
- 42: Allow
psr/http-message:^2thanks to @renovate[bot]
2.13.1
Release Notes for 2.13.1
2.13.1
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug
2.13.0
Release Notes for 2.13.0
2.13.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1