Skip to content

Commit dc0a3fa

Browse files
chore(deps): Bump minijinja from 2.17.1 to 2.18.0 (#2273)
Bumps [minijinja](https://github.com/mitsuhiko/minijinja) from 2.17.1 to 2.18.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mitsuhiko/minijinja/blob/main/CHANGELOG.md">minijinja's changelog</a>.</em></p> <blockquote> <h2>2.18.0</h2> <ul> <li>Added keyword argument support (<code>width</code>, <code>first</code>, <code>blank</code>) to the <code>indent</code> filter for Jinja2 compatibility in Rust and Go. <a href="https://redirect.github.com/mitsuhiko/minijinja/issues/864">#864</a></li> <li>Added support for dotted integer lookup (for example <code>foo.0</code>) in Rust and Go for Jinja compatibility. <a href="https://redirect.github.com/mitsuhiko/minijinja/issues/881">#881</a></li> <li>Added support for dotted filter and test names (including <code>foo . bar . baz</code>) for Jinja compatibility. <a href="https://redirect.github.com/mitsuhiko/minijinja/issues/879">#879</a></li> <li>Fixed string escape handling to preserve unknown escapes (such as <code>\s</code>) for Jinja compatibility in Rust and Go. <a href="https://redirect.github.com/mitsuhiko/minijinja/issues/880">#880</a></li> <li>Improved generic performance across template parsing, compilation, and rendering.</li> <li>Fixed <code>minijinja-cabi</code> ownership and pointer-safety issues that could leak <code>mj_value</code> values on error paths.</li> <li>Added high-priority <code>minijinja-cabi</code> APIs for callback-based functions/filters/tests, globals, loaders, path joining, auto-escape configuration, and fuel limits.</li> <li>Switched <code>minijinja-cabi</code> header maintenance to manual source-based syncing and removed cbindgen-based generation tooling.</li> <li>Added lightweight C smoke tests for <code>minijinja-cabi</code> (via <code>make -C minijinja-cabi test</code>) with coverage across all exported C ABI functions, and wired them into top-level testing and CI.</li> <li>Added <code>render_captured</code> and <code>render_captured_to</code> methods on <code>Template</code> which return a <code>Captured</code> type holding the rendered output and the template state.</li> <li>Added <code>into_output</code> method on <code>Captured</code> to consume and return the output string.</li> <li>Deprecated <code>render_and_return_state</code>, <code>eval_to_state</code>, and <code>render_to_write</code> in favor of the new <code>render_captured</code> / <code>render_captured_to</code> / <code>Captured</code> API.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mitsuhiko/minijinja/commit/92f114d1fd62525b2b4dc1adb77ae1e83c1214a9"><code>92f114d</code></a> release 2.18.0</li> <li><a href="https://github.com/mitsuhiko/minijinja/commit/80d30a7526a0119981a1664fab8036b7e64c0d14"><code>80d30a7</code></a> refactor(vendor): prune unused self_cell API surface</li> <li><a href="https://github.com/mitsuhiko/minijinja/commit/50ce37a18ad368f22b4c40ff2b3355895ff58556"><code>50ce37a</code></a> fix: typos</li> <li><a href="https://github.com/mitsuhiko/minijinja/commit/24891e10c207846fa264c0f8eca930045bbb5fca"><code>24891e1</code></a> feat(filters): add kwargs support to indent filter for Jinja2 parity</li> <li><a href="https://github.com/mitsuhiko/minijinja/commit/4cca670f8a346832771d2a567f778b5dc4058156"><code>4cca670</code></a> refactor: deprecate render_to_write in favor of render_captured_to</li> <li><a href="https://github.com/mitsuhiko/minijinja/commit/ac88f8e619e0b7d5a4e23819ed5d2ebc046029c6"><code>ac88f8e</code></a> fix: correct typo render_capturedd_to -&gt; render_captured_to</li> <li><a href="https://github.com/mitsuhiko/minijinja/commit/710137b2626cfae81b1eb935ea4c9df2435c053d"><code>710137b</code></a> chore: remove dead_code allow and unused MutBorrow from vendored self_cell</li> <li><a href="https://github.com/mitsuhiko/minijinja/commit/39d00e61a9f7246b7015dcf655f11159cde1d8cd"><code>39d00e6</code></a> feat: Added new capture methods for state</li> <li><a href="https://github.com/mitsuhiko/minijinja/commit/42b0d089333363b8bd667ec99ab67ff7977ef6d4"><code>42b0d08</code></a> feat: vendor self_cell and make loader default</li> <li><a href="https://github.com/mitsuhiko/minijinja/commit/cc12ae0812b8d85dd5963cfa373971fb0b1ff6da"><code>cc12ae0</code></a> fix: make cabi compatible with older rustc</li> <li>Additional commits viewable in <a href="https://github.com/mitsuhiko/minijinja/compare/minijinja-go/v2.17.1...minijinja-go/v2.18.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=minijinja&package-manager=cargo&previous-version=2.17.1&new-version=2.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: blackmwk <liurenjie1024@outlook.com>
1 parent 2820d47 commit dc0a3fa

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 9 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)