Releases: negezor/middleware-io
Releases · negezor/middleware-io
[email protected]
Release 2.8.0
[2.8.0] - 2021.06.10
🛑 BREAKING CHANGE
- Drop support NodeJS 10
📖 Documentation
- Updated generated docs
Release 2.7.0
[2.7.0] - 2021.06.10
🌟Highlights
- Using exports in
package.json
🧹 Chore
- Updated dev dependencies
- Updated generated docs
Release 2.6.0
[2.6.0] - 2021.03.28
🔧 Refactors
- Now uses
UnknownObject
instead ofobject
type
🧹 Chore
- Updated dev dependencies
- Updated generated docs
Release 2.5.0
[2.5.0] - 2020.02.21
🌟Highlights
Composer
now has an inherited genericcompose
correspond koa-compose
📖 Documentation
- Updated generated docs
🧹 Chore
- Updated dev dependencies
Release 2.4.0
[2.4.0] - 2020.01.20
🛑 BREAKING CHANGE
- In snippets
getBeforeMiddleware
andgetEnforceMiddleware
the order of the arguments has changed - Composer now requires generic with
object
restriction
🐛 Bug Fixes
- Multiple
next
calls in compose now throw an asynchronous error - In snippets
getBeforeMiddleware
,getAfterMiddleware
,getEnforceMiddleware
andgetConcurrencyMiddleware
an error will be thrown for several callsnext
🔧 Refactors
- Types
NextMiddlewareReturn
andMiddlewareReturn
nowunknown
instead ofany
📖 Documentation
- Comments typos fixed
- Fix typo in README.md handler
- Updated generated docs
🧹 Chore
- Updated dev dependencies
Release 2.3.0
🌟Highlights
- Added
builder
static method forComposer
- Added
length
getter forComposer
🧪 Tests
- Added test for
builder
static method inComposer
- Added test for
length
getter inComposer
📖 Documentation
- Updated generated docs
Release 2.2.0
[2.2.0] - 2020.01.03
🛑 BREAKING CHANGE
- Drop support
Node.js 8
🌟Highlights
- Added
clone
method forComposer
🐛 Bug Fixes
- Snippet
stopMiddleware
now returnPromise
🧪 Tests
- Add test for
clone
method inComposer
📖 Documentation
- Update required version Node.js in README.md
- Updated generated docs
🧹 Chore
- Updated dev dependencies
Release 2.1.0
[2.1.0] - 2019.10.06
🌟Highlights
- Added
getCaughtMiddleware
snippet
🐛 Bug Fixes
- Fixed missing cache in
getLazyMiddleware
🧪 Tests
- Added tests for
getCaughtMiddleware
andgetLazyMiddleware
📖 Documentation
- Fixed example in README.md
- Updated generated docs
🧹 Chore
- Updated dev dependencies
Release 2.0.0
[2.0.0] - 2019.06.19
🛑 BREAKING CHANGE
- Export compose by default
- Deleted
MiddlewareStatus
, use compose
🌟Highlights
- Added
Composer
, a simple middleware compose builder - Added
getLazyMiddleware
,getTapMiddleware
,getForkMiddleware
,getEnforceMiddleware
,getConcurrencyMiddleware
snippets - Added mini-optimization for
compose
🧪 Tests
- Added tests for snippets
- Added tests for
Composer
🧹 Chore
- Rewrited code with full types
- Now using eslint instead of tslint
- Rewritten benchmark with matcha on benchmark.js