Repository navigation
Update Rust crate minijinja to v3.0.5 - #73
Conversation
eda553c to
1be6c25
Compare
🚫 Left the queue6 min in the queue, with no time running CI. So far
Reason The pull request conflicts with Conflicting file: The pull request was held in the queue, conflicting with 1 pull request ahead of it. The conflict became a base branch one after #74 merged. Hint You should update or rebase your pull request. A pull request queued by a rule comes back to the queue once updated, as long as the rule still matches. If it was queued with a command, post a new Requeued — the merge queue status continues in this comment ↓. Times in UTC · dashboard · how the merge queue works |
1be6c25 to
2937699
Compare
✅ Merged into
|
| Condition | Required by | |
|---|---|---|
| ✅ | #approved-reviews-by >= 1 |
— |
| ✅ | github-review-approved |
GitHub repository ruleset rule main |
The batch, tested on draft #76
| Condition | Required by | |
|---|---|---|
| ✅ | any of: check-success = @github-actions/Test, check-neutral = @github-actions/Test, check-skipped = @github-actions/Test |
GitHub repository ruleset rule main |
Times in UTC · dashboard · how the merge queue works
This PR contains the following updates:
3.0.4→3.0.5Release Notes
mitsuhiko/minijinja (minijinja)
v3.0.5Compare Source
batchorslicefilters. Filters likelist,sort,reverse,map,sliceandbatchas well as slicing and concatenating sequences now cap how much they preallocate, so[1, 2]|batch(4611686018427387904)is[[1, 2]]instead of failing with "capacity overflow". #4831234567.5printed as1.2345675e+06. Like in Rust, a float now prints as its shortest exact decimal without an exponent, so1234567.5is1234567.5and1e20is100000000000000000000.0. Inside lists and maps, exponent notation is only used below1e-4and from1e16up, written like1e20and1e-5. NaN now prints asNaN, and infinity inside a list asinfinstead of+Inf. #984%sin theformatfilter formatting floats with%grules, so"%s"|format(1234567.5)was1.23457e+06. Like in Python, floats are now formatted likestr()does:1234567.5,1e+16,1e-05ornan. The0,+and space flags are ignored for floats and strings with%s, like in Python. This applies to both Rust and Go. #984tojsonfilter in Go writing floats like integers. Like in Rust, a float stays a float in the output, so1.0|tojsonis1.0instead of1, large and small magnitudes use exponent notation (1.5e+16,2.5e-7) and infinity becomesnullinstead of an error. The same applies to values rendered with JSON auto-escaping. #983upper,lower,capitalize,titleandreplacefilters in Go ignoring values that are not strings. Like in Rust, the value and thereplacearguments are converted to strings first, so1.5|replace(".", ",")is1,5andtrue|upperisTRUE, and a number passed toreplaceis no longer treated as an empty string. #985inoperator on iterables such asrange()in Go. Like in Rust,range(5)[:2]is now[0, 1]instead of failing with "cannot slice iterator", and3 in range(5)istrueinstead offalse. Slicingnoneor undefined gives an empty list like in Rust. Iterables now also print, compare, serialize withtojsonandpprintlike lists, sorange(2) == [0, 1]istrueand[range(2)]prints as[[0, 1]]instead of[<iterator>]. Theinoperator now also works on custom sequence, iterable and map objects. #986nonein Go not being treated as an empty sequence by thesort,unique,select,reject,map,groupby,joinandurlencodefilters and theiterabletest. Like in Rust,none|sortis now[]andnone|joinis an empty string instead ofNone. #987odd,evenanddivisiblebytests in Go ignoring booleans, anddivisiblebyignoring a float divisor. Like in Rust, booleans count as0and1, sotrue is oddis true, and6.5 is divisibleby(0.5)is true. #988str.formatinpycompatcutting floats to six significant digits when no precision is given. Like in Python, such floats are now formatted likestr()does, so'{}'.format(3.14159265)is3.14159265,'{}'.format(1234567.0)is1234567.0instead of1.23457e+06and'{}'.format(0.0)is0.0instead of0. #991trimfilter in Go ignoring values that are not strings and only stripping ASCII spaces, tabs and newlines by default. Like in Rust,5|trim|lengthis now1, and Unicode whitespace such as a non-breaking space is stripped. #989sort,unique,select,reject,selectattr,rejectattr,map,batchandgroupbyfilters in Go, andnonebybatch,selectattrandrejectattr. Like in Rust,undefined|sortis now[]with lenient undefined behavior, while strict and semi-strict undefined behavior still fail except forjoinandgroupby. #990compile_expressionwhen the expression contains}}followed by more input, such as}} x. This is now a syntax error, like the same text inside a template. #992Configuration
📅 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.