Changelog
3.0.0 (2025-01-11)
part of https://github.com/eggjs/egg/issues/3644
https://github.com/eggjs/egg/issues/5257
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->Based on the comprehensive changes, here are the updated release notes:
New Features
Enhanced internationalization (i18n) support with more flexible configuration.
Improvements
Breaking Changes
egg-i18n
to @eggjs/i18n
.Chores
fixes
4d1c463
] - fix: use ctx.__setLocale to set cookie (#12) (Yiyu He <dead_horse@qq.com>)others
cfd25db
] - test: assert locale cookie without domain (#11) (fengmk2 <fengmk2@gmail.com>)99c56c4
] - test: node 12 (fengmk2 <fengmk2@gmail.com>)features
ce59330
] - feat: support ctx.locale setter (#10) (Yiyu He <dead_horse@qq.com>)others
50322d6
] - chore: add cookieDomain options description (#9) (fengmk2 <fengmk2@gmail.com>)others
80e591d
] - refactor: use async function and support egg@2 (#8) (Yiyu He <dead_horse@qq.com>)features
1117129
] - feat: use config/locale/*.js as default I18N folder (#7) (tudou527 <tudou527@users.noreply.github.com>)