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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release post for v4.2.1 #8818

Merged
merged 4 commits into from
Sep 27, 2021
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
40 changes: 40 additions & 0 deletions docs/_posts/2021-09-22-jekyll-4-2-1-released.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: "Jekyll 4.2.1 Released"
date: 2021-09-22 18:45:46 +0530
author: ashmaroli
version: 4.2.1
category: release
---

Hello Jekyllers!

The Jekyll team is happy to announce the release of `v4.2.1` which fixes a couple of
regressions introduced in `v4.2.0` and another bug inherited from Jekyll 3.

In `v4.2.0`, we decided to stop overriding {% raw %}`{{ site.url }}`{% endraw %} with
the *localhost* address when running the command `jekyll serve` with the default
*development* mode. While the intent behind the change was to avoid forcing users to
generate a *production build* separately by invoking `jekyll build`, it however had an
unforeseen consequence — absolute URLs for assets now pointed to
resources that were at times not yet been deployed to the configured `site.url`. That
broke the users' local development workflow.

`v4.2.0` also added a series of optimizations surrounding the generation of Liquid
representation for a site's standalone pages and layouts. However, that prevented
{% raw %}`{{ page.content }}`{% endraw %} and other mutable attributes from reflecting the
latest state of the requested attribute, thereby breaking the render of all resources
that were dependent on such mutable attributes.

The last fix included in this release addresses the issue where incremental regeneration
ignored changes to documents in collections when the site is configured to use a custom
`collections_dir` for all collections.

Special thanks to @benik for helping us understand the regression caused by the decision
to stop overriding `site.url` and proposing to revert the change. Another special thanks
to @pdmosses for helping us discover the regression surrounding Liquid representation of
pages by providing with a test repository.

<div style="padding:8px 0 2px;text-align:center;background:rgba(240,0,0,0.1)">
:bouquet: <span style="margin:0 6px;font-size:0.75em;vertical-align:top">
Dedicated to our colleague Frank who passed away recently</span> :bouquet:
</div>