Update Rust crate minijinja to 0.31 by renovate[bot] · Pull Request #172 · zdz/ServerStatus-Rust
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| minijinja | dependencies | minor | 0.30 -> 0.31 |
Release Notes
mitsuhiko/minijinja
v0.31.0
- Changed the closure behavior of macros to match the one of Jinja2. (#233)
Value::from_serializablewill no longer panic on invalid values. Instead
the error is deferred to runtime which makes working with objects possible
that are only partially valid for the runtime environment. (#234)
v0.30.7
- Added
testutilsmodule. (#221) - Make it more obvious that serde flatten sometimes does not work. (#223)
- Added configurable "undefined" value behavior. (#227)
- Make
render!()reuse the hidden environment.
v0.30.6
- Resolve bad closure being generated for
doblocks. (#219) - Add support for float number values in scientific notation. (#220)
v0.30.5
- Small performance improvements for when
preserve_orderis used by
passing known capacities to the constructor. - Minor performance improvements to the VM by giving the stack an initial
capacity. - Change the internal representation of spans to use
u32rather than
usizefor line and column offsets as a small speed improvement during
compilation. - Performance improvements for the key interning.
- Disabled
key_interningby default. - Renamed features
multi-templatetomulti_templateand
adjacent-loop-itemstoadjacent_loop_items. The old feature names will
hang around until 1.x as legacy aliases.
v0.30.4
- Restore compilation on 32bit targets. (#207)
v0.30.3
- Added the Jinja2 tests
==,!=,<,<=,>,>=andinfor the
use withselectandreject. (#205) - String rendering now uses fewer reallocations by setting an initial
capacity based on the complexity of the template. (#206)
v0.30.2
- Fixed Python bindings not allowing to access dict keys prefixed with an
underscore. (#197) - Added
min,maxandsortfilters. (#199)
v0.30.1
- Changed
add_globalto performInto<Value>implicitly. - Added
source_mutto retrieve a mutable reference to the source. - Improved Python bindings by adding support for template reloading, better
documentation, error reporting. - Added
pass_stateto the Python binding.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
- If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.