Update Rust crate minijinja to 0.27 by renovate[bot] · Pull Request #121 · zdz/ServerStatus-Rust

Mend Renovate

This PR contains the following updates:

Package Type Update Change
minijinja dependencies minor 0.26 -> 0.27

Release Notes

mitsuhiko/minijinja

v0.27.0

Compare Source

  • Filters, tests and other functions can now be registered with a dynamically
    allocated name. (#​146)
  • Added State::current_call which exposes the name of the currently called
    item. (#​150)
  • Introduced revamped object model with SeqObject and StructObject. (#​148)
  • Object now directly exposes downcast_ref and is.
  • Removed Value::as_slice
  • Introduced Value::as_seq and Value::as_struct.
  • Introduced Value::from_seq_object and Value::from_struct_object.
  • Added the ability for function arguments to be of type &dyn SeqObject.
  • Renamed Iter to ValueIter.
  • Added Environment::render_named_str. (#​149)
  • Exposed string interning via the intern function.
  • Improved support for structs in built-in filters.
  • Added indent filter. (#​151)
  • Added the map, select / selectattr and reject / rejectattr filters.
  • Added safe / escaped test.
  • Strings now have the same iteration behavior as in Jinja2. (#​152)

Breaking Changes

  • The Object model changed signficantly in this release. It's now possible
    for objects to have different shapes (structs or sequences today). As a result
    SeqObject and StructObject were added to the API. For changing your objects
    over have a look at the new documentation for Object.
  • The Iter type is now called ValueIter.

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.