July 1, 2024

#3.0.1

Typescript
usePrewrite(ctx.response, (data) => {
  return {
    headers: {},
    content: `Hello, ${data}!`,
  };
});
March 31, 2024

#✨ 3.0.0 is here!

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.

Start 3.0

You can easily download the template by entering the command below.

Terminal
npx zely-cli init --dir=app --template=typescript

INFO

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.

Typescript
export default [
  middleware((ctx) => {
    /**/
  }),
];
March 14, 2024

#Almost done: 3.0.0-alpha.14

3.0.0 is almost complete.

  • middleware handler
Typescript
import { ALL, middleware } from '@zely-js/core';
 
export default [
  ALL((ctx) => {
    return ctx.params.number + 5;
  }),
  middleware((ctx) => {
    ctx.params.number = 10;
  }),
];
  • production mode
February 27, 2024

#Current Situation: 3.0.0-alpha.8

We've already added all zely 3.0 features. Code refactoring is the remaining task.

See full changes in our blog!

December 15, 2023

#2.0.0

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.

  • Context
  • Static props
  • @zely/builder