Kitura Versions Save

A Swift web framework and HTTP server.

2.6.2

5 years ago
  • fix: Prevent crash when an empty Content-Type header is supplied (#1405)

2.6.1

5 years ago
  • Produce a consistent ordering of elements in OpenAPI definition (#1393)
  • Warn when initializing a StaticFileServer on a non-existent path (#1389)

2.6.0

5 years ago
  • Consistent handling of parameters for Codable routes #1310
  • Initialize TypesafeMiddleware first #1350
  • Allow Kitura welcome page to be disabled #1344
  • Performance improvement when sending Strings #1369
  • Conditional GET using etags #1333

2.5.6

5 years ago
  • fix: Handle optional query parameters correctly with Type-Safe Middlewares (#1334)

2.5.0

5 years ago

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

2.4.0

6 years ago

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

2.3.0

6 years ago

What's New

  • Support for sending a Codable body with a RequestError response (#1214)
  • Support for sending arrays of tuples of (Identifier, Codable) - (#1223)
  • new convenience API to simplify development of CodableRouter extensions (#1222)
  • Codable Routing support for URLEncoded forms (#1228)
  • Support for Swift 4.1 (#1230)
  • Bridge KituraNet.HTTPStatusCode (#1217)
  • Declare StaticFileServer API open to allow subclassing (#1245)
  • Documentation improvements

Fixes

  • A fix for memory leaks caused by a failure to invoke callbacks in certain error paths (#1232)

2.2.0

6 years ago

What's New

2.1.0

6 years ago

What's New

  • Adds an additional Codable api to supporting a GET handler for non-arrays return types
  • Support for an array mapping in Query Parameters
  • Provides support for Range Requests
  • Migration to Swift 4.0.2

2.0.0

6 years ago

What's New

  • Migrated the Kitura framework to be a pure Swift 4 package.
  • Improved developer experience by adding new Codable routing support for common HTTP verbs (i.e. GET, PUT, POST, PATCH, DELETE).