Skip to content

Commit

Permalink
see cl 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Patzer committed Feb 7, 2022
1 parent ae0e702 commit 15b2ada
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 7 deletions.
39 changes: 37 additions & 2 deletions CHANGELOG.md
@@ -1,11 +1,15 @@
# Changelog

All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.5.0] - 2022-02-07

- Fixed: dependencies for contao 4.13

## [1.4.2] - 2021-12-07

- Fixed: template list empty if initializeSystem hook not executed in RenderListener

## [1.4.1] - 2021-11-11
Expand All @@ -17,91 +21,117 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Added: support for php 8

## [1.3.0] - 2021-08-27
- Added: support for new bundle structure convention (see [Symfony Best Practices](https://symfony.com/doc/4.4/bundles/best_practices.html#directory-structure))

- Added: support for new bundle structure convention (
see [Symfony Best Practices](https://symfony.com/doc/4.4/bundles/best_practices.html#directory-structure))
- Fixed: wrong license file

## [1.2.1] - 2021-06-02

- fixed TwigTemplateLocator::getTemplatesInPath() method signature (changed $bundle type from Bundle to BundleInterface)
- fixed two warnings in TwigTemplateLocator

## [1.2.0] - 2021-06-01

- added TwigTemplateLocator::getTemplateContext()
- introduced TwigTemplateLocator::getTemplatesInPath() and deprecated TwigTemplateLocator::getTwigTemplatesInPath()
- fixed TwigTemplateLocator::getTemplateGroup() empty brackets in result label

## [1.1.1] - 2021-05-10

- fixed LoaderError when template folder symlinked to symlinked bundle

## [1.1.0] - 2021-04-16

- added option to skip templates

## [1.0.0] - 2021-04-14

- Add twig renderer class ([#6])

## [0.2.18] - 2021-05-10

Same as 1.1.1

## [0.2.17] - 2021-04-16

Same as 1.1.0

## [0.2.16] - 2021-04-14

Same as 1.0

## [0.2.15] - 2021-04-08

- fixed TwigFrontendTemplate not working when template loader is not activated
- fixed misleading exception when template not found in TwigFrontendTemplate

## [0.2.14] - 2021-04-06

- allow twig 3
- changed TwigFrontendTemplate to use RenderListener::render() method

## [0.2.13] - 2021-03-19

- fixed warning due unused binds

## [0.2.12] - 2021-03-19

- add widget variable to widget templates (#4)

## [0.2.11] - 2021-03-04

- added TwigFrontendTemplate class

## [0.2.10] - 2021-01-26

- fixed TwigTemplateLocator::getTemplates() not respecting extension flag (#3)

## [0.2.9] - 2021-01-11

- template cache refactored as service
- template cache has now a configurable lifetime
- template cache now saved project cache folder
- added github actions test workflow setup

## [0.2.8] - 2020-12-17

- clean invalid cache entries in TwigTemplateLocator

## [0.2.7] - 2020-12-15

- added missing return types on two methods in TwigTemplateLocator

## [0.2.6] - 2020-12-08

- added some unit tests
- fixed options parameter not evaluated in TwigTemplateLocator::getTemplatePath()
- fixed template loading order not respected when no theme folder set

## [0.2.5] - 2020-09-23

- only add templates to contao template loader if they not exist -> fix error with rsce

## [0.2.4] - 2020-09-22

- fixed performance issue in dev mode
- added stopwatch to TwigTemplateLocator for better debugging
- fixed php lang level errors

## [0.2.3] - 2020-09-22

- fixed issue with regex TwigTemplateLocator::getPrefixedFiles()

## [0.2.2] - 2020-09-22

- fixed TypeError in TwigTemplateLocator

## [0.2.1] - 2020-09-22

- fixed missing BeforeParseTwigTemplateEvent::setTemplateName()

## [0.2.0] - 2020-09-21

- added configuration to enable contao template loading
- added TwigTemplateLocator::getTemplateGroup()
- added TwigTemplateLocator::getPrefixedFiles()
Expand All @@ -113,9 +143,11 @@ Same as 1.0
- removed templates from event as they can be loaded from TwigTemplateLoader service

## [0.1.4] - 2020-09-18

- replaced symfony serializer with custom object normalizer

## [0.1.3] - 2020-09-17

- switch to symfony PSR-6 cache due strange errors in contao 4.4 with PSR-16 filesystem cache
- added ContaoWidgetNormalizer
- made normalization contao 4.4 compatible
Expand All @@ -124,12 +156,15 @@ Same as 1.0
- fixed options not correctly loaded from widget

## [0.1.2] - 2020-09-17

- fixed wrong method call lead to navigation templates not rendered

## [0.1.1] - 2020-09-17

- add template comments in dev mode

## [0.1.0] - 2020-09-16

Initial release

[#6]: https://github.com/heimrichhannot/contao-twig-support-bundle/pull/6
15 changes: 10 additions & 5 deletions composer.json
Expand Up @@ -4,12 +4,17 @@
"description": "This bundle add twig template support to contao",
"license": "LGPL-3.0-or-later",
"require": {
"php": "^7.2|^8.0",
"ext-json": "*",
"php": "^7.2||^8.0",
"contao/core-bundle": "^4.4",
"symfony/http-kernel": "^3.4|^4.4",
"symfony/finder": "^3.4|^4.4",
"twig/twig": "^1.26|^2.7|^3.0",
"ext-json": "*",
"symfony/cache": "4.4||^5.4",
"symfony/config": "4.4||^5.4",
"symfony/event-dispatcher": "4.4||^5.4",
"symfony/finder": "^4.4||^5.4",
"symfony/http-foundation": "4.4||^5.4",
"symfony/http-kernel": "4.4||^5.4",
"symfony/stopwatch": "4.4||^5.4",
"twig/twig": "^1.26||^2.7||^3.0",
"webmozart/path-util": "^2.3"
},
"require-dev": {
Expand Down

0 comments on commit 15b2ada

Please sign in to comment.