Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate minijinja to 0.27 #121

Merged
merged 1 commit into from
Dec 31, 2022
Merged

Update Rust crate minijinja to 0.27 #121

merged 1 commit into from
Dec 31, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2022

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.

@zdz zdz merged commit c000c76 into master Dec 31, 2022
@renovate renovate bot deleted the renovate/minijinja-0.x branch December 31, 2022 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant