Skip to content

Fix regression in Convertible module from v4.2.0 #8786

Merged
jekyllbot merged 2 commits intojekyll:masterfrom
ashmaroli:fix-v4.2.0-regression
Aug 29, 2021
Merged

Fix regression in Convertible module from v4.2.0 #8786
jekyllbot merged 2 commits intojekyll:masterfrom
ashmaroli:fix-v4.2.0-regression

Conversation

@ashmaroli
Copy link
Copy Markdown
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 ?

@ashmaroli ashmaroli requested review from DirtyF and mattr- August 25, 2021 07:03
@DirtyF DirtyF added the fix label Aug 25, 2021
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

4 participants