UNPKG

@wroud/flow-middleware

Version:

A lightweight middleware management library for JavaScript and TypeScript, facilitating middleware chains with re-runs, error handling, and disposability.

122 lines (73 loc) 3.41 kB
<!-- header --> # Changelog All notable changes to this project will be documented in this file. <!-- version:0.8.2 --> ## 0.8.2 (2025-04-22) [Compare changes](https://github.com/Wroud/foundation/compare/flow-middleware-v0.8.1...flow-middleware-v0.8.2) <!-- changelog --> ### 🩹 Fixes - middleware subscribe type to return `Promise<void>` ([2144aaa](https://github.com/Wroud/foundation/commit/2144aaa)) <!-- version:0.8.1 --> ## 0.8.1 (2025-02-07) [Compare changes](https://github.com/Wroud/foundation/compare/flow-middleware-v0.8.0...flow-middleware-v0.8.1) <!-- changelog --> ### 🩹 Fixes - bump dependencies version ([91a7990](https://github.com/Wroud/foundation/commit/91a7990)) <!-- version:0.8.0 --> ## 0.8.0 (2024-11-27) [Compare changes](https://github.com/Wroud/foundation/compare/flow-middleware-v0.7.1...flow-middleware-v0.8.0) <!-- changelog --> ### ✨ Features - plan re-runs ([827afd9](https://github.com/Wroud/foundation/commit/827afd9)) <!-- version:0.7.1 --> ## 0.7.1 (2024-11-27) [Compare changes](https://github.com/Wroud/foundation/compare/flow-middleware-v0.7.0...flow-middleware-v0.7.1) <!-- changelog --> ### 🩹 Fixes - keep not changes subscriptions ([e81ac5b](https://github.com/Wroud/foundation/commit/e81ac5b)) <!-- version:0.7.0 --> ## 0.7.0 (2024-11-27) [Compare changes](https://github.com/Wroud/foundation/compare/flow-middleware-v0.6.1...flow-middleware-v0.7.0) <!-- changelog --> ### ✨ Features - allow to execute request with error ([661feff](https://github.com/Wroud/foundation/commit/661feff)) <!-- version:0.6.1 --> ## 0.6.1 (2024-11-27) [Compare changes](https://github.com/Wroud/foundation/compare/flow-middleware-v0.6.0...flow-middleware-v0.6.1) <!-- changelog --> ### 🩹 Fixes - fist subscription execution ([089da33](https://github.com/Wroud/foundation/commit/089da33)) <!-- version:0.6.0 --> ## 0.6.0 (2024-11-27) [Compare changes](https://github.com/Wroud/foundation/compare/flow-middleware-v0.5.0...flow-middleware-v0.6.0) <!-- changelog --> ### ✨ Features - ability to register per request middlewares ([6f27c69](https://github.com/Wroud/foundation/commit/6f27c69)) <!-- version:0.5.0 --> ## 0.5.0 (2024-11-27) [Compare changes](https://github.com/Wroud/foundation/compare/flow-middleware-v0.4.0...flow-middleware-v0.5.0) <!-- changelog --> ### ✨ Features - support asynchronous subscriptions ([caa6859](https://github.com/Wroud/foundation/commit/caa6859)) <!-- version:0.4.0 --> ## 0.4.0 (2024-11-26) [Compare changes](https://github.com/Wroud/foundation/compare/flow-middleware-v0.3.0...flow-middleware-v0.4.0) <!-- changelog --> ### ✨ Features - allow chaining use/error ([41992e1](https://github.com/Wroud/foundation/commit/41992e1)) <!-- version:0.3.0 --> ## 0.3.0 (2024-11-26) [Compare changes](https://github.com/Wroud/foundation/compare/flow-middleware-v0.2.0...flow-middleware-v0.3.0) <!-- changelog --> ### ✨ Features - add multiple middleware registration and rename register functions ([337e9ee](https://github.com/Wroud/foundation/commit/337e9ee)) <!-- version:0.2.0 --> ## 0.2.0 (2024-11-26) <!-- changelog --> ### 🩹 Fixes - do not copy data object ([02ce20a](https://github.com/Wroud/foundation/commit/02ce20a)) <!-- version:0.1.0 --> ## 0.1.0 (2024-11-26) <!-- changelog --> ### ✨ Features - base implementation ([74bb7e2](https://github.com/Wroud/foundation/commit/74bb7e2))