Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0 Milestone #3644

Open
19 of 31 tasks
popomore opened this issue Apr 24, 2019 · 94 comments
Open
19 of 31 tasks

4.0 Milestone #3644

popomore opened this issue Apr 24, 2019 · 94 comments
Assignees
Milestone

Comments

@popomore
Copy link
Member

popomore commented Apr 24, 2019

Feature

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

Release

  • Maybe October, 2019
  • 2022年8月8日发布全新的框架内核 Artus,发音「阿图斯」 内核还是 egg-core,不会改动。
  • egg 4.0:正在 ts 重构中,预计 2025年上半年发布
@atian25 atian25 pinned this issue Apr 24, 2019
@atian25
Copy link
Member

atian25 commented May 6, 2019

egg-mock / egg-bin / egg-scripts / egg-cluster drop support of Node 6.x genertor, use async function.

@unclexiao
Copy link

What is Egg Cloud, It sounds great! Can you make a briefly introduce for it ?

@atian25
Copy link
Member

atian25 commented May 7, 2019

What is Egg Cloud, It sounds great! Can you make a briefly introduce for it ?

you could image it as an upper framework for cloud, including some powerful plugins.

cc @gxcsoccer

@qingdengyue
Copy link

qingdengyue commented May 10, 2019

  1. ES Modules is Experimental even if Node v12.2.0. So use babel or native support?
  2. Support Docker. Provide docker image in docker hub when release new egg version? Provide egg's health check mechanism for docker health check?

@fengmk2
Copy link
Member

fengmk2 commented May 10, 2019

Support ES Modules

I think is allow user to use egg module in ES Module way, but egg itself still common module by default.

@ZQun
Copy link

ZQun commented Jul 17, 2019

Is this the Egg Cloud?

@beiyu98
Copy link

beiyu98 commented Aug 28, 2019

hope more better ts support

@fengmk2
Copy link
Member

fengmk2 commented Aug 29, 2019

I see the keywords: Cloud Native and ServerLess.

@xiaotan0305
Copy link

Existing versions of typescript often fail to make breakpoints for debugging, and the new version should consider optimizing typescript support.

@alickmail
Copy link

Better Single Process In Docker <- cool! looking forward to this =]

@GodsWati
Copy link

How long will it take for version 3.0?

@buzai
Copy link

buzai commented Dec 25, 2019

CLI插件系统 是什么?想要pm2的功能,想要更简化的日志系统

@fengqy800
Copy link

How long will it take for version 3.0? @atian25

@callmez

This comment has been minimized.

@tong3jie
Copy link
Contributor

原生的typescript没有吗?没有装饰器很遗憾啊

@echofly
Copy link

echofly commented Feb 27, 2020

ts重构一波啊!老弟!

@zcong1993
Copy link

any update?

@xuxucode
Copy link
Contributor

any progress?

@callmez
Copy link

callmez commented Mar 10, 2020

when they want start...

@xuxucode
Copy link
Contributor

"Maybe October, 2019" = No deadline, even never

@shinji3887
Copy link

shinji3887 commented Mar 14, 2020

这项目现在还有人维护吗?feature里面的Better Single Process In Docker和我之前提的proposal #4190 描述的是一致的?何时可以支持?

@callmez
Copy link

callmez commented Mar 15, 2020

维护呀 只是bug修复 功能性的就算了吧

@muzaisimao
Copy link

2020年了, egg 3.0有新进展了么?😂

fengmk2 added a commit to eggjs/development that referenced this issue Jan 3, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257
fengmk2 added a commit to eggjs/development that referenced this issue Jan 7, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257
fengmk2 added a commit to eggjs/development that referenced this issue Jan 11, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

Based on the comprehensive changes, here are the release notes:

## Release Notes for @eggjs/development

- **New Features**
	- Added TypeScript support for development environment
	- Enhanced file watching and reloading mechanisms
	- Improved configuration options for development mode

- **Breaking Changes**
	- Migrated from `egg-development` to `@eggjs/development`
	- Requires Node.js version >=18.19.0
	- Dropped support for Node.js 14 and 16

- **Improvements**
	- Refined ESLint configuration
	- Updated GitHub Actions workflow to focus on macOS testing
	- Added more robust file change detection
	- Enhanced type safety across the project

- **Bug Fixes**
	- Improved handling of file reloading in different scenarios
	- Fixed potential issues with asset and service file monitoring

- **Chores**
	- Updated dependencies
	- Migrated test suite to TypeScript
	- Restructured project configuration

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fengmk2 pushed a commit to eggjs/development that referenced this issue Jan 11, 2025
[skip ci]

## [4.0.0](v3.0.2...v4.0.0) (2025-01-11)

### ⚠ BREAKING CHANGES

* drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

Based on the comprehensive changes, here are the release notes:

## Release Notes for @eggjs/development

- **New Features**
	- Added TypeScript support for development environment
	- Enhanced file watching and reloading mechanisms
	- Improved configuration options for development mode

- **Breaking Changes**
	- Migrated from `egg-development` to `@eggjs/development`
	- Requires Node.js version >=18.19.0
	- Dropped support for Node.js 14 and 16

- **Improvements**
	- Refined ESLint configuration
	- Updated GitHub Actions workflow to focus on macOS testing
	- Added more robust file change detection
	- Enhanced type safety across the project

- **Bug Fixes**
	- Improved handling of file reloading in different scenarios
	- Fixed potential issues with asset and service file monitoring

- **Chores**
	- Updated dependencies
	- Migrated test suite to TypeScript
	- Restructured project configuration

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

### Features

* support cjs and esm both by tshy ([#34](#34)) ([7a63cd6](7a63cd6))
fengmk2 pushed a commit that referenced this issue Jan 11, 2025
[skip ci]

## [4.0.0](v3.24.1...v4.0.0) (2025-01-11)

### ⚠ BREAKING CHANGES

* Drop Node.js < 18.19.0 support

part of #3644

Breaking changes:
 - Drop Node.js < 18.19.0 support
 - Drop generator function support

use @eggjs/core@4 eggjs/core#265

### Features

* **doc:** cookies 增加 partitioned、removeUnpartitioned 和 priority 选项文档 ([#5376](#5376)) ([60eb8a1](60eb8a1))
* refactor with typescript to support cjs ane esm both ([#5328](#5328)) ([a09b1cf](a09b1cf))
fengmk2 added a commit to node-modules/jsonp-body that referenced this issue Jan 11, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257
fengmk2 added a commit to node-modules/jsonp-body that referenced this issue Jan 11, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Configuration Updates**
  - Updated ESLint configuration to improve code quality and consistency
  - Removed legacy configuration files (JSHint, Travis CI)
  - Added TypeScript configuration with strict type checking

- **CI/CD Improvements**
  - Replaced Travis CI with GitHub Actions workflows
  - Added automated testing and release processes
  - Configured Node.js version support (18.19.0, 20, 22)

- **Project Maintenance**
  - Updated README with modern badges and documentation
  - Simplified package configuration
  - Removed outdated contributor information

- **Development Environment**
  - Updated `.gitignore` to reflect current project structure
  - Added coverage and build-related ignore rules

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fengmk2 pushed a commit to node-modules/jsonp-body that referenced this issue Jan 11, 2025
[skip ci]

## [2.0.0](v1.1.0...v2.0.0) (2025-01-11)

### ⚠ BREAKING CHANGES

* drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Configuration Updates**
  - Updated ESLint configuration to improve code quality and consistency
  - Removed legacy configuration files (JSHint, Travis CI)
  - Added TypeScript configuration with strict type checking

- **CI/CD Improvements**
  - Replaced Travis CI with GitHub Actions workflows
  - Added automated testing and release processes
  - Configured Node.js version support (18.19.0, 20, 22)

- **Project Maintenance**
  - Updated README with modern badges and documentation
  - Simplified package configuration
  - Removed outdated contributor information

- **Development Environment**
  - Updated `.gitignore` to reflect current project structure
  - Added coverage and build-related ignore rules

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

### Features

* support cjs and esm both by tshy ([#5](#5)) ([fa2f0ff](fa2f0ff))
fengmk2 added a commit to eggjs/jsonp that referenced this issue Jan 11, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257
fengmk2 added a commit to eggjs/jsonp that referenced this issue Jan 11, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
  - Added TypeScript support for the JSONP plugin
  - Modernized project structure with ES module syntax
  - Enhanced type definitions and configuration
  - Introduced new GitHub Actions workflows for CI/CD
  - Added a new class for JSONP error handling

- **Breaking Changes**
  - Renamed package from `egg-jsonp` to `@eggjs/jsonp`
  - Dropped support for Node.js versions below 18.19.0
  - Refactored configuration and middleware approach

- **Improvements**
  - Updated GitHub Actions workflows for CI/CD
  - Improved security checks for JSONP requests
  - Added more robust error handling
  - Enhanced logging configuration

- **Dependency Updates**
  - Updated core dependencies
  - Migrated to modern TypeScript tooling
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fengmk2 pushed a commit to eggjs/jsonp that referenced this issue Jan 11, 2025
[skip ci]

## [3.0.0](v2.0.0...v3.0.0) (2025-01-11)

### ⚠ BREAKING CHANGES

* drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
  - Added TypeScript support for the JSONP plugin
  - Modernized project structure with ES module syntax
  - Enhanced type definitions and configuration
  - Introduced new GitHub Actions workflows for CI/CD
  - Added a new class for JSONP error handling

- **Breaking Changes**
  - Renamed package from `egg-jsonp` to `@eggjs/jsonp`
  - Dropped support for Node.js versions below 18.19.0
  - Refactored configuration and middleware approach

- **Improvements**
  - Updated GitHub Actions workflows for CI/CD
  - Improved security checks for JSONP requests
  - Added more robust error handling
  - Enhanced logging configuration

- **Dependency Updates**
  - Updated core dependencies
  - Migrated to modern TypeScript tooling
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

### Features

* support cjs and esm both by tshy ([#12](#12)) ([9136768](9136768))
fengmk2 added a commit to eggjs/i18n that referenced this issue Jan 11, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257
fengmk2 added a commit to eggjs/i18n that referenced this issue Jan 11, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

Based on the comprehensive changes, here are the updated release notes:

- **New Features**
  - Migrated package to TypeScript with improved type safety.
- Enhanced internationalization (i18n) support with more flexible
configuration.
  - Added comprehensive GitHub Actions workflows for CI/CD.

- **Improvements**
  - Updated Node.js compatibility to version 18.19.0+.
  - Modernized module system with ES module support.
  - Refined configuration and localization mechanisms.

- **Breaking Changes**
  - Package renamed from `egg-i18n` to `@eggjs/i18n`.
  - Switched from CommonJS to ES module syntax.
  - Removed legacy configuration files and testing infrastructure.

- **Chores**
  - Cleaned up and simplified project structure.
  - Updated dependencies and development tooling.
  - Improved documentation and README.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fengmk2 pushed a commit to eggjs/i18n that referenced this issue Jan 11, 2025
[skip ci]

## [3.0.0](v2.1.1...v3.0.0) (2025-01-11)

### ⚠ BREAKING CHANGES

* drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

Based on the comprehensive changes, here are the updated release notes:

- **New Features**
  - Migrated package to TypeScript with improved type safety.
- Enhanced internationalization (i18n) support with more flexible
configuration.
  - Added comprehensive GitHub Actions workflows for CI/CD.

- **Improvements**
  - Updated Node.js compatibility to version 18.19.0+.
  - Modernized module system with ES module support.
  - Refined configuration and localization mechanisms.

- **Breaking Changes**
  - Package renamed from `egg-i18n` to `@eggjs/i18n`.
  - Switched from CommonJS to ES module syntax.
  - Removed legacy configuration files and testing infrastructure.

- **Chores**
  - Cleaned up and simplified project structure.
  - Updated dependencies and development tooling.
  - Improved documentation and README.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

### Features

* support cjs and esm both by tshy ([#14](#14)) ([ccc8eaa](ccc8eaa))
fengmk2 added a commit to eggjs/koa-static-cache that referenced this issue Jan 12, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257
fengmk2 added a commit to eggjs/koa-static-cache that referenced this issue Jan 12, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
	- Added static cache middleware for Koa.
	- Introduced TypeScript support for the package.
	- Implemented comprehensive configuration for package management.

- **Infrastructure**
	- Updated GitHub Actions workflows for CI/CD.
	- Added ESLint configuration.
	- Updated project build and testing configurations.

- **Documentation**
	- Refreshed README with new badges and installation instructions.
	- Updated package description and licensing.

- **Maintenance**
	- Upgraded Node.js engine support to version 18.19.0+.
	- Migrated package to `@eggjs/koa-static-cache`.
	- Removed legacy Travis CI configuration.
	- Added new TypeScript configuration file.
- Removed unnecessary files and configurations, streamlining the project
structure.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fengmk2 pushed a commit to eggjs/koa-static-cache that referenced this issue Jan 12, 2025
[skip ci]

## [6.0.0](v5.1.4...v6.0.0) (2025-01-12)

### ⚠ BREAKING CHANGES

* drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
	- Added static cache middleware for Koa.
	- Introduced TypeScript support for the package.
	- Implemented comprehensive configuration for package management.

- **Infrastructure**
	- Updated GitHub Actions workflows for CI/CD.
	- Added ESLint configuration.
	- Updated project build and testing configurations.

- **Documentation**
	- Refreshed README with new badges and installation instructions.
	- Updated package description and licensing.

- **Maintenance**
	- Upgraded Node.js engine support to version 18.19.0+.
	- Migrated package to `@eggjs/koa-static-cache`.
	- Removed legacy Travis CI configuration.
	- Added new TypeScript configuration file.
- Removed unnecessary files and configurations, streamlining the project
structure.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

### Features

* support cjs and esm both by tshy ([#1](#1)) ([b0524d9](b0524d9))
fengmk2 added a commit to eggjs/static that referenced this issue Jan 12, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257
fengmk2 added a commit to eggjs/static that referenced this issue Jan 12, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Updated package to `@eggjs/static`
	- Enhanced TypeScript support
	- Improved static file serving configuration

- **Chores**
	- Updated GitHub Actions workflows
	- Modernized project configuration
	- Updated Node.js version support to 18.19.0, 20, and 22

- **Documentation**
	- Updated README with new package details
	- Simplified changelog and documentation

- **Refactor**
	- Migrated from CommonJS to ES modules
	- Restructured project file organization

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fengmk2 pushed a commit to eggjs/static that referenced this issue Jan 12, 2025
[skip ci]

## [3.0.0](v2.3.1...v3.0.0) (2025-01-12)

### ⚠ BREAKING CHANGES

* drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Updated package to `@eggjs/static`
	- Enhanced TypeScript support
	- Improved static file serving configuration

- **Chores**
	- Updated GitHub Actions workflows
	- Modernized project configuration
	- Updated Node.js version support to 18.19.0, 20, and 22

- **Documentation**
	- Updated README with new package details
	- Simplified changelog and documentation

- **Refactor**
	- Migrated from CommonJS to ES modules
	- Restructured project file organization

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

### Features

* support cjs and esm both by tshy ([#26](#26)) ([ab7d6fb](ab7d6fb))
fengmk2 added a commit to eggjs/security that referenced this issue Jan 14, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257
fengmk2 added a commit to eggjs/security that referenced this issue Jan 17, 2025
BREAKING CHANGE: drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

Based on the comprehensive changes, here are the updated release notes:

- **New Features**
	- Migrated security plugin to TypeScript.
	- Enhanced type safety for security configurations.
	- Improved middleware and helper utilities.
- Introduced new middleware for handling `Strict-Transport-Security`,
`X-Frame-Options`, and `X-XSS-Protection` headers.
	- Added support for new security configurations and helper functions.

- **Breaking Changes**
	- Renamed package from `egg-security` to `@eggjs/security`.
	- Dropped support for Node.js versions below 18.19.0.
	- Restructured module exports and configurations.
	- Removed several deprecated middleware and utility functions.

- **Security Improvements**
	- Updated CSRF, XSS, and SSRF protection mechanisms.
	- Enhanced middleware for handling security headers.
	- Refined configuration options for various security features.

- **Performance**
	- Modernized codebase with ES module syntax.
	- Improved type definitions and module structure.
- Enhanced test suite with TypeScript support and better resource
management.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
fengmk2 pushed a commit to eggjs/security that referenced this issue Jan 17, 2025
[skip ci]

## [4.0.0](v3.7.0...v4.0.0) (2025-01-17)

### ⚠ BREAKING CHANGES

* drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

Based on the comprehensive changes, here are the updated release notes:

- **New Features**
	- Migrated security plugin to TypeScript.
	- Enhanced type safety for security configurations.
	- Improved middleware and helper utilities.
- Introduced new middleware for handling `Strict-Transport-Security`,
`X-Frame-Options`, and `X-XSS-Protection` headers.
	- Added support for new security configurations and helper functions.

- **Breaking Changes**
	- Renamed package from `egg-security` to `@eggjs/security`.
	- Dropped support for Node.js versions below 18.19.0.
	- Restructured module exports and configurations.
	- Removed several deprecated middleware and utility functions.

- **Security Improvements**
	- Updated CSRF, XSS, and SSRF protection mechanisms.
	- Enhanced middleware for handling security headers.
	- Refined configuration options for various security features.

- **Performance**
	- Modernized codebase with ES module syntax.
	- Improved type definitions and module structure.
- Enhanced test suite with TypeScript support and better resource
management.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

### Features

* support cjs and esm both by tshy ([#101](#101)) ([a11661f](a11661f))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests