Skip to content

@tanner0101 tanner0101 released this Mar 26, 2019 · 13 commits to master since this release

Fixed:

  • Fixed an issue with UnsafeBufferPointer in Swift 5. (#46)
Assets 2

@tanner0101 tanner0101 released this Nov 6, 2018 · 16 commits to master since this release

Fixed:

  • userInfo is now correctly passed when using #embed. (#41, #42)
Assets 2

@tanner0101 tanner0101 released this Aug 8, 2018 · 20 commits to master since this release

New:

  • Performance improvements for files loaded from disk. (#24)
  • ViewRenderer now supports passing a userInfo dictionary that will be accessible by TagRenderers. (#17, #28)
return req.view().render("welcome", ["name": "Vapor"], userInfo: ["foo": "bar"])
final class FooTag: TagRenderer {
    func render(_ tag: TagContext) -> ... { 
        print(tag.context.userInfo["foo"])
    }
}

Fixed:

  • Fixed issue which could cause incorrect views to be returned from cache. (#26, #25, #31).
  • Fixed LeafDataEncoder to properly recognize custom encoding methods. (#29, #20, #30).
  • Fixed #date tag crasher. (#23)
Assets 2

@tanner0101 tanner0101 released this Apr 26, 2018 · 46 commits to master since this release

Fixed:

  • Re-added ViewRenderer.

Milestone:
1.0.1

Assets 2

@tanner0101 tanner0101 released this Apr 10, 2018 · 58 commits to master since this release

Introducing Template Kit 1.0 🎉
Template Kit is an easy-to-use foundation for building powerful templating languages in Swift.

Docs:
https://docs.vapor.codes/3.0/template-kit/getting-started/

API Docs:
https://api.vapor.codes/template-kit/latest/TemplateKit

Milestone:
1.0.0


Changes since final release candidate:

Fixed:

  • Audited and internalized several APIs to minimize API surface.
  • Removed TemplateData.future case in favor of TagRenderers returning Future<TemplateData> (was redundant previously).
  • Added lots of missing doc blocks, now at 100% docs coverage.
Assets 2
Mar 28, 2018
fix codablekit import
Mar 28, 2018
remove codablekit dep
Pre-release

@tanner0101 tanner0101 released this Mar 22, 2018 · 83 commits to master since this release

New:

  • Adds isFirst and isLast variables alongside index while using iterators.
Assets 2

@tanner0101 tanner0101 released this Mar 21, 2018 · 85 commits to master since this release

New:

  • Vapor is now running on Swift NIO!

Milestone

Assets 2
Pre-release

@tanner0101 tanner0101 released this Feb 26, 2018 · 89 commits to master since this release

Fixed:

  • Fixed incorrect layout of TemplateKitError resulting in loss of source location info.
Assets 2
You can’t perform that action at this time.