@equinor/fusion-framework-module-http 7.0.9-next.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +23 -6
  2. package/README.md +141 -925
  3. package/dist/esm/configurator.js +5 -5
  4. package/dist/esm/configurator.js.map +1 -1
  5. package/dist/esm/lib/client/client-msal.js +3 -2
  6. package/dist/esm/lib/client/client-msal.js.map +1 -1
  7. package/dist/esm/lib/client/client.js +8 -7
  8. package/dist/esm/lib/client/client.js.map +1 -1
  9. package/dist/esm/lib/operators/index.js +1 -0
  10. package/dist/esm/lib/operators/index.js.map +1 -1
  11. package/dist/esm/lib/selectors/index.js +1 -0
  12. package/dist/esm/lib/selectors/index.js.map +1 -1
  13. package/dist/esm/module.js +18 -9
  14. package/dist/esm/module.js.map +1 -1
  15. package/dist/esm/provider.js +38 -27
  16. package/dist/esm/provider.js.map +1 -1
  17. package/dist/esm/version.js +1 -1
  18. package/dist/esm/version.js.map +1 -1
  19. package/dist/tsconfig.tsbuildinfo +1 -1
  20. package/dist/types/configurator.d.ts +49 -26
  21. package/dist/types/lib/client/client.d.ts +7 -7
  22. package/dist/types/lib/operators/index.d.ts +1 -0
  23. package/dist/types/lib/selectors/index.d.ts +2 -0
  24. package/dist/types/module.d.ts +18 -9
  25. package/dist/types/provider.d.ts +24 -19
  26. package/dist/types/version.d.ts +1 -1
  27. package/docs/client-configuration.md +175 -0
  28. package/docs/observable-patterns.md +103 -0
  29. package/docs/selectors-and-handlers.md +112 -0
  30. package/docs/server-sent-events.md +125 -0
  31. package/package.json +6 -6
  32. package/src/configurator.ts +54 -26
  33. package/src/lib/client/client-msal.ts +3 -2
  34. package/src/lib/client/client.ts +8 -9
  35. package/src/lib/operators/index.ts +1 -0
  36. package/src/lib/selectors/index.ts +7 -0
  37. package/src/module.ts +18 -9
  38. package/src/provider.ts +56 -34
  39. package/src/version.ts +1 -1
  40. package/tests/HttpClient.test.ts +90 -11
  41. package/tests/operators.test.ts +24 -0
  42. package/tests/sse.selector.test.ts +6 -7
package/CHANGELOG.md CHANGED
@@ -1,14 +1,31 @@
1
1
  # Change Log
2
2
 
3
- ## 7.0.9-next.0
3
+ ## 8.0.0
4
4
 
5
- ### Patch Changes
5
+ ### Major Changes
6
+
7
+ - abffa53: Major version bump for Fusion Framework React 19 release.
8
+
9
+ All packages are bumped to the next major version as part of the React 19 upgrade. This release drops support for React versions below 18 and includes breaking changes across the framework.
6
10
 
7
- - [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78) Thanks [@odinr](https://github.com/odinr)! - relase next
11
+ **Breaking changes:**
12
+ - Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
13
+ - React Router upgraded from v6 to v7
14
+ - Navigation module refactored with new history API
15
+ - `renderComponent` and `renderApp` now use `createRoot` API
16
+
17
+ **Migration:**
18
+ - Update your React version to 18.0.0 or higher before upgrading
19
+ - Replace `NavigationProvider.createRouter()` with `@equinor/fusion-framework-react-router`
20
+ - See individual package changelogs for package-specific migration steps
21
+
22
+ ### Patch Changes
8
23
 
9
- - Updated dependencies [[`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78)]:
10
- - @equinor/fusion-framework-module@5.0.7-next.0
11
- - @equinor/fusion-framework-module-msal@7.3.2-next.0
24
+ - abffa53: Fix HTTP client configuration so `responseHandler` options are applied when creating clients, preserve request `path` values in the request pipeline, only treat absolute `http:` and `https:` strings as ad-hoc client URLs, avoid mutating caller-provided MSAL request init objects, and re-export the SSE helpers from the operators and selectors entry points.
25
+ - Updated dependencies [abffa53]
26
+ - Updated dependencies [abffa53]
27
+ - @equinor/fusion-framework-module@6.0.0
28
+ - @equinor/fusion-framework-module-msal@8.0.0
12
29
 
13
30
  ## 7.0.8
14
31