@equinor/fusion-framework-module-http 5.2.2 → 6.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.
package/CHANGELOG.md CHANGED
@@ -1,205 +1,305 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.0.0
4
+
5
+ ### Major 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)! - The `blob` and `blob# Change Log methods in the `HttpClient` class have been updated to provide a more robust and flexible API for fetching blob resources.
8
+
9
+ 1. The `blob` and `blob# Change Log methods now accept an optional `args`parameter of type`FetchRequestInit<T, TRequest, TResponse>`, where `T` is the type of the expected blob result. This allows consumers to customize the fetch request and response handling.
10
+ 2. The `blob` and `blob# Change Log methods now return a `Promise<T>`and`StreamResponse<T>`respectively, where`T` is the type of the expected blob result. This allows consumers to handle the blob data in a more type-safe manner.
11
+ 3. The `blobSelector` function has been updated to extract the filename (if available) from the `content-disposition` header and return it along with the blob data in a `BlobResult` object.
12
+ 4. If you were previously using the `blob` or `blob# Change Log methods and expecting a `Blob`result, you must now use the new`BlobResult` type, which includes the filename (if available) and the blob data.
13
+
14
+ > [!WARNING]
15
+ > This alters the return type of the `blob` and `blob# Change Log methods, which is a **breaking change**.
16
+
17
+ Example:
18
+
19
+ ```typescript
20
+ const blobResult = await httpClient.blob('/path/to/blob');
21
+ console.log(blobResult.filename); // 'example.pdf'
22
+ console.log(blobResult.blob); // Blob instance
23
+ ```
24
+
25
+ 1. If you were providing a custom selector function to the `blob` or `blob# Change Log methods, you can now use the new `BlobResult` type in your selector function.
26
+
27
+ Example:
28
+
29
+ ```typescript
30
+ const customBlobSelector = async (
31
+ response: Response,
32
+ ): Promise<{ filename: string; blob: Blob }> => {
33
+ // Extract filename and blob from the response
34
+ const { filename, blob } = await blobSelector(response);
35
+ return { filename, blob };
36
+ };
37
+
38
+ const blobResult = await httpClient.blob('/path/to/blob', { selector: customBlobSelector });
39
+ console.log(blobResult.filename); // 'example.pdf'
40
+ console.log(blobResult.blob); // Blob instance
41
+ ```
42
+
43
+ 3. If you were using the `blob# Change Log method and expecting a `StreamResponse<Blob>`, you can now use the new `StreamResponse<T>`type, where`T` is the type of the expected blob result.
44
+
45
+ Example:
46
+
47
+ ```typescript
48
+ const blobStream = httpClient.blob$('/path/to/blob');
49
+ blobStream.subscribe((blobResult) => {
50
+ console.log(blobResult.filename); // 'example.pdf'
51
+ console.log(blobResult.blob); // Blob instance
52
+ });
53
+ ```
54
+
55
+ ### Patch Changes
56
+
57
+ - [#2196](https://github.com/equinor/fusion-framework/pull/2196) [`1e60919`](https://github.com/equinor/fusion-framework/commit/1e60919e83fb65528c88f604d7bd43299ec412e1) Thanks [@odinr](https://github.com/odinr)! - The `jsonSelector` function was not checking the error type in the `catch` block.
58
+ This lead to not throwing the error with parsed data, but always throwing a parser error, where the correct error was `cause` in the `ErrorOptions`
59
+
60
+ **BREAKING CHANGE:**
61
+
62
+ If for some reason developers has catched the error and assumed the `cause` property would give the proper error data, this will no longer be the case.
63
+
64
+ ```ts
65
+ try {
66
+ await jsonSelector(response);
67
+ } catch (error) {
68
+ if (error instanceof HttpJsonResponseError) {
69
+ const { data, cause } = error;
70
+ if (data) {
71
+ console.error('the request was not `ok`, see provided error data', data);
72
+ } else {
73
+ console.error('failed to parse data from response, see provided cause', cause);
74
+ }
75
+ }
76
+ }
77
+ ```
78
+
79
+ ```diff
80
+ try {
81
+ await jsonSelector(response);
82
+ } catch (error) {
83
+ if(error instanceof HttpJsonResponseError) {
84
+ - const data = error.cause instanceof HttpJsonResponseError ? err.cause.data : null;
85
+ + const data = error instanceof HttpJsonResponseError ? error.data : null;
86
+ if(data) {
87
+ console.error('the request was not `ok`, see provided error data', data);
88
+ } else {
89
+ console.error('failed to parse data from response, see provided cause', error.cause);
90
+ }
91
+ }
92
+ }
93
+ ```
94
+
95
+ ## 5.2.3
96
+
97
+ ### Patch Changes
98
+
99
+ - Updated dependencies [[`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2)]:
100
+ - @equinor/fusion-framework-module@4.3.1
101
+ - @equinor/fusion-framework-module-msal@3.1.1
102
+
3
103
  ## 5.2.2
4
104
 
5
105
  ### Patch Changes
6
106
 
7
- - [#2073](https://github.com/equinor/fusion-framework/pull/2073) [`fab2d22`](https://github.com/equinor/fusion-framework/commit/fab2d22f56772c02b1c1e5688cea1dd376edfcb3) Thanks [@eikeland](https://github.com/eikeland)! - Removing type module in package.json
107
+ - [#2073](https://github.com/equinor/fusion-framework/pull/2073) [`fab2d22`](https://github.com/equinor/fusion-framework/commit/fab2d22f56772c02b1c1e5688cea1dd376edfcb3) Thanks [@eikeland](https://github.com/eikeland)! - Removing type module in package.json
8
108
 
9
109
  ## 5.2.1
10
110
 
11
111
  ### Patch Changes
12
112
 
13
- - [#2043](https://github.com/equinor/fusion-framework/pull/2043) [`4af517f`](https://github.com/equinor/fusion-framework/commit/4af517f107f960aa1dc7459451d99e2e83d350ee) Thanks [@odinr](https://github.com/odinr)! - Added test for http client, to check if configured operators are not altered
113
+ - [#2043](https://github.com/equinor/fusion-framework/pull/2043) [`4af517f`](https://github.com/equinor/fusion-framework/commit/4af517f107f960aa1dc7459451d99e2e83d350ee) Thanks [@odinr](https://github.com/odinr)! - Added test for http client, to check if configured operators are not altered
14
114
 
15
- - [#2043](https://github.com/equinor/fusion-framework/pull/2043) [`4af517f`](https://github.com/equinor/fusion-framework/commit/4af517f107f960aa1dc7459451d99e2e83d350ee) Thanks [@odinr](https://github.com/odinr)! - When adding operators to request and response handler to an http client instanstance, the values where added to the configured handlers permanently
115
+ - [#2043](https://github.com/equinor/fusion-framework/pull/2043) [`4af517f`](https://github.com/equinor/fusion-framework/commit/4af517f107f960aa1dc7459451d99e2e83d350ee) Thanks [@odinr](https://github.com/odinr)! - When adding operators to request and response handler to an http client instanstance, the values where added to the configured handlers permanently
16
116
 
17
- ```ts
18
- // create a new client from configuration
19
- const fooClient = provider.createClient("foo");
20
- fooClient.requestHandler.setHeader("x-foo", "bar");
117
+ ```ts
118
+ // create a new client from configuration
119
+ const fooClient = provider.createClient('foo');
120
+ fooClient.requestHandler.setHeader('x-foo', 'bar');
21
121
 
22
- // generate a RequestInit object
23
- const fooRequest = await lastValueFrom(
24
- fooClient.requestHandler.process({ path: "/api", uri: fooClient.uri }),
25
- );
122
+ // generate a RequestInit object
123
+ const fooRequest = await lastValueFrom(
124
+ fooClient.requestHandler.process({ path: '/api', uri: fooClient.uri }),
125
+ );
26
126
 
27
- expect((fooRequest.headers as Headers)?.get("x-foo")).toBe("bar");
127
+ expect((fooRequest.headers as Headers)?.get('x-foo')).toBe('bar');
28
128
 
29
- // create a new client from the same configuration
30
- const barClient = provider.createClient("foo");
129
+ // create a new client from the same configuration
130
+ const barClient = provider.createClient('foo');
31
131
 
32
- // generate a RequestInit object
33
- const barRequest = await lastValueFrom(
34
- barClient.requestHandler.process({ path: "/api", uri: barClient.uri }),
35
- );
132
+ // generate a RequestInit object
133
+ const barRequest = await lastValueFrom(
134
+ barClient.requestHandler.process({ path: '/api', uri: barClient.uri }),
135
+ );
36
136
 
37
- // expect the request header to not been modified
38
- // FAILED
39
- expect((barRequest.headers as Headers)?.get("x-foo")).toBeUndefined();
40
- ```
137
+ // expect the request header to not been modified
138
+ // FAILED
139
+ expect((barRequest.headers as Headers)?.get('x-foo')).toBeUndefined();
140
+ ```
41
141
 
42
- modified the `ProcessOperators` to accept operators on creation, which are clone to the instance.
142
+ modified the `ProcessOperators` to accept operators on creation, which are clone to the instance.
43
143
 
44
- ```diff
45
- --- a/packages/modules/http/src/lib/client/client.ts
46
- +++ a/packages/modules/http/src/lib/client/client.ts
47
- constructor(
48
- public uri: string,
49
- options?: Partial<HttpClientCreateOptions<TRequest, TResponse>>,
50
- ) {
51
- - this.requestHandler = options?.requestHandler ?? new HttpRequestHandler<TRequest>();
52
- + this.requestHandler = new HttpRequestHandler<TRequest>(options?.requestHandler);
53
- - this.responseHandler = options?.responseHandler ?? new HttpResponseHandler<TResponse>();
54
- + this.responseHandler = new HttpResponseHandler<TResponse>(options?.responseHandler);
55
- this._init();
56
- }
144
+ ```diff
145
+ --- a/packages/modules/http/src/lib/client/client.ts
146
+ +++ a/packages/modules/http/src/lib/client/client.ts
147
+ constructor(
148
+ public uri: string,
149
+ options?: Partial<HttpClientCreateOptions<TRequest, TResponse>>,
150
+ ) {
151
+ - this.requestHandler = options?.requestHandler ?? new HttpRequestHandler<TRequest>();
152
+ + this.requestHandler = new HttpRequestHandler<TRequest>(options?.requestHandler);
153
+ - this.responseHandler = options?.responseHandler ?? new HttpResponseHandler<TResponse>();
154
+ + this.responseHandler = new HttpResponseHandler<TResponse>(options?.responseHandler);
155
+ this._init();
156
+ }
57
157
 
58
- ```
158
+ ```
59
159
 
60
160
  ## 5.2.0
61
161
 
62
162
  ### Minor Changes
63
163
 
64
- - [#1953](https://github.com/equinor/fusion-framework/pull/1953) [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904) Thanks [@odinr](https://github.com/odinr)! - updated typescript to 5.4.2
164
+ - [#1953](https://github.com/equinor/fusion-framework/pull/1953) [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904) Thanks [@odinr](https://github.com/odinr)! - updated typescript to 5.4.2
65
165
 
66
166
  ### Patch Changes
67
167
 
68
- - Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
69
- - @equinor/fusion-framework-module@4.3.0
70
- - @equinor/fusion-framework-module-msal@3.1.0
168
+ - Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
169
+ - @equinor/fusion-framework-module@4.3.0
170
+ - @equinor/fusion-framework-module-msal@3.1.0
71
171
 
72
172
  ## 5.1.6
73
173
 
74
174
  ### Patch Changes
75
175
 
76
- - Updated dependencies [[`152cf73`](https://github.com/equinor/fusion-framework/commit/152cf73d39eb32ccbaddaa6941e315c437c4972d)]:
77
- - @equinor/fusion-framework-module@4.2.7
78
- - @equinor/fusion-framework-module-msal@3.0.10
176
+ - Updated dependencies [[`152cf73`](https://github.com/equinor/fusion-framework/commit/152cf73d39eb32ccbaddaa6941e315c437c4972d)]:
177
+ - @equinor/fusion-framework-module@4.2.7
178
+ - @equinor/fusion-framework-module-msal@3.0.10
79
179
 
80
180
  ## 5.1.5
81
181
 
82
182
  ### Patch Changes
83
183
 
84
- - Updated dependencies [[`5eab8af`](https://github.com/equinor/fusion-framework/commit/5eab8afe3c3106cc67ad14ce4cbee6c7e4e8dfb1)]:
85
- - @equinor/fusion-framework-module-msal@3.0.9
184
+ - Updated dependencies [[`5eab8af`](https://github.com/equinor/fusion-framework/commit/5eab8afe3c3106cc67ad14ce4cbee6c7e4e8dfb1)]:
185
+ - @equinor/fusion-framework-module-msal@3.0.9
86
186
 
87
187
  ## 5.1.4
88
188
 
89
189
  ### Patch Changes
90
190
 
91
- - [#1625](https://github.com/equinor/fusion-framework/pull/1625) [`1e4ba77`](https://github.com/equinor/fusion-framework/commit/1e4ba7707d3ce5cfd9c8d6673f760523aa47a45e) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - fix import from non specified export (moduleResolution: bundler)
191
+ - [#1625](https://github.com/equinor/fusion-framework/pull/1625) [`1e4ba77`](https://github.com/equinor/fusion-framework/commit/1e4ba7707d3ce5cfd9c8d6673f760523aa47a45e) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - fix import from non specified export (moduleResolution: bundler)
92
192
 
93
193
  ## 5.1.3
94
194
 
95
195
  ### Patch Changes
96
196
 
97
- - [#1621](https://github.com/equinor/fusion-framework/pull/1621) [`0af3540`](https://github.com/equinor/fusion-framework/commit/0af3540340bac85a19ca3a8ec4e0ccd42b3090ee) Thanks [@odinr](https://github.com/odinr)! - **Improves error handling when processing json http response**
197
+ - [#1621](https://github.com/equinor/fusion-framework/pull/1621) [`0af3540`](https://github.com/equinor/fusion-framework/commit/0af3540340bac85a19ca3a8ec4e0ccd42b3090ee) Thanks [@odinr](https://github.com/odinr)! - **Improves error handling when processing json http response**
98
198
 
99
- In packages/modules/http/src/errors.ts:
199
+ In packages/modules/http/src/errors.ts:
100
200
 
101
- - The class HttpResponseError now has a generic parameter TResponse.
102
- - Added a static property Name to the class.
103
- - Added a new class HttpJsonResponseError which extends HttpResponseError and also has generic parameters TType and TResponse.
104
- - Added a static property Name to the class.
105
- - Added a public property data of type TType.
106
- - Modified the constructor to accept an optional data parameter.
201
+ - The class HttpResponseError now has a generic parameter TResponse.
202
+ - Added a static property Name to the class.
203
+ - Added a new class HttpJsonResponseError which extends HttpResponseError and also has generic parameters TType and TResponse.
204
+ - Added a static property Name to the class.
205
+ - Added a public property data of type TType.
206
+ - Modified the constructor to accept an optional data parameter.
107
207
 
108
- In packages/modules/http/src/lib/selectors/json-selector.ts:
208
+ In packages/modules/http/src/lib/selectors/json-selector.ts:
109
209
 
110
- - Added an import statement for HttpJsonResponseError.
111
- - Modified the jsonSelector function to handle errors when parsing the response.
112
- - Added a try-catch block.
113
- - Changed the JSON parsing logic to store the parsed data in a variable data.
114
- - If the response is not OK, a HttpJsonResponseError is thrown with the appropriate error message, response object, and data property.
115
- - If there is an error parsing the response, a HttpJsonResponseError is thrown with the appropriate error message, response object, and cause property.
210
+ - Added an import statement for HttpJsonResponseError.
211
+ - Modified the jsonSelector function to handle errors when parsing the response.
212
+ - Added a try-catch block.
213
+ - Changed the JSON parsing logic to store the parsed data in a variable data.
214
+ - If the response is not OK, a HttpJsonResponseError is thrown with the appropriate error message, response object, and data property.
215
+ - If there is an error parsing the response, a HttpJsonResponseError is thrown with the appropriate error message, response object, and cause property.
116
216
 
117
217
  ## 5.1.2
118
218
 
119
219
  ### Patch Changes
120
220
 
121
- - [#1595](https://github.com/equinor/fusion-framework/pull/1595) [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - support for module resolution NodeNext & Bundler
221
+ - [#1595](https://github.com/equinor/fusion-framework/pull/1595) [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - support for module resolution NodeNext & Bundler
122
222
 
123
- - Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
124
- - @equinor/fusion-framework-module@4.2.6
125
- - @equinor/fusion-framework-module-msal@3.0.8
223
+ - Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
224
+ - @equinor/fusion-framework-module@4.2.6
225
+ - @equinor/fusion-framework-module-msal@3.0.8
126
226
 
127
227
  ## 5.1.1
128
228
 
129
229
  ### Patch Changes
130
230
 
131
- - [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
231
+ - [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
132
232
 
133
- - Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
134
- - @equinor/fusion-framework-module@4.2.5
135
- - @equinor/fusion-framework-module-msal@3.0.7
233
+ - Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
234
+ - @equinor/fusion-framework-module@4.2.5
235
+ - @equinor/fusion-framework-module-msal@3.0.7
136
236
 
137
237
  ## 5.1.0
138
238
 
139
239
  ### Minor Changes
140
240
 
141
- - [#1242](https://github.com/equinor/fusion-framework/pull/1242) [`8e9e34a0`](https://github.com/equinor/fusion-framework/commit/8e9e34a06a6905d092ad8ca3f9330a3699da20fa) Thanks [@odinr](https://github.com/odinr)! - add method for executing blob requests
241
+ - [#1242](https://github.com/equinor/fusion-framework/pull/1242) [`8e9e34a0`](https://github.com/equinor/fusion-framework/commit/8e9e34a06a6905d092ad8ca3f9330a3699da20fa) Thanks [@odinr](https://github.com/odinr)! - add method for executing blob requests
142
242
 
143
- - added selector for extracting blob from response
144
- - added function for fetching blob as stream or promise on the http client
243
+ - added selector for extracting blob from response
244
+ - added function for fetching blob as stream or promise on the http client
145
245
 
146
- ```tsx
147
- const data = await client.blob("/person/photo");
148
- const url = URL.createObjectURL(blob);
149
- return <img src={url} />;
150
- ```
246
+ ```tsx
247
+ const data = await client.blob('/person/photo');
248
+ const url = URL.createObjectURL(blob);
249
+ return <img src={url} />;
250
+ ```
151
251
 
152
252
  ## 5.0.6
153
253
 
154
254
  ### Patch Changes
155
255
 
156
- - Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
157
- - @equinor/fusion-framework-module@4.2.4
158
- - @equinor/fusion-framework-module-msal@3.0.6
256
+ - Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
257
+ - @equinor/fusion-framework-module@4.2.4
258
+ - @equinor/fusion-framework-module-msal@3.0.6
159
259
 
160
260
  ## 5.0.5
161
261
 
162
262
  ### Patch Changes
163
263
 
164
- - [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
264
+ - [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
165
265
 
166
- conflicts of `@types/react` made random outcomes when using `yarn`
266
+ conflicts of `@types/react` made random outcomes when using `yarn`
167
267
 
168
- this change should not affect consumer of the packages, but might conflict dependent on local package manager.
268
+ this change should not affect consumer of the packages, but might conflict dependent on local package manager.
169
269
 
170
- - [#1145](https://github.com/equinor/fusion-framework/pull/1145) [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump rxjs from 7.5.7 to [7.8.1](https://github.com/ReactiveX/rxjs/blob/7.8.1/CHANGELOG.md)
270
+ - [#1145](https://github.com/equinor/fusion-framework/pull/1145) [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump rxjs from 7.5.7 to [7.8.1](https://github.com/ReactiveX/rxjs/blob/7.8.1/CHANGELOG.md)
171
271
 
172
- - [#1163](https://github.com/equinor/fusion-framework/pull/1163) [`52d98701`](https://github.com/equinor/fusion-framework/commit/52d98701627e93c7284c0b9a5bfd8dab1da43bd3) Thanks [@odinr](https://github.com/odinr)! - Append `Accecpt: application/json` to request headers
272
+ - [#1163](https://github.com/equinor/fusion-framework/pull/1163) [`52d98701`](https://github.com/equinor/fusion-framework/commit/52d98701627e93c7284c0b9a5bfd8dab1da43bd3) Thanks [@odinr](https://github.com/odinr)! - Append `Accecpt: application/json` to request headers
173
273
 
174
- when using the `json# Change Log or `json`function on the`HttpClient`add`Accecpt: application/json` to the request header
274
+ when using the `json# Change Log or `json`function on the`HttpClient`add`Accecpt: application/json` to the request header
175
275
 
176
- - Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
177
- - @equinor/fusion-framework-module@4.2.3
178
- - @equinor/fusion-framework-module-msal@3.0.5
276
+ - Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
277
+ - @equinor/fusion-framework-module@4.2.3
278
+ - @equinor/fusion-framework-module-msal@3.0.5
179
279
 
180
280
  ## 5.0.4
181
281
 
182
282
  ### Patch Changes
183
283
 
184
- - [#946](https://github.com/equinor/fusion-framework/pull/946) [`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352) Thanks [@odinr](https://github.com/odinr)! - Build/update typescript to 5
284
+ - [#946](https://github.com/equinor/fusion-framework/pull/946) [`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352) Thanks [@odinr](https://github.com/odinr)! - Build/update typescript to 5
185
285
 
186
- - Updated dependencies [[`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352)]:
187
- - @equinor/fusion-framework-module@4.2.1
188
- - @equinor/fusion-framework-module-msal@3.0.4
286
+ - Updated dependencies [[`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352)]:
287
+ - @equinor/fusion-framework-module@4.2.1
288
+ - @equinor/fusion-framework-module-msal@3.0.4
189
289
 
190
290
  ## 5.0.3
191
291
 
192
292
  ### Patch Changes
193
293
 
194
- - [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
294
+ - [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
195
295
 
196
- - align all versions of typescript
197
- - update types to build
198
- - a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
296
+ - align all versions of typescript
297
+ - update types to build
298
+ - a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
199
299
 
200
- - Updated dependencies [[`3efbf0bb`](https://github.com/equinor/fusion-framework/commit/3efbf0bb93fc11aa158872cd6ab98a22bcfb59e5), [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9), [`76b30c1e`](https://github.com/equinor/fusion-framework/commit/76b30c1e86db3db18adbe759bb1e39885de1c898), [`83ee5abf`](https://github.com/equinor/fusion-framework/commit/83ee5abf7bcab193c85980e5ae44895cd7f6f08d), [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9), [`060818eb`](https://github.com/equinor/fusion-framework/commit/060818eb04ebb9ed6deaed1f0b4530201b1181cf), [`3efbf0bb`](https://github.com/equinor/fusion-framework/commit/3efbf0bb93fc11aa158872cd6ab98a22bcfb59e5), [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c)]:
201
- - @equinor/fusion-framework-module@4.2.0
202
- - @equinor/fusion-framework-module-msal@3.0.3
300
+ - Updated dependencies [[`3efbf0bb`](https://github.com/equinor/fusion-framework/commit/3efbf0bb93fc11aa158872cd6ab98a22bcfb59e5), [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9), [`76b30c1e`](https://github.com/equinor/fusion-framework/commit/76b30c1e86db3db18adbe759bb1e39885de1c898), [`83ee5abf`](https://github.com/equinor/fusion-framework/commit/83ee5abf7bcab193c85980e5ae44895cd7f6f08d), [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9), [`060818eb`](https://github.com/equinor/fusion-framework/commit/060818eb04ebb9ed6deaed1f0b4530201b1181cf), [`3efbf0bb`](https://github.com/equinor/fusion-framework/commit/3efbf0bb93fc11aa158872cd6ab98a22bcfb59e5), [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c)]:
301
+ - @equinor/fusion-framework-module@4.2.0
302
+ - @equinor/fusion-framework-module-msal@3.0.3
203
303
 
204
304
  All notable changes to this project will be documented in this file.
205
305
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
@@ -228,11 +328,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
228
328
 
229
329
  ### ⚠ BREAKING CHANGES
230
330
 
231
- - **modules/http:** `IHttpClient.execute` is removed, most likely not used, too complex to maintain
331
+ - **modules/http:** `IHttpClient.execute` is removed, most likely not used, too complex to maintain
232
332
 
233
333
  ### Bug Fixes
234
334
 
235
- - **modules/http:** fix typing for json requests ([459df80](https://github.com/equinor/fusion-framework/commit/459df80bfc79426ec6507db8f06d488b6a3d0f07))
335
+ - **modules/http:** fix typing for json requests ([459df80](https://github.com/equinor/fusion-framework/commit/459df80bfc79426ec6507db8f06d488b6a3d0f07))
236
336
 
237
337
  ## [3.0.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@2.2.3...@equinor/fusion-framework-module-http@3.0.0) (2023-01-27)
238
338
 
@@ -258,13 +358,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
258
358
 
259
359
  ### Features
260
360
 
261
- - **http:** throw error when selector error ([dc0aa35](https://github.com/equinor/fusion-framework/commit/dc0aa35cbc44fb0503a9431ab728b81d8a3af290))
361
+ - **http:** throw error when selector error ([dc0aa35](https://github.com/equinor/fusion-framework/commit/dc0aa35cbc44fb0503a9431ab728b81d8a3af290))
262
362
 
263
363
  ## 2.1.8 (2022-12-06)
264
364
 
265
365
  ### Bug Fixes
266
366
 
267
- - **module-http:** adding missing types on module-http iHttpClient ([ac6e81e](https://github.com/equinor/fusion-framework/commit/ac6e81e54d70b8a943466046fcbe86f6bd7c4c67))
367
+ - **module-http:** adding missing types on module-http iHttpClient ([ac6e81e](https://github.com/equinor/fusion-framework/commit/ac6e81e54d70b8a943466046fcbe86f6bd7c4c67))
268
368
 
269
369
  ## 2.1.7 (2022-12-01)
270
370
 
@@ -278,7 +378,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
278
378
 
279
379
  ### Bug Fixes
280
380
 
281
- - **module-http:** add headers to json request ([8223394](https://github.com/equinor/fusion-framework/commit/8223394362a24663bf65442025f0b031aa37a910))
381
+ - **module-http:** add headers to json request ([8223394](https://github.com/equinor/fusion-framework/commit/8223394362a24663bf65442025f0b031aa37a910))
282
382
 
283
383
  ## 2.1.4 (2022-11-11)
284
384
 
@@ -288,7 +388,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
288
388
 
289
389
  ### Bug Fixes
290
390
 
291
- - **module-auth:** make http module await auth ([18a0ed9](https://github.com/equinor/fusion-framework/commit/18a0ed947e128bf1cdc86aa45d31e73c1f8c4bbb))
391
+ - **module-auth:** make http module await auth ([18a0ed9](https://github.com/equinor/fusion-framework/commit/18a0ed947e128bf1cdc86aa45d31e73c1f8c4bbb))
292
392
 
293
393
  ## 2.1.2 (2022-11-03)
294
394
 
@@ -302,12 +402,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
302
402
 
303
403
  ### Features
304
404
 
305
- - :necktie: remove try catch from json-selector ([fe5e2ea](https://github.com/equinor/fusion-framework/commit/fe5e2ea087cdee99403175e912eb09479b86414e))
306
- - :sparkles: return undefined on status code 204 ([af1eea7](https://github.com/equinor/fusion-framework/commit/af1eea7a9ef539a44c3cab69904b4764f169caa6))
405
+ - :necktie: remove try catch from json-selector ([fe5e2ea](https://github.com/equinor/fusion-framework/commit/fe5e2ea087cdee99403175e912eb09479b86414e))
406
+ - :sparkles: return undefined on status code 204 ([af1eea7](https://github.com/equinor/fusion-framework/commit/af1eea7a9ef539a44c3cab69904b4764f169caa6))
307
407
 
308
408
  ### Reverts
309
409
 
310
- - :rewind: revert changes in json-selector ([8c448e5](https://github.com/equinor/fusion-framework/commit/8c448e5c76fb20cbd908c95f2fbd9d8d0367aad1))
410
+ - :rewind: revert changes in json-selector ([8c448e5](https://github.com/equinor/fusion-framework/commit/8c448e5c76fb20cbd908c95f2fbd9d8d0367aad1))
311
411
 
312
412
  ## 2.0.14 (2022-10-27)
313
413
 
@@ -329,7 +429,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
329
429
 
330
430
  ### Bug Fixes
331
431
 
332
- - **module-http:** allow typing of fetch request ([de08783](https://github.com/equinor/fusion-framework/commit/de0878342d82249ffc7e1212230d0aa0e14d32cb))
432
+ - **module-http:** allow typing of fetch request ([de08783](https://github.com/equinor/fusion-framework/commit/de0878342d82249ffc7e1212230d0aa0e14d32cb))
333
433
 
334
434
  ## [2.0.9](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@2.0.8...@equinor/fusion-framework-module-http@2.0.9) (2022-09-29)
335
435
 
@@ -339,7 +439,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
339
439
 
340
440
  ### Bug Fixes
341
441
 
342
- - update registering of configuration ([20942ce](https://github.com/equinor/fusion-framework/commit/20942ce1c7a853ea3b55c031a242646e378db8c9))
442
+ - update registering of configuration ([20942ce](https://github.com/equinor/fusion-framework/commit/20942ce1c7a853ea3b55c031a242646e378db8c9))
343
443
 
344
444
  ## 2.0.7 (2022-09-20)
345
445
 
@@ -349,8 +449,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
349
449
 
350
450
  ### Bug Fixes
351
451
 
352
- - **module-http:** fix export ([06a490d](https://github.com/equinor/fusion-framework/commit/06a490d40e34d2074ac102ac4fcd458cadd3538a))
353
- - **module-http:** improve hierarchy ([3603347](https://github.com/equinor/fusion-framework/commit/36033474991288983490f250726a551f7ce3dcbd))
452
+ - **module-http:** fix export ([06a490d](https://github.com/equinor/fusion-framework/commit/06a490d40e34d2074ac102ac4fcd458cadd3538a))
453
+ - **module-http:** improve hierarchy ([3603347](https://github.com/equinor/fusion-framework/commit/36033474991288983490f250726a551f7ce3dcbd))
354
454
 
355
455
  ## [2.0.5](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@2.0.4...@equinor/fusion-framework-module-http@2.0.5) (2022-09-14)
356
456
 
@@ -384,13 +484,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
384
484
 
385
485
  ### Features
386
486
 
387
- - **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
487
+ - **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
388
488
 
389
489
  ## [2.0.0-alpha.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@1.0.2...@equinor/fusion-framework-module-http@2.0.0-alpha.0) (2022-09-12)
390
490
 
391
491
  ### Features
392
492
 
393
- - **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
493
+ - **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
394
494
 
395
495
  ## 1.0.2 (2022-09-05)
396
496
 
@@ -404,23 +504,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
404
504
 
405
505
  ### ⚠ BREAKING CHANGES
406
506
 
407
- - rename fetch
507
+ - rename fetch
408
508
 
409
- - fix(module-service-discovery): update http client consumer
509
+ - fix(module-service-discovery): update http client consumer
410
510
 
411
- - build: update allowed branches
511
+ - build: update allowed branches
412
512
 
413
- - build: add conventional commit
513
+ - build: add conventional commit
414
514
 
415
- - build: use conventionalcommits
515
+ - build: use conventionalcommits
416
516
 
417
- - build(module-http): push major
517
+ - build(module-http): push major
418
518
 
419
- - build: update deps
519
+ - build: update deps
420
520
 
421
521
  ### Features
422
522
 
423
- - rename fetch method ([#226](https://github.com/equinor/fusion-framework/issues/226)) ([f02df7c](https://github.com/equinor/fusion-framework/commit/f02df7cdd2b9098b0da49c5ea56ac3b6a17e9e32))
523
+ - rename fetch method ([#226](https://github.com/equinor/fusion-framework/issues/226)) ([f02df7c](https://github.com/equinor/fusion-framework/commit/f02df7cdd2b9098b0da49c5ea56ac3b6a17e9e32))
424
524
 
425
525
  ## 0.6.2 (2022-08-19)
426
526
 
@@ -432,44 +532,44 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
432
532
 
433
533
  # [0.6.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.5.0...@equinor/fusion-framework-module-http@0.6.0) (2022-08-11)
434
534
 
435
- - feat!: allow modules to displose ([32b69fb](https://github.com/equinor/fusion-framework/commit/32b69fb7cc61e78e503e67d0e77f21fb44b600b9))
535
+ - feat!: allow modules to displose ([32b69fb](https://github.com/equinor/fusion-framework/commit/32b69fb7cc61e78e503e67d0e77f21fb44b600b9))
436
536
 
437
537
  ### BREAKING CHANGES
438
538
 
439
- - module.initialize now has object as arg
539
+ - module.initialize now has object as arg
440
540
 
441
541
  # 0.5.0 (2022-08-08)
442
542
 
443
543
  ### Bug Fixes
444
544
 
445
- - **module-http:** expose FetchRequest ([3d14ead](https://github.com/equinor/fusion-framework/commit/3d14ead0d78b36db091c6645ff1b69101e1f911f))
545
+ - **module-http:** expose FetchRequest ([3d14ead](https://github.com/equinor/fusion-framework/commit/3d14ead0d78b36db091c6645ff1b69101e1f911f))
446
546
 
447
547
  ### Features
448
548
 
449
- - **module-service-discovery:** resolve service to config ([3fa088d](https://github.com/equinor/fusion-framework/commit/3fa088d2ced8136447df6949928f1af9fc83407a))
549
+ - **module-service-discovery:** resolve service to config ([3fa088d](https://github.com/equinor/fusion-framework/commit/3fa088d2ced8136447df6949928f1af9fc83407a))
450
550
 
451
551
  # [0.4.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.10...@equinor/fusion-framework-module-http@0.4.0) (2022-08-04)
452
552
 
453
- - feat(module)!: allow requireing module instnce (#190) ([3a7e67e](https://github.com/equinor/fusion-framework/commit/3a7e67e9accb5185100325c92d5850a44626e498)), closes [#190](https://github.com/equinor/fusion-framework/issues/190)
553
+ - feat(module)!: allow requireing module instnce (#190) ([3a7e67e](https://github.com/equinor/fusion-framework/commit/3a7e67e9accb5185100325c92d5850a44626e498)), closes [#190](https://github.com/equinor/fusion-framework/issues/190)
454
554
 
455
555
  ### BREAKING CHANGES
456
556
 
457
- - `deps` prop is remove from module object, use `await require('MODULE')`;
557
+ - `deps` prop is remove from module object, use `await require('MODULE')`;
458
558
 
459
- - feat(module)!: allow requireing module instnce
559
+ - feat(module)!: allow requireing module instnce
460
560
 
461
561
  when module initiates it should be allowed to await an required module.
462
562
 
463
- - add method for awaiting required module
464
- - add typing for config in initialize fase
563
+ - add method for awaiting required module
564
+ - add typing for config in initialize fase
465
565
 
466
- - update service discovery to await http module
467
- - add service discovery client
468
- - allow configuration of service discovery client
566
+ - update service discovery to await http module
567
+ - add service discovery client
568
+ - allow configuration of service discovery client
469
569
 
470
- * `deps` prop is remove from module object, use `await require('MODULE')`;
570
+ * `deps` prop is remove from module object, use `await require('MODULE')`;
471
571
 
472
- * fix(module-http): add default interface for HttpClientOptions
572
+ * fix(module-http): add default interface for HttpClientOptions
473
573
 
474
574
  ## [0.3.10](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.9...@equinor/fusion-framework-module-http@0.3.10) (2022-08-01)
475
575
 
@@ -479,19 +579,19 @@ when module initiates it should be allowed to await an required module.
479
579
 
480
580
  ### Bug Fixes
481
581
 
482
- - change typo of exports ([b049503](https://github.com/equinor/fusion-framework/commit/b049503511fb1b37b920b00aed1468ed8385a67e))
582
+ - change typo of exports ([b049503](https://github.com/equinor/fusion-framework/commit/b049503511fb1b37b920b00aed1468ed8385a67e))
483
583
 
484
584
  ## [0.3.8](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.7...@equinor/fusion-framework-module-http@0.3.8) (2022-07-01)
485
585
 
486
586
  ### Bug Fixes
487
587
 
488
- - **module-http:** fix selector of client ([dcc4774](https://github.com/equinor/fusion-framework/commit/dcc477489b51aa988a97494ff553eee34404469d))
588
+ - **module-http:** fix selector of client ([dcc4774](https://github.com/equinor/fusion-framework/commit/dcc477489b51aa988a97494ff553eee34404469d))
489
589
 
490
590
  ## [0.3.7](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.6...@equinor/fusion-framework-module-http@0.3.7) (2022-07-01)
491
591
 
492
592
  ### Bug Fixes
493
593
 
494
- - **module-http:** make rxjs dependent ([a20286f](https://github.com/equinor/fusion-framework/commit/a20286f950ff10c84605c025354cb05280c7455a))
594
+ - **module-http:** make rxjs dependent ([a20286f](https://github.com/equinor/fusion-framework/commit/a20286f950ff10c84605c025354cb05280c7455a))
495
595
 
496
596
  ## [0.3.6](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.5...@equinor/fusion-framework-module-http@0.3.6) (2022-06-30)
497
597
 
@@ -521,13 +621,13 @@ when module initiates it should be allowed to await an required module.
521
621
 
522
622
  ### Features
523
623
 
524
- - **module-http:** expose response processor ([e4551c5](https://github.com/equinor/fusion-framework/commit/e4551c549654ef25f33eef72ebc2fcc02ab552a2))
624
+ - **module-http:** expose response processor ([e4551c5](https://github.com/equinor/fusion-framework/commit/e4551c549654ef25f33eef72ebc2fcc02ab552a2))
525
625
 
526
626
  ## 0.2.2 (2022-06-13)
527
627
 
528
628
  ### Bug Fixes
529
629
 
530
- - **module-http:** reutrn fallb ack config ([8ece469](https://github.com/equinor/fusion-framework/commit/8ece469e99bd64c10a7697d49fdcc5d396737ac8))
630
+ - **module-http:** reutrn fallb ack config ([8ece469](https://github.com/equinor/fusion-framework/commit/8ece469e99bd64c10a7697d49fdcc5d396737ac8))
531
631
 
532
632
  ## 0.2.1 (2022-06-10)
533
633
 
@@ -537,7 +637,7 @@ when module initiates it should be allowed to await an required module.
537
637
 
538
638
  ### Features
539
639
 
540
- - **module-http:** add json support ([a6adbbb](https://github.com/equinor/fusion-framework/commit/a6adbbb36ca1391f8813be6141ef963031098764))
640
+ - **module-http:** add json support ([a6adbbb](https://github.com/equinor/fusion-framework/commit/a6adbbb36ca1391f8813be6141ef963031098764))
541
641
 
542
642
  ## 0.1.1 (2022-02-09)
543
643
 
@@ -547,15 +647,15 @@ when module initiates it should be allowed to await an required module.
547
647
 
548
648
  ### Bug Fixes
549
649
 
550
- - expose http client interface ([8660822](https://github.com/equinor/fusion-framework/commit/8660822b669e549bd454aa8a6a0adcaeb5e7917f))
551
- - **module-http:** allow defaultScopes ([d476de9](https://github.com/equinor/fusion-framework/commit/d476de99e6289e60684f02bcd7b669e23f3789bb))
552
- - **module-http:** fix check if config when creating client ([950ebc1](https://github.com/equinor/fusion-framework/commit/950ebc18f8f35bb7e6f97d6a98bd91d87616a94e))
553
- - **module-http:** fix merge of process operators ([5a1d6d2](https://github.com/equinor/fusion-framework/commit/5a1d6d2942475c61c994f4ec26812c949cabbdf1))
554
- - **module-http:** fix relative url resolve ([0d8c311](https://github.com/equinor/fusion-framework/commit/0d8c311c66b52eec22d465e0db57fa003506ab0c))
650
+ - expose http client interface ([8660822](https://github.com/equinor/fusion-framework/commit/8660822b669e549bd454aa8a6a0adcaeb5e7917f))
651
+ - **module-http:** allow defaultScopes ([d476de9](https://github.com/equinor/fusion-framework/commit/d476de99e6289e60684f02bcd7b669e23f3789bb))
652
+ - **module-http:** fix check if config when creating client ([950ebc1](https://github.com/equinor/fusion-framework/commit/950ebc18f8f35bb7e6f97d6a98bd91d87616a94e))
653
+ - **module-http:** fix merge of process operators ([5a1d6d2](https://github.com/equinor/fusion-framework/commit/5a1d6d2942475c61c994f4ec26812c949cabbdf1))
654
+ - **module-http:** fix relative url resolve ([0d8c311](https://github.com/equinor/fusion-framework/commit/0d8c311c66b52eec22d465e0db57fa003506ab0c))
555
655
 
556
656
  ### Features
557
657
 
558
- - add module for http clients ([7b02db7](https://github.com/equinor/fusion-framework/commit/7b02db7c2e34b97659bc72af7b5b31307cf55e5f))
559
- - http client base uri ([233cabf](https://github.com/equinor/fusion-framework/commit/233cabfea0f2b07955670e553472427ec27a3aa0))
560
- - **module-http:** add check for registered client keys ([93b42f8](https://github.com/equinor/fusion-framework/commit/93b42f88ad092e24fe4f1a216394893128d35734))
561
- - **module-http:** allow selector for http requests ([ea300c8](https://github.com/equinor/fusion-framework/commit/ea300c8ad5555e4514b35ac43a4c8494461afd91))
658
+ - add module for http clients ([7b02db7](https://github.com/equinor/fusion-framework/commit/7b02db7c2e34b97659bc72af7b5b31307cf55e5f))
659
+ - http client base uri ([233cabf](https://github.com/equinor/fusion-framework/commit/233cabfea0f2b07955670e553472427ec27a3aa0))
660
+ - **module-http:** add check for registered client keys ([93b42f8](https://github.com/equinor/fusion-framework/commit/93b42f88ad092e24fe4f1a216394893128d35734))
661
+ - **module-http:** allow selector for http requests ([ea300c8](https://github.com/equinor/fusion-framework/commit/ea300c8ad5555e4514b35ac43a4c8494461afd91))