Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 3, 2025

This PR contains the following updates:

Package Type Update Change
minijinja dependencies minor =2.7.0 -> =2.8.0

Release Notes

mitsuhiko/minijinja (minijinja)

v2.8.0

Compare Source

  • Added SemiStrict undefined mode that is like strict but allows
    to be checked for truthiness. Additionally an if expression without
    an else block will always produce a silent undefined object that
    never errors for compatibility with Jinja2. #​687
  • Make the trait bounds of ViaDeserialize stricter. Now the type
    can only be constructed if the type implements DeserializeOwned.
    This is not a new requirement for passing the function to
    add_function but bad code will now error earlier for better
    error reporting. #​689
  • Raise MSRV to 1.70.
  • The contrib crate now uses a basic xorrand implementation instead
    of depending on all of the rand module. #​696
  • Added temps, a way to stash away temporary state during rendering. #​697
  • Fixed a bug that caused the random functions in the contrib crate
    to not advance the RNG between calls. #​698
  • Added Environment.undeclared_variables_in_template and
    Environnent.undeclared_variables_in_str to Python binding. #​699
  • Enable loop_controls for Python in-line with the CLI. #​704
  • Fixed a panic when comparing plain objects. #​705
  • Added Object::custom_cmp to allow objects to influence how they
    compare against themselves. This also fixes Python objects in the
    Python binding not to compare correctly. #​707
  • Fixed a bug where undeclared_variables would incorrectly handle
    variables referenced by macros. #​714
  • Fixed a deadlock in the Python binding when multiple threads were
    rendering from the same environment at once. #​717
  • The Python bindings handle __bool__ correctly now for custom
    objects in if-conditions and filters. #​719
  • Fixed a bug where }} caused a syntax error in expressions with
    open parentheses, braces or brackets. #​723
  • Added State::known_variables to return a list of known variables
    and Environment::globals. #​724
  • Fixed an issue with undeclared variables not handling caller. #​725
  • Removed unnecessary Filters and Tests traits. They remain as
    hidden aliases to Function. #​726
  • Fixed a bug that caused implicit string concatenation to not correctly
    handle escapes. #​728
  • Implemented constant folding in the code generator. #​731
  • Improved error reporting for bad loop recursion calls. #​734
  • The engine now uses smaller integers to represent columns, line numbers
    and addresses. This cuts down on the memory usage needed for debug
    information. #​735
  • Added load_from_path to python. #​736
  • Added JavaScript bindings. #​737

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 was generated by Mend Renovate. View the repository job log.

@Turbo87 Turbo87 merged commit 7f576ad into main Mar 3, 2025
10 checks passed
@Turbo87 Turbo87 deleted the renovate/minijinja-2.x branch March 3, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants