Swift Url Routing Versions Save

A bidirectional router with more type safety and less fuss.

0.6.0

9 months ago

0.5.0

1 year ago

What's Changed

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 and OneOfBuilder.

New Contributors

Full Changelog: https://github.com/pointfreeco/swift-url-routing/compare/0.4.0...0.5.0

0.4.0

1 year ago

What's Changed

  • Fixed: Fields (query, headers, form data, etc.) now preserve order when printed (thanks @fonkadelic, #57). To preserve this order, URL Routing now depends on Apple's Swift Collections package.
  • Fixed: Updated calls to withTaskCancellation to the non-deprecated version (thanks @kgrigsby59, #56).

New Contributors

Full Changelog: https://github.com/pointfreeco/swift-url-routing/compare/0.3.1...0.4.0

0.3.1

1 year ago
  • Fixed: A regression introduced to Swift in Xcode 14.1 broke compilation. This release includes a workaround to get things building again.

0.3.0

1 year ago
  • Added: Fragment parser, for parsing a URL fragment (thanks @ryanbooker).
  • Added: Host parser, for parsing a URL host (thanks @ryanbooker).
  • Changed: URL Routing's platform requirements have been bumped to match Parsing's requirements, equivalent to SwiftUI (iOS 13+, macOS 10.15+, tvOS 13+, watchOS 6+). If these minimum requirements don't fit your needs, let us know.
  • Infrastructure: Fixed documentation typos (thanks @fonkadelic, @volkdmitri).

0.2.0

1 year ago
  • Added: URLRoutingClient can now be configured with a JSONDecoder for global response decoding (thanks @jtouzy).
  • Added: a Scheme router (thanks @ryanbooker).
  • Added: URLRoutingClient.data(for:).
  • Updated: URLRoutingClient.request(_:as:decoder:) has been renamed to URLRoutingClient.decodedResponse(for:as:decoder:).
  • Changed: the package name has been changed to swift-url-routing to match its repo name.
  • Optimized: added inlining to the path component router.
  • Infrastructure: documentation updates.
  • Infrastructure: added SPI badges to README (thanks @finestructure).

0.1.0

2 years ago

Our first release!