Releases: vapor/routing-kit
Adds pathComponents property to the String
Adds pathComponents
property to the String
in order to convert a string into [PathComponent]
.
This patch was authored by @emarashliev and released by @tanner0101.
RoutingKit 4.0.0 Beta 3
RoutingKit 4.0.0 Beta 2
Add Parameter conformance to RawRepresentable enums
In this release:
#77 from @JaapWijnen
RoutingKit 4.0.0 Alpha 1
More information on Vapor 4 alpha releases:
https://medium.com/@codevapor/vapor-4-alpha-1-releases-begin-94a4bc79dd9a
API Docs:
https://api.vapor.codes/routing-kit/master/RoutingKit/index.html
Routing 3.0.2
Routing 3.0.1
Fixed:
- Confusion between "any parameter" and "catch all" created in the previous has been resolved (#41).
// matches /version/:/info
router.get("version", any, "info") { ... }
// matches /users/*
router.get("users", all) { ... }
any
: matches and discards any 1 path component.
all
: matches and discards any 0 or more path components; should be placed at the end of the path.
Milestone:
3.0.1
Routing 3.0.0
Routing 3.0 is here! 🎉
🚍 High-performance trie-node router.
Docs:
https://docs.vapor.codes/3.0/routing/getting-started/
API Docs:
https://api.vapor.codes/routing/latest/Routing/
Changes since last RC
New:
- Cleaned up internal APIs and added doc blocks!
- TrieRouter and nodes are now a lot simpler.
- New
RoutablePath
protocol for future performance optimizations for routing.
Milestone:
3.0.0
Routing 3.0.0 RC 2
New:
- Vapor is now running on Swift NIO!
- Cleaned up
PathComponent
andDynamicPathComponent
to make routing phases more clear. - Routing errors should now provide human-readable descriptions.
Routing 3.0.0 RC 1
Merge pull request #35 from vapor/rc routing 3