Releases: compulim/react-chain-of-responsibility
Releases · compulim/react-chain-of-responsibility
v0.4.2 (#112)
v0.4.1 (#109)
v0.4.0 (#106)
[0.4.0] - 2025-10-22
Added
- Added
withBuildPropshigher-order helper function to extends chain-of-responsibility with props transformation capability, by @compulim in PR #90
Changed
- (Preview) 💢 Changed signature to return wrapped return value, instead of plain
ComponentType, by @compulim in PR #91, #92, #99, #100, #101 - Use
handler-chainpackage, by @compulim in PR #93 - Bumped dependencies, in PR #97
- Development dependencies
@babel/preset-env@7.28.0@fluentui/react@8.123.1@testduet/wait-for@0.1.1-main.3a4f261@types/node@24.0.15@typescript-eslint/eslint-plugin@8.37.0@typescript-eslint/parser@8.37.0esbuild@0.25.8eslint@9.31.0eslint-import-resolver-typescript@4.4.4eslint-plugin-prettier@5.5.3jest@30.0.4jest-environment-jsdom@30.0.4prettier@3.6.2shiki@3.8.1
- Development dependencies
Removed
- 💢
createChainOfResponsibilityForFluentUIis marked as deprecated and will be removed in future releases, by @compulim in PR #90- Fluent UI v9 no longer use
IRenderFunctionfor custom render - The correctness of
createChainOfResponsibilityForFluentUIis no longer validated
- Fluent UI v9 no longer use
Fixed
v0.3.0 (#84)
[0.3.0] - 2025-06-22
Added
- Added
asMiddlewarehelper function for converting React component into middleware, by @compulim in PR #79 - Added new sample playground, by @compulim in PR #79
Changed
- Simplified
useBuildComponentCallbackhook by returning a component orundefined, and will no longer returnfalseandnull, by @compulim in PR #82 - Bumped dependencies, in PR #80
- Development dependencies
@babel/preset-env@7.27.2@babel/preset-react@7.27.1@babel/preset-typescript@7.27.1@fluentui/react@8.123.0@testduet/given-when-then@0.1.0-main.5e524dc@testing-library/react@16.3.0@tsconfig/recommended@1.0.10@types/jest@30.0.0@types/node@24.0.3@types/react@18.3.23@types/react-dom@18.3.7@typescript-eslint/eslint-plugin@8.34.1@typescript-eslint/parser@8.34.1esbuild@0.25.5eslint@9.29.0eslint-import-resolver-typescript@4.4.3eslint-plugin-import@2.32.0eslint-plugin-prettier@5.5.0eslint-plugin-react@7.37.5jest@30.0.2jest-environment-jsdom@30.0.2prettier@3.5.3publint@0.3.12tsup@8.5.0typescript@5.8.3
- Development dependencies
v0.2.0
[0.2.0] - 2025-02-14
Added
- Support nested provider of same type, by @compulim in PR #64
- Components will be built using middleware from
<Provider>closer to the<Proxy>and fallback to those farther away
- Components will be built using middleware from
- Support
<Provider>-less usage iffallbackComponentis specified, by @compulim in PR #65 - Support omitting
initorrequestprops in<Provider>and<Proxy>if they are of typevoid, by @compulim in PR #66
Changed
- 💢 Moved build tools from Babel to tsup/esbuild
- 💢 Outside of
<Provider>, whenuseBuildComponentCallbackand<Proxy>is used withfallbackComponent, they will render the fallback component and no longer throwing exception - Bumped dependencies, by @compulim, in PR #49, #58, #63, and #67
- Production dependencies
- Development dependencies
@babel/cli@7.24.6@babel/core@7.24.6@babel/plugin-transform-runtime@7.24.6@babel/preset-env@7.24.7@babel/preset-react@7.24.7@babel/preset-typescript@7.24.7@fluentui/react@8.119.0@testing-library/dom@10.2.0@testing-library/react@16.0.0@tsconfig/recommended@1.0.6@tsconfig/strictest@2.0.5@types/jest@29.5.12@types/node@20.14.9@types/react-dom@18.3.0@types/react@18.3.3esbuild@0.21.5jest-environment-jsdom@29.7.0jest@29.7.0prettier@3.3.2react-dom@18.3.1react-test-renderer@18.3.1react@18.3.1tsup@8.1.0typescript@5.5.2
- Added ESLint import/export syntax, in PR #68
- Added
publint, in PR #68 - Bumped dependencies, in PR #70
- Development dependencies
@babel/preset-env@7.25.8@babel/preset-react@7.25.7@babel/preset-typescript@7.25.7@fluentui/react@8.121.4@testing-library/dom@10.4.0@testing-library/react@16.0.1@tsconfig/recommended@1.0.7@types/jest@29.5.13@types/node@22.7.5@types/react@18.3.11@types/react-dom@18.3.1@typescript-eslint/eslint-plugin@8.8.1@typescript-eslint/parser@8.8.1esbuild@0.24.0eslint@9.12.0eslint-plugin-prettier@5.2.1eslint-plugin-react@7.37.1prettier@3.3.3tsup@8.3.0typescript@5.6.3
- Development dependencies
Removed
- 💢 Removed named exports, please import the defaults instead
- Use
import { createChainOfResponsibility } from 'react-chain-of-responsibility'instead import { createChainOfResponsibilityForFluentUI } from 'react-chain-of-responsibility/fluentUI'for Fluent UI renderer function
- Use
v0.1.0 (#46)
[0.1.0] - 2024-04-01
Changed
- Relaxed peer dependencies requirements to
react@>=16.8.0, by @compulim in PR #45 - Bumped dependencies, by @compulim, in PR #42, #43, and #45
- Production dependencies
- Development dependencies
@babel/cli@7.24.1@babel/core@7.24.3@babel/plugin-transform-runtime@7.24.3@babel/preset-env@7.24.3@babel/preset-react@7.24.1@babel/preset-typescript@7.24.1@fluentui/react@8.117.0@testing-library/react@14.2.2@tsconfig/recommended@1.0.4@tsconfig/strictest@2.0.4@types/jest@29.5.12@types/node@20.11.30@types/react@18.2.70@typescript-eslint/eslint-plugin@7.4.0@typescript-eslint/parser@7.4.0esbuild@0.20.2eslint-plugin-prettier@5.1.3eslint-plugin-react@7.34.1eslint@8.57.0prettier@3.2.5react-wrap-with@0.1.0typescript@5.4.3
- Updated pull request validation to test against various React versions, in PR #44
- Moved from JSX Runtime to JSX Classic to support testing against React 16
- Added NPM scripts
switch:react:*to provide a one-way door to switch to a specific React version for testing purpose
v0.0.2 (#38)
[0.0.2] - 2023-10-09
Changed
- Added type-checking for test, by @compulim, in PR #20
- Updates
tsconfig.jsonto extend from@tsconfig/strictest, by @compulim, in PR #20 - Bump dependencies, by @compulim, in PR #24, and PR #36
- Production dependencies
- Development dependencies
@babel/cli@7.23.0@babel/core@7.23.0@babel/preset-env@7.22.20@babel/preset-typescript@7.23.0@fluentui/react@8.112.2@testing-library/react@14.0.0@tsconfig/recommended@1.0.3@types/jest@29.5.5@types/node@20.8.3@types/react@18.2.25@typescript-eslint/eslint-plugin@6.7.4@typescript-eslint/parser@6.7.4esbuild@0.19.4eslint@8.51.0jest-environment-jsdom@29.7.0jest@29.7.0react-dom@18.2.0react-test-renderer@18.2.0react-wrap-with@0.0.4react@18.2.0
Fixed
v0.0.1
[0.0.1] - 2023-03-21
Changed
- Bump dependencies, by @compulim, in PR #1
- Production dependencies
- Development dependencies
@babel/cli@7.21.0@babel/core@7.21.0@babel/plugin-transform-runtime@7.21.0@babel/preset-typescript@7.21.0@types/node@18.14.0@types/react@17.0.53@typescript-eslint/eslint-plugin@5.53.0@typescript-eslint/parser@5.53.0esbuild@0.17.10eslint-plugin-react@7.32.2eslint@8.34.0jest-environment-jsdom@29.4.3jest@29.4.3prettier@2.8.4typescript@4.9.5
Added
- First public release