Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to 5.7.0 #1894

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@
## Releasing

* Bump the version in `lib/liquid/version.rb` and merge it on `main`
* Update the `History.md` file
* Open a PR like [this one](https://github.com/Shopify/liquid/pull/1894) and merge it
Comment on lines 32 to +34
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these should be done as a single step, no?

Suggested change
* Bump the version in `lib/liquid/version.rb` and merge it on `main`
* Update the `History.md` file
* Open a PR like [this one](https://github.com/Shopify/liquid/pull/1894) and merge it
* Bump the version in `lib/liquid/version.rb`
* Update the `History.md` file
* Open a PR like [this one](https://github.com/Shopify/liquid/pull/1894) and merge it to `main`

* Create a new release using the [GitHub UI](https://github.com/Shopify/liquid/releases/new)

45 changes: 43 additions & 2 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,52 @@
# Liquid Change Log

## 5.6.0 (unreleased)
## 5.8.0 (unreleased)

## 5.7.0 2025-01-16

### Features
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're missing 5.6.5 which was merged yesterday #1892

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can ignore that, it was not released

* Add `find`, `find_index`, `has`, and `reject` filters to arrays
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Add `find`, `find_index`, `has`, and `reject` filters to arrays
* Add `find`, `find_index`, `has`, and `reject` filters to arrays
* Compatibility with Ruby 3.4


## 5.6.4 2025-01-14

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

* Fix Tokenizer to handle null source value (#1873) [Bahar Pourazar]
## 5.6.3 2025-01-13
* Remove `lru_redux` dependency [Michael Go]

## 5.6.2 2025-01-13

### Fixes
* Preserve the old behavior of requiring floats to start with a digit [Michael Go]

## 5.6.1 2025-01-13

### Performance improvements
* Faster Expression parser / Tokenizer with StringScanner [Michael Go]

## 5.6.0 2024-12-19

### Architectural changes
* Added new `Environment` class to manage configuration and state that was previously stored in `Template` [Ian Ker-Seymer]
* Moved tag registration from `Template` to `Environment` [Ian Ker-Seymer]
* Removed `StrainerFactory` in favor of `Environment`-based strainer creation [Ian Ker-Seymer]
* Consolidated standard tags into a new `Tags` module with `STANDARD_TAGS` constant [Ian Ker-Seymer]

### Performance improvements
* Optimized `Lexer` with a new `Lexer2` implementation using jump tables for faster tokenization, requires Ruby 3.4 [Ian Ker-Seymer]
* Improved variable rendering with specialized handling for different types [Michael Go]
* Reduced array allocations by using frozen empty constants [Michael Go]

### API changes
* Deprecated several `Template` class methods in favor of `Environment` methods [Ian Ker-Seymer]
* Added deprecation warnings system [Ian Ker-Seymer]
* Changed how filters and tags are registered to use Environment [Ian Ker-Seymer]

### Fixes
* Fixed table row handling of break interrupts [Alex Coco]
* Improved variable output handling for arrays [Ian Ker-Seymer]
* Fix Tokenizer to handle null source value (#1873) [Bahar Pourazar]

## 5.5.0 2024-03-21

Expand Down
2 changes: 1 addition & 1 deletion lib/liquid/version.rb
karreiro marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# frozen_string_literal: true

module Liquid
VERSION = "5.6.5"
VERSION = "5.7.0"
end
Loading