Releases: adamhartford/SwiftR
Releases · adamhartford/SwiftR
SignalR 2.2.2 and configurable allowed origin for CORS
- Added support for SignalR 2.2.2, which is now assumed by default.
- Added
originUrlString
property to configure allowed origin for CORS (thanks @eabadjiev).
Fixed warnings
v0.13.1 Update to v0.13.1
API Improvements
You now create a SignalR
instance instead of using SwiftR.connect()
. This is intended to make the setup code easier to read and understand, and allows the connection setup to be done outside of callback (a common question/complaint).
If you do not want to update your code for these changes, point your SwiftR Podfile reference to version 0.12.0.
Updated for Xcode 8 and Swift 3
If you still need Swift 2.2 support, use version 0.11.0.
New demo. Updated error handler.
- New demo application using http://swiftr.azurewebsites.net
- Updated error handler to avoid
JavaScript execution returned a result of an unsupported type
message.
Bug Fix
Bug fixes
Default Arguments to Nil
No longer need to pass nil/empty arguments.
myHub.invoke("someMethod", arguments: nil)
can become...
myHub.invoke("someMethod")
Bug Fix (Persistent Connections)
Fixed argument serialization bug when sending data.
Bug Fix (Hubs)
Fixed argument serialization bug when invoking server methods. Issue #33.