@serenity-js/rest 3.0.0-rc.20 → 3.0.0-rc.23
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 +32 -157
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [3.0.0-rc.
|
|
6
|
+
# [3.0.0-rc.23](https://github.com/serenity-js/serenity-js/compare/v2.33.10...v3.0.0-rc.23) (2022-07-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **node:** support for Node 18 ([73212bc](https://github.com/serenity-js/serenity-js/commit/73212bc9deb1998d871b0720a6b437687b3ceddc)), closes [#1243](https://github.com/serenity-js/serenity-js/issues/1243)
|
|
7
12
|
|
|
8
|
-
**Note:** Version bump only for package @serenity-js/rest
|
|
9
13
|
|
|
10
14
|
|
|
15
|
+
# [3.0.0-rc.22](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.21...v3.0.0-rc.22) (2022-07-15)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# [3.0.0-rc.21](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.20...v3.0.0-rc.21) (2022-07-11)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# [3.0.0-rc.20](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.19...v3.0.0-rc.20) (2022-07-11)
|
|
11
24
|
|
|
12
25
|
|
|
13
26
|
|
|
@@ -25,8 +38,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
25
38
|
|
|
26
39
|
|
|
27
40
|
|
|
28
|
-
|
|
29
|
-
|
|
30
41
|
# [3.0.0-rc.18](https://github.com/serenity-js/serenity-js/compare/v2.33.9...v3.0.0-rc.18) (2022-06-06)
|
|
31
42
|
|
|
32
43
|
|
|
@@ -142,116 +153,61 @@ modules such as @serenity-js/protractor and @serenity-js/webdriverio. Dropped su
|
|
|
142
153
|
|
|
143
154
|
|
|
144
155
|
|
|
145
|
-
# [3.0.0-rc.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
### Features
|
|
149
|
-
|
|
150
|
-
* **core:** Screenplay-style Dictionary<T> to help resolve objects with nested Questions ([6a66778](https://github.com/serenity-js/serenity-js/commit/6a667788b7579f94edb70c36103d82ca3f146eed)), closes [#1219](https://github.com/serenity-js/serenity-js/issues/1219)
|
|
151
|
-
* **rest:** all HTTP requests accept DynamicRecord<AxiosRequestConfig> ([c28b47c](https://github.com/serenity-js/serenity-js/commit/c28b47cde53e2e0d3ee8313a1e21e15cbe78df9a)), closes [#463](https://github.com/serenity-js/serenity-js/issues/463)
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
# [3.0.0-rc.16](https://github.com/serenity-js/serenity-js/compare/v2.33.6...v3.0.0-rc.16) (2022-04-15)
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
# [3.0.0-rc.15](https://github.com/serenity-js/serenity-js/compare/v2.33.5...v3.0.0-rc.15) (2022-04-10)
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
# [3.0.0-rc.14](https://github.com/serenity-js/serenity-js/compare/v2.33.3...v3.0.0-rc.14) (2022-03-28)
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
# [3.0.0-rc.13](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.12...v3.0.0-rc.13) (2022-03-02)
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
# [3.0.0-rc.12](https://github.com/serenity-js/serenity-js/compare/v2.33.2...v3.0.0-rc.12) (2022-02-23)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
# [3.0.0-rc.11](https://github.com/serenity-js/serenity-js/compare/v2.33.1...v3.0.0-rc.11) (2022-02-13)
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
# [3.0.0-rc.10](https://github.com/serenity-js/serenity-js/compare/v2.33.0...v3.0.0-rc.10) (2022-02-03)
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
# [3.0.0-rc.9](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.8...v3.0.0-rc.9) (2022-02-01)
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
# [3.0.0-rc.8](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.7...v3.0.0-rc.8) (2022-01-28)
|
|
156
|
+
# [3.0.0-rc.22](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.21...v3.0.0-rc.22) (2022-07-15)
|
|
190
157
|
|
|
158
|
+
**Note:** Version bump only for package @serenity-js/rest
|
|
191
159
|
|
|
192
160
|
|
|
193
|
-
# [3.0.0-rc.7](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.6...v3.0.0-rc.7) (2022-01-28)
|
|
194
161
|
|
|
195
162
|
|
|
196
|
-
### Features
|
|
197
163
|
|
|
198
|
-
|
|
164
|
+
# [3.0.0-rc.21](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.20...v3.0.0-rc.21) (2022-07-11)
|
|
199
165
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
# [3.0.0-rc.6](https://github.com/serenity-js/serenity-js/compare/v2.32.7...v3.0.0-rc.6) (2022-01-10)
|
|
166
|
+
**Note:** Version bump only for package @serenity-js/rest
|
|
203
167
|
|
|
204
168
|
|
|
205
169
|
|
|
206
|
-
# [3.0.0-rc.5](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.4...v3.0.0-rc.5) (2022-01-07)
|
|
207
170
|
|
|
208
171
|
|
|
172
|
+
# [3.0.0-rc.20](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.19...v3.0.0-rc.20) (2022-07-11)
|
|
209
173
|
|
|
210
|
-
|
|
211
|
-
|
|
174
|
+
**Note:** Version bump only for package @serenity-js/rest
|
|
212
175
|
|
|
213
|
-
### Bug Fixes
|
|
214
176
|
|
|
215
|
-
* **core:** you can now retrieve the .length property of an Array wrapped in an Adapter<Array> ([c36e210](https://github.com/serenity-js/serenity-js/commit/c36e210c024052b96ba47e9663c7098e269c5688))
|
|
216
177
|
|
|
217
178
|
|
|
218
179
|
|
|
219
|
-
# [3.0.0-rc.
|
|
180
|
+
# [3.0.0-rc.19](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.18...v3.0.0-rc.19) (2022-06-11)
|
|
220
181
|
|
|
221
182
|
|
|
222
183
|
### Bug Fixes
|
|
223
184
|
|
|
224
|
-
* **rest:**
|
|
225
|
-
|
|
185
|
+
* **rest:** updated Axios to 0.27.2 ([b54694b](https://github.com/serenity-js/serenity-js/commit/b54694ba3dd2b8e0316d94c44381f51b1ab79ad0)), closes [axios/axios#4124](https://github.com/axios/axios/issues/4124) [#1223](https://github.com/serenity-js/serenity-js/issues/1223)
|
|
226
186
|
|
|
227
187
|
|
|
228
|
-
|
|
188
|
+
### Features
|
|
229
189
|
|
|
190
|
+
* **core:** Question.fromObject() generates questions from plain objects with nested Answerables ([3113f20](https://github.com/serenity-js/serenity-js/commit/3113f20ed5c86cb4bcf11479855d4ceaa5696970)), closes [#1219](https://github.com/serenity-js/serenity-js/issues/1219)
|
|
230
191
|
|
|
231
192
|
|
|
232
|
-
# [3.0.0-rc.1](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.0...v3.0.0-rc.1) (2021-12-09)
|
|
233
193
|
|
|
234
194
|
|
|
235
195
|
|
|
236
|
-
# [3.0.0-rc.
|
|
196
|
+
# [3.0.0-rc.18](https://github.com/serenity-js/serenity-js/compare/v2.33.9...v3.0.0-rc.18) (2022-06-06)
|
|
237
197
|
|
|
238
198
|
|
|
239
|
-
### Bug Fixes
|
|
240
199
|
|
|
241
|
-
|
|
200
|
+
# [3.0.0-rc.17](https://github.com/serenity-js/serenity-js/compare/v2.33.8...v3.0.0-rc.17) (2022-06-02)
|
|
242
201
|
|
|
243
202
|
|
|
244
203
|
### Features
|
|
245
204
|
|
|
246
|
-
* **core:**
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
### BREAKING CHANGES
|
|
205
|
+
* **core:** Screenplay-style Dictionary<T> to help resolve objects with nested Questions ([6a66778](https://github.com/serenity-js/serenity-js/commit/6a667788b7579f94edb70c36103d82ca3f146eed)), closes [#1219](https://github.com/serenity-js/serenity-js/issues/1219)
|
|
206
|
+
* **rest:** all HTTP requests accept DynamicRecord<AxiosRequestConfig> ([c28b47c](https://github.com/serenity-js/serenity-js/commit/c28b47cde53e2e0d3ee8313a1e21e15cbe78df9a)), closes [#463](https://github.com/serenity-js/serenity-js/issues/463)
|
|
250
207
|
|
|
251
|
-
* **core:** Introduced @serenity-js/web - a shared library for Serenity/JS Web integration
|
|
252
|
-
modules such as @serenity-js/protractor and @serenity-js/webdriverio. Dropped support for Node 12.
|
|
253
208
|
|
|
254
209
|
|
|
210
|
+
# [3.0.0-rc.16](https://github.com/serenity-js/serenity-js/compare/v2.33.6...v3.0.0-rc.16) (2022-04-15)
|
|
255
211
|
|
|
256
212
|
|
|
257
213
|
|
|
@@ -350,97 +306,16 @@ modules such as @serenity-js/protractor and @serenity-js/webdriverio. Dropped su
|
|
|
350
306
|
|
|
351
307
|
|
|
352
308
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
# [3.0.0-rc.14](https://github.com/serenity-js/serenity-js/compare/v2.33.3...v3.0.0-rc.14) (2022-03-28)
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
# [3.0.0-rc.13](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.12...v3.0.0-rc.13) (2022-03-02)
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
# [3.0.0-rc.12](https://github.com/serenity-js/serenity-js/compare/v2.33.2...v3.0.0-rc.12) (2022-02-23)
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
# [3.0.0-rc.11](https://github.com/serenity-js/serenity-js/compare/v2.33.1...v3.0.0-rc.11) (2022-02-13)
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
# [3.0.0-rc.10](https://github.com/serenity-js/serenity-js/compare/v2.33.0...v3.0.0-rc.10) (2022-02-03)
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
# [3.0.0-rc.9](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.8...v3.0.0-rc.9) (2022-02-01)
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
# [3.0.0-rc.8](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.7...v3.0.0-rc.8) (2022-01-28)
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
# [3.0.0-rc.7](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.6...v3.0.0-rc.7) (2022-01-28)
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
### Features
|
|
387
|
-
|
|
388
|
-
* **core:** replaced `Adapter` with `QuestionAdapter` and introduced `Optional` ([8d84ad3](https://github.com/serenity-js/serenity-js/commit/8d84ad3863e3c726533d0f21934fb1e2fa8b3022)), closes [#1103](https://github.com/serenity-js/serenity-js/issues/1103)
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
# [3.0.0-rc.6](https://github.com/serenity-js/serenity-js/compare/v2.32.7...v3.0.0-rc.6) (2022-01-10)
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
# [3.0.0-rc.5](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.4...v3.0.0-rc.5) (2022-01-07)
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
# [3.0.0-rc.4](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.3...v3.0.0-rc.4) (2021-12-30)
|
|
309
|
+
## [2.33.10](https://github.com/serenity-js/serenity-js/compare/v2.33.9...v2.33.10) (2022-07-19)
|
|
401
310
|
|
|
402
311
|
|
|
403
312
|
### Bug Fixes
|
|
404
313
|
|
|
405
|
-
* **
|
|
406
|
-
|
|
314
|
+
* **rest:** updated Axios to 0.27.2 ([a5925c0](https://github.com/serenity-js/serenity-js/commit/a5925c0e5658d57fa10430245f4c6d9fd5a55a4e)), closes [axios/axios#4124](https://github.com/axios/axios/issues/4124) [#1223](https://github.com/serenity-js/serenity-js/issues/1223)
|
|
407
315
|
|
|
408
316
|
|
|
409
|
-
# [3.0.0-rc.3](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.2...v3.0.0-rc.3) (2021-12-29)
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
### Bug Fixes
|
|
413
|
-
|
|
414
|
-
* **rest:** corrected LastResponse to wrap .status(), .body(), .header() and .headers() in Adapters ([aab8e93](https://github.com/serenity-js/serenity-js/commit/aab8e93a19005710d9f333756cdae5aa21c31058)), closes [#1082](https://github.com/serenity-js/serenity-js/issues/1082)
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
# [3.0.0-rc.2](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.1...v3.0.0-rc.2) (2021-12-09)
|
|
419
|
-
|
|
420
317
|
|
|
421
318
|
|
|
422
|
-
# [3.0.0-rc.1](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.0...v3.0.0-rc.1) (2021-12-09)
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
# [3.0.0-rc.0](https://github.com/serenity-js/serenity-js/compare/v2.32.5...v3.0.0-rc.0) (2021-12-08)
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
### Bug Fixes
|
|
430
|
-
|
|
431
|
-
* **core:** 3.0 RC ([469d54e](https://github.com/serenity-js/serenity-js/commit/469d54e4f81ef430566b93852e3174826f8ef672)), closes [#805](https://github.com/serenity-js/serenity-js/issues/805)
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
### Features
|
|
435
|
-
|
|
436
|
-
* **core:** question.about produces "props" that proxy the methods of the underlying model ([f771872](https://github.com/serenity-js/serenity-js/commit/f771872c56b487e404002c3800fc8f3baaed804f))
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
### BREAKING CHANGES
|
|
440
|
-
|
|
441
|
-
* **core:** Introduced @serenity-js/web - a shared library for Serenity/JS Web integration
|
|
442
|
-
modules such as @serenity-js/protractor and @serenity-js/webdriverio. Dropped support for Node 12.
|
|
443
|
-
|
|
444
319
|
|
|
445
320
|
## [2.33.9](https://github.com/serenity-js/serenity-js/compare/v2.33.8...v2.33.9) (2022-06-02)
|
|
446
321
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenity-js/rest",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.23",
|
|
4
4
|
"description": "Test REST APIs with Serenity/JS",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Molak",
|
|
@@ -44,23 +44,23 @@
|
|
|
44
44
|
"url": "https://github.com/serenity-js/serenity-js/issues"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
|
-
"node": "^14 || ^16",
|
|
47
|
+
"node": "^14 || ^16 || ^18",
|
|
48
48
|
"npm": "^6 || ^7 || ^8"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@serenity-js/core": "3.0.0-rc.
|
|
51
|
+
"@serenity-js/core": "3.0.0-rc.23",
|
|
52
52
|
"axios": "^0.27.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@documentation/esdoc-template": "3.0.0",
|
|
56
56
|
"@integration/testing-tools": "3.0.0",
|
|
57
|
-
"@serenity-js/assertions": "3.0.0-rc.
|
|
57
|
+
"@serenity-js/assertions": "3.0.0-rc.23",
|
|
58
58
|
"@types/chai": "^4.3.1",
|
|
59
59
|
"@types/mocha": "^9.1.1",
|
|
60
|
-
"axios-mock-adapter": "^1.
|
|
60
|
+
"axios-mock-adapter": "^1.21.1",
|
|
61
61
|
"mocha": "^10.0.0",
|
|
62
|
-
"ts-node": "10.8.
|
|
62
|
+
"ts-node": "10.8.2",
|
|
63
63
|
"typescript": "^4.7.4"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "debd05ecd17b48de66a53afbef8f7aa7f457ba6b"
|
|
66
66
|
}
|