6.2.4 (2024-12-20)
6.2.3 (2024-12-19)
6.2.2 (2024-12-19)
6.2.1 (2024-12-18)
6.2.0 (2024-12-18)
6.1.0 (2024-12-17)
6.0.3 (2024-12-13)
6.0.2 (2024-06-30)
6.0.1 (2024-06-23)
6.0.0 (2024-06-17)
- Drop Node.js < 18.19.0 support
the core part of eggjs/egg#3644
Breaking changes:
- Drop Node.js < 18.19.0 support
- Drop generator function support
- loader functions change to async function
- export asyncLocalStorage instance to global (#267) (910fe85)
- support cjs and esm both (#265) (fed5f35)
5.3.1 (2023-04-06)
- skip register tsconfig-paths if tsconfig.json not exists (#261) (24a0d64), closes /github.com/eggjs/egg-core/pull/254#issuecomment-1493713971
5.3.0 (2023-01-13)
- support show app.timing in timline string (#260) (5b7af12), closes #0 #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 #15 #16 #17 #18 #19 #20 #21 #22
5.2.0 (2023-01-03)
5.1.1 (2023-01-01)
5.1.0 (2023-01-01)
5.0.0 (2023-01-01)
- drop Node.js < 14.17.0 support
4.30.1 (2022-12-19)
4.30.0 (2022-12-19)
features
- [
0e48956
] - feat: enable asyncLocalStorage by default (#251) (fengmk2 <fengmk2@gmail.com>)
fixes
- [
1d7d19b
] - fix: fix call legacyReadyCallback with options (#250) (killa <killa123@126.com>)
features
- [
d4080c0
] - feat: add legacy timing (#249) (killa <killa123@126.com>)
features
- [
7750ebc
] - feat: dump plugin info when it implicit enable by dependents plugin (#248) (TZ | 天猪 <atian25@qq.com>)
fixes
- [
0c571d8
] - fix: appInfo.scope no value (#247) (一剑 <answord@163.com>)
features
- [
7c6353f
] - feat: extract plugin loader method for override (#246) (TZ | 天猪 <atian25@qq.com>)
features
- [
8ae1aad
] - feat: add load plugin methods (#245) (吖猩 <whx89768@alibaba-inc.com>)
others
- [
7c4707c
] - Create codeql-analysis.yml (fengmk2 <fengmk2@gmail.com>)
fixes
- [
f8c069b
] - fix: validate plugin.package (#244) (TZ | 天猪 <atian25@qq.com>)
others
- [
970134b
] - chore: update node engines to 8.9.0+ (#243) (TZ | 天猪 <atian25@qq.com>) - [
02bb843
] - refactor: use require.resolve instead of fs.exists (#238) (TZ | 天猪 <atian25@qq.com>)
features
- [
f8169f1
] - feat: support plugin strict config (#240) (吖猩 <whx89768@alibaba-inc.com>)
fixes
- [
a9fc514
] - fix: plugin loader support pnpm (#239) (hyj1991 <yeekwanvong@gmail.com>)
features
- [
43f15ad
] - feat: support pnpm node_modules style (#237) (TZ | 天猪 <atian25@qq.com>)
others
- [
4b523c5
] - deps: use globby@10.0.2 to fix security warning (fengmk2 <fengmk2@gmail.com>) - [
26ec6e4
] - ci: remove travis (#233) (hyj1991 <yeekwanvong@gmail.com>)
features
- [
9684589
] - feat: expose set config meta (#227) (TZ | 天猪 <atian25@qq.com>)
fixes
- [
19a60de
] - fix: should end some timings (#226) (TZ | 天猪 <atian25@qq.com>)
features
- [
9e3b454
] - feat: support process.env.EGG_APP_CONFIG (#225) (TZ | 天猪 <atian25@qq.com>) - [
b207f89
] - feat: timing support Process Start/Script Start (#222) (killa <killa123@126.com>)
features
- [
9b371fa
] - feat: support enable/disable/clear timing (#224) (TZ | 天猪 <atian25@qq.com>)
fixes
- [
f704e99
] - fix: this type in EggLoader (#223) (maxming <maxming2333@gmail.com>)
others
- [
8cb0a6e
] - chore(typings): add EggLoader interface (#221) (Kiho · Cham <monkindey@163.com>)
fixes
- [
2935e16
] - fix: fix before close order (#219) (killa <killa123@126.com>)
fixes
- [
77e11f5
] - fix: fix ready callback id (#214) (killa <killa123@126.com>)
others
- [
5bb4fe4
] - deps: upgrade dependencies (#215) (Haoliang Gao <sakura9515@gmail.com>)
fixes
- [
947292c
] - fix: ignore console instance on config meta (#211) (fengmk2 <fengmk2@gmail.com>)
features
- [
515d50f
] - feat: debug middleware enter log on every request (#210) (fengmk2 <fengmk2@gmail.com>)
others
- [
1ba4d7c
] - fix(d.ts): caseStyle should return array (#209) (JimmyDaddy <heyjimmygo@gmail.com>)
fixes
- [
6bbbca2
] - fix: change non-exports type to interface (#206) (吖猩 <whxaxes@qq.com>)
features
- [
0b7b6e6
] - feat: custom loader support exports (#205) (TZ | 天猪 <atian25@qq.com>) - [
01201c3
] - feat: improve d.ts (#204) (吖猩 <whxaxes@qq.com>)
fixes
- [
ab3ffcf
] - fix: customLoader should not overwrite the existing property (#203) (Haoliang Gao <sakura9515@gmail.com>)
features
- [
3299be4
] - feat: add new mixin loadCustomLoader in Loader (#202) (Haoliang Gao <sakura9515@gmail.com>)
fixes
- [
d7c2c9a
] - fix: don't print when plugins that disabled by app is empty (#201) (Haoliang Gao <sakura9515@gmail.com>)
others
- [
6d34013
] - deps: use egg router 2.0.0 (#200) (fengmk2 <fengmk2@gmail.com>)
features
- [
2eb0076
] - feat: support options.env to specific server env (#199) (Yiyu He <dead_horse@qq.com>)
others
- [
8bfbbea
] - chore: upgrade egg-router (#198) (Yiyu He <dead_horse@qq.com>)
others
- [
fcdf663
] - chore: use @eggjs/router instead of koa-router (#197) (Yiyu He <dead_horse@qq.com>) - [
29118e5
] - Chore (gitignore, file_loader.test.js): Update files (#195) (Maledong <maledong_github@outlook.com>)
others
- [
35ed3fa
] - refactor(jest-support): Replace require.extensions with Module._extensions (#196) (Gray <njugray@gmail.com>)
features
- [
90cafae
] - feat: loader support load file without extname (#194) (吖猩 <whxaxes@qq.com>)
features
- [
df1cc5b
] - feat: support jest (#188) (吖猩 <whxaxes@qq.com>)
others
- [
b123b61
] - chore: resolve EggApplication is not a Class (#186) (zhangdianpeng <hzzhangdianpeng@corp.netease.com>)
features
- [
fdc1ee5
] - feat: add 'configWillLoad' hook to lifecycle (#187) (fengmk2 <fengmk2@gmail.com>)
fixes
- [
58a49e4
] - fix(lifecycle): forbid adding hook after initialization (#184) (initialwu)
others
- [
9c16f2e
] - chore(eslint): set root=true to stop looking in parent folders (#183) (initialwu)
fixes
- [
0b0c23f
] - fix: app.js export can be non-function (#182) (Yiyu He <dead_horse@qq.com>)
fixes
- [
33c07db
] - fix: ensure treat function app.js as configDidLoad (#181) (Yiyu He <dead_horse@qq.com>)
features
- [
9d2f2fc
] - feat: impl boot methods (#171) (killa <killa123@126.com>)
others
- [
b71074d
] - fix(config) removes whitespace from both ends of serverEnv (#180) (supperchong <2267805901@qq.com>) - [
ae38fa4
] - chroe: add more comments for toAsyncFunction and toPromise (Maledong <maledong_github@outlook.com>) - [
4d4113c
] - style(core): beautify reg and add .idea to ignore (#179) (Army <army8735@qq.com>)
- revert: #172 loadUnit.name (#175)
- chore(typings): add pkg.types and pkg.files entry for index.d.ts (#176)
- chore(typings): add index.d.ts (#169)
- feat: loadUnit should exports name (#172)
- fix: remove useless code (#170)
- docs: fix a typo (#168)
features
- [
bb24396
] - feat: pick commit from 3.x (#166) (Haoliang Gao <sakura9515@gmail.com>)
others
- [
72d33ae
] - test: add testcase for loadExtend with function call (#167) (Haoliang Gao <sakura9515@gmail.com>)
fixes
- [
4508c36
] - fix: toAsyncFunction can't pass is.asyncFunction() (#159) (Khaidi Chu <i@2333.moe>)
- feat: support ts by env (#158)
features
- [
7f087e7
] - feat: change assert to warning (#157) (Axes <whxaxes@qq.com>)
features
- [
2c6fbbf
] - feat: loader support custom extension (#156) (Axes <whxaxes@qq.com>)
fixes
- [
046ffdd
] - fix: should not load optional plugin & their deps (#154) (zōng yǔ <gxcsoccer@users.noreply.github.com>)
features
- [
5323a9e
] - feat: add patch method for update (egg#1793) (#150) (吴建金 <mosaic101@foxmail.com>)
fixes
- [
2926058
] - fix: mutli-path register. (#151) (SuperEVO <zhang740@qq.com>)
fixes
- [
b41891d
] - fix: fix plugin sequence bug (#152) (zōng yǔ <gxcsoccer@users.noreply.github.com>) - [
4f1c19a
] - fix: only filter the plugin which is disabled by app (#145) (#146) (Haoliang Gao <sakura9515@gmail.com>)
others
- [
3384a87
] - refactor: replaceindexOf()
withincludes()
(#148) (m31271n <m31271n@2players.studio>) - [
613f236
] - docs: fix typo (#147) (m31271n <m31271n@2players.studio>) - [
25b728c
] - refactor: warning when the plugin disabled by app is enabled implicitly (#141) (Haoliang Gao <sakura9515@gmail.com>)
features
- [
cbcf402
] - feat: support options.serverScope for egg-mock (#143) (Yiyu He <dead_horse@qq.com>)
fixes
- [
b327145
] - fix: should load router middleware in beforeStart (#139) (Yiyu He <dead_horse@qq.com>) - [
187fdec
] - fix: check whether controller exists (#138) (TZ | 天猪 <atian25@qq.com>)
fixes
- [
035098c
] - fix: adjust implicitly enable logic (#135) (zōng yǔ <gxcsoccer@users.noreply.github.com>)
features
- [
4979b98
] - feat: export controller function's FULLPATH (#131) (#132) (fengmk2 <fengmk2@gmail.com>)
features
- [
4bb7472
] - feat: export egg utils (#130) (Yiyu He <dead_horse@qq.com>)
others
- [
a02df89
] - test: use async function instead of generator function (#128) (Yiyu He <dead_horse@qq.com>)
others
- [
ba0c9b9
] - refactor: upgrade to koa@2 and koa-router@7 [BREAKING_CHANGE] (#125) (Yiyu He <dead_horse@qq.com>)
features
- [
c944f79
] - feat: export app.options (#127) (Haoliang Gao <sakura9515@gmail.com>)
features
- [
08b498f
] - feat: toAsyncFunction compact with async function (#126) (Yiyu He <dead_horse@qq.com>)
features
- [
f9b4ae8
] - feat: add toPromise and toAsyncFunction (#124) (Yiyu He <dead_horse@qq.com>)
others
- [
1eaa0c6
] - refactor: use utility to read json (#122) (Haoliang Gao <sakura9515@gmail.com>)
features
- [
eedfd3d
] - feat: support serverScope (#120) (Haoliang Gao <sakura9515@gmail.com>)
features
- [
c2dec90
] - feat(core): adding support to register inherited methods when loading controllers (#119) (lkspc <lkspc@qq.com>)
- fix: TypeError when DEBUG=* (#112)
- feat: controller support params by config (#110)
- style: spelling mistakes,orginal -> original (#109)
- fix: check loader existing before retrieve properties (#108)
- fix: should ignore Object.getPrototypeOf check on null/undefined (#107)
- feat: generate configMeta (#106)
- deps: upgrade eslint (#104)
- docs: fix typo (#103)
- deps: upgrade dependencies (#102)
- refactor(plugin): ignore loop when push plugin.default.js (#101)
- feat: framework can override getExtendFilePaths (#100)
- chore: improve cov (#91)
- feat: support app.middleware[name] (#98)
- test: add node 8 (#97)
- feat: app timeout support config by env (#94)
- fix: load class controller should skip getter & setter (#96)
- refactor: use template literals in lib/utils/index.js (#95)
- feat: support load custom file type (#93)
- chore(documentation): fix typo (#92)
- test: fix the testcase that is skipped (#89)
- refactor: change private function name to Symbol from being called outside. (#87)
- test: skip the failed testcase (#88)
- refactor: use es6 rest parameter. (#84)
- feat(file_loader): support filter options (#86)
- feat: support custom directory (#85)
- refact: use es6 default parameter value synax. (#83)
- feat: add fullPath property on class instance (#82)
- feat(file_loader): ignore option support array in FileLoader (#81)
- fix: wrong optional dependencies in complex demo (#80)
- fix: should support module.exports = function*(ctx) {} as a controller (#79)
- refactor: export getHomedir that can be extended (#78)
- feat: expose eggPlugins (#77)
- fix: optionally depend on a plugin which is disabled. (#76)
- feat: always load extend/xx.unittest.js when run test (#75)
- fix: don't replace plugin.default.js when serverEnv is default (#74)
- fix: allow extend setter or getter alone (#73)
- test: add testcase for appPlugins and customPlugins (#72)
- fix: find the true callee bebind proxy (#70)
- feat:expose appPlugins & customPlugins (#68)
- feat: expose BaseContextClass (#71)
- feat: to keep controller function attributes (#69)
- fix: ensure deprecate display the right call stack (#67)
- feat: [BREAKING_CHANGE] array will be overridden when load config (#64)
- fix: improve getPathName (#62)
- feat: FileLoader support caseStyle (#59)
- fix: improve require es module (#61)
- fix: define egg.Service and egg.Controller in constructor (#58)
- feat: load plugin.default.js rather than plugin.js (#57)
- refactor: seperate router api from app (#55)
- fix: context loader cache independent in each request (#54)
- feat: [BREAKING_CHANGE] can get error from .ready() (#53)
- fix: make sure close once (#51)
- feat: imporve error message of async controller (#52)
- deps: remove unuse devDeps (#49)
- feat: [BREAKING_CHANGE] all middleware support async function and common function (#50)
- feat: app.beforeStart support async function same as beforeClose (#48)
- test: fix test on windows (#47)
- feat: add this.service in BaseContextClass (#46)
- feat: add this.config in BaseContextClass (#44)
- fix: execute beforeClose hooks in reverse order (#45)
- feat: add app.beforeClose to register close function (#43)
- feat: controller support class (#42)
- fix: don't assert config.proxy (#41)
- feat: plugin support optionalDependencies (#40)
- refactor: support config/env instead of config/serverEnv (#37)
- fix(router): support app.get(url, controllerName) (#38)
- feat: support app.beforeStart (#39)
- test: use assert instead of should
- refactor: warn only for redefine the same package
- fix: distinguish property cache (#35)
- fix: router.url can't parse multi params right (#34)
- feat: make app middlewares also support enable (#33)
- refactor: don't use core middleware when enable = false (#32)
- feat: core middlewares support enable/match/ignore options (#31)
- refactor: extract getAppInfo that can be extend (#30)
- chore: add pkg.files (#29)
- feat: warn when redefine plugin (#28)
- refactor: assert eggPath should be string
- feat: app support export generator (#26)
- feat: app.js/agent.js support async function (#18)
- feat: add EGG_HOME to getHomedir for test (#25)
- feat: support plugin.{env}.js (#20)
- feat: support {env}.js when load extend (#21)
- feat: app.close return a promise (#19)
- feat: [BREAKING_CHANGE] env as prod when EGG_SERVER_ENV undefined & NODE_ENV prod (#24)
- feat: warning when missing EGG_SERVER_ENV at production (#23)
- test: fix homedir testcase on Windows (#22)
- fix: always get the executor's homedir (#17)
- doc: Plugable > Pluggable (#16)
- test: delete type testcase (#15)
- fix: can't get appConfig in appConfig (#14)
- feat: add plugin.from where declare the plugin (#13)
- feat: [BREAKING_CHANGE] remove compatible support loadExtend (#12)
- fix: resolve the realpath of plugin path (#11)
- feat: improve initializer && export Loader
- feat: rename egg-loader to egg-core (#8)
- refactor: rename to egg-core (#6)
- doc: proofread readme documentation and correct english terms (#7)
- refactor API (#5)
- refactor: implement Loader instead of loading (#4)
- test: add testcase (#3)
- fix: don't print middleware options on start log (#2)
- first version