Skip to content

v2.2.0

Latest
Compare
Choose a tag to compare
@dr-dimitru dr-dimitru released this 14 Feb 21:52
10f21f8

📦 NPM: @2.2.0
☄️ Packosphere @2.2.0

Major Changes:

  • ⚠️ .handle now returns void (was: boolean); This needed to match TS typing for express, connect, and other server-routing middleware registers
  • 📔 Now .handle is recommended middleware for all integrations
  • 👨‍💻 Now .handle and .handler middlewares has fixed context, meaning that it doesn't require calling .bind() no more

Changes:

  • 👨‍🔧 Fix #29, thanks to @StorytellerCZ
  • 👨‍💻 Added types and TS support in NPM and Atmosphere packages
  • 👨‍💻 Fixed context binding in .handle and .handler middlewares
  • 👷‍♂️ Improved tests, added TS tests
  • 📔 Improved docs, examples, and API description

Dependencies:

  • 📦 [dev] request — removed
  • 📦 [dev] ts-node: ^10.9.2 — added to run tests in TS
  • 📦 [dev] tsd: ^0.31.2 — added to test TS definitions
  • 📦 [dev] typescript: ^5.7.3 — added to support TS types
  • 📦 [dev] @types/chai: ^5.0.1 — added to support TS types
  • 📦 [dev] @types/express: ^5.0.0 — added to support TS types
  • 📦 [dev] @types/meteor: ^2.9.8 — added to support TS types
  • 📦 [dev] @types/mocha: ^10.0.10 — added to support TS types
  • 📦 [dev] @types/node: ^22.13.4 — added to support TS types