A bidirectional router with more type safety and less fuss.
Full Changelog: https://github.com/pointfreeco/swift-url-routing/compare/0.5.0...0.6.0
Warning: This release contains breaking changes in order to support Swift 5.8's rewritten result builder implementation. While the package will build for Swift 5.7, we recommend delaying this upgrade till you can use Swift 5.8, as the changes impact compile time performance of
ParserBuilder
andOneOfBuilder
.
Added: Swift 5.8 support (https://github.com/pointfreeco/swift-url-routing/pull/77). Note: due to result builder changes in Swift 5.8, code that compiled just fine in Swift 5.7, Parsing 0.11.0, URLRouting 0.4.0 and earlier may be source incompatible in Swift 5.8 and this Parsing/URLRouting release.
Infrastructure: typo fix (thanks @jaredh159, https://github.com/pointfreeco/swift-url-routing/pull/68).
Full Changelog: https://github.com/pointfreeco/swift-url-routing/compare/0.4.0...0.5.0
withTaskCancellation
to the non-deprecated version (thanks @kgrigsby59, #56).Full Changelog: https://github.com/pointfreeco/swift-url-routing/compare/0.3.1...0.4.0
Fragment
parser, for parsing a URL fragment (thanks @ryanbooker).Host
parser, for parsing a URL host (thanks @ryanbooker).URLRoutingClient
can now be configured with a JSONDecoder for global response decoding (thanks @jtouzy).Scheme
router (thanks @ryanbooker).URLRoutingClient.data(for:)
.URLRoutingClient.request(_:as:decoder:)
has been renamed to URLRoutingClient.decodedResponse(for:as:decoder:)
.swift-url-routing
to match its repo name.Our first release!