Releases: rinja-rs/rinja
Releases · rinja-rs/rinja
v0.3.5
What's Changed
- derive: clean up and simplify filter generation by @Kijewski in #184
- Improve handling of
*
and&
operators in functions/methods arguments by @GuillaumeGomez in #189 - derive: remove
once_map
dependency by @Kijewski in #190 #197 - generator: better macro hygiene by @Kijewski in #192
- Add doctests to filters by @Wollaston in #187
- filters: remove
num-traits
by @Kijewski in #195 - Add
--feature full
by @Kijewski in #194 - filters: minor fixups by @Kijewski in #196
- Improve config delimiters characters check by @GuillaumeGomez in #180
- derive: in complex conditions, wrap terms in
as_bool()
by @Kijewski in #203 - derive: linearize recursive function by @Kijewski in #204
- Unify trait impl for reference wrapper types by @Kijewski in #200
- Bump version number to v0.3.5 by @Kijewski in #205
New Contributors
- @Wollaston made their first contribution in #187
Full Changelog: v0.3.4...v0.3.5
v0.3.4
What's Changed
- filters: escape arguments to
pluralize
at compile time by @Kijewski in #174 - Speed up writing into
io::Write
e.g.Vec<u8>
by @Kijewski in #175 - Add warning about slow
.to_string()
method by @Kijewski in #177 - Do not prepend rust macro calls with
&
by @GuillaumeGomez in #179
Full Changelog: v0.3.3...v0.3.4
v0.3.3
What's Changed
- derive: fix SPDX syntax by @Kijewski in #155
- book: suggest to disable html escaping in "templates in templates" section by @malteneuss in #156
- parser: debug output for
Syntax
/InnerSyntax
are swapped by @Kijewski in #159 - ci: fix a few typos and add check by @Kijewski in #160
- Fix clippy warning by @Kijewski in #162
- Improve error message for unclosed items by @GuillaumeGomez in #166
- parser: add optional
{% endwhen %}
by @Kijewski in #165 - parser: add context information for unknown tags by @Kijewski in #167
- parser: make
{#-#}
a syntax error by @Kijewski in #169 - Implement
pluralize
filter by @Kijewski in #170 - Fix invalid condition optimization by @GuillaumeGomez in #171
- Add more tests for
!
operator by @GuillaumeGomez in #172
Full Changelog: v0.3.2...v0.3.3
v0.3.2
What's Changed
- Fix invalid locals context drop by @GuillaumeGomez in #151
- parser: allow trailing comma in array expressions by @Kijewski in #153
- Fix locals handling by @GuillaumeGomez in #152
- Update crate version to 0.3.2 by @GuillaumeGomez in #154
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
- readme: add badges by @Kijewski in #110
- FastWritable data used in filters should be FastWritable by @Kijewski in #112
- derive: use fewer unwraps by @Kijewski in #111
- derive: understand extension
.rinja
+ don't panic if the extension is non-UTF-8 by @Kijewski in #116 - derive: allow split up template attributes by @Kijewski in #117
- parser: tell user proper keyword to end node by @Kijewski in #118
- readme: add reference to Rinja Playground by @Kijewski in #120
- Add missing
impl
s forAsIdent
+ fiximpl for Pin<?Sized>
by @Kijewski in #125 - Implement
FastWritable
for|json
by @Kijewski in #124 - Improve compile-time if conditions handling by @GuillaumeGomez in #126
- parser: reject closing delimiters that look like an operator by @Kijewski in #129
- parser: allow
match
nodes w/owhen
if there is anelse
by @Kijewski in #119 - book: fix typo in Template Syntax page by @m4tx in #133
- derive: no panics, less work, more compatibility by @Kijewski in #132
- ci: update and clean up by @Kijewski in #131
- Add support for
|
operator inwhen
by @GuillaumeGomez in #135 - Add documentation for
|
operator inwhen
by @GuillaumeGomez in #136 - derive: replace
ahash
withrustc-hash
by @Kijewski in #137 - Add support for b'a', b"a" and c"a" by @GuillaumeGomez in #140
- Move Syntax configuration and check into parser by @Kijewski in #141
- Re-add fuzzing by @Kijewski in #139
- derive: escape
int
,float
,bool
at compile time by @Kijewski in #142 - ci: run dependabot daily by @Kijewski in #143
- doc: use
feature(doc_cfg, doc_auto_cfg)
everywhere by @Kijewski in #144 - derive: allow supplying source in comment by @Kijewski in #127
- book: make sure that the ads are actually readable by @Kijewski in #146
- Bump version numbers for release v0.3.1 by @Kijewski in #148
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- Add newly added f16 and f128 types in parsing by @GuillaumeGomez in #82
- parser: better error msg for unknown number suffices by @Kijewski in #84
- Every used template gets referenced exactly once by @Kijewski in #87
- Implement
is (not) defined
feature by @GuillaumeGomez in #78 - Try not to use
fmt::Formatter
s by @Kijewski in #86 - derive: suppress
cfg(feature = "__standalone")
warnings by @Kijewski in #89 - Add handling of boolean literals to condition evaluation by @GuillaumeGomez in #91
- derive: escape strings at compile-time when possible by @Kijewski in #92
- Remove expansion chapter from rinja book by @GuillaumeGomez in #95
- Fix 404 page on readthedocs by @GuillaumeGomez in #97
- Implement operator
as
in template language by @Kijewski in #63 - parser: use
memchr
to speed-upskip_till()
by @Kijewski in #90 - Change the error message to make it start at the
as
keyword by @GuillaumeGomez in #99 - Speed-up HTML escaping a little bit by @Kijewski in #100
- derive: better use of spans and file information in error messages by @Kijewski in #102
- Clarify that rinja doesn't depend on askama but is a fork by @GuillaumeGomez in #105
- Add support for rest pattern by @GuillaumeGomez in #104
- derive: make sure that static CACHE is never dropped by @Kijewski in #108
- Bump version numbers to v0.3.0 by @Kijewski in #107
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Changed
- Better (post-parser) errors by @GuillaumeGomez in #1
- Remove fuzzing CI testsuite for now by @GuillaumeGomez in #2
- Fix block partial rendering by @GuillaumeGomez in #3
- Add versioned book on readthedocs.org by @Kijewski in #6
- Remove useless
indent
information fromBuffer
by @GuillaumeGomez in #4 - Fix up #6: add missing file by @Kijewski in #7
- Actually execute update-theme.py by @Kijewski in #8
- Fixup to #8: handle relative paths by @Kijewski in #9
- Add link to our book in README.md by @Kijewski in #10
- Generator: reduce amount of intermediate allocations by @Kijewski in #11
- Fix cfg using non-existing feature by @GuillaumeGomez in #5
- Don't capture
std::fmt::Error
inrinja::Error
by @Kijewski in #17 - doc: Remove "replace all" mishap by @Kijewski in #19
- Limit nested filters by @GuillaumeGomez in #20
- Only use explicit features by @Kijewski in #21
- Enable
feature(doc_auto_cfg)
and--generate-link-to-definition
by @Kijewski in #22 - Deny all rust keywords as macro names by @Kijewski in #23
- filter: add check against large input by @GuillaumeGomez in #25
- derive: add benchmark by @Kijewski in #14
- derive: add librustdoc benchmarks by @Kijewski in #26
- Remove duplicated code to detect Rust keywords/identifiers by @GuillaumeGomez in #24
- Update recursion ui error by @manunio in #27
- Improve error message in case too much nesting by @GuillaumeGomez in #29
- Use ISO 646 alternative operators for bit ops + proper error messages for spaces around the
|filter
operator by @Kijewski in #18 - Improve Level API a bit by @GuillaumeGomez in #31
- Fix links in the book by @GuillaumeGomez in #34
- Make JSON prettifying optional by @Kijewski in #32
- Add support for
..
in let pattern matching for structs (alternative take) by @Kijewski in #36 - Prevent jinja macros to move variables by @GuillaumeGomez in #38
- Allow to use
*
and&
in expressions by @GuillaumeGomez in #39 - Favor methods over closure fields by @GuillaumeGomez in #37
- Rename
as_ref
filter intoref
by @GuillaumeGomez in #40 strip_common
test was failing by @softdevca in #44- Prevent jinja
let
to move variables by @GuillaumeGomez in #43 - Generate better errors for top level nodes by @GuillaumeGomez in #42
- Add
.rustfmt.toml
configuration by @Kijewski in #45 - Remove a
#[allow(clippy::match_wild_err_arm)]
and dedup error message creation by @Kijewski in #46 - derive: Refactor a few types (less cloning, more re-usability) by @Kijewski in #50
- Add example app by @Kijewski in #52
- Remove
rinja_escape
and make|escape
a "normal" filter by @Kijewski in #53 - Speed-up HTML escaping by using equal sized entities by @Kijewski in #55
- Add HTML safe types by @Kijewski in #54
- Reset all version numbers to 0.2.0 by @Kijewski in #57
- Fix big oof in the book :) by @Kijewski in #56
- Remove links to discord server by @GuillaumeGomez in #58
- Move
#[derive(Template)]
comment to the macro itself by @Kijewski in #60 - Cache parsing templates by @Kijewski in #59
- phf should be a dev dependency by @softdevca in #66
- Remove quick_cache dependency by @softdevca in #65
- Run
typos
to fix typos by @Kijewski in #68 - filters: Don't use
.to_string()
by @Kijewski in #75 - Fix filter block by @GuillaumeGomez in #71
- Update authors list for
testing/Cargo.toml
by @GuillaumeGomez in #76 - Reimplement
{% filter %}
block by @Kijewski in #73 - Move integration crates in their own workspaces by @Kijewski in #69
- filters: proper escaping for
|linebreaks
and friends by @Kijewski in #77 - Don't link latest version of the book by @Kijewski in #80
New Contributors
- @manunio made their first contribution in #27
- @softdevca made their first contribution in #44
Full Changelog: Askama v0.12.1 ... Rinja v0.2.0