Skip to content

Releases: hummingbird-project/swift-mustache

v2.0.0

18 Oct 08:25
Compare
Choose a tag to compare

Major changes since 1.x.x

  • Renamed package to swift-mustache and library renamed to Mustache.
  • Implemented proper version of Lambdas from Mustache specification.
  • Add support for partial loading via dynamic names.
  • Added recursive transforms.
  • Fixed issues in inheritance spec.
  • Add development support for reloading templates.
  • Removed HB prefix.

v2.0.0 Release Candidate 1

20 Sep 09:10
933fa3d
Compare
Choose a tag to compare
Pre-release

Breaking changes

  • Implemented proper version of Lambdas from Mustache specification. #48

Minor release changes

  • Add support for partial loading via dynamic names. #49

Other changes

  • Fixed tests compiling on Windows
  • Use URLSession.shared.data in tests in swift 6 or later #44

v2.0.0 Beta 3

19 Jul 09:59
cde358e
Compare
Choose a tag to compare
v2.0.0 Beta 3 Pre-release
Pre-release
  • Fix compile issues on Swift 5.8

v2.0.0 Beta 2

16 Jul 15:04
5bb66ac
Compare
Choose a tag to compare
v2.0.0 Beta 2 Pre-release
Pre-release

Breaking changes

  • Made deprecated symbols unavailable

Minor release changes

  • Added recursive transforms. PR #37 from @MahdiBM
  • Make MustacheSequence public. PR #38 from @MahdiBM
  • Fix issues inheritance spec brought up. Still two issues to fix though.
  • Add development support for reloading templates when they rendered. PR #30

Other changes

  • Using 0.53.10 of SwiftFormat

v2.0.0 Beta 1

15 Mar 07:40
2663d13
Compare
Choose a tag to compare
v2.0.0 Beta 1 Pre-release
Pre-release

Major release changes

  • Renamed package to swift-mustache and library has been renamed to Mustache
  • Removed "HB" prefix from all symbols

Other changes

  • Merged 2.0 branch into main

v2.0.0 Alpha 1

31 Jan 16:32
071b182
Compare
Choose a tag to compare
v2.0.0 Alpha 1 Pre-release
Pre-release

Breaking changes

Requires swift 5.7

  • HBMustacheTemplate is a struct
  • HBMustacheLibrary is a struct
  • HBMustacheLibrary.loadTemplates is async
  • Templates no longer store the library they belong to, so to render templates that use partials you need to supply the library at render either via HBMustacheLibrary.render or `HBMustacheTemplate.render(_:library:).

Minor release changes

  • HBMustacheTemplate and HBMustacheLibraryconform to Sendable.

v1.0.3

14 Jan 08:52
fa56176
Compare
Choose a tag to compare

Patch Release Changes

  • Fix issues with indented partials that generate an empty section at the end
  • Add empty transform for String

v1.0.2

08 Aug 10:19
f95e192
Compare
Choose a tag to compare
  • Improve parsing of partial filenames

v1.0.1

28 Sep 14:45
Compare
Choose a tag to compare
  • Make HBMustacheParent public so users can setup custom methods for accessing children.

v1.0.0

23 Jul 08:16
dffe63d
Compare
Choose a tag to compare

Full release