All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
0.4.9 - 2019-06-10
- Make sure file names are exact matches and disallow prefixed versions.
0.4.8 - 2019-02-02
- Remove left-over debugging code.
0.4.7 - 2019-02-02
- Respect relative folders that are provided as criteria.
0.4.6 - 2019-01-28
- Cache
$uri
,$engine
and$view
for a given view name inViewBuilder
.
0.4.5 - 2019-01-12
- When adding custom context to a
section()
call, it is merged with the existing context instead of replacing it.
0.4.4 - 2019-01-11
- Add optional argument
$context = []
toAbstractView
to preload views with context. - Add
addToContext( $key, $value, $behavior )
toView
to add to existing view context. - Add
ViewTest
class.
0.4.3 - 2019-01-10
- Allow for invokable objects to be add as properties to the context.
- Make view file selection more rigid.
- Improve passing on existing ViewBuilder instances.
0.4.2 - 2019-01-04
- Let
ViewBuilder::addLocation()
return the view builder instance for fluent interfaces.
0.4.1 - 2019-01-04
- Always accept absolute paths to existing views, even without any locations being registered.
0.4.0 - 2017-07-27
- Add comments to default config file.
- Bump PHP version minimum to PHP 7+
- Remove and ignore Composer lock file.
- Provide and use class constants for config keys.
- Make internal property names more obscure and provide a method to access the entire context.
- Rename
View::renderPart()
toView::section()
.
- Adapt copyright notice.
- Rearrange folder locations in example code.
0.3.0 - 2017-02-11
- Fix namespace error in
ViewFinder
interface.
0.2.1 - 2017-02-08
- Fix potential warning in AbstractFinder.
0.2.0 - 2016-10-21
- Templates are bound to the scope of the view.
- Rendering of partials is available from the template through
$this->section()
method. - Default config is merged with overrides.
- Completed documentation.
0.1.3 - 2016-05-30
- FilesystemLocation recursive tests added.
- FilesystemLocation uses Symfony Finder to traverse folders recursively.
0.1.2 - 2016-05-30
- Locations unit tests added.
- Locations are only added when they haven't been registered before.
0.1.1 - 2016-05-30
- Basic documentation added.
- FilesystemLocation unit tests added.
- Lots of refactoring to make the code more consistent.
- Lots of docblock tweaks.
0.1.0 - 2016-05-28
- Initial release to GitHub.