@equinor/fusion-framework-react-app 5.1.0 → 5.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2181](https://github.com/equinor/fusion-framework/pull/2181) [`ba2379b`](https://github.com/equinor/fusion-framework/commit/ba2379b177f23ccc023894e36e50d7fc56c929c8) Thanks [@odinr](https://github.com/odinr)! - If you were previously using the `blob` or `blob# Change Log methods from the `IHttpClient`and expecting a`Blob`result, you must now use the new`BlobResult` type, which includes the filename (if available) and the blob data.
8
+
9
+ **Migration Guide:**
10
+
11
+ ```typescript
12
+ // Before
13
+ const blob = await httpClient.blob('/path/to/blob');
14
+ console.log(blob); // Blob instance
15
+
16
+ // After
17
+ const blobResult = await httpClient.blob<Blob>('/path/to/blob');
18
+ console.log(blobResult.filename); // 'example.pdf'
19
+ console.log(blobResult.blob); // Blob instance
20
+ ```
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [[`ba2379b`](https://github.com/equinor/fusion-framework/commit/ba2379b177f23ccc023894e36e50d7fc56c929c8)]:
25
+ - @equinor/fusion-framework-app@9.1.0
26
+ - @equinor/fusion-framework-react@7.1.0
27
+ - @equinor/fusion-framework-module-app@5.3.6
28
+ - @equinor/fusion-framework-react-module-http@6.0.0
29
+
3
30
  ## 5.1.0
4
31
 
5
32
  ### Minor Changes
@@ -1,2 +1,2 @@
1
- export const version = '5.1.0';
1
+ export const version = '5.2.0';
2
2
  //# sourceMappingURL=version.js.map