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.28.0 to 0.29.0 #20

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

  • Resolve a runtime panic if {% extends %} appears in the template but never is executed.
  • Fixed recursion detection for macros.
  • Enforce a maximum size of 10000 items on the range output.
  • Added fuel tracking support.
  • Added none test. (#185)
  • Improved various issues with whitespace trimming. (#187)
  • Value::default now returns Undefined rather than None.
  • Added support for loop.previtem and loop.nextitem. (#188)

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

... (truncated)

Commits
  • ea29af1 0.29.0
  • 14e6e32 Implement previtem/nextitem for loops (#188)
  • 9647d66 Change Value::default to return Undefined
  • 125f2be Use the correct print function in the render-template example
  • a90695d Use the neat bool::then method
  • 0698727 Fixes bugs with the whitespace trimming behavior (#187)
  • e575f87 Change lexer snapshot format to show where spans point
  • 9871c28 Add minimal WASM example (#183)
  • 55d16e7 feat: Added none test (#185)
  • 1eeeddf Added missing doc string
  • 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)