sunng87/handlebars-rust
### [`v4.3.5`](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.4...v4.3.5)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.4...v4.3.5)
### [`v4.3.4`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#434-httpsgithubcomsunng87handlebars-rustcompare433434---2022-09-11)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.3...v4.3.4)
- \[Added] New `write_fmt` function for `Output` \[[#522](https://togithub.com/sunng87/handlebars-rust/issues/522)]
- \[Added] `reason()` method for `TemplateError` to access underlying reason,
this replaces original direct `.reason` access.
- \[Changed] Direct access to `TemplateError`'s `reason` field is depreacted will
be removed in future.
### [`v4.3.3`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#433-httpsgithubcomsunng87handlebars-rustcompare432433---2022-07-20)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.2...v4.3.3)
- \[Fixed] Disable partial expression indentation with `{{~> partial}}` to
bring behavior closer in line with original javascript version. \[[#518](https://togithub.com/sunng87/handlebars-rust/issues/518)]
- \[Fixed] Support for using partial context together with partial parameters
\[[#520](https://togithub.com/sunng87/handlebars-rust/issues/520)]
### [`v4.3.2`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#432-httpsgithubcomsunng87handlebars-rustcompare431432---2022-07-14)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.1...v4.3.2)
- \[Added] Render functions that reuse `Context` for custom `std::io::Write`:
`render_with_context_to_write` and `render_template_with_context_to_write`
### [`v4.3.1`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#431-httpsgithubcomsunng87handlebars-rustcompare430431---2022-06-09)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.0...v4.3.1)
- \[Added] Added support for `{{~{variable}~}}` syntax \[[#509](https://togithub.com/sunng87/handlebars-rust/issues/509)]
### [`v4.3.0`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#430-httpsgithubcomsunng87handlebars-rustcompare422430---2022-05-18)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.2.2...v4.3.0)
- \[Changed] update MSRV to 1.57 as rhai requires
- \[Fixed] Reimplemented indent support for partial expression `{{>
partial}}`, which is introduced in 4.2.0. The new implementation is
aligned with original javascript version, that every text line
generated from partial are indented as `{{> partial}}`
does. `prevent_indent` will turn-off this feature. \[[#505](https://togithub.com/sunng87/handlebars-rust/issues/505)]
- \[Changed] changed error support library from quick_error to
thiserror
### [`v4.2.2`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#422-httpsgithubcomsunng87handlebars-rustcompare421422---2022-03-09)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.2.1...v4.2.2)
- \[Fixed] Block param scope leaked into partials \[[#496](https://togithub.com/sunng87/handlebars-rust/issues/496)]
- \[Changed] Use Rust 2021 edition and update MSRV to 1.56
### [`v4.2.1`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#421-httpsgithubcomsunng87handlebars-rustcompare420421---2022-01-17)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.2.0...v4.2.1)
- \[Fixed] Nested partial `@partial-block` referencing issue \[[#488](https://togithub.com/sunng87/handlebars-rust/issues/488)]
- \[Fixed] Docs generation on docs.rs for `rust-embed` feature
### [`v4.2.0`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#420-httpsgithubcomsunng87handlebars-rustcompare416420---2022-01-05)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.6...v4.2.0)
- \[Added] RustEmbed support for loading templates from \[[#484](https://togithub.com/sunng87/handlebars-rust/issues/484)]
- \[Fixed] Parser support for variables begins with digit \[[#479](https://togithub.com/sunng87/handlebars-rust/issues/479)]
- \[Changed] Keep indent whitespaces for partial expression `{{>
partial}}` as default in handlebarsjs. A new option `prevent_indent`
is provided on `Handlebars` to turn off this behaviour. \[[#486](https://togithub.com/sunng87/handlebars-rust/issues/486)]
- \[Changed] Update MSRV to 1.51 due to dependency changes
### [`v4.1.6`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#416-httpsgithubcomsunng87handlebars-rustcompare415416---2021-12-03)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.5...v4.1.6)
- \[Added] Create `Context` from owned `serde_json::Value` \[[#477](https://togithub.com/sunng87/handlebars-rust/issues/477)]
### [`v4.1.5`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#415-httpsgithubcomsunng87handlebars-rustcompare414415---2021-11-17)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.4...v4.1.5)
- \[Fixed] Single-quote string literal is supported, again \[[#475](https://togithub.com/sunng87/handlebars-rust/issues/475)]
### [`v4.1.4`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#414-httpsgithubcomsunng87handlebars-rustcompare413414---2021-11-06)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.3...v4.1.4)
- \[Fixed] Corrected empty line stripping strategy \[[#473](https://togithub.com/sunng87/handlebars-rust/issues/473)]
### [`v4.1.3`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#413-httpsgithubcomsunng87handlebars-rustcompare412413---2021-09-10)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.2...v4.1.3)
- \[Added] `@last` variable for `each` block with object \[[#466](https://togithub.com/sunng87/handlebars-rust/issues/466)]
- \[Fixed] Missing whitespaces behind expression \[[#468](https://togithub.com/sunng87/handlebars-rust/issues/468)]
### [`v4.1.2`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#412-httpsgithubcomsunng87handlebars-rustcompare411412---2021-08-11)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.1...v4.1.2)
- \[Added] Support for generic types in `handlebars_helper!`.
- \[Added] Getter and setter for rhai `Engine` from registry.
- \[Fixed] Improve doc for `dev_mode` that it has to be enabled before
adding templates.
### [`v4.1.1`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#411-httpsgithubcomsunng87handlebars-rustcompare410411---2021-07-31)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.0...v4.1.1)
- \[Changed] Update rhai to 1.0 \[[#455](https://togithub.com/sunng87/handlebars-rust/issues/455)]
- \[Fixed] Empty line stripping for partial include statement, and other corner cases \[[#458](https://togithub.com/sunng87/handlebars-rust/issues/458)]
### [`v4.1.0`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#410-httpsgithubcomsunng87handlebars-rustcompare401410---2021-07-05)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.0.1...v4.1.0)
- \[Added] export `StringOutput` as requested in [#442](https://togithub.com/sunng87/handlebars-rust/issues/442)
- \[Changed] strict mode now applies to our helper macro `handlebars_helper!` and
built-in helpers based on it.
- \[Fixed] Line stripping feature for standalone statment introduced in [#404](https://togithub.com/sunng87/handlebars-rust/issues/404) is now
aligned with handlebarsjs. [#448](https://togithub.com/sunng87/handlebars-rust/issues/448)
### [`v4.0.1`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#401-httpsgithubcomsunng87handlebars-rustcompare400401---2021-06-15)
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.0.0...v4.0.1)
- \[Fixed] Each block render error with empty array or object \[[#445](https://togithub.com/sunng87/handlebars-rust/issues/445)]
rust-lang/regex
### [`v1.7.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#170-2022-11-05)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.6.0...1.7.0)
\==================
This release principally includes an upgrade to Unicode 15.
New features:
- [FEATURE #832](https://togithub.com/rust-lang/regex/issues/916):
Upgrade to Unicode 15.
### [`v1.6.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#160-2022-07-05)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.6...1.6.0)
\==================
This release principally includes an upgrade to Unicode 14.
New features:
- [FEATURE #832](https://togithub.com/rust-lang/regex/pull/832):
Clarify that `Captures::len` includes all groups, not just matching groups.
- [FEATURE #857](https://togithub.com/rust-lang/regex/pull/857):
Add an `ExactSizeIterator` impl for `SubCaptureMatches`.
- [FEATURE #861](https://togithub.com/rust-lang/regex/pull/861):
Improve `RegexSet` documentation examples.
- [FEATURE #877](https://togithub.com/rust-lang/regex/issues/877):
Upgrade to Unicode 14.
Bug fixes:
- [BUG #792](https://togithub.com/rust-lang/regex/issues/792):
Fix error message rendering bug.
### [`v1.5.6`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#156-2022-05-20)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.5...1.5.6)
\==================
This release includes a few bug fixes, including a bug that produced incorrect
matches when a non-greedy `?` operator was used.
- [BUG #680](https://togithub.com/rust-lang/regex/issues/680):
Fixes a bug where `[[:alnum:][:^ascii:]]` dropped `[:alnum:]` from the class.
- [BUG #859](https://togithub.com/rust-lang/regex/issues/859):
Fixes a bug where `Hir::is_match_empty` returned `false` for `\b`.
- [BUG #862](https://togithub.com/rust-lang/regex/issues/862):
Fixes a bug where 'ab??' matches 'ab' instead of 'a' in 'ab'.
### [`v1.5.5`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#155-2022-03-08)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.4...1.5.5)
\==================
This releases fixes a security bug in the regex compiler. This bug permits a
vector for a denial-of-service attack in cases where the regex being compiled
is untrusted. There are no known problems where the regex is itself trusted,
including in cases of untrusted haystacks.
- [SECURITY #GHSA-m5pq-gvj9-9vr8](https://togithub.com/rust-lang/regex/security/advisories/GHSA-m5pq-gvj9-9vr8):
Fixes a bug in the regex compiler where empty sub-expressions subverted the
existing mitigations in place to enforce a size limit on compiled regexes.
The Rust Security Response WG published an advisory about this:
https://groups.google.com/g/rustlang-security-announcements/c/NcNNL1Jq7Yw
### [`v1.5.4`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#154-2021-05-06)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.3...1.5.4)
\==================
This release fixes another compilation failure when building regex. This time,
the fix is for when the `pattern` feature is enabled, which only works on
nightly Rust. CI has been updated to test this case.
- [BUG #772](https://togithub.com/rust-lang/regex/pull/772):
Fix build when `pattern` feature is enabled.
### [`v1.5.3`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#153-2021-05-01)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.2...1.5.3)
\==================
This releases fixes a bug when building regex with only the `unicode-perl`
feature. It turns out that while CI was building this configuration, it wasn't
actually failing the overall build on a failed compilation.
- [BUG #769](https://togithub.com/rust-lang/regex/issues/769):
Fix build in `regex-syntax` when only the `unicode-perl` feature is enabled.
### [`v1.5.2`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#152-2021-05-01)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.1...1.5.2)
\==================
This release fixes a performance bug when Unicode word boundaries are used.
Namely, for certain regexes on certain inputs, it's possible for the lazy DFA
to stop searching (causing a fallback to a slower engine) when it doesn't
actually need to.
[PR #768](https://togithub.com/rust-lang/regex/pull/768) fixes the bug, which was
originally reported in
[ripgrep#1860](https://togithub.com/BurntSushi/ripgrep/issues/1860).
### [`v1.5.1`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#151-2021-04-30)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.0...1.5.1)
\==================
This is a patch release that fixes a compilation error when the `perf-literal`
feature is not enabled.
### [`v1.5.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#150-2021-04-30)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.6...1.5.0)
\==================
This release primarily updates to Rust 2018 (finally) and bumps the MSRV to
Rust 1.41 (from Rust 1.28). Rust 1.41 was chosen because it's still reasonably
old, and is what's in Debian stable at the time of writing.
This release also drops this crate's own bespoke substring search algorithms
in favor of a new
[`memmem` implementation provided by the `memchr` crate](https://docs.rs/memchr/2.4.0/memchr/memmem/index.html).
This will change the performance profile of some regexes, sometimes getting a
little worse, and hopefully more frequently, getting a lot better. Please
report any serious performance regressions if you find them.
### [`v1.4.6`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#146-2021-04-22)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.5...1.4.6)
\==================
This is a small patch release that fixes the compiler's size check on how much
heap memory a regex uses. Previously, the compiler did not account for the
heap usage of Unicode character classes. Now it does. It's possible that this
may make some regexes fail to compile that previously did compile. If that
happens, please file an issue.
- [BUG OSS-fuzz#33579](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33579):
Some regexes can use more heap memory than one would expect.
### [`v1.4.5`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#145-2021-03-14)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.4...1.4.5)
\==================
This is a small patch release that fixes a regression in the size of a `Regex`
in the 1.4.4 release. Prior to 1.4.4, a `Regex` was 552 bytes. In the 1.4.4
release, it was 856 bytes due to internal changes. In this release, a `Regex`
is now 16 bytes. In general, the size of a `Regex` was never something that was
on my radar, but this increased size in the 1.4.4 release seems to have crossed
a threshold and resulted in stack overflows in some programs.
- [BUG #750](https://togithub.com/rust-lang/regex/pull/750):
Fixes stack overflows seemingly caused by a large `Regex` size by decreasing
its size.
### [`v1.4.4`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#144-2021-03-11)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.3...1.4.4)
\==================
This is a small patch release that contains some bug fixes. Notably, it also
drops the `thread_local` (and `lazy_static`, via transitivity) dependencies.
Bug fixes:
- [BUG #362](https://togithub.com/rust-lang/regex/pull/362):
Memory leaks caused by an internal caching strategy should now be fixed.
- [BUG #576](https://togithub.com/rust-lang/regex/pull/576):
All regex types now implement `UnwindSafe` and `RefUnwindSafe`.
- [BUG #728](https://togithub.com/rust-lang/regex/pull/749):
Add missing `Replacer` impls for `Vec`, `String`, `Cow`, etc.
### [`v1.4.3`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#143-2021-01-08)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.2...1.4.3)
\==================
This is a small patch release that adds some missing standard trait
implementations for some types in the public API.
Bug fixes:
- [BUG #734](https://togithub.com/rust-lang/regex/pull/734):
Add `FusedIterator` and `ExactSizeIterator` impls to iterator types.
- [BUG #735](https://togithub.com/rust-lang/regex/pull/735):
Add missing `Debug` impls to public API types.
### [`v1.4.2`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#142-2020-11-01)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.1...1.4.2)
\==================
This is a small bug fix release that bans `\P{any}`. We previously banned empty
classes like `[^\w\W]`, but missed the `\P{any}` case. In the future, we hope
to permit empty classes.
- [BUG #722](https://togithub.com/rust-lang/regex/issues/722):
Ban `\P{any}` to avoid a panic in the regex compiler. Found by OSS-Fuzz.
### [`v1.4.1`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#141-2020-10-13)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.0...1.4.1)
\==================
This is a small bug fix release that makes `\p{cf}` work. Previously, it would
report "property not found" even though `cf` is a valid abbreviation for the
`Format` general category.
- [BUG #719](https://togithub.com/rust-lang/regex/issues/719):
Fixes bug that prevented `\p{cf}` from working.
### [`v1.4.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#140-2020-10-11)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.3.9...1.4.0)
\==================
This releases has a few minor documentation fixes as well as some very minor
API additions. The MSRV remains at Rust 1.28 for now, but this is intended to
increase to at least Rust 1.41.1 soon.
This release also adds support for OSS-Fuzz. Kudos to
[@DavidKorczynski](https://togithub.com/DavidKorczynski)
for doing the heavy lifting for that!
New features:
- [FEATURE #649](https://togithub.com/rust-lang/regex/issues/649):
Support `[`, `]` and `.` in capture group names.
- [FEATURE #687](https://togithub.com/rust-lang/regex/issues/687):
Add `is_empty` predicate to `RegexSet`.
- [FEATURE #689](https://togithub.com/rust-lang/regex/issues/689):
Implement `Clone` for `SubCaptureMatches`.
- [FEATURE #715](https://togithub.com/rust-lang/regex/issues/715):
Add `empty` constructor to `RegexSet` for convenience.
Bug fixes:
- [BUG #694](https://togithub.com/rust-lang/regex/issues/694):
Fix doc example for `Replacer::replace_append`.
- [BUG #698](https://togithub.com/rust-lang/regex/issues/698):
Clarify docs for `s` flag when using a `bytes::Regex`.
- [BUG #711](https://togithub.com/rust-lang/regex/issues/711):
Clarify `is_match` docs to indicate that it can match anywhere in string.
### [`v1.3.9`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#139-2020-05-28)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.3.8...1.3.9)
\==================
This release fixes a MSRV (Minimum Support Rust Version) regression in the
1.3.8 release. Namely, while 1.3.8 compiles on Rust 1.28, it actually does not
compile on other Rust versions, such as Rust 1.39.
Bug fixes:
- [BUG #685](https://togithub.com/rust-lang/regex/issues/685):
Remove use of `doc_comment` crate, which cannot be used before Rust 1.43.
### [`v1.3.8`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#138-2020-05-28)
[Compare Source](https://togithub.com/rust-lang/regex/compare/regex-1.3.7...1.3.8)
\==================
This release contains a couple of important bug fixes driven
by better support for empty-subexpressions in regexes. For
example, regexes like `b|` are now allowed. Major thanks to
[@sliquister](https://togithub.com/sliquister) for implementing support for this
in [#677](https://togithub.com/rust-lang/regex/pull/677).
Bug fixes:
- [BUG #523](https://togithub.com/rust-lang/regex/pull/523):
Add note to documentation that spaces can be escaped in `x` mode.
- [BUG #524](https://togithub.com/rust-lang/regex/issues/524):
Add support for empty sub-expressions, including empty alternations.
- [BUG #659](https://togithub.com/rust-lang/regex/issues/659):
Fix match bug caused by an empty sub-expression miscompilation.
### [`v1.3.7`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#137-2020-04-17)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.3.6...regex-1.3.7)
\==================
This release contains a small bug fix that fixes how `regex` forwards crate
features to `regex-syntax`. In particular, this will reduce recompilations in
some cases.
Bug fixes:
- [BUG #665](https://togithub.com/rust-lang/regex/pull/665):
Fix feature forwarding to `regex-syntax`.
### [`v1.3.6`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#136-2020-03-24)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.3.5...1.3.6)
\==================
This release contains a sizable (~30%) performance improvement when compiling
some kinds of large regular expressions.
Performance improvements:
- [PERF #657](https://togithub.com/rust-lang/regex/pull/657):
Improvement performance of compiling large regular expressions.
### [`v1.3.5`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#135-2020-03-12)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.3.4...1.3.5)
\==================
This release updates this crate to Unicode 13.
New features:
- [FEATURE #653](https://togithub.com/rust-lang/regex/pull/653):
Update `regex-syntax` to Unicode 13.
### [`v1.3.4`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#134-2020-01-30)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.3.3...1.3.4)
\==================
This is a small bug fix release that fixes a bug related to the scoping of
flags in a regex. Namely, before this fix, a regex like `((?i)a)b)` would
match `aB` despite the fact that `b` should not be matched case insensitively.
Bug fixes:
- [BUG #640](https://togithub.com/rust-lang/regex/issues/640):
Fix bug related to the scoping of flags in a regex.
### [`v1.3.3`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#133-2020-01-09)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.3.2...1.3.3)
\==================
This is a small maintenance release that upgrades the dependency on
`thread_local` from `0.3` to `1.0`. The minimum supported Rust version remains
at Rust 1.28.
### [`v1.3.2`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#132-2020-01-09)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.3.1...1.3.2)
\==================
This is a small maintenance release with some house cleaning and bug fixes.
New features:
- [FEATURE #631](https://togithub.com/rust-lang/regex/issues/631):
Add a `Match::range` method an a `From for Range` impl.
Bug fixes:
- [BUG #521](https://togithub.com/rust-lang/regex/issues/521):
Corrects `/-/.splitn("a", 2)` to return `["a"]` instead of `["a", ""]`.
- [BUG #594](https://togithub.com/rust-lang/regex/pull/594):
Improve error reporting when writing `\p\`.
- [BUG #627](https://togithub.com/rust-lang/regex/issues/627):
Corrects `/-/.split("a-")` to return `["a", ""]` instead of `["a"]`.
- [BUG #633](https://togithub.com/rust-lang/regex/pull/633):
Squash deprecation warnings for the `std::error::Error::description` method.
### [`v1.3.1`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#131-2019-09-04)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.3.0...1.3.1)
\==================
This is a maintenance release with no changes in order to try to work-around
a [docs.rs/Cargo issue](https://togithub.com/rust-lang/docs.rs/issues/400).
### [`v1.3.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#130-2019-09-03)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.2.1...1.3.0)
\==================
This release adds a plethora of new crate features that permit users of regex
to shrink its size considerably, in exchange for giving up either functionality
(such as Unicode support) or runtime performance. When all such features are
disabled, the dependency tree for `regex` shrinks to exactly 1 crate
(`regex-syntax`). More information about the new crate features can be
[found in the docs](https://docs.rs/regex/\*/#crate-features).
Note that while this is a new minor version release, the minimum supported
Rust version for this crate remains at `1.28.0`.
New features:
- [FEATURE #474](https://togithub.com/rust-lang/regex/issues/474):
The `use_std` feature has been deprecated in favor of the `std` feature.
The `use_std` feature will be removed in regex 2. Until then, `use_std` will
remain as an alias for the `std` feature.
- [FEATURE #583](https://togithub.com/rust-lang/regex/issues/583):
Add a substantial number of crate features shrinking `regex`.
### [`v1.2.1`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#121-2019-08-03)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.2.0...1.2.1)
\==================
This release does a bit of house cleaning. Namely:
- This repository is now using rustfmt.
- License headers have been removed from all files, in following suit with the
Rust project.
- Teddy has been removed from the `regex` crate, and is now part of the
`aho-corasick` crate.
[See `aho-corasick`'s new `packed` sub-module for details](https://docs.rs/aho-corasick/0.7.6/aho_corasick/packed/index.html).
- The `utf8-ranges` crate has been deprecated, with its functionality moving
into the
[`utf8` sub-module of `regex-syntax`](https://docs.rs/regex-syntax/0.6.11/regex_syntax/utf8/index.html).
- The `ucd-util` dependency has been dropped, in favor of implementing what
little we need inside of `regex-syntax` itself.
In general, this is part of an ongoing (long term) effort to make optimizations
in the regex engine easier to reason about. The current code is too convoluted
and thus it is very easy to introduce new bugs. This simplification effort is
the primary motivation behind re-working the `aho-corasick` crate to not only
bundle algorithms like Teddy, but to also provide regex-like match semantics
automatically.
Moving forward, the plan is to join up with the `bstr` and `regex-automata`
crates, with the former providing more sophisticated substring search
algorithms (thereby deleting existing code in `regex`) and the latter providing
ahead-of-time compiled DFAs for cases where they are inexpensive to compute.
### [`v1.2.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#120-2019-07-20)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.1.9...1.2.0)
\==================
This release updates regex's minimum supported Rust version to 1.28, which was
release almost 1 year ago. This release also updates regex's Unicode data
tables to 12.1.0.
### [`v1.1.9`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#119-2019-07-06)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.1.8...1.1.9)
\==================
This release contains a bug fix that caused regex's tests to fail, due to a
dependency on an unreleased behavior in regex-syntax.
- [BUG #593](https://togithub.com/rust-lang/regex/issues/593):
Move an integration-style test on error messages into regex-syntax.
### [`v1.1.8`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#118-2019-07-04)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.1.7...1.1.8)
\==================
This release contains a few small internal refactorings. One of which fixes
an instance of undefined behavior in a part of the SIMD code.
Bug fixes:
- [BUG #545](https://togithub.com/rust-lang/regex/issues/545):
Improves error messages when a repetition operator is used without a number.
- [BUG #588](https://togithub.com/rust-lang/regex/issues/588):
Removes use of a repr(Rust) union used for type punning in the Teddy matcher.
- [BUG #591](https://togithub.com/rust-lang/regex/issues/591):
Update docs for running benchmarks and improve failure modes.
### [`v1.1.7`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#117-2019-06-09)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.1.6...1.1.7)
\==================
This release fixes up a few warnings as a result of recent deprecations.
### [`v1.1.6`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#116-2019-04-16)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.1.5...1.1.6)
\==================
This release fixes a regression introduced by a bug fix (for
[BUG #557](https://togithub.com/rust-lang/regex/issues/557)) which could cause
the regex engine to enter an infinite loop. This bug was originally
[reported against ripgrep](https://togithub.com/BurntSushi/ripgrep/issues/1247).
### [`v1.1.5`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#115-2019-04-01)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.1.4...1.1.5)
\==================
This release fixes a bug in regex's dependency specification where it requires
a newer version of regex-syntax, but this wasn't communicated correctly in the
Cargo.toml. This would have been caught by a minimal version check, but this
check was disabled because the `rand` crate itself advertises incorrect
dependency specifications.
Bug fixes:
- [BUG #570](https://togithub.com/rust-lang/regex/pull/570):
Fix regex-syntax minimal version.
### [`v1.1.4`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#114-2019-03-31)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.1.3...1.1.4)
\==================
This release fixes a backwards compatibility regression where Regex was no
longer UnwindSafe. This was caused by the upgrade to aho-corasick 0.7, whose
AhoCorasick type was itself not UnwindSafe. This has been fixed in aho-corasick
0.7.4, which we now require.
Bug fixes:
- [BUG #568](https://togithub.com/rust-lang/regex/pull/568):
Fix an API regression where Regex was no longer UnwindSafe.
### [`v1.1.3`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#113-2019-03-30)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.1.2...1.1.3)
\==================
This releases fixes a few bugs and adds a performance improvement when a regex
is a simple alternation of literals.
Performance improvements:
- [OPT #566](https://togithub.com/rust-lang/regex/pull/566):
Upgrades `aho-corasick` to 0.7 and uses it for `foo|bar|...|quux` regexes.
Bug fixes:
- [BUG #527](https://togithub.com/rust-lang/regex/issues/527):
Fix a bug where the parser would panic on patterns like `((?x))`.
- [BUG #555](https://togithub.com/rust-lang/regex/issues/555):
Fix a bug where the parser would panic on patterns like `(?m){1,1}`.
- [BUG #557](https://togithub.com/rust-lang/regex/issues/557):
Fix a bug where captures could lead to an incorrect match.
### [`v1.1.2`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#112-2019-02-27)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.1.1...1.1.2)
\==================
This release fixes a bug found in the fix introduced in 1.1.1.
Bug fixes:
- [BUG edf45e6f](https://togithub.com/rust-lang/regex/commit/edf45e6f):
Fix bug introduced in reverse suffix literal matcher in the 1.1.1 release.
### [`v1.1.1`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#111-2019-02-27)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.1.0...1.1.1)
\==================
This is a small release with one fix for a bug caused by literal optimizations.
Bug fixes:
- [BUG 661bf53d](https://togithub.com/rust-lang/regex/commit/661bf53d):
Fixes a bug in the reverse suffix literal optimization. This was originally
reported
[against ripgrep](https://togithub.com/BurntSushi/ripgrep/issues/1203).
### [`v1.1.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#110-2018-11-30)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.0.6...1.1.0)
\==================
This is a small release with a couple small enhancements. This release also
increases the minimal supported Rust version (MSRV) to 1.24.1 (from 1.20.0). In
accordance with this crate's MSRV policy, this release bumps the minor version
number.
Performance improvements:
- [OPT #511](https://togithub.com/rust-lang/regex/pull/511),
[OPT #540](https://togithub.com/rust-lang/regex/pull/540):
Improve lazy DFA construction for large regex sets.
New features:
- [FEATURE #538](https://togithub.com/rust-lang/regex/pull/538):
Add Emoji and "break" Unicode properties. See [UNICODE.md](UNICODE.md).
Bug fixes:
- [BUG #530](https://togithub.com/rust-lang/regex/pull/530):
Add Unicode license (for data tables).
- Various typo/doc fixups.
### [`v1.0.6`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#106-2018-11-06)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.0.5...1.0.6)
\==================
This is a small release.
Performance improvements:
- [OPT #513](https://togithub.com/rust-lang/regex/pull/513):
Improve performance of compiling large Unicode classes by 8-10%.
Bug fixes:
- [BUG #533](https://togithub.com/rust-lang/regex/issues/533):
Fix definition of `[[:blank:]]` class that regressed in `regex-syntax 0.5`.
### [`v1.0.5`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#105-2018-09-06)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.0.4...1.0.5)
\==================
This is a small release with an API enhancement.
New features:
- [FEATURE #509](https://togithub.com/rust-lang/regex/pull/509):
Generalize impls of the `Replacer` trait.
### [`v1.0.4`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#104-2018-08-25)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.0.3...1.0.4)
\==================
This is a small release that bumps the quickcheck dependency.
### [`v1.0.3`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#103-2018-08-24)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.0.2...1.0.3)
\==================
This is a small bug fix release.
Bug fixes:
- [BUG #504](https://togithub.com/rust-lang/regex/pull/504):
Fix for Cargo's "minimal version" support.
- [BUG 1e39165f](https://togithub.com/rust-lang/regex/commit/1e39165f):
Fix doc examples for byte regexes.
### [`v1.0.2`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#102-2018-07-18)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.0.1...1.0.2)
\==================
This release exposes some new lower level APIs on `Regex` that permit
amortizing allocation and controlling the location at which a search is
performed in a more granular way. Most users of the regex crate will not
need or want to use these APIs.
New features:
- [FEATURE #493](https://togithub.com/rust-lang/regex/pull/493):
Add a few lower level APIs for amortizing allocation and more fine grained
searching.
Bug fixes:
- [BUG 3981d2ad](https://togithub.com/rust-lang/regex/commit/3981d2ad):
Correct outdated documentation on `RegexBuilder::dot_matches_new_line`.
- [BUG 7ebe4ae0](https://togithub.com/rust-lang/regex/commit/7ebe4ae0):
Correct outdated documentation on `Parser::allow_invalid_utf8` in the
`regex-syntax` crate.
- [BUG 24c7770b](https://togithub.com/rust-lang/regex/commit/24c7770b):
Fix a bug in the HIR printer where it wouldn't correctly escape meta
characters in character classes.
### [`v1.0.1`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#101-2018-06-19)
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.0.0...1.0.1)
\==================
This release upgrades regex's Unicode tables to Unicode 11, and enables SIMD
optimizations automatically on Rust stable (1.27 or newer).
New features:
- [FEATURE #486](https://togithub.com/rust-lang/regex/pull/486):
Implement `size_hint` on `RegexSet` match iterators.
- [FEATURE #488](https://togithub.com/rust-lang/regex/pull/488):
Update Unicode tables for Unicode 11.
- [FEATURE #490](https://togithub.com/rust-lang/regex/pull/490):
SIMD optimizations are now enabled automatically in Rust stable, for versions
1.27 and up. No compilation flags or features need to be set. CPU support
SIMD is detected automatically at runtime.
Bug fixes:
- [BUG #482](https://togithub.com/rust-lang/regex/pull/482):
Present a better compilation error when the `use_std` feature isn't used.
Keats/tera
### [`v1.17.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1171-2022-09-19)
[Compare Source](https://togithub.com/Keats/tera/compare/v1.17.0...v1.17.1)
- Make `get_random` use isize instead of i32 and bad error message
- Fix variables lookup when the evaluated key has a `.` or quotes
- Fix changed output of f64 from serde_json 1.0.85
### [`v1.17.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1170-2022-08-14)
[Compare Source](https://togithub.com/Keats/tera/compare/v1.16.0...v1.17.0)
- Fix bug where operands in `in` operation were escaped before comparison
- Force chrono dep to be 0.4.20 minimum
- Better support for parenthesis in expression
### [`v1.16.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1160-2022-06-10)
[Compare Source](https://togithub.com/Keats/tera/compare/v1.15.0...v1.16.0)
- Add a feature just for the urlencode builtin
- Fix bug in slice filter if start >= end
- Allow supplying a timezone to a timestamp for the date filter
### [`v1.15.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1150-2021-11-03)
- Add `default` parameter to `get` filter
- `Tera::extend` now also copies over function
- Remove the new Context-local Tera function support, it was an accidental breaking change and will be added in v2 in some ways
instead
### [`v1.14.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1140-2021-11-01---YANKED-as-it-added-a-generic-to-Context-a-breaking-change)
- Ensure `Context` stays valid in Sync+Send, fixing an issue introduced in 1.13. 1.113 will be yanked.
### [`v1.13.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1130-2021-10-17---YANKED-as-it-made-Context-not-SendSync)
- Add `default` parameter to `get` filter
- `Tera::extend` now also copies over function
- Add Context-local Tera functions
### [`v1.12.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1121-2021-07-13)
[Compare Source](https://togithub.com/Keats/tera/compare/v1.12.0...v1.12.1)
- Remove unused feature of chrono
- Remove unwanted bloat in crate from accidental WASM files
### [`v1.12.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1120-2021-06-29)
- Add `spaceless` filter from Django
### [`v1.11.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1110-2021-06-14)
- Allow iterating on strings with `for`
### [`v1.10.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1100-2021-05-21)
[Compare Source](https://togithub.com/Keats/tera/compare/v1.9.0...v1.10.0)
- Add `Tera::get_template_names`
### [`v1.9.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#190-2021-05-16)
- Add `Context::remove`
### [`v1.8.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#180-2021-04-21)
- Add `linebreaksbr` filter from Django
- Allow dots in context object key names
### [`v1.7.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#171-2021-04-12)
- Fix parsing of filter arguments separated by whitespaces
### [`v1.7.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#170-2021-03-07)
- Allow rendering to `std::io::Write`
- Follow symlinks in glob
- Allow including lists of templates
- Comment tags can now use whitespace control
### [`v1.6.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#161-2020-12-29)
- Fix date filter sometimes panicking with some format input
### [`v1.6.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#160-2020-12-19)
- Allow multiline function kwargs with trailing comma
- Add `Context::try_insert`
### [`v1.5.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#150-2020-08-10)
[Compare Source](https://togithub.com/Keats/tera/compare/v1.4.0...v1.5.0)
- Add the concept of safe functions and filters
- Allow negative index on `slice` filter
### [`v1.4.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#140-2020-07-24)
- Add `Context::get` and `Context::contains_key`
### [`v1.3.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#131-2020-06-09)
- Fix `raw` tag swallowing all whitespace at beginning and end
- Make batch template sources generic
- Automatically add function/test/filter function name to their error message
### [`v1.3.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#130-2020-05-16)
[Compare Source](https://togithub.com/Keats/tera/compare/v1.2.0...v1.3.0)
- Add a `urlencode_strict` filter
- Add more array literals feature in templates
- Make `filter` filter value argument optional
### [`v1.2.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#120-2020-03-29)
[Compare Source](https://togithub.com/Keats/tera/compare/v1.1.0...v1.2.0)
- Add `trim_start`, `trim_end`, `trim_start_matches` and `trim_end_matches` filters
- Allow blocks in filter sections
### [`v1.1.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#110-2020-03-08)
- Add Tera::render_str, like Tera::one_off but can use an existing Tera instance
### [`v1.0.2`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#102-2020-01-13)
- Length filter now errors for things other than array, objects and strings. The fact that it was returning 0 before
for other types was something that should have been fixed before 1.0 but got forgotten and was considered a bug.
### [`v1.0.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#101-2019-12-18)
[Compare Source](https://togithub.com/Keats/tera/compare/v1.0.0...v1.0.1)
- Fix filter sections not keeping whitespaces
- The filesizeformat filter now takes a usize instead of a i64: no changes to behaviour
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
4.0
->4.3
1.0
->1.7
1.0
->1.17
Release Notes
sunng87/handlebars-rust
### [`v4.3.5`](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.4...v4.3.5) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.4...v4.3.5) ### [`v4.3.4`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#434-httpsgithubcomsunng87handlebars-rustcompare433434---2022-09-11) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.3...v4.3.4) - \[Added] New `write_fmt` function for `Output` \[[#522](https://togithub.com/sunng87/handlebars-rust/issues/522)] - \[Added] `reason()` method for `TemplateError` to access underlying reason, this replaces original direct `.reason` access. - \[Changed] Direct access to `TemplateError`'s `reason` field is depreacted will be removed in future. ### [`v4.3.3`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#433-httpsgithubcomsunng87handlebars-rustcompare432433---2022-07-20) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.2...v4.3.3) - \[Fixed] Disable partial expression indentation with `{{~> partial}}` to bring behavior closer in line with original javascript version. \[[#518](https://togithub.com/sunng87/handlebars-rust/issues/518)] - \[Fixed] Support for using partial context together with partial parameters \[[#520](https://togithub.com/sunng87/handlebars-rust/issues/520)] ### [`v4.3.2`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#432-httpsgithubcomsunng87handlebars-rustcompare431432---2022-07-14) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.1...v4.3.2) - \[Added] Render functions that reuse `Context` for custom `std::io::Write`: `render_with_context_to_write` and `render_template_with_context_to_write` ### [`v4.3.1`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#431-httpsgithubcomsunng87handlebars-rustcompare430431---2022-06-09) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.3.0...v4.3.1) - \[Added] Added support for `{{~{variable}~}}` syntax \[[#509](https://togithub.com/sunng87/handlebars-rust/issues/509)] ### [`v4.3.0`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#430-httpsgithubcomsunng87handlebars-rustcompare422430---2022-05-18) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.2.2...v4.3.0) - \[Changed] update MSRV to 1.57 as rhai requires - \[Fixed] Reimplemented indent support for partial expression `{{> partial}}`, which is introduced in 4.2.0. The new implementation is aligned with original javascript version, that every text line generated from partial are indented as `{{> partial}}` does. `prevent_indent` will turn-off this feature. \[[#505](https://togithub.com/sunng87/handlebars-rust/issues/505)] - \[Changed] changed error support library from quick_error to thiserror ### [`v4.2.2`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#422-httpsgithubcomsunng87handlebars-rustcompare421422---2022-03-09) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.2.1...v4.2.2) - \[Fixed] Block param scope leaked into partials \[[#496](https://togithub.com/sunng87/handlebars-rust/issues/496)] - \[Changed] Use Rust 2021 edition and update MSRV to 1.56 ### [`v4.2.1`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#421-httpsgithubcomsunng87handlebars-rustcompare420421---2022-01-17) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.2.0...v4.2.1) - \[Fixed] Nested partial `@partial-block` referencing issue \[[#488](https://togithub.com/sunng87/handlebars-rust/issues/488)] - \[Fixed] Docs generation on docs.rs for `rust-embed` feature ### [`v4.2.0`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#420-httpsgithubcomsunng87handlebars-rustcompare416420---2022-01-05) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.6...v4.2.0) - \[Added] RustEmbed support for loading templates from \[[#484](https://togithub.com/sunng87/handlebars-rust/issues/484)] - \[Fixed] Parser support for variables begins with digit \[[#479](https://togithub.com/sunng87/handlebars-rust/issues/479)] - \[Changed] Keep indent whitespaces for partial expression `{{> partial}}` as default in handlebarsjs. A new option `prevent_indent` is provided on `Handlebars` to turn off this behaviour. \[[#486](https://togithub.com/sunng87/handlebars-rust/issues/486)] - \[Changed] Update MSRV to 1.51 due to dependency changes ### [`v4.1.6`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#416-httpsgithubcomsunng87handlebars-rustcompare415416---2021-12-03) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.5...v4.1.6) - \[Added] Create `Context` from owned `serde_json::Value` \[[#477](https://togithub.com/sunng87/handlebars-rust/issues/477)] ### [`v4.1.5`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#415-httpsgithubcomsunng87handlebars-rustcompare414415---2021-11-17) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.4...v4.1.5) - \[Fixed] Single-quote string literal is supported, again \[[#475](https://togithub.com/sunng87/handlebars-rust/issues/475)] ### [`v4.1.4`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#414-httpsgithubcomsunng87handlebars-rustcompare413414---2021-11-06) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.3...v4.1.4) - \[Fixed] Corrected empty line stripping strategy \[[#473](https://togithub.com/sunng87/handlebars-rust/issues/473)] ### [`v4.1.3`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#413-httpsgithubcomsunng87handlebars-rustcompare412413---2021-09-10) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.2...v4.1.3) - \[Added] `@last` variable for `each` block with object \[[#466](https://togithub.com/sunng87/handlebars-rust/issues/466)] - \[Fixed] Missing whitespaces behind expression \[[#468](https://togithub.com/sunng87/handlebars-rust/issues/468)] ### [`v4.1.2`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#412-httpsgithubcomsunng87handlebars-rustcompare411412---2021-08-11) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.1...v4.1.2) - \[Added] Support for generic types in `handlebars_helper!`. - \[Added] Getter and setter for rhai `Engine` from registry. - \[Fixed] Improve doc for `dev_mode` that it has to be enabled before adding templates. ### [`v4.1.1`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#411-httpsgithubcomsunng87handlebars-rustcompare410411---2021-07-31) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.1.0...v4.1.1) - \[Changed] Update rhai to 1.0 \[[#455](https://togithub.com/sunng87/handlebars-rust/issues/455)] - \[Fixed] Empty line stripping for partial include statement, and other corner cases \[[#458](https://togithub.com/sunng87/handlebars-rust/issues/458)] ### [`v4.1.0`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#410-httpsgithubcomsunng87handlebars-rustcompare401410---2021-07-05) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.0.1...v4.1.0) - \[Added] export `StringOutput` as requested in [#442](https://togithub.com/sunng87/handlebars-rust/issues/442) - \[Changed] strict mode now applies to our helper macro `handlebars_helper!` and built-in helpers based on it. - \[Fixed] Line stripping feature for standalone statment introduced in [#404](https://togithub.com/sunng87/handlebars-rust/issues/404) is now aligned with handlebarsjs. [#448](https://togithub.com/sunng87/handlebars-rust/issues/448) ### [`v4.0.1`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#401-httpsgithubcomsunng87handlebars-rustcompare400401---2021-06-15) [Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v4.0.0...v4.0.1) - \[Fixed] Each block render error with empty array or object \[[#445](https://togithub.com/sunng87/handlebars-rust/issues/445)]rust-lang/regex
### [`v1.7.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#170-2022-11-05) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.6.0...1.7.0) \================== This release principally includes an upgrade to Unicode 15. New features: - [FEATURE #832](https://togithub.com/rust-lang/regex/issues/916): Upgrade to Unicode 15. ### [`v1.6.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#160-2022-07-05) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.6...1.6.0) \================== This release principally includes an upgrade to Unicode 14. New features: - [FEATURE #832](https://togithub.com/rust-lang/regex/pull/832): Clarify that `Captures::len` includes all groups, not just matching groups. - [FEATURE #857](https://togithub.com/rust-lang/regex/pull/857): Add an `ExactSizeIterator` impl for `SubCaptureMatches`. - [FEATURE #861](https://togithub.com/rust-lang/regex/pull/861): Improve `RegexSet` documentation examples. - [FEATURE #877](https://togithub.com/rust-lang/regex/issues/877): Upgrade to Unicode 14. Bug fixes: - [BUG #792](https://togithub.com/rust-lang/regex/issues/792): Fix error message rendering bug. ### [`v1.5.6`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#156-2022-05-20) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.5...1.5.6) \================== This release includes a few bug fixes, including a bug that produced incorrect matches when a non-greedy `?` operator was used. - [BUG #680](https://togithub.com/rust-lang/regex/issues/680): Fixes a bug where `[[:alnum:][:^ascii:]]` dropped `[:alnum:]` from the class. - [BUG #859](https://togithub.com/rust-lang/regex/issues/859): Fixes a bug where `Hir::is_match_empty` returned `false` for `\b`. - [BUG #862](https://togithub.com/rust-lang/regex/issues/862): Fixes a bug where 'ab??' matches 'ab' instead of 'a' in 'ab'. ### [`v1.5.5`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#155-2022-03-08) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.4...1.5.5) \================== This releases fixes a security bug in the regex compiler. This bug permits a vector for a denial-of-service attack in cases where the regex being compiled is untrusted. There are no known problems where the regex is itself trusted, including in cases of untrusted haystacks. - [SECURITY #GHSA-m5pq-gvj9-9vr8](https://togithub.com/rust-lang/regex/security/advisories/GHSA-m5pq-gvj9-9vr8): Fixes a bug in the regex compiler where empty sub-expressions subverted the existing mitigations in place to enforce a size limit on compiled regexes. The Rust Security Response WG published an advisory about this: https://groups.google.com/g/rustlang-security-announcements/c/NcNNL1Jq7Yw ### [`v1.5.4`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#154-2021-05-06) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.3...1.5.4) \================== This release fixes another compilation failure when building regex. This time, the fix is for when the `pattern` feature is enabled, which only works on nightly Rust. CI has been updated to test this case. - [BUG #772](https://togithub.com/rust-lang/regex/pull/772): Fix build when `pattern` feature is enabled. ### [`v1.5.3`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#153-2021-05-01) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.2...1.5.3) \================== This releases fixes a bug when building regex with only the `unicode-perl` feature. It turns out that while CI was building this configuration, it wasn't actually failing the overall build on a failed compilation. - [BUG #769](https://togithub.com/rust-lang/regex/issues/769): Fix build in `regex-syntax` when only the `unicode-perl` feature is enabled. ### [`v1.5.2`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#152-2021-05-01) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.1...1.5.2) \================== This release fixes a performance bug when Unicode word boundaries are used. Namely, for certain regexes on certain inputs, it's possible for the lazy DFA to stop searching (causing a fallback to a slower engine) when it doesn't actually need to. [PR #768](https://togithub.com/rust-lang/regex/pull/768) fixes the bug, which was originally reported in [ripgrep#1860](https://togithub.com/BurntSushi/ripgrep/issues/1860). ### [`v1.5.1`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#151-2021-04-30) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.5.0...1.5.1) \================== This is a patch release that fixes a compilation error when the `perf-literal` feature is not enabled. ### [`v1.5.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#150-2021-04-30) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.6...1.5.0) \================== This release primarily updates to Rust 2018 (finally) and bumps the MSRV to Rust 1.41 (from Rust 1.28). Rust 1.41 was chosen because it's still reasonably old, and is what's in Debian stable at the time of writing. This release also drops this crate's own bespoke substring search algorithms in favor of a new [`memmem` implementation provided by the `memchr` crate](https://docs.rs/memchr/2.4.0/memchr/memmem/index.html). This will change the performance profile of some regexes, sometimes getting a little worse, and hopefully more frequently, getting a lot better. Please report any serious performance regressions if you find them. ### [`v1.4.6`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#146-2021-04-22) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.5...1.4.6) \================== This is a small patch release that fixes the compiler's size check on how much heap memory a regex uses. Previously, the compiler did not account for the heap usage of Unicode character classes. Now it does. It's possible that this may make some regexes fail to compile that previously did compile. If that happens, please file an issue. - [BUG OSS-fuzz#33579](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33579): Some regexes can use more heap memory than one would expect. ### [`v1.4.5`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#145-2021-03-14) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.4...1.4.5) \================== This is a small patch release that fixes a regression in the size of a `Regex` in the 1.4.4 release. Prior to 1.4.4, a `Regex` was 552 bytes. In the 1.4.4 release, it was 856 bytes due to internal changes. In this release, a `Regex` is now 16 bytes. In general, the size of a `Regex` was never something that was on my radar, but this increased size in the 1.4.4 release seems to have crossed a threshold and resulted in stack overflows in some programs. - [BUG #750](https://togithub.com/rust-lang/regex/pull/750): Fixes stack overflows seemingly caused by a large `Regex` size by decreasing its size. ### [`v1.4.4`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#144-2021-03-11) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.4.3...1.4.4) \================== This is a small patch release that contains some bug fixes. Notably, it also drops the `thread_local` (and `lazy_static`, via transitivity) dependencies. Bug fixes: - [BUG #362](https://togithub.com/rust-lang/regex/pull/362): Memory leaks caused by an internal caching strategy should now be fixed. - [BUG #576](https://togithub.com/rust-lang/regex/pull/576): All regex types now implement `UnwindSafe` and `RefUnwindSafe`. - [BUG #728](https://togithub.com/rust-lang/regex/pull/749): Add missing `Replacer` impls for `VecKeats/tera
### [`v1.17.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1171-2022-09-19) [Compare Source](https://togithub.com/Keats/tera/compare/v1.17.0...v1.17.1) - Make `get_random` use isize instead of i32 and bad error message - Fix variables lookup when the evaluated key has a `.` or quotes - Fix changed output of f64 from serde_json 1.0.85 ### [`v1.17.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1170-2022-08-14) [Compare Source](https://togithub.com/Keats/tera/compare/v1.16.0...v1.17.0) - Fix bug where operands in `in` operation were escaped before comparison - Force chrono dep to be 0.4.20 minimum - Better support for parenthesis in expression ### [`v1.16.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1160-2022-06-10) [Compare Source](https://togithub.com/Keats/tera/compare/v1.15.0...v1.16.0) - Add a feature just for the urlencode builtin - Fix bug in slice filter if start >= end - Allow supplying a timezone to a timestamp for the date filter ### [`v1.15.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1150-2021-11-03) - Add `default` parameter to `get` filter - `Tera::extend` now also copies over function - Remove the new Context-local Tera function support, it was an accidental breaking change and will be added in v2 in some ways instead ### [`v1.14.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1140-2021-11-01---YANKED-as-it-added-a-generic-to-Context-a-breaking-change) - Ensure `Context` stays valid in Sync+Send, fixing an issue introduced in 1.13. 1.113 will be yanked. ### [`v1.13.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1130-2021-10-17---YANKED-as-it-made-Context-not-SendSync) - Add `default` parameter to `get` filter - `Tera::extend` now also copies over function - Add Context-local Tera functions ### [`v1.12.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1121-2021-07-13) [Compare Source](https://togithub.com/Keats/tera/compare/v1.12.0...v1.12.1) - Remove unused feature of chrono - Remove unwanted bloat in crate from accidental WASM files ### [`v1.12.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1120-2021-06-29) - Add `spaceless` filter from Django ### [`v1.11.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1110-2021-06-14) - Allow iterating on strings with `for` ### [`v1.10.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#1100-2021-05-21) [Compare Source](https://togithub.com/Keats/tera/compare/v1.9.0...v1.10.0) - Add `Tera::get_template_names` ### [`v1.9.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#190-2021-05-16) - Add `Context::remove` ### [`v1.8.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#180-2021-04-21) - Add `linebreaksbr` filter from Django - Allow dots in context object key names ### [`v1.7.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#171-2021-04-12) - Fix parsing of filter arguments separated by whitespaces ### [`v1.7.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#170-2021-03-07) - Allow rendering to `std::io::Write` - Follow symlinks in glob - Allow including lists of templates - Comment tags can now use whitespace control ### [`v1.6.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#161-2020-12-29) - Fix date filter sometimes panicking with some format input ### [`v1.6.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#160-2020-12-19) - Allow multiline function kwargs with trailing comma - Add `Context::try_insert` ### [`v1.5.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#150-2020-08-10) [Compare Source](https://togithub.com/Keats/tera/compare/v1.4.0...v1.5.0) - Add the concept of safe functions and filters - Allow negative index on `slice` filter ### [`v1.4.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#140-2020-07-24) - Add `Context::get` and `Context::contains_key` ### [`v1.3.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#131-2020-06-09) - Fix `raw` tag swallowing all whitespace at beginning and end - Make batch template sources generic - Automatically add function/test/filter function name to their error message ### [`v1.3.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#130-2020-05-16) [Compare Source](https://togithub.com/Keats/tera/compare/v1.2.0...v1.3.0) - Add a `urlencode_strict` filter - Add more array literals feature in templates - Make `filter` filter value argument optional ### [`v1.2.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#120-2020-03-29) [Compare Source](https://togithub.com/Keats/tera/compare/v1.1.0...v1.2.0) - Add `trim_start`, `trim_end`, `trim_start_matches` and `trim_end_matches` filters - Allow blocks in filter sections ### [`v1.1.0`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#110-2020-03-08) - Add Tera::render_str, like Tera::one_off but can use an existing Tera instance ### [`v1.0.2`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#102-2020-01-13) - Length filter now errors for things other than array, objects and strings. The fact that it was returning 0 before for other types was something that should have been fixed before 1.0 but got forgotten and was considered a bug. ### [`v1.0.1`](https://togithub.com/Keats/tera/blob/HEAD/CHANGELOG.md#101-2019-12-18) [Compare Source](https://togithub.com/Keats/tera/compare/v1.0.0...v1.0.1) - Fix filter sections not keeping whitespaces - The filesizeformat filter now takes a usize instead of a i64: no changes to behaviourConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.