-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
chore(deps): update rust crate handlebars to v4 #13090
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @epage (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Hmm, I can't reproduce the failure locally. |
62b041b
to
310292b
Compare
Oh,. overlooked its in mdman. Most changes are innocuous but something about hour templates for CLI arguments is broken. |
310292b
to
a7aac4f
Compare
test(mdman): Switch to snapbox Working with #13090 is the motivation Benefits - We use it elsewhere - We don't have to bake in our own snapshotting solution - It is more obvious how to update the snapshots
a7aac4f
to
637c8a9
Compare
Close in favor of #13162 to track the update. |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
3.5.5
->4.5.0
Release Notes
sunng87/handlebars-rust (handlebars)
v4.5.0
Compare Source
v4.4.0
Compare Source
v4.3.7
Compare Source
Result
inhandlebars_helper
macro [#578]v4.3.6
Compare Source
[Fixed] Loading template files with multiple extensions, a bug introduced in 4.3.0 when refactoring directory source.
v4.3.5
Compare Source
v4.3.4
Compare Source
write_fmt
function forOutput
[#522]reason()
method forTemplateError
to access underlying reason,this replaces original direct
.reason
access.TemplateError
'sreason
field is depreacted willbe removed in future.
v4.3.3
Compare Source
{{~> partial}}
tobring behavior closer in line with original javascript version. [#518]
[#520]
v4.3.2
Compare Source
Context
for customstd::io::Write
:render_with_context_to_write
andrender_template_with_context_to_write
v4.3.1
Compare Source
{{~{variable}~}}
syntax [#509]v4.3.0
Compare Source
{{> partial}}
, which is introduced in 4.2.0. The new implementation isaligned with original javascript version, that every text line
generated from partial are indented as
{{> partial}}
does.
prevent_indent
will turn-off this feature. [#505]thiserror
v4.2.2
Compare Source
v4.2.1
Compare Source
@partial-block
referencing issue [#488]rust-embed
featurev4.2.0
Compare Source
{{> partial}}
as default in handlebarsjs. A new optionprevent_indent
is provided on
Handlebars
to turn off this behaviour. [#486]v4.1.6
Compare Source
Context
from ownedserde_json::Value
[#477]v4.1.5
Compare Source
v4.1.4
Compare Source
v4.1.3
Compare Source
@last
variable foreach
block with object [#466]v4.1.2
Compare Source
handlebars_helper!
.Engine
from registry.dev_mode
that it has to be enabled beforeadding templates.
v4.1.1
Compare Source
v4.1.0
Compare Source
StringOutput
as requested in #442handlebars_helper!
andbuilt-in helpers based on it.
aligned with handlebarsjs. #448
v4.0.1
Compare Source
v4.0.0
Compare Source
dev_mode
for registry: templates and scripts loaded from file are alwaysreloaded when dev mode enabled [#395]
Clone
[#395]len
[#421]rhai
to 0.19 and then 0.20 [#391]#each
helper now renders else block for non-iterable data [#380]TemplateError
andScriptError
is now a cause ofRenderError
[#395]RenderContext::get_partial
now returnsOption<&Template>
HtmlExpression
andIoError
based on clippy recommendations [#424]call_inner
fromHelperDef
to avoid misleading [#437]null
,true
andfalse
were parsed incorrectly [#382]@partial-block
[#401]Zero-arity subexpression no longer resolved as variable. The behaviour is now aligned with handlebarsjs.
For instance,
{{(parent)}}
can no longer accessparent
field of the context object, use{{lookup this "parent"}}
instead. This change applies to partial inclusion, too.TemplateFileError
andTemplateRenderError
are removed and merged intoTemplateError
andRenderError
[#395]Configuration
📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.