Skip to content

Conversation

@marshallswain
Copy link
Member

Summary

Introduces a pluggable routing system to assist users to upgrade:

  • Add base router interface with framework-agnostic routing patterns
  • Implement Express router adapter for gradual migration
  • Implement Koa router adapter as Express alternative
  • Update core application to support pluggable routers
  • Include comprehensive test coverage for router implementations

This enables users to incrementally reduce their Express dependency by switching to lighter alternatives while maintaining compatibility.

@marshallswain marshallswain changed the base branch from dove to v6 September 4, 2025 01:42
Introduces a pluggable routing system to help users migrate away from Express:
- Add base router interface with framework-agnostic routing patterns
- Implement Express router adapter for gradual migration
- Implement Koa router adapter as Express alternative
- Update core application to support pluggable routers
- Include comprehensive test coverage for router implementations

This enables users to incrementally reduce their Express dependency by switching to lighter alternatives while maintaining compatibility.
- Remove redundant RegExp creation on each lookup
- Add Set for O(1) duplicate path detection
- Expose caseSensitive and trailing options in router constructors
- Update README with correct examples and options documentation
- Update tests to use constructor options
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 19, 2025

Deploying feathers-eagle with  Cloudflare Pages  Cloudflare Pages

Latest commit: a8d3619
Status: ✅  Deploy successful!
Preview URL: https://9427ccc3.feathers-a8l.pages.dev
Branch Preview URL: https://v6-pluggable-router.feathers-a8l.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 19, 2025

Deploying feathers-dove with  Cloudflare Pages  Cloudflare Pages

Latest commit: a8d3619
Status: ✅  Deploy successful!
Preview URL: https://6a87d51f.feathers.pages.dev
Branch Preview URL: https://v6-pluggable-router.feathers.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants