radix3 icon indicating copy to clipboard operation
radix3 copied to clipboard

Migrating from `radix3` to `rou3`

Open pi0 opened this issue 1 year ago • 2 comments

Almost 3 years ago, i have created radix3 based on ctdio/radix-router - a fast trie based router.

Over the time and with more reactors, radix3's implementation is not actually a radix trie exactly but a combination of a trie and O(1) Object maps.

Considering major rewrite changes (https://github.com/unjs/radix3/pull/107), it makes more sense that we publish the library as a completely new name.

The same repo is renamed because the issues are still trackable and i want to keep contribution credits as part of rename. Old radix3 will be maintained in radix3 branch only for critical hot fixes and we encourage everyone to migrate to newer rou3

Benchmarks: https://github.com/unjs/rou3/tree/main/benchmark#results

Major changes:

  • ⚠️ Rewrite library (#107)
  • ⚠️ Support mixed params in same path segment (#52)
  • ⚠️ Fallback to dynamic matcher if last segment didn't match (#110)
  • ⚠️ Method is natively supported in all APIs

pi0 avatar Jul 04 '24 17:07 pi0

@pi0

Gentle reminder: this issue can be closed now, can't it? Ref: https://github.com/unjs/h3/pull/971#issue-2834952544

nozomuikuta avatar Feb 13 '25 20:02 nozomuikuta

Thanks for the reminder @nozomuikuta. Let's keep it open a little longer till h3/nitro/nuxt adopt rou3.

pi0 avatar Feb 13 '25 21:02 pi0