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
Jekyll v5 Roadmap #9156
Comments
Since this is one of the few times where it's okay to introduce breaking changes, what do you think of biting the bullet and removing support for |
If by |
What about supporting Liquid 5's |
In my experience the name is not intuitive, why is it called I've helped people learn and work with Jekyll and this is always confusing. I'd keep it for backwards compatibility though, also for this reason. I'm not sure where |
May I add deprecating SafeYAML? I think Psych can provide same functionality #8772 |
I decided to rename The problem with exposing Unlocking Liquid v5 is definitely a desirable goal for Jekyll v5 from users' POV, but not a critical one, since there isn't much internal changes required to support it. The other entries in the roadmap have a significant effect on current architecture of Jekyll. |
I see the point for renaming Some suggestions:
Regardless, should we maybe move this discussion outside of the main roadmap thread to avoid cluttering this one? |
@yboulkaid I didn't choose
As of now, I'd rather not fragment the discussion thread. If it does get unmanageable, I'll open a dedicated ticket. P.S. I'm 👎 on the idea of aliasing a variable for every primitive type because it will only lead to more maintenance overhead. |
Is this about page or a new variable introduced in Liquid? If it is the former, I would suggest |
According to Liquids documentation, includes use If you do want to align things to an MVC perspective, it would be like this: layouts are None of the options are great though and can describe things without any drawbacks or confusion at this character length. |
Agreed. But if someone (regardless of familiarity with Jekyll) were to find, say |
Would that mean that there would no longer be special treatment for directories like
In Jekyll 4, we can't put the data I wouldn't mind |
@kslstn The idea behind having a common superclass for various Jekyll primitives is to use "inheritance" to provide a base of common functionality for desired types. Sort of like an implementation-detail, without affecting end-user experience. |
@y377 Jekyll is written using Ruby language. Ruby doesn't have stable built-in mechanism to use multiple cores. Additionally, before Jekyll can adopt true concurrency and parallelism, Ruby has to support the ability realiably across the major OS platforms: Ubuntu, macOS, Windows. |
@ashmaroli Just tried jruby-head, a bunch of errors, forget it, or honestly use ruby3.0 |
sourcemap default parameter is 'always', brought after the build in the mobile browser will appear unexpected errors, PC browser occasionally appear, I have carefully troubleshooting, only to find this parameter and value, I thought it was bootstrap, in addition, the development environment is now recommended to close the official version of the site, this point is a lot of Jekyll's novice do not know, so it is recommended that the default **off **, I also troubleshooting to find out!Or it is clearly marked in the official default configuration document of jekyll. This shutdown trick was not discovered through jekyll-sass-converter. |
Something that's weird about the {% comment %}
Regular usage
{% endcomment %}
{% include file.html param="quoted param" %}
{% comment %}
This doesn't work, it'll say there's no "variable" file inside _includes
{% endcomment %}
{% assign variable = "file.html" %}
{% include variable param="quoted param" %}
{% comment %}
This works, but looks weird
{% endcomment %}
{% assign variable = "file.html" %}
{% include {{ variable }} param="quoted param" %}
{% comment %}
This doesn't work
{% endcomment %}
{% assign variable = "file" %}
{% include {{ variable }}.html param="quoted param" %} Proposal:
{% include "file.html" param="quoted param" %}
{% assign variable = "file.html" %}
{% include variable param="quoted param" %}
{% assign variable = "file" | append: ".html" %}
{% include variable param="quoted param" %} I finished writing this and remembered Liquid 5 has the I remember there was some discussion about this here on Jekyll, probably related to |
|
Breaking Changes
Primary aim: Have as much consistent behavior to reduce interference from various moving parts.
Secondary aim: Reduce maintenance / development overhead by improving intuitiveness.
Ruby API
**kwargs
instead of positional parameters.StaticFile
subclass for static files in a collection.Liquid API
{{ page }}
to{{ view }}
.Build
Configuration
_collections
.collections
have to be a map of key-value pairs. Lists or anything else will ignored (or errored?).defaults
.Collections
_collections
.posts
collection.posts
collection.The text was updated successfully, but these errors were encountered: