Swiftpack.co - Package - IBM-Swift/Kitura

Kitura

A Swift Web Framework and HTTP Server

Docs Build Status - Master macOS Linux Apache 2 codecov codebeat badge Slack Status

Summary

Kitura is a web framework and web server that is created for web services written in Swift. For more information, visit www.kitura.io.

Table of Contents

Features

  • URL routing (e.g., GET, POST, PUT, DELETE, PATCH)
  • Codable routing
  • URL parameters
  • Static file serving
  • FastCGI support
  • SSL/TLS support
  • Pluggable middleware

Getting Started

Visit www.kitura.io for a Getting Started guide, tutorials, and API reference documentation.

Contributing to Kitura

All improvements to Kitura are very welcome! Here's how to get started with developing Kitura itself.

  1. Clone this repository.

$ git clone https://github.com/IBM-Swift/Kitura

  1. Build and run tests.

$ swift test

You can find more info on contributing to Kitura in our contributing guidelines.

Community

We love to talk server-side Swift, and Kitura. Join our Slack to meet the team!

Github

link
Stars: 7019
Help us keep the lights on

Releases

2.7.0 - Apr 17, 2019

Features

  • Support UNIX domain sockets (client and server) (#1434)

Fixes

  • Update MIME content types (#1441)
  • Swagger/OpenAPI generation improvements (#1420, #1346, #1347)
  • Require TypeDecoder 1.3 on Swift 4.0 and 4.1 (#1439)
  • Build in Swift 5 mode (#1436)
  • Improve test resilience (#1426)
  • Use official Swift Docker images for testing (#1424)
  • Use UTF8View to create Data (#1395)

Performance

  • Remove NSString from Accepts header and cookies (#1402)
  • Avoid NSString in query parameters (#1401)
  • Avoid unnecessary copy in RouterResponse.send() (#1394)

2.6.3 - Apr 4, 2019

  • fix: Remove hashvalue for swift >= 4.2

2.6.2 - Feb 11, 2019

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

2.6.1 - Jan 25, 2019

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

2.6.0 - Dec 18, 2018

  • 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