升级日志

History

2019-07-17, Version 2.23.0 @atian25

Notable changes

  • features

    • error message rewrite when it has only a getter
    • fixes

    • handleRequest method should return a promise

    • more log for bodyParser
    • docs

    • httpclient upload files

    • typings improve

Commits

2019-04-30, Version 2.22.2 @atian25

Notable changes

  • fixes
    • optimize declaration of httpclient

Commits

2019-04-29, Version 2.22.1 @atian25

Notable changes

  • fixes
    • should restore agent messenger first

Commits

2019-04-29, Version 2.22.0 @atian25

Notable changes

  • features

    • switch httpclient to httpclient2 for retry feature
    • add BaseHookClass
    • fixes

    • loadCustomLoader should be run before loadCustomApp

    • docs

    • d.ts for single mode

Commits

2019-04-12, Version 2.21.1 @dead-horse

Notable changes

  • fixes
    • Revert “feat: switch httpclient to httpclient2 for retry feature(which is a breaking change)

Commits

2019-04-11, Version 2.21.0 @dead-horse

Notable changes

  • features

    • support config.maxProxyCount to help get the real client ip
    • switch httpclient to httpclient2 for retry feature
    • docs

    • add how to config egg behind a proxy

    • update http_proxy usage
    • change egg-init to npm init egg

Commits

2019-03-25, Version 2.20.2 @whxaxes

Notable changes

  • fixes

    • onClientError remove content-length header
    • types

    • add custom loader typing

    • import types from egg-core

Commits

2019-03-12, Version 2.20.1 @dead-horse

Notable changes

  • fixes
    • empty querystring must be cached
    • add Singleton class declare typings

Commits

2019-03-07, Version 2.20.0 @popomore

Notable changes

  • features

    • support customLoader
    • chore

    • fix typo

    • fix testcase

Commits

2019-02-28, Version 2.19.0 @dead-horse

Notable changes

  • features

    • single mode support ignore warning
    • fixes

    • fix type defined

Commits

2019-02-26, Version 2.18.0 @dead-horse

Notable changes

  • features

    • cluster-client support single process mode
    • fixes

    • fix type defined

Commits

2019-02-21, Version 2.17.0 @dead-horse

Notable changes

  • features

    • agent context can be extended
    • fixes

    • createAnonymousContext add host in headers

Commits

2019-02-18, Version 2.16.2 @dead-horse

Notable changes

  • fixes
    • fix: messenger in single process mode support send without to

Commits

2019-02-15, Version 2.16.1 @atian25

Notable changes

  • docs

    • remove declaration of view
    • others

    • update dependencies

Commits

2019-02-14, Version 2.16.0 @dead-horse

Notable changes

  • features

    • allow ctx.router setter
    • others

    • more document improvement

Commits

2019-02-04, Version 2.15.1 @dead-horse

Notable changes

  • fixes
    • add missing framework support for single process mode

Commits

2019-02-03, Version 2.15.0 @dead-horse

Notable changes

  • features

    • [EXPERIMENT FEATURE] support single process mode
    • fixes

    • [TYPE] array supporting for config.static.dir

    • [TYPE] fix IMiddleware type is incompatible
    • [TYPE] fix type error while esModuleInterop is true
    • others

    • more document improvement

Commits

2018-12-20, Version 2.14.2 @atian25

Notable changes

  • fixes

    • fix d.ts context declaration not works
    • docs

    • more document improvement

Commits

2018-11-24, Version 2.14.1 @atian25

Notable changes

  • fixes

    • remove timeout log msg
    • others

    • use circular-json-for-egg to remove deprecate message

Commits

2018-11-17, Version 2.14.0 @dead-horse

Notable changes

  • features

    • add create anonymous context to agent
    • support server timeout
    • fixes

    • curl: allow request timeout bigger than agent timeout

    • triggerServerDidReady should be triggered only once

Commits

2018-11-07, Version 2.13.0 @mansonchor

Notable changes

  • feature

    • emit event when runInBackground catch error
    • perf

    • better TypeScript support

    • docs

    • supplement documentation

Commits

2018-10-08, Version 2.12.0 @dead-horse

Notable changes

  • feature

    • add Subscription base class on app instance
    • fix

    • upgrade to egg-logger@2, don‘t write log when stream was destroyed.

    • pin circular-json@0.5.5 to avoid output deprecate message
    • docs

    • corrected lots of documentation errors, thanks @Maledong

    • use egg-logger definition

Commits

2018-09-19, Version 2.11.2 @XadillaX

Notable changes

  • fix
    • typescript: add missing ‘ignore’, ’match‘
  • refactor
    • separate dumping config object and config file

Commits

2018-09-14, Version 2.11.1 @popomore

Notable changes

  • fix

    • httpclient: can‘t use runInBackground in agent
    • deps

    • upgrade to debug@4 and coffee@5

Commits

2018-09-11, Version 2.11.0 @atian25

Notable changes

  • feature

    • support boot lifecycle, see https://github.com/eggjs/egg/issues/2520
    • dnshttpclient now use async function instead of Promise
    • fix

    • don‘t log when rawPacket is empty

    • docs

    • add sequelize guide docs

    • more document and typings improvement

Commits

2018-08-06, Version 2.10.0 @fengmk2

Notable changes

  • feature

    • allow runInBackground reuse on plugins
    • use Math.floor instead of parseInt
    • fix

    • use cache-content-type

    • docs

    • add lifecycle doc

    • add sequelize guide
    • add allowDebugAtProd in document
    • egg-scripts support windows
    • schedule add env description
    • more document and typings improvement

Commits

2018-06-14, Version 2.9.1 @dead-horse

Notable changes

  • perf

    • improve set type performance
    • docs

    • fix socketio‘s browser demo

    • add Messenger in tsd

Commits

2018-06-01, Version 2.9.0 @popomore

Notable changes

  • feature

    • dump timing data for loader
    • fix

    • the default value of config.allowDebugAtProd is false

    • make definition of app.locals and ctx.locals definitions merge available
    • add key any to Context in typescript define
    • docs

    • more document improvement

Commits

(本文超出站点单文档体积上限,已截断)