Skip to content

Commit 5d9c036

Browse files
committed
chore: release v1.8.1
1 parent b96ba84 commit 5d9c036

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
## Unreleased
55

6+
## 1.8.1 (2026-02-27)
7+
68
### Performance
79

810
- **Template Rendering**: ~25% faster, ~54% less memory, ~27% fewer allocations in template rendering benchmarks.
@@ -13,16 +15,14 @@
1315
- Use stack-allocated array for filter arguments, avoiding heap allocation for filters with ≤4 args
1416
- Use `maps.Copy` with pre-sized maps for bindings copies
1517

16-
### Changed
17-
18-
- Replace custom `intMin`/`intMax` helpers with Go 1.21+ `min`/`max` builtins.
19-
20-
## 1.8.1 (2026-02-27)
21-
2218
### Fixed
2319

2420
- **String-to-Number Conversion in Arithmetic Filters**: Fixed regression where string values from bindings were not converted to numbers in `plus`, `minus`, `times`, and `divided_by` filters. For example, `{{ str_var | plus: 1 }}` where `str_var = "10"` now correctly returns `11` instead of `1`. This was introduced in v1.8.0 when filter signatures changed from `float64` to `any` (#124).
2521

22+
### Changed
23+
24+
- Replace custom `intMin`/`intMax` helpers with Go 1.21+ `min`/`max` builtins.
25+
2626
### Tests
2727

2828
- Expanded test coverage across render, parser, values, filters, and engine packages.

0 commit comments

Comments
 (0)