All notable changes to this project will be documented in this file. Telegraph adheres to Semantic Versioning.
- Add
isRunning
boolean to the Server - Update CocoaPods to version 1.5.3
- Fix Server's
isSecure
boolean bug - Update demo application, now includes a JSON endpoint example
- Update CocoaPods to version 1.5.0
- Convert to Swift 4.1
- Breaking:
DispatchTimer
has been simplified and now defaults to a background queue - Update CocoaAsyncSocket to version 7.6.3
- Update HTTPParserC to version 2.8.1
- Update CocoaPods to version 1.4.0
- Add automatic port selection (thanks harrisg)
- Update CocoaAsyncSocket to version 7.6.2
- Add support for implicit HEAD requests on GET routes (see
implicitHeadRequests
inHTTPRouteHandler
) - Fix route HTTP method matching (e.g. a GET route shouldn't respond to PUT)
- Fix compability warnings for Xcode 9.1 / Swift 4.0.2
- Fix WebSocket bitmask crash on Xcode 9.1 / Swift 4.0.2 / iOS 11.1
- Convert to Swift 4
- Allow custom WebSocket protocol and other headers
- Fix WebSocket bitmask handling for empty payloads
- Add support for iOS 8
- Fix exclusive access issues reported by Xcode in the
HTTPParser
- Update CocoaPods to version 1.3.1
- Set CocoaAsyncSocket to version 7.6.1
- Few new examples in the README (thanks TomasHubelbauer)
- The dependency versions are now less strict. Useful if you are using an older version of CocoaAsyncSocket.
- Prevent private key issues on locked devices, kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly is now default
- Breaking:
CertificateIdentity
initializers without passphrase are no longer available on MacOS (see README) - Breaking:
KeychainManager
lost a few helper functions. If you need a keychain library, check out LockSmith.
- Add the option to bind the server to a specific interface (thanks didi25)
- Improve websocket ping/pong by not masking empty payloads
- Fix Xcode 9 warnings
- Breaking: Removed Delegator helper, webSocketDelegator has become webSocketDelegate
- Breaking:
WebSocketMessage
masking key has moved to theWebSocketParser
- Breaking:
WebSocketMessage
generateMask signature has changed
- Improve connection handling and thread safety of the WebSocket client
- Allow empty certificates list in TLSConfig (thanks JulianEberius)
- Fix URI relative path function
- Add serving static files (thanks Daij-Djan)
- Add new route helpers
- Change Date header to RFC7231 format
- Add macOS support
- Add Carthage support
- Add tvOS support
- First release