Swiftpack.co - Package - vapor/leaf

Github

link
Stars: 224
Help us keep the lights on

Releases

4.0.0-beta.2 - Dec 9, 2019

  • 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 - Nov 15, 2019

4.0.0-alpha.1.2 - Oct 10, 2019

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

4.0.0-alpha.1.1 - Aug 22, 2019

Fixed:

  • Use tagged LeafKit version.

4.0.0-alpha.1 - Aug 22, 2019

https://medium.com/@codevapor/vapor-4-alpha-1-releases-begin-94a4bc79dd9a