Skip to content

Releases: negezor/middleware-io

[email protected]

20 Sep 05:04
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Added types to export in package.json 445e37a

📖 Documentation

  • Update README style
  • Regenerate docs

🧹 Chore

  • Migrate to github workflow
  • Update dev dependencies

Release 2.8.0

10 Jun 14:05
Compare
Choose a tag to compare

[2.8.0] - 2021.06.10

🛑 BREAKING CHANGE

  • Drop support NodeJS 10

📖 Documentation

  • Updated generated docs

Release 2.7.0

10 Jun 14:02
Compare
Choose a tag to compare

[2.7.0] - 2021.06.10

🌟Highlights

🧹 Chore

  • Updated dev dependencies
  • Updated generated docs

Release 2.6.0

23 Apr 06:46
Compare
Choose a tag to compare

[2.6.0] - 2021.03.28

🔧 Refactors

  • Now uses UnknownObject instead of object type

🧹 Chore

  • Updated dev dependencies
  • Updated generated docs

Release 2.5.0

21 Feb 08:02
6a2093b
Compare
Choose a tag to compare

[2.5.0] - 2020.02.21

🌟Highlights

  • Composer now has an inherited generic
  • compose correspond koa-compose

📖 Documentation

  • Updated generated docs

🧹 Chore

  • Updated dev dependencies

Release 2.4.0

20 Jan 08:03
5be9508
Compare
Choose a tag to compare

[2.4.0] - 2020.01.20

🛑 BREAKING CHANGE

  • In snippets getBeforeMiddleware and getEnforceMiddleware 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 and getConcurrencyMiddleware an error will be thrown for several calls next

🔧 Refactors

  • Types NextMiddlewareReturn and MiddlewareReturn now unknown instead of any

📖 Documentation

  • Comments typos fixed
  • Fix typo in README.md handler
  • Updated generated docs

🧹 Chore

  • Updated dev dependencies

Release 2.3.0

02 Jan 18:07
de5f0a6
Compare
Choose a tag to compare

🌟Highlights

  • Added builder static method for Composer
  • Added length getter for Composer

🧪 Tests

  • Added test for builder static method in Composer
  • Added test for length getter inComposer

📖 Documentation

  • Updated generated docs

Release 2.2.0

02 Jan 17:48
4a421a2
Compare
Choose a tag to compare

[2.2.0] - 2020.01.03

🛑 BREAKING CHANGE

  • Drop support Node.js 8

🌟Highlights

  • Added clone method for Composer

🐛 Bug Fixes

  • Snippet stopMiddleware now return Promise

🧪 Tests

  • Add test for clone method in Composer

📖 Documentation

  • Update required version Node.js in README.md
  • Updated generated docs

🧹 Chore

  • Updated dev dependencies

Release 2.1.0

06 Oct 07:47
Compare
Choose a tag to compare

[2.1.0] - 2019.10.06

🌟Highlights

  • Added getCaughtMiddleware snippet

🐛 Bug Fixes

  • Fixed missing cache in getLazyMiddleware

🧪 Tests

  • Added tests for getCaughtMiddleware and getLazyMiddleware

📖 Documentation

  • Fixed example in README.md
  • Updated generated docs

🧹 Chore

  • Updated dev dependencies

Release 2.0.0

19 Jun 10:11
Compare
Choose a tag to compare

[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