Minijinja

Latest version: v2.7.0

Safety actively analyzes 702116 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 15

0.33.0

- Hide accidentally exposed `Syntax::compile` method.
- Added `undeclared_variables` methods to `Template` and `Expression`. (250)

0.32.1

- Fixed an issue with autoreload not working properly on windows. (249)

0.32.0

- Added `Value::is_number`. (240)
- `TryFrom` for `Value` now converts integers to `f32` and `f64`.
- Added the new `custom_syntax` feature which allows custom delimiters
to be configured. (245)
- Added `Kwargs` abstraction to easier handle keyword arguments.
- Fixed an issue that `Option<T>` was incorrectly picking up `none`
for undefined values.
- The `sort` filter now accepts `reverse`, `attribute` and `case_sensitive`
by keyword argument and sorts case insensitive by default.
- The `dictsort` filter now supports reversing, by value sorting,
and is sorting case insensitive by default.

0.31.1

- The `in` operator now does not fail if the value is undefined and the
undefined behavior is not strict. (235)
- The Python binding now supports finalizers. (238)

0.31.0

- 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)

0.30.7

- 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.

Page 8 of 15

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.