Skip to content

Releases: rust-sailfish/sailfish

Version 0.3.1

23 Jan 10:46
Compare
Choose a tag to compare

Fix

  • Fix compilation issue with std::borrow::Cow
  • Allow unsized ttypes for filters
  • Workaround for incorrect cargo fingerprints(#46)

Version 0.3.0

20 Dec 13:31
Compare
Choose a tag to compare

This version contains various security fixes and performance improvements

Breaking changes

  • 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 features

  • New filters: json, truncate
  • Impl Send/Sync for Buffer

Fix

  • 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.2

19 Nov 06:03
Compare
Choose a tag to compare

Minor changes

  • Update dependencies (#32)

v0.2.0

17 Jul 19:34
Compare
Choose a tag to compare

Breaking Changes

  • Remove Buffer::set_len method
  • Syntactically disallow invalid filter expression
  • remove runtime::Context API
  • Remove register_escape_fn API

Features

  • Implement Compiler::compile_str() function
  • Implement filters