Skip to content

v0.13.0 – Rinja is Askama, again!

Latest
Compare
Choose a tag to compare
@Kijewski Kijewski released this 27 Mar 16:28
· 6 commits to master since this release

With this release, the fork rinja got merged back into the main project. Please have a look at our blog post for more information about the split and the merge.

What's Changed

This release (v0.13.0), when compared to the last stable askama release (v0.12.1), consists of:

  • over 1000 commits
  • with changes in over 500 files
  • with over 40k additions and 8000 deletions

Compared to rinja v0.3.5

Major added and improved features:

More added and improved features:

Removed features:

  • Remove EXTENSION constant from Template by @Kijewski in #252
  • parser: remove obsolete parser fuzzing by @Kijewski in #261
  • Remove integrations and MIME_TYPE guessing by @Kijewski in #271
  • parser: deny all rust keywords as target names and add gen to keywords by @Kijewski in #294

Performance:

  • Omit fmt::Formatter machinery in URL encoding by @Kijewski in #218
  • filters: don't collect into intermediate String if we can help it by @Kijewski in #235
  • parser: use built-in whitespace trimming by @Kijewski in #238
  • derive: some clean-ups and optimizations by @Kijewski in #260
  • parser: shrink the size of WithSpan to one register by @Kijewski in #257
  • derive: less format!(), shorter context on error by @Kijewski in #276
  • Speed-up HTML escaping a bit by @Kijewski in #301
  • Remove intermediate allocations for error messages by @Kijewski in #322
  • derive: some optimizations by @Kijewski in #338
  • Allow parallel compilation of serde and serde_derive by @Kijewski in #343

Safety and correctness:

Documentation, our book, and examples:

Testing:

Migrate to from nom to winnow

  • Migrate to from Nom 7 to Winnow 0.3 by @epage in #209
  • Upgrade from Winnow 0.3 to 0.4 by @epage in #210
  • refactor(parser): Clean up prep for 0.5 by @epage in #213
  • refactor(parser): Clean up prep for 0.5 by @epage in #226
  • refactor(parser): Move off of deprecated re-export by @epage in #234
  • refactor(parser): Remove redundant closure by @epage in #242
  • refactor(parser): Be explicit about input state by @epage in #275
  • Upgrade from Winnow 0.4 to 0.5 by @epage in #214
  • refactor(parser): Upgrade to Winnow 0.6 by @epage in #291
  • chore: Upgrade to Winnow 0.7 by @epage in #330

Refactoring, error messages, and changes invisible to the user:

New Contributors

Full Changelog: v0.3.5...v0.13.0