Workery 1.0 → 1.1
Deprecated
Workery has been reworked and renamed to Cerces. With major API changes and improvements that are outdated in this migration guide. Migrating to Cerces is highly encouraged.
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.