Automatic Middleware Registration
Middlewares placed in the /middlewares directory are now automatically registered — no manual imports needed.
Bundling Support with --bundle Flag
You can now bundle your project using the --bundle flag for optimized output.
Faster Bundling with Serpack
Bundling speed has improved by 30%.
ctx.debug for Debugging
You can now use ctx.debug(variable) to conveniently log variables during development.
After two months of development, 3.0 has finally been released!
TIP
If you want to move from 2.0 to 3.0, please refer to the Migration Guide.
You can easily download the template by entering the command below.
npx zely-cli init --dir=app --template=typescriptINFO
npm:zely is a re-exported package of the @zely-js/zely and zely-cli packages.
You can get the same result whether you import zely or @zely-js/zely (excluding CLI).
The changes are as follows:
You can add middleware that only works on that page.
export default [
  middleware((ctx) => {
    /**/
  }),
];3.0.0 is almost complete.
middleware handlerimport { ALL, middleware } from '@zely-js/core';
 
export default [
  ALL((ctx) => {
    return ctx.params.number + 5;
  }),
  middleware((ctx) => {
    ctx.params.number = 10;
  }),
];In v0, the name was changed from prext to zely, and some code modifications were made accordingly, and in v1, features began to be added in earnest. This v2 also brought some changes.