Releases: DuskSystems/wayfind
Releases · DuskSystems/wayfind
v0.7.0
0.7.0 - 2024-11-12
Added
- Support builder pattern for constructing routables.
Changed
Router
now requires an explicit lifetime.- All routes now require a leading
/
. - Router display no longer shows internal root node. Matchable nodes are now denoted by
[*]
. - Route expander now converts empty routes
""
to"/"
. Parameters
lists make use ofsmallvec
now.
Removed
- Individual parameters are returned as tuples, rather than
Parameter
.
Fixed
- Touching parameters are now correctly rejected.
v0.6.0
0.6.0 - 2024-10-27
Added
- Added support for optional groups in routes.
- Added support for inline wildcards.
Changed
- Inserts and deletes should be much more efficient now.
- Syntax for escaping parameters has changed to use the
\
character. - Route errors now have more consistent error messages.
- Duplicate route error now shows which route caused the conflict.
- Added priority ranking to routes.
Removed
- Optional parameters have been replaced with optional groups.
- Optional trailing slashes have been replaced with optional groups.
v0.5.0
v0.4.0
v0.3.0
0.3.0 - 2024-09-11
Added
- Optional parameters are now supported in routes.
Changed
- Successful matches now return a flattened representation of node data.
- Route encoding errors now live in the encoding error enum.
- Router display now uses different characters to represent root and matchable nodes.
Fixed
- Router delete method now checks for encoded routes.
- Be consistent with the use of terms "path" and "route".