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 askama from 0.10.5 to 0.11.0 in /enums #735

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 27, 2021

Bumps askama from 0.10.5 to 0.11.0.

Release notes

Sourced from askama's releases.

0.11.0

After almost 18 months of development, I'm happy to finally announce the 0.11.0 release of Askama, the type-safe, compiled Jinja-like template engine for Rust. Importantly, during this release cycles two new members joined the Askama team (consisting of just @​djc at the start of this release): @​vallentin and @​Kijewski, who both contributed many well-designed improvements to this release. Contributors added integrations for the Axum and Tide web frameworks to our existing set of integrations for Rocket, Actix-Web, Warp and Gotham.

Perhaps the most visible change in this release is the redefined Template trait which now has a DynTemplate counterpart rather than the SizedTemplate used in the previous release (see #579). That said, the template language itself has grown a number of helpful features (as detailed below), while the code generator can now avoid many compilation issues due to better heuristics. We also improved whitespace handling to be more correct, and made several dependencies optional such that using default-features = false on any of the Askama crates should minimize dependencies if so desired.

Changes:

  • Use a separate trait for object safety (#579)
  • Allow whitespace in expressions (#327, thanks to @​cipriancraciun)
  • Add support for shadowing variables (#411)
  • Change extension values to ignore common Jinja extensions (#458)
  • Disable default features for askama_shared in askama_derive (#344, thanks to @​JohnTitor)
  • Disable Askama's default features in integration crates (#409, thanks to @​Randati)
  • Upgrade to nom 7 (#530; nom 6 was done in #372)
  • Improve error messages using cuts (#513)
  • Improve error messages using compile_error!() (#373, thanks to @​msrd0 for improving this in #374)
  • Allow paths to start with :: (#393)
  • Improve template loop generation (#401)
  • Remove implicit borrowing of literals, calls and more (#423)
  • Pass all-uppercase variables through as constants (#433)
  • Enable no_std support in askama_escape (#436, thanks to @​Nemo157)
  • Use raw identifiers for identifiers which collide with Rust keywords (#476, thanks to @​SciStarter)
  • Rework implicit borrowing to be more relaxed (#396, thanks to @​msrd0 for adding tests in #379)
  • Improve if-statement generation to avoid issues with implicit borrows (#392)

Bug fixes:

  • Fix whitespace issues in match blocks (#399)
  • Fix path parser to account for single identifier type names (#453)
  • Fix support for raw method identifiers (#548, thanks to @​kellytk)
  • Fix code generation for macro calls that store args in variables (#499, thanks to @​rfk)
  • Fix loop generation when accessing field (#500)
  • Fix whitespace handling in if-blocks (#394)
  • Fix implicit borrow of expressions (#390)
  • Avoid hanging the build due to template recursion (#539, thanks to @​grv07)
  • Avoid parsing non-template attributes (#549)

Template language:

  • Implement nested tuple destructuring in let and for (#506)
  • Implement struct destructuring in let and for (#509)
  • Add support for loop.cycle() expressions (#517)
  • Add support for for-else blocks (#518)
  • Add support for break and continue blocks (#519)
  • Allow whitespace trimming in raw blocks (#546)
  • Add set alias for let blocks (#402)
  • Add support for parsing nested comments (#408)
  • Fix parsing precedence and associativity (#391, #426)

Filters:

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

Bumps [askama](https://github.com/djc/askama) from 0.10.5 to 0.11.0.
- [Release notes](https://github.com/djc/askama/releases)
- [Commits](https://github.com/djc/askama/commits/0.11.0)

---
updated-dependencies:
- dependency-name: askama
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 27, 2021
@codecov-commenter
Copy link

codecov-commenter commented Dec 27, 2021

Codecov Report

Merging #735 (cb75d52) into master (f9c1454) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #735   +/-   ##
=======================================
  Coverage   37.95%   37.95%           
=======================================
  Files          51       51           
  Lines        6549     6549           
  Branches      963      963           
=======================================
  Hits         2486     2486           
  Misses       3403     3403           
  Partials      660      660           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9c1454...cb75d52. Read the comment docs.

@marco-c marco-c merged commit 8f953f7 into master Jan 10, 2022
@marco-c marco-c deleted the dependabot/cargo/enums/askama-0.11.0 branch January 10, 2022 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants