Skip to content

Releases: vapor/routing-kit

Adds pathComponents property to the String

27 Feb 18:05
9eccd81
Compare
Choose a tag to compare

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

14 Dec 03:32
Compare
Choose a tag to compare
Pre-release
  • Removes Route (#82)
  • Router updated to accept Output directly (#82)

RoutingKit 4.0.0 Beta 2

09 Dec 15:14
Compare
Choose a tag to compare
Pre-release
  • Fixes an issue where .catchall would not work correctly if the router travelled to additional nodes beyond the catch all node. (#75)

  • Enabled test discovery on Linux. (#81)

Add Parameter conformance to RawRepresentable enums

29 Aug 21:36
Compare
Choose a tag to compare

RoutingKit 4.0.0 Alpha 1

29 May 18:38
6c7f4b4
Compare
Choose a tag to compare

Routing 3.0.2

22 Feb 23:20
Compare
Choose a tag to compare

Fixed:

  • TrieRouter now percent-decodes dynamic parameters. (#65, #64)

Routing 3.0.1

25 Apr 23:16
3219e32
Compare
Choose a tag to compare

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

20 Apr 02:22
Compare
Choose a tag to compare

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

21 Mar 21:01
Compare
Choose a tag to compare
Routing 3.0.0 RC 2 Pre-release
Pre-release

New:

  • Vapor is now running on Swift NIO!
  • Cleaned up PathComponent and DynamicPathComponent to make routing phases more clear.
  • Routing errors should now provide human-readable descriptions.

Milestone

Routing 3.0.0 RC 1

23 Feb 05:07
8210d28
Compare
Choose a tag to compare
Routing 3.0.0 RC 1 Pre-release
Pre-release
Merge pull request #35 from vapor/rc

routing 3