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.24 #87

Merged
merged 1 commit into from
Nov 2, 2022
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 17, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
minijinja dependencies minor 0.20 -> 0.24

Release Notes

mitsuhiko/minijinja

v0.24.0

Compare Source

  • Catch divisions by zero.
  • Correctly render inf floats.
  • Enforce a maximum recursion depth during parsing.
  • Added Value::try_iter to iterate over maps and sequences. (#​132)

v0.23.0

  • Added Value::from_function. (#​121)
  • Fixed incorrect location information with blocks.
  • Fixed broken nested super() calls.
  • Improve error reporting for failures in blocks and trying to
    super() when there is no parent block.
  • Performance improvements.
  • Added support for {% import %} / {% from .. import .. %}
    and {% macro %}. (#​123)
  • Added Value::is_kwargs which disambiugates if an object passed
    to a function or filter is a normal object or if it represents
    keyword arguments.
  • Added the ability to call functions stored on objects.
  • Added macros and multi-template features to disable some of
    the heavier pieces of MiniJinja.
  • Fixed an issue that caused trailing commas not to work in lists.

v0.22.1

  • Fixed an incorrect manifest for minijinja-autoreload.

v0.22.0

Compare Source

  • Add defined and undefined tests to always be included.
  • Removed Source::load_from_path.
  • Added Source::from_path.

Breaking Changes

  • Removed Source::load_from_path. Use Source::with_loader instead.

v0.21.0

Compare Source

  • Added custom autoescape settings.
  • Added custom formatters.
  • Restructured engine internals for greater clarity.
  • Added support for rendering to io::Write. (#​111)
  • Make it impossible to implement Fitler, Test or Function
    from outside the crate by sealed the traits. (#​113)
  • Added support for remaining arguments with Rest. (#​114)
  • Filters, tests and functions can now borrow arguments. (#​115)
  • Added Value::as_slice and Value::get_get_item_by_index.
  • Added support for span error reporting. (#​118)
  • Greatly improved handling of nested errors. (#​119)
  • ImpossibleOperation is now InvalidOperation.
  • Added support for slice syntax. (#​120)

Breaking Changes

  • Filter, Test and Function are now sealed traits.
  • ErrorKind::ImpossibleOperation is now ErrorKind::InvalidOperation.
  • Moved up MSRV to 1.61.0 due to bugs on older rust versions related to
    HRTBs.

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.

@renovate renovate bot force-pushed the renovate/minijinja-0.x branch 2 times, most recently from 9466e97 to 06dccbe Compare September 19, 2022 00:11
@renovate renovate bot changed the title Update Rust crate minijinja to 0.21 Update Rust crate minijinja to 0.22 Sep 19, 2022
@renovate renovate bot changed the title Update Rust crate minijinja to 0.22 Update Rust crate minijinja to 0.23 Sep 26, 2022
@renovate renovate bot changed the title Update Rust crate minijinja to 0.23 Update Rust crate minijinja to 0.24 Oct 23, 2022
@zdz zdz merged commit b204a27 into master Nov 2, 2022
@renovate renovate bot deleted the renovate/minijinja-0.x branch November 2, 2022 15:09
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