Skip to content

Commit a824d15

Browse files
committed
chore: update liquid to v1.8.1, changelog for v0.3.1 release
Updates liquid template engine from v1.6.0 to v1.8.1, which includes performance improvements and fixes a string-to-number conversion regression introduced in v1.8.0.
1 parent b1f9430 commit a824d15

3 files changed

Lines changed: 23 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.1] - 2026-02-27
11+
12+
### Fixed
13+
14+
- **Pop/Shift Filters Swapped**: `pop` now correctly returns the last element and `shift` returns the first, matching Ruby/Jekyll semantics
15+
- **ReadCollections Error Handling**: Fixed `ReadCollections` silently discarding errors instead of propagating them
16+
- **Tags vs Categories**: Fixed `site.tags` incorrectly containing categories instead of tags due to `groupPagesBy` ignoring its getter argument
17+
- **Data File Reading**: Fixed `readDataFiles` stopping at the first subdirectory, skipping data files that followed it alphabetically
18+
- **Liquid String-to-Number Conversion**: Updated liquid engine to v1.8.1, fixing a string-to-number conversion regression briefly introduced in v1.8.0
19+
20+
### Changed
21+
22+
- **Liquid Engine Performance**: Updated liquid template engine from v1.6.0 to v1.8.1, which includes performance improvements
23+
- **GoReleaser Config**: Updated `.goreleaser.yaml` to v2 format; fixed ldflags to correctly set version at build time
24+
1025
## [0.3.0] - 2026-02-27
1126

1227
### Added
@@ -170,7 +185,8 @@ Notable earlier releases:
170185
- **v0.1.1** (2017-07-19): Updated goreleaser version varname target
171186
- **v0.1.0** (2017-07-17): Push site build errors to open web pages
172187

173-
[Unreleased]: https://github.com/osteele/gojekyll/compare/v0.3.0...HEAD
188+
[Unreleased]: https://github.com/osteele/gojekyll/compare/v0.3.1...HEAD
189+
[0.3.1]: https://github.com/osteele/gojekyll/compare/v0.3.0...v0.3.1
174190
[0.3.0]: https://github.com/osteele/gojekyll/compare/v0.2.16...v0.3.0
175191
[0.2.16]: https://github.com/osteele/gojekyll/compare/v0.2.15...v0.2.16
176192
[0.2.15]: https://github.com/osteele/gojekyll/compare/v0.2.14...v0.2.15

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
github.com/k0kubun/pp v3.0.1+incompatible
1717
github.com/kyokomi/emoji v2.2.4+incompatible
1818
github.com/montanaflynn/stats v0.7.1
19-
github.com/osteele/liquid v1.6.0
19+
github.com/osteele/liquid v1.8.1
2020
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
2121
github.com/radovskyb/watcher v1.0.7
2222
github.com/stretchr/testify v1.11.1
@@ -164,7 +164,7 @@ require (
164164
github.com/nishanths/exhaustive v0.12.0 // indirect
165165
github.com/nishanths/predeclared v0.2.2 // indirect
166166
github.com/nunnatsa/ginkgolinter v0.21.2 // indirect
167-
github.com/osteele/tuesday v1.0.3 // indirect
167+
github.com/osteele/tuesday v1.0.4 // indirect
168168
github.com/pelletier/go-toml v1.9.5 // indirect
169169
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
170170
github.com/pmezard/go-difflib v1.0.0 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,10 @@ github.com/onsi/ginkgo/v2 v2.26.0 h1:1J4Wut1IlYZNEAWIV3ALrT9NfiaGW2cDCJQSFQMs/gE
481481
github.com/onsi/ginkgo/v2 v2.26.0/go.mod h1:qhEywmzWTBUY88kfO0BRvX4py7scov9yR+Az2oavUzw=
482482
github.com/onsi/gomega v1.38.2 h1:eZCjf2xjZAqe+LeWvKb5weQ+NcPwX84kqJ0cZNxok2A=
483483
github.com/onsi/gomega v1.38.2/go.mod h1:W2MJcYxRGV63b418Ai34Ud0hEdTVXq9NW9+Sx6uXf3k=
484-
github.com/osteele/liquid v1.6.0 h1:bTsbZjPIr7F+pU+K6o//Y5//W4McMzvUlMXWGOVvpc0=
485-
github.com/osteele/liquid v1.6.0/go.mod h1:xU0Z2dn2hOQIEFEWNmeltOmCtfhtoW/2fCyiNQeNG+U=
486-
github.com/osteele/tuesday v1.0.3 h1:SrCmo6sWwSgnvs1bivmXLvD7Ko9+aJvvkmDjB5G4FTU=
487-
github.com/osteele/tuesday v1.0.3/go.mod h1:pREKpE+L03UFuR+hiznj3q7j3qB1rUZ4XfKejwWFF2M=
484+
github.com/osteele/liquid v1.8.1 h1:b+uxMOkD1OOLxueaSvrE0yx6nMqf023DZPPAjPWT5eI=
485+
github.com/osteele/liquid v1.8.1/go.mod h1:SFqQ9ddbCoKceuG6RckCLJ0hcxUbGhLpvcXJGmHlCWA=
486+
github.com/osteele/tuesday v1.0.4 h1:iX0xOLW08/FJtXUCr20ngYwOwBE6l/mf7mz8NIv4yl8=
487+
github.com/osteele/tuesday v1.0.4/go.mod h1:5fgEemYhErJF09RNEwU+PdYiwm5Ar7Bknlhs1CD/Ol8=
488488
github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
489489
github.com/otiai10/copy v1.14.0 h1:dCI/t1iTdYGtkvCuBG2BgR6KZa83PTclw4U5n2wAllU=
490490
github.com/otiai10/copy v1.14.0/go.mod h1:ECfuL02W+/FkTWZWgQqXPWZgW9oeKCSQ5qVfSc4qc4w=

0 commit comments

Comments
 (0)