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.31 #172

Merged
merged 1 commit into from
Apr 4, 2023
Merged

Update Rust crate minijinja to 0.31 #172

merged 1 commit into from
Apr 4, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 27, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
minijinja dependencies minor 0.30 -> 0.31

Release Notes

mitsuhiko/minijinja

v0.31.0

Compare Source

  • Changed the closure behavior of macros to match the one of Jinja2. (#​233)
  • Value::from_serializable will 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

Compare Source

  • Added testutils module. (#​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

Compare Source

  • Resolve bad closure being generated for do blocks. (#​219)
  • Add support for float number values in scientific notation. (#​220)

v0.30.5

Compare Source

  • Small performance improvements for when preserve_order is 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 u32 rather than
    usize for line and column offsets as a small speed improvement during
    compilation.
  • Performance improvements for the key interning.
  • Disabled key_interning by default.
  • Renamed features multi-template to multi_template and
    adjacent-loop-items to adjacent_loop_items. The old feature names will
    hang around until 1.x as legacy aliases.

v0.30.4

Compare Source

  • Restore compilation on 32bit targets. (#​207)

v0.30.3

Compare Source

  • Added the Jinja2 tests ==, !=, <, <=, >, >= and in for the
    use with select and reject. (#​205)
  • String rendering now uses fewer reallocations by setting an initial
    capacity based on the complexity of the template. (#​206)

v0.30.2

Compare Source

  • Fixed Python bindings not allowing to access dict keys prefixed with an
    underscore. (#​197)
  • Added min, max and sort filters. (#​199)

v0.30.1

Compare Source

  • Changed add_global to perform Into<Value> implicitly.
  • Added source_mut to retrieve a mutable reference to the source.
  • Improved Python bindings by adding support for template reloading, better
    documentation, error reporting.
  • Added pass_state to 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.

@zdz zdz merged commit 20ff3cb into master Apr 4, 2023
@renovate renovate bot deleted the renovate/minijinja-0.x branch April 4, 2023 15:58
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