v0.4.0 (2022-03-10)
- Fix some issues pointing to the wrong documentation links
##Breaking Change
- Changed format to .TOML instead of .yaml to better match what Rust uses.
v0.3.4 (2021-02-13)
- Update some dependencies
v0.3.3 (2021-04-06)
- Improve error message for missing semicolon in code blocks
v0.3.2 (2021-03-29)
- Avoid sable/nightly mismatch error caused by proc-macro2 crate
v0.3.1 (2021-01-23)
- Allow unsized types for filters
- Workaround for incorrect cargo fingerprints
v0.3.0 (2020-12-20)
- No longer requires
extern crate sailfish_macros
(which raise compilation warnings with v0.3.0) - Remove
TemplaceOnce::render_to_string
method (already deprecated in v0.2.1) - Forbid implementing
TemplateOnce
trait by yourself - Change
RenderError
into enum - Update error format in
sailfish-compiler
- New filters:
json
,truncate
- Impl
Send
/Sync
forBuffer
- Fix rendering issue on continue/break statements
- Do not panic when buffer size decreased
- Remove unsafe usage of
ptr::add()
- Properly handle slices with size greater than
isize::MAX
v0.2.3 (2020-11-29)
- Use
std::result::Result
in derive macro to allow custom Result types (#34)
v0.2.2 (2020-11-11)
- Update proc-macro2 version (#32)
v0.2.1 (2020-08-04)
- Add trim filter
- Fix incorrect syntax highlighting in vim
- Avoid capacity overflow in
Buffer::with_capacity
- Avoid dangerous conversion from String to Buffer
- Fix docs typo (#30)
- Search rustfmt command along all toolchains
v0.2.0 (2020-07-17)
- Remove Buffer::set_len method
- Syntactically disallow invalid filter expression
- remove runtime::Context API
- Remove register_escape_fn API
- Implement Compiler::compile_str() function
- Implement filters