Vapor Leaf Versions Save

🍃 An expressive, performant, and extensible templating language built for Swift.

4.0.0-rc.1

4 years ago

Updates to Swift 5.2.

Release candidates represent the final shift toward focusing on bug fixes and documentation. Breaking changes will only be accepted for critical issues. We expect a final release of this package shortly after Swift 5.2's release date.

4.0.0-beta.3.2

4 years ago

LeafCache is now settable (#155, fixes #154).

app.leaf.cache.isEnabled = false

This patch was authored and released by @tanner0101.

4.0.0-beta.3.1

4 years ago

Removes force unwrapping in the LeafEncoder allowing for types to be Optional.

This patch was authored by @namolnad and released by @loganwright.

4.0.0-beta.3

4 years ago
This patch was authored and released by @gwynne.
  • Update to match new Vapor requirements for OS
  • Require current Vapor beta version
  • Leaf's major beta version has been bumped due to the new OS requirement (a breaking change), even though there are no changes to Leaf itself

4.0.0-beta.2

4 years ago
  • Updated to latest LeafKit and Vapor beta 2 releases (#149)

Configuration changes:

import Leaf
import Vapor

// beta.1
app.use(LeafProvider())

// beta.2
app.views.use(.leaf)

Rendering changes:

// beta.2
app.get("test-file") { req in
    req.view.render(#file, ["foo": "bar"])
}

4.0.0-beta.1

4 years ago

4.0.0-alpha.1.2

4 years ago
  • Fixed an issue with NIOThreadPool service being unavailable (#141)

4.0.0-alpha.1.1

4 years ago

Fixed:

  • Use tagged LeafKit version.

3.0.2

5 years ago

Fixed:

  • #// tag no longer removes newline after trailing comments. (#130, #127)