Update Rust crate minijinja to 0.27 by renovate[bot] · Pull Request #121 · zdz/ServerStatus-Rust
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| minijinja | dependencies | minor | 0.26 -> 0.27 |
Release Notes
mitsuhiko/minijinja
v0.27.0
- Filters, tests and other functions can now be registered with a dynamically
allocated name. (#146) - Added
State::current_callwhich exposes the name of the currently called
item. (#150) - Introduced revamped object model with
SeqObjectandStructObject. (#148) Objectnow directly exposesdowncast_refandis.- Removed
Value::as_slice - Introduced
Value::as_seqandValue::as_struct. - Introduced
Value::from_seq_objectandValue::from_struct_object. - Added the ability for function arguments to be of type
&dyn SeqObject. - Renamed
ItertoValueIter. - Added
Environment::render_named_str. (#149) - Exposed string interning via the
internfunction. - Improved support for structs in built-in filters.
- Added
indentfilter. (#151) - Added the
map,select/selectattrandreject/rejectattrfilters. - Added
safe/escapedtest. - Strings now have the same iteration behavior as in Jinja2. (#152)
Breaking Changes
- The
Objectmodel changed signficantly in this release. It's now possible
for objects to have different shapes (structs or sequences today). As a result
SeqObjectandStructObjectwere added to the API. For changing your objects
over have a look at the new documentation forObject. - The
Itertype is now calledValueIter.
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.