Skip to content

Releases: DuskSystems/wayfind

v0.7.0

12 Nov 18:01
43cc7a1
Compare
Choose a tag to compare

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 of smallvec now.

Removed

  • Individual parameters are returned as tuples, rather than Parameter.

Fixed

  • Touching parameters are now correctly rejected.

v0.6.0

27 Oct 14:01
Compare
Choose a tag to compare

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

11 Sep 20:27
Compare
Choose a tag to compare

0.5.0 - 2024-09-11

Fixed

  • Ensure routes can only be deleted via the exact same inserted route.

Changed

  • Router display is more compact now.

v0.4.0

11 Sep 01:50
Compare
Choose a tag to compare

0.4.0 - 2024-09-11

Added

  • Optional trailing slashes are now supported.

Fixed

  • Route error messages are now correctly indented.

v0.3.0

10 Sep 23:07
Compare
Choose a tag to compare

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".

v0.2.1

04 Sep 16:32
Compare
Choose a tag to compare

0.2.1 - 2024-09-04

Changed

  • Added OCI example.

Fixed

  • Router display no longer relies on generic being displayable.

v0.2.0

29 Aug 18:52
Compare
Choose a tag to compare

0.2.0 - 2024-08-29

Changed

  • Search method now returns a Result.

Removed

  • Removed all usages of unsafe code.
  • Removed smallvec dependency.

Security

  • Resolved incorrect unsafe usage in parameter extraction.

v0.1.0

29 Aug 18:50
Compare
Choose a tag to compare

0.1.0 - 2024-08-29

Added

  • Initial implementation of wayfind.