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

Fix regression in Convertible module from v4.2.0 #8786

Merged
merged 2 commits into from Aug 29, 2021

Conversation

ashmaroli
Copy link
Member

  • This is a 🐛 bug fix.
  • I've added tests.

Summary

Reverts a change intended to optimize allocations of Hash objects from Convertible#to_liquid in v4.2.0.
Adds a Cucumber scenario to reproduce the regression with current master or Jekyll 4.2.0

Context

Ref: #6467 (comment) by @pdmosses

Backport this to 4.2-stable and include in v4.2.1 ?

@DirtyF DirtyF added the fix label Aug 25, 2021
Copy link
Member

@mattr- mattr- left a comment

Choose a reason for hiding this comment

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

Looks good to me.

I also agree with a backport to the 4.2 branch.

Copy link
Member

@DirtyF DirtyF left a comment

Choose a reason for hiding this comment

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

Thanks for adding a test 🙏

@ashmaroli
Copy link
Member Author

@jekyllbot: merge +fix

@jekyllbot jekyllbot merged commit eca4504 into jekyll:master Aug 29, 2021
@jekyllbot jekyllbot added the bug label Aug 29, 2021
jekyllbot added a commit that referenced this pull request Aug 29, 2021
@ashmaroli ashmaroli deleted the fix-v4.2.0-regression branch August 29, 2021 07:23
github-actions bot pushed a commit that referenced this pull request Aug 29, 2021
Ashwin Maroli: Fix regression in Convertible module from v4.2.0  (#8786)

Merge pull request 8786
ashmaroli added a commit to ashmaroli/jekyll that referenced this pull request Aug 29, 2021
Fix regression in Convertible module from v4.2.0
This backports eca4504 to 4.2-stable
ashmaroli added a commit that referenced this pull request Sep 16, 2021
Fix regression in Convertible module from v4.2.0
This backports eca4504 to 4.2-stable
@jekyll jekyll locked and limited conversation to collaborators Aug 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants