Migrate 1.0 to 1.1
Contains 3 minor breaking changes.
basePath -> rootPath replaced
basePathhas been removed due to not meeting standard.rootPathhas been added as a replacement forbasePathand now meets standard and supports Cloudflare Workers route patterns.- While functionality did not change much, the generated schemas and APIs is drastically different, this breaking change was intended to inform users that they are different.
Middleware.of removed
- Init parameter
ofhas been removed fromMiddleware, users should simply declare the env type using genericMiddleware<Env>.
App.tags -> Apps.tagsInfo renamed
- Init parameter and property
tagsofApprenamed totagsInfodue to naming conflict with base classRouter.