gotham-rs / gotham

A flexible web framework that promotes stability, safety, security and speed.
https://gotham.rs
Other
2.24k stars 125 forks source link

Update askama requirement from 0.11.0 to 0.12.0 #610

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on askama to permit the latest version.

Release notes

Sourced from askama's releases.

0.12.0

After 13 months of development, we're happy to announce the 0.12.0 release of Askama, the type safe, compiled Jinja-like template engine for Rust. For this release, @​Kijewski contributed most of the changes -- @​vallentin and @​djc are the other team members. This releases comes with integrations for Actix-Web 4, Axum 0.6, Gotham 0.7, hyper 0.14, Tide 0.16 and Warp 0.3. We removed our Iron integration, since this framework no longer seems to be actively maintained.

Features

  • Add markdown filter (#622, #641)
  • Add suppress_whitespace config option (#664, thanks to @​GuillaumeGomez)
  • Add minimize config for whitespace and add handling of ~ in the parser (#673, thanks to @​GuillaumeGomez)
  • Implement basic hyper integration (#706)
  • Determine Content-Type at compile time (#594)
  • Parse tuple expressions (#608)
  • Allow comments in {% match %} (#616)
  • Expose the fact that templates implement Display (#654)
  • Allow {% endmacro name %} (#681, thanks to @​Eijebong)
  • Enable tracking of the offending span of an error (#628)

Removed

  • Remove support for deprecated _parent field (#613)
  • Remove ext argument in integrations (#632)
  • Removed Iron integration (#595)

Fixes

  • Make capitalize filter Unicode-aware (#652, thanks to @​Kl4rry)
  • Fail to parse if keyword is not longest identifier (#742)
  • Fix invalid check (#678, thanks to @​GuillaumeGomez)
  • Fully qualify more paths in generated code (#601)
  • Make sure #[template] attribute is used exactly once (#603)
  • Fix json/yaml feature forwarding (#610, thanks to @​jannik4)
  • Remove panic!() in loop.cycle([]) (#617)

Documentation

Internal improvements

  • Unify handling of calls (#614)
  • Optimize parsing of ranges (#597)
  • Remove unneeded external dependencies (630)
  • Move all template creation into askama_shared (#647)
  • Implement std::error::Error::source() (#655)
  • Move features into derive crate (#662, thanks to @​genusistimelord)
  • Remove unsafe code from askama_escape (#665)
  • Expose features in integration crates (#688)
  • Add caching action to shrink CI times (#698, thanks to @​ludicast)

... (truncated)

Commits
  • 417cb92 Bump versions for Askama 0.12 (#784)
  • 4a7068d exchange hyper features From<Template> for hyper::Body with TryFrom
  • c9613ff Fix typos
  • 70c5784 Revert "derive: Make Config 'static"
  • 9f3325c Replace toml_edit with basic-toml
  • 32f0799 Add impl From<{Template}> for hyper::Body derive
  • c131154 Update comrak dependency to 0.16
  • 7b6f1df derive: refactor parser
  • 63b98ec Extends expects a string and nothing else
  • 071106d Use toml_edit instead of toml
  • 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)
codecov[bot] commented 1 year ago

Codecov Report

Merging #610 (3c07d7e) into main (7b2e5f9) will increase coverage by 0.04%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #610      +/-   ##
==========================================
+ Coverage   78.02%   78.07%   +0.04%     
==========================================
  Files          72       72              
  Lines        2048     2048              
==========================================
+ Hits         1598     1599       +1     
+ Misses        450      449       -1     
Impacted Files Coverage Δ
gotham/src/lib.rs 84.61% <0.00%> (+3.84%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more