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

Bump minijinja from 0.34.0 to 1.0.3 #303

Merged
merged 1 commit into from
Jul 3, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot Dependabot bot commented on behalf of github Jul 3, 2023

Bumps minijinja from 0.34.0 to 1.0.3.

Changelog

Sourced from minijinja's changelog.

1.0.3

  • Republished 1.0.2 with fixed docs.

1.0.2

  • Added TryFrom and ArgType for Arc<str>.
  • Added datetimeformat, dateformat, timeformat and now() to the contrib crate. (#309)

1.0.1

  • Fixed a bug that caused {% raw %} blocks to accidentally not skip the surrounding tags, causing {% raw %} and {% endraw %} to show up in output. (#307)

1.0.0

  • Support unicode sorting for filters when the unicode feature is enabled. This also fixes confusing behavior when mixed types were sorted. (#299)

  • Added json5 as file extension for JSON formatter.

  • The autoreload crate now supports fast reloading by just clearning the already templates. This is enabled via set_fast_reload on the Notifier.

Note: This also includes all the changes in the different 1.0.0 alphas.

Breaking Changes

1.0 includes a lot of changes that are breaking. However they should with some minor exceptions be rather trivial changes.

  • Environment::source, Environment::set_source and the Source type together with the source feature were removed. The replacement is the new loader feature which adds the add_template_owned and set_loader APIs. The functionality previously provided by Source::from_path is now available via path_loader.

    Old:

    let mut source = Source::with_loader(|name| ...);
    source.add_template("foo", "...").unwrap();
    let mut env = Environment::new();
    env.set_source(source);

    New:

... (truncated)

Commits

Dependabot compatibility score

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

@dependabot Dependabot bot requested a review from msrd0 July 3, 2023 04:09
@msrd0
Copy link
Owner

msrd0 commented Jul 3, 2023

@dependabot rebase

Bumps [minijinja](https://github.com/mitsuhiko/minijinja) from 0.34.0 to 1.0.3.
- [Changelog](https://github.com/mitsuhiko/minijinja/blob/main/CHANGELOG.md)
- [Commits](mitsuhiko/minijinja@0.34.0...1.0.3)

---
updated-dependencies:
- dependency-name: minijinja
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot Dependabot bot force-pushed the dependabot/cargo/minijinja-1.0.3 branch from f7191db to 689b881 Compare July 3, 2023 16:33
@msrd0 msrd0 merged commit f68412c into main Jul 3, 2023
4 checks passed
@msrd0 msrd0 deleted the dependabot/cargo/minijinja-1.0.3 branch July 3, 2023 18:15
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.

1 participant