Altair-Bueno / axum-template

Layers, extractors and template engine wrappers for axum based Web MVC applications
https://crates.io/crates/axum-template
MIT License
78 stars 6 forks source link

build(deps): update minijinja requirement from 0.27.0 to 0.28.0 #19

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on minijinja to permit the latest version.

Changelog

Sourced from minijinja's changelog.

0.28.0

  • Added capitalize filter. (#163)
  • Added support for {% call %}. (#164)
  • Added support for {% do %}. (#167)
  • Improved testsuite to execute on wasm32-wasi.

0.27.0

  • Filters, tests and other functions can now be registered with a dynamically allocated name. (#146)
  • Added State::current_call which exposes the name of the currently called item. (#150)
  • Introduced revamped object model with SeqObject and StructObject. (#148)
  • Object now directly exposes downcast_ref and is.
  • Removed Value::as_slice
  • Introduced Value::as_seq and Value::as_struct.
  • Introduced Value::from_seq_object and Value::from_struct_object.
  • Added the ability for function arguments to be of type &dyn SeqObject.
  • Renamed Iter to ValueIter.
  • Added Environment::render_named_str. (#149)
  • Exposed string interning via the intern function.
  • Improved support for structs in built-in filters.
  • Added indent filter. (#151)
  • Added the map, select / selectattr and reject / rejectattr filters.
  • Added safe / escaped test.
  • Strings now have the same iteration behavior as in Jinja2. (#152)

Breaking Changes

  • The Object model changed significantly in this release. It's now possible for objects to have different shapes (structs or sequences today). As a result SeqObject and StructObject were added to the API. For changing your objects over have a look at the new documentation for Object.
  • The Iter type is now called ValueIter.

0.26.0

  • Changed Object::attributes to being an iterator. (#138)
  • Arc<T: Object> now implements Object. (#139)
  • Aligned semantics of top-level template code after extends with Jinja2. (#140)
  • Exposed value creation from Arcs. (#141)
  • Performance improvements for value conversions and object creation. (#142)
  • Align iteration behavior of dynamic objects with maps.

Breaking Changes

  • The attributes method on objects now returns iterators. To make the transition easy change [..] to Box::new([..].into_iter()).

... (truncated)

Commits
  • 0e6ac59 0.28.0
  • 3808644 Added publish-all script
  • d9ccb82 Added changelog entry for WASI
  • 6d1d86b Added link to playground to lib.rs
  • b58a16d Run tests on wasi32 (#168)
  • 6ddfbf5 Make tests compatible with wasi
  • 7add09b Added missing conditional compilation flag
  • 59053e6 Added changelog entry
  • b61fe72 Add do tag to allow calling functions/macros and not having output (#167)
  • ae35e0c Link to MiniJinja Playground
  • Additional commits viewable in compare view


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)