Migrate 1.0 to 1.1
Contains 3 minor breaking changes.
basePath
-> rootPath
replaced
basePath
has been removed due to not meeting standard.rootPath
has been added as a replacement forbasePath
and 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
of
has been removed fromMiddleware
, users should simply declare the env type using genericMiddleware<Env>
.
App.tags
-> Apps.tagsInfo
renamed
- Init parameter and property
tags
ofApp
renamed totagsInfo
due to naming conflict with base classRouter
.