Skip to content

Commit 03aafa9

Browse files
karreirograygilmoreianks
authoredJan 17, 2025
Bump to 5.7.0 (#1894)
* Bump to 5.7.0 * Update 'History.md' * Update 'Releasing' steps * Update CONTRIBUTING.md Co-authored-by: Gray Gilmore <graygilmore@gmail.com> * Update History.md Co-authored-by: Ian Ker-Seymer <ian.kerseymer@shopify.com> --------- Co-authored-by: Gray Gilmore <graygilmore@gmail.com> Co-authored-by: Ian Ker-Seymer <ian.kerseymer@shopify.com>
1 parent 6372289 commit 03aafa9

File tree

3 files changed

+48
-4
lines changed

3 files changed

+48
-4
lines changed
 

‎CONTRIBUTING.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929

3030
## Releasing
3131

32-
* Bump the version in `lib/liquid/version.rb` and merge it on `main`
32+
* Bump the version in `lib/liquid/version.rb`
33+
* Update the `History.md` file
34+
* Open a PR like [this one](https://github.com/Shopify/liquid/pull/1894) and merge it to `main`
3335
* Create a new release using the [GitHub UI](https://github.com/Shopify/liquid/releases/new)
3436

‎History.md

+44-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,53 @@
11
# Liquid Change Log
22

3-
## 5.6.0 (unreleased)
3+
## 5.8.0 (unreleased)
4+
5+
## 5.7.0 2025-01-16
6+
7+
### Features
8+
* Add `find`, `find_index`, `has`, and `reject` filters to arrays
9+
* Compatibility with Ruby 3.4
10+
11+
## 5.6.4 2025-01-14
412

513
### Fixes
14+
* Add a default `string_scanner` to avoid errors with `Liquid::VariableLookup.parse("foo.bar")` [Ian Ker-Seymer]
615

7-
* Fix Tokenizer to handle null source value (#1873) [Bahar Pourazar]
16+
## 5.6.3 2025-01-13
17+
* Remove `lru_redux` dependency [Michael Go]
18+
19+
## 5.6.2 2025-01-13
20+
21+
### Fixes
22+
* Preserve the old behavior of requiring floats to start with a digit [Michael Go]
823

24+
## 5.6.1 2025-01-13
25+
26+
### Performance improvements
27+
* Faster Expression parser / Tokenizer with StringScanner [Michael Go]
28+
29+
## 5.6.0 2024-12-19
30+
31+
### Architectural changes
32+
* Added new `Environment` class to manage configuration and state that was previously stored in `Template` [Ian Ker-Seymer]
33+
* Moved tag registration from `Template` to `Environment` [Ian Ker-Seymer]
34+
* Removed `StrainerFactory` in favor of `Environment`-based strainer creation [Ian Ker-Seymer]
35+
* Consolidated standard tags into a new `Tags` module with `STANDARD_TAGS` constant [Ian Ker-Seymer]
36+
37+
### Performance improvements
38+
* Optimized `Lexer` with a new `Lexer2` implementation using jump tables for faster tokenization, requires Ruby 3.4 [Ian Ker-Seymer]
39+
* Improved variable rendering with specialized handling for different types [Michael Go]
40+
* Reduced array allocations by using frozen empty constants [Michael Go]
41+
42+
### API changes
43+
* Deprecated several `Template` class methods in favor of `Environment` methods [Ian Ker-Seymer]
44+
* Added deprecation warnings system [Ian Ker-Seymer]
45+
* Changed how filters and tags are registered to use Environment [Ian Ker-Seymer]
46+
47+
### Fixes
48+
* Fixed table row handling of break interrupts [Alex Coco]
49+
* Improved variable output handling for arrays [Ian Ker-Seymer]
50+
* Fix Tokenizer to handle null source value (#1873) [Bahar Pourazar]
951

1052
## 5.5.0 2024-03-21
1153

‎lib/liquid/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# frozen_string_literal: true
33

44
module Liquid
5-
VERSION = "5.6.5"
5+
VERSION = "5.7.0"
66
end

0 commit comments

Comments
 (0)
Failed to load comments.