@ianpartridge ianpartridge released this Aug 30, 2018 · 15 commits to master since this release

Assets 2

What's New

  • Enhanced OpenAPI support including query parameters
  • SwiftNIO support (enable using env KITURA_NIO=1 swift build)
  • Pluggable encoders and decoders on Router, used in Codable routing
  • Performance throughput improvements
  • New splash screen
  • Bugfixes
Jun 1, 2018
fix: added escaping to result closure (#1292)

@ianpartridge ianpartridge released this Jun 1, 2018 · 35 commits to master since this release

Assets 2

What's New

  • Support for a new kind of type-safe middleware
  • Support for generating Swagger from Codable routes
  • Type-safe templating
  • Tech preview of Kitura on SwiftNIO (see kitura-nio branch)
  • request.getQueryParameters() for decoding query params in Codable routes
  • request.queryParametersMultiValues for easily decoding comma-separated query params
  • response.userInfo dictionary for stashing user data in a response
  • Extra Codable routing API for returning a single Codable from a GET route with query params
  • ParsedBody.asRaw for easy decode of HTTP body data as Data
  • Better error messages on JSON decode failure
  • Swift 4.2 support
May 22, 2018
Serve internal resources using FileResourceServer ensuring path is st…
…andardized. (#1273)
May 22, 2018
Merge pull request #1275 from IBM-Swift/issue.843-kitura-2.1
Serve internal resources using FileResourceServer ensuring path is standardized.