Repository navigation
Update Rust crate minijinja to v3.1.0 - #83
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.5→3.1.0Release Notes
mitsuhiko/minijinja (minijinja)
v3.1.0Compare Source
This release adds output spans and memory limits through fuel, and fixes many
differences to Jinja2 in both Rust and Go. Fuel now also accounts for memory and
work done in filters and operators, so templates consume more fuel than before and
fuel budgets might need adjusting. In Go, maps created by templates now keep the
type of their keys and their insertion order;
Value.Rawreturns a*value.Mapfor them and
Value.AsMapreturns a copy with keys converted to strings.State::consume_fuelin Rust andState.ConsumeFuelin Go so that custom filters and functions can charge fuel. #483Template::render_with_spansin Rust andTemplate.RenderWithSpansin Go to map rendered output back to the template source. #1004countargument to thereplacefilter for Jinja2 compatibility in Rust. #1013minijinja-contribnow fall back to jiff's bundled time zone database for names missing from the system database. #10080and1in Rust and Go.maxandgroupbyreturning the last of multiple equal items instead of the first for Jinja2 compatibility in Rust and Go.~and+double escaping safe strings or not escaping unsafe ones when combining them with auto escaping enabled in Rust and Go.first,last,length,count,items,reverse,joinandgroupbyhandlingnoneand undefined values differently from Jinja2 in Rust and Go.upper,lower,capitalizeandtitlefilters in Rust and Go.reverseandlastnot reversing maps and other reversible iterables.lastnow also works on maps.2**127and2**128, negating the smallest 128-bit integer anddivisiblebywith a zero divisor in Rust and Go.evenandoddtests for big integers and floats with an integer value.super()panicking at the top level of an included template andloop(...)misbehaving in included templates, blocks and macros.split(none, n)returning trailing whitespace as an extra item.{{ ... }}now point to the whole expression.titlefilter.value.Maptype gives access to such maps;Value.AsMapconverts their keys to strings.tojson, theint,floatandroundfilters and theeven,oddandintegertests.==no longer rounds integers to floats.caller,super(),loop(x), macro auto escaping, blocks of included templates, the template reported for code in blocks and macros and filter chains in{% filter %}blocks to behave like in Rust.string,safe,sumandindentfilters accepting undefined values with strict undefined behavior.batch,slice,length,first,last,abs,items,split,attrand others) silently accepting invalid values or arguments instead of failing like in Rust.inon strings,+on iterables,chainresults,groupbygroups, namespaces, unsigned 64-bit integers and float literals such as1e400to behave like in Rust.Configuration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 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 was generated by Mend Renovate. View the repository job log.