Fixed a bug that caused cycle detection to trigger incorrectly when an included
template extended from another template. #538
Bumped the minimum version of self_cell to 1.0.4. #540
MiniJinja will now warn if the serde feature is disabled. This is in
anticipation of removing the serde dependency in the future. #541
Improved an edge case with State::resolve. It now can resolve the
initial template context in macro calls even if no closure has been
created. #542
2.0.3
Added new methods to pycompat: str.endswith, str.rfind,
str.isalnum, str.isalpha, str.isascii, str.isdigit,
str.isnumeric, str.join, str.startswith. #522
Added the missing tests boolean, divisibleby, lower and upper. #592
minijinja-cli now supports YAML aliases and merge keys. #531
2.0.2
Implemented sequence (+ some iterator) and string repeating with the *
operator to match Jinja2 behavior. #519
Added the new minijinja::pycompat module which allows one to register
an unknown method callback that provides most built-in Python methods.
This makes things such as dict.keys work. Also adds a new
--py-compat flag to minijinja-cli that enables it. This improves
the compatibility with Python based templates. #521
Added a new |split filter that works like the .split method in Python. #517
2.0.1
Fixed an issue that caused custom delimiters to not work in the Python
binding. #506
2.0.0
This is a major update to MiniJinja that changes a lot of core internals and
cleans up some APIs. In particular it resolves somes limitations in the engine
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps minijinja from 1.0.21 to 2.1.1.
Release notes
Sourced from minijinja's releases.
... (truncated)
Changelog
Sourced from minijinja's changelog.
... (truncated)
Commits
1392491
2.1.17150610
Added changelog entry04129f4
Align |int filter with Jinja2 (#550)a66801f
Enable more minijinja-contrib features in the CLI (#549)06a1aed
Implemented &Object and Arc<Object> as ArgType (#548)9307a41
Fix some doc warnings506e51b
Add randomness to contrib (#547)637b85e
Removed redundant feature attributes3a85fa9
Improve tojson docsa9a3ea2
Implement indent parameter for tojson (#546)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show