-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Feature
- Support TypeScript by default
- feat: support cjs and esm both koa#5
- @eggjs/core feat: support cjs and esm both core#265
- feat: support @eggjs/core next version utils#21
- @eggjs/router feat: support cjs and esm both router#10
- feat: refactor with typescript to support cjs ane esm both #5328
- refactor egg with ts feat: refactor with typescript to support cjs ane esm both #5328
- refactor tegg plugin to support egg v4
- use tegg by default
- feat: support cjs and esm both by tshy schedule#62
- better config define for TypeScript, e.g.: https://github.com/toeverything/AFFiNE/blob/canary/packages/backend/server/src/core/doc/config.ts#L55
- Support cjs and esm both 使用 tshy 来默认支持 cjs 和 esm #5257
- Support Node >= 18.19.0 (diagnostics_channel.subscribe required)
https://nodejs.org/api/esm.html#importmetaresolvespecifier
import.meta.resolve
required >= 18.19.0 - Only support Windows >= 10
- urllib@4 and undici@6 feat: use undici v6 node-modules/urllib#514
- Better Single Process In Docker
- Async Config Support
- Use zod to parse Config and enable snapshot testing on config unittest
- e.g.: security plugin feat: support cjs and esm both by tshy security#101
-
CLI Plugin System - Release Egg Cloud
- Support Cloudflare Workers https://developers.cloudflare.com/workers/
- esm support
- tsconfig-paths not support esm, need to use tsx on esm project
- 常用插件默认支持 tegg module 模式,让 tegg standalone 可以运行,参考 @eggjs/tegg-dal-plugin 和 @eggjs/tegg-ajv-plugin 的实现,同时兼容 egg plugin 和 tegg module。
- 根据 https://node-modules.dev/grid#install=egg@4 改造剩余的 模块
Breaking changes
Node.js
- Drop generator function support
- Drop Node.js < 20.x support, need to support CommonJS require ESM feature
HttpClient
- Remove DNSCacheHttpClient
- Remove HttpClientNext
- upgrade urllib to v4
Logger
- set
config.logger.enablePerformanceTimer = true
by default - set
config.logger.enableFastContextLogger = true
by default
Other
- Drop legacy feature.
- New Docs Site.
- Auto release by https://github.com/node-modules/github-actions
- https://github.com/xiekw2010/egg-typebox-validate support egg v4 feat: support egg >= 4.0 eggjs-community/egg-typebox-validate#3
- Replace co-busboy https://github.com/cojs/busboy
- 升级帮助文档 https://www.yuque.com/egg/doc/v3-to-v4
- DAL 支持 sql tpl tag https://github.com/blakeembrey/sql-template-tag
Release
Maybe October, 20192022年8月8日发布全新的框架内核 Artus,发音「阿图斯」内核还是 egg-core,不会改动。- egg 4.0:正在 ts 重构中,预计 2025年上半年发布
karoo, zss007, pengkobe, unclexiao, chrislone and 57 moreshanzemin, qq296565890, snapre, Rem486, pkjy and 1 moreechofly, hezhuowei, GuoJiKaiHehe and qq296565890xiongsongsong, hezhuowei, shinji3887, logzh, GuoJiKaiHehe and 3 moreZQun, hezhuowei, logzh, GuoJiKaiHehe, shanzemin and 2 moreatzcl, atian25, okoala, o-w-o, xefy and 30 more
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress