Skip to content

v0.5.0

Compare
Choose a tag to compare
@tigerwill90 tigerwill90 released this 27 Mar 17:41
· 69 commits to master since this release
f8fb803

This release introduces some important breaking changes and improvements to the router.

Change logs

  • Router configuration use now the Optional pattern.
  • Three new methods have been introduced to the Router type for working with routing trees. These methods are marked as EXPERIMENTAL and are likely to change in future releases.
    • Tree: Atomically loads and returns the currently in-use routing tree.
    • Swap: Atomically replaces the currently in-use routing tree with a provided new tree, and returns the previous tree.
    • Use: Atomically replaces the currently in-use routing tree with a provided new tree.
  • The new Tree API allows to take control of the internal sync.Mutex for advanced usage.
  • Rework of the Lookup function to improve performance.
  • Rename the Match function for Has.

PR

Full Changelog: v0.4.0...v0.5.0