Skip to content

Releases: huggingface/swift-jinja

2.1.0

01 Oct 12:14
c1ef596

Choose a tag to compare

What's Changed

  • Update CI workflow to add Swift 6.2 / Xcode 26 to test matrix by @mattt in #36
  • Support SmolLM3 chat templates by @mattt in #35

Full Changelog: 2.0.2...2.1.0

2.0.2

26 Sep 19:34
62b9128

Choose a tag to compare

What's Changed

  • Remove swift-actions/setup-swift step in CI workflow by @mattt in #32
  • Fix even/odd check for fractional numbers by @johnmai-dev in #33

Full Changelog: 2.0.1...2.0.2

2.0.1

25 Sep 16:34
b8679df

Choose a tag to compare

What's Changed

Full Changelog: 2.0.0...2.0.1

2.0.0

25 Sep 11:09
1e6f84d

Choose a tag to compare

What's Changed

  • Import v2 sources and tests by @mattt in #26
  • Update README with information about migrating from v1 to v2 by @mattt in #27
  • Add Swift Package Index manifest by @mattt in #28
  • Update LICENSE by @mattt in #29

New Contributors

  • @mattt made their first contribution in #26

Full Changelog: 1.3.0...2.0.0

1.3.0

08 Sep 12:51
5c0a878

Choose a tag to compare

What's Changed

  • Performance Optimizations by @tpae in #24
  • Support Swift 6

New Contributors

  • @tpae made their first contribution in #24

Full Changelog: 1.2.4...1.3.0

Benchmark Results:

Phase Before (ms) After (ms) Change % Improvement
Tokenize avg 69.525 68.887 -0.638 ~0.9% faster
Parse avg 0.498 0.457 -0.041 ~8.2% faster
Run avg 0.116 0.099 -0.017 ~14.7% faster
Template.render 0.176 0.142 -0.034 ~19.3% faster

1.2.4

08 Aug 02:03
bb238dd

Choose a tag to compare

What's Changed

  • Fix potential memory leak caused by filters retaining self by @kevinzhow in #23

New Contributors

Full Changelog: 1.2.3...1.2.4

1.2.3

07 Aug 15:19
7ee6d56

Choose a tag to compare

What's Changed

Full Changelog: 1.2.2...1.2.3

1.2.2

05 Aug 04:32
e5fc2c9

Choose a tag to compare

What's Changed

Full Changelog: 1.2.1...1.2.2

1.2.1

10 Jul 17:07
fc1233d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.2.0...1.2.1

1.2.0

14 May 04:58
8879db4

Choose a tag to compare

What's Changed

  • Adding support for IBM's Granite model by @smdesai in #16

New Contributors

Full Changelog: 1.1.2...1.2.0