Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

* Fix greedy `condition_pattern` that produced broken PHP when an `%if`, `%unless`, `%isset`, `%loop`, `%while`, or `%for` directive sat on a single line with a `{{ }}` echo in its body (the head would extend past the real `)` and swallow the echo's closing paren). Replaced `(.*)` with a recursive balanced-paren matcher in `Compiler::$condition_pattern`.

## 3.1.5 - 2025-12-21

### What's Changed
Expand All @@ -21,7 +27,7 @@ Change the core language
- We use now the % symbol to identify tintin directives
- Add the new directive like `%import` or `%macro`

## [Unreleased]
## Pre-3.0.0 notes

- Change the template lexique from # to %
- Remove the default configuration
Expand Down
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"spatie/phpunit-snapshot-assertions": "^4.2"
},
"extra": {
"branch-alias": {
"dev-3.x": "3.x-dev",
"dev-3.x-update-changelog": "3.x-dev"
},
"laravel": {
"providers": [
"Tintin\\Laravel\\TintinServiceProvider"
Expand Down
Loading