@serenity-js/rest 3.0.0-rc.21 → 3.0.0-rc.24
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 +33 -158
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.24](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.23...v3.0.0-rc.24) (2022-07-23)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @serenity-js/rest
|
|
9
9
|
|
|
@@ -11,12 +11,25 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
# [3.0.0-rc.
|
|
14
|
+
# [3.0.0-rc.23](https://github.com/serenity-js/serenity-js/compare/v2.33.10...v3.0.0-rc.23) (2022-07-19)
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **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)
|
|
17
20
|
|
|
18
21
|
|
|
19
22
|
|
|
23
|
+
# [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)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# [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)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# [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)
|
|
32
|
+
|
|
20
33
|
|
|
21
34
|
|
|
22
35
|
# [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)
|
|
@@ -33,8 +46,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
33
46
|
|
|
34
47
|
|
|
35
48
|
|
|
36
|
-
|
|
37
|
-
|
|
38
49
|
# [3.0.0-rc.18](https://github.com/serenity-js/serenity-js/compare/v2.33.9...v3.0.0-rc.18) (2022-06-06)
|
|
39
50
|
|
|
40
51
|
|
|
@@ -150,116 +161,61 @@ modules such as @serenity-js/protractor and @serenity-js/webdriverio. Dropped su
|
|
|
150
161
|
|
|
151
162
|
|
|
152
163
|
|
|
153
|
-
# [3.0.0-rc.
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
### Features
|
|
157
|
-
|
|
158
|
-
* **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)
|
|
159
|
-
* **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)
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
# [3.0.0-rc.16](https://github.com/serenity-js/serenity-js/compare/v2.33.6...v3.0.0-rc.16) (2022-04-15)
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
# [3.0.0-rc.15](https://github.com/serenity-js/serenity-js/compare/v2.33.5...v3.0.0-rc.15) (2022-04-10)
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
# [3.0.0-rc.14](https://github.com/serenity-js/serenity-js/compare/v2.33.3...v3.0.0-rc.14) (2022-03-28)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
# [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)
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
# [3.0.0-rc.12](https://github.com/serenity-js/serenity-js/compare/v2.33.2...v3.0.0-rc.12) (2022-02-23)
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
# [3.0.0-rc.11](https://github.com/serenity-js/serenity-js/compare/v2.33.1...v3.0.0-rc.11) (2022-02-13)
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
# [3.0.0-rc.10](https://github.com/serenity-js/serenity-js/compare/v2.33.0...v3.0.0-rc.10) (2022-02-03)
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
# [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)
|
|
194
|
-
|
|
164
|
+
# [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)
|
|
195
165
|
|
|
196
|
-
|
|
197
|
-
# [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)
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
# [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)
|
|
166
|
+
**Note:** Version bump only for package @serenity-js/rest
|
|
202
167
|
|
|
203
168
|
|
|
204
|
-
### Features
|
|
205
169
|
|
|
206
|
-
* **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)
|
|
207
170
|
|
|
208
171
|
|
|
172
|
+
# [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)
|
|
209
173
|
|
|
210
|
-
|
|
211
|
-
|
|
174
|
+
**Note:** Version bump only for package @serenity-js/rest
|
|
212
175
|
|
|
213
176
|
|
|
214
|
-
# [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)
|
|
215
177
|
|
|
216
178
|
|
|
217
179
|
|
|
218
|
-
# [3.0.0-rc.
|
|
180
|
+
# [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)
|
|
219
181
|
|
|
182
|
+
**Note:** Version bump only for package @serenity-js/rest
|
|
220
183
|
|
|
221
|
-
### Bug Fixes
|
|
222
184
|
|
|
223
|
-
* **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))
|
|
224
185
|
|
|
225
186
|
|
|
226
187
|
|
|
227
|
-
# [3.0.0-rc.
|
|
188
|
+
# [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)
|
|
228
189
|
|
|
229
190
|
|
|
230
191
|
### Bug Fixes
|
|
231
192
|
|
|
232
|
-
* **rest:**
|
|
233
|
-
|
|
193
|
+
* **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)
|
|
234
194
|
|
|
235
195
|
|
|
236
|
-
|
|
196
|
+
### Features
|
|
237
197
|
|
|
198
|
+
* **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)
|
|
238
199
|
|
|
239
200
|
|
|
240
|
-
# [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)
|
|
241
201
|
|
|
242
202
|
|
|
243
203
|
|
|
244
|
-
# [3.0.0-rc.
|
|
204
|
+
# [3.0.0-rc.18](https://github.com/serenity-js/serenity-js/compare/v2.33.9...v3.0.0-rc.18) (2022-06-06)
|
|
245
205
|
|
|
246
206
|
|
|
247
|
-
### Bug Fixes
|
|
248
207
|
|
|
249
|
-
|
|
208
|
+
# [3.0.0-rc.17](https://github.com/serenity-js/serenity-js/compare/v2.33.8...v3.0.0-rc.17) (2022-06-02)
|
|
250
209
|
|
|
251
210
|
|
|
252
211
|
### Features
|
|
253
212
|
|
|
254
|
-
* **core:**
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
### BREAKING CHANGES
|
|
213
|
+
* **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)
|
|
214
|
+
* **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)
|
|
258
215
|
|
|
259
|
-
* **core:** Introduced @serenity-js/web - a shared library for Serenity/JS Web integration
|
|
260
|
-
modules such as @serenity-js/protractor and @serenity-js/webdriverio. Dropped support for Node 12.
|
|
261
216
|
|
|
262
217
|
|
|
218
|
+
# [3.0.0-rc.16](https://github.com/serenity-js/serenity-js/compare/v2.33.6...v3.0.0-rc.16) (2022-04-15)
|
|
263
219
|
|
|
264
220
|
|
|
265
221
|
|
|
@@ -358,97 +314,16 @@ modules such as @serenity-js/protractor and @serenity-js/webdriverio. Dropped su
|
|
|
358
314
|
|
|
359
315
|
|
|
360
316
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
# [3.0.0-rc.14](https://github.com/serenity-js/serenity-js/compare/v2.33.3...v3.0.0-rc.14) (2022-03-28)
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
# [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)
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
# [3.0.0-rc.12](https://github.com/serenity-js/serenity-js/compare/v2.33.2...v3.0.0-rc.12) (2022-02-23)
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
# [3.0.0-rc.11](https://github.com/serenity-js/serenity-js/compare/v2.33.1...v3.0.0-rc.11) (2022-02-13)
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
# [3.0.0-rc.10](https://github.com/serenity-js/serenity-js/compare/v2.33.0...v3.0.0-rc.10) (2022-02-03)
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
# [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)
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
# [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)
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
# [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)
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
### Features
|
|
395
|
-
|
|
396
|
-
* **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)
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
# [3.0.0-rc.6](https://github.com/serenity-js/serenity-js/compare/v2.32.7...v3.0.0-rc.6) (2022-01-10)
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
# [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)
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
# [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)
|
|
317
|
+
## [2.33.10](https://github.com/serenity-js/serenity-js/compare/v2.33.9...v2.33.10) (2022-07-19)
|
|
409
318
|
|
|
410
319
|
|
|
411
320
|
### Bug Fixes
|
|
412
321
|
|
|
413
|
-
* **
|
|
414
|
-
|
|
322
|
+
* **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)
|
|
415
323
|
|
|
416
324
|
|
|
417
|
-
# [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)
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
### Bug Fixes
|
|
421
|
-
|
|
422
|
-
* **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)
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
# [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)
|
|
427
|
-
|
|
428
325
|
|
|
429
326
|
|
|
430
|
-
# [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)
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
# [3.0.0-rc.0](https://github.com/serenity-js/serenity-js/compare/v2.32.5...v3.0.0-rc.0) (2021-12-08)
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
### Bug Fixes
|
|
438
|
-
|
|
439
|
-
* **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)
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
### Features
|
|
443
|
-
|
|
444
|
-
* **core:** question.about produces "props" that proxy the methods of the underlying model ([f771872](https://github.com/serenity-js/serenity-js/commit/f771872c56b487e404002c3800fc8f3baaed804f))
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
### BREAKING CHANGES
|
|
448
|
-
|
|
449
|
-
* **core:** Introduced @serenity-js/web - a shared library for Serenity/JS Web integration
|
|
450
|
-
modules such as @serenity-js/protractor and @serenity-js/webdriverio. Dropped support for Node 12.
|
|
451
|
-
|
|
452
327
|
|
|
453
328
|
## [2.33.9](https://github.com/serenity-js/serenity-js/compare/v2.33.8...v2.33.9) (2022-06-02)
|
|
454
329
|
|
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.24",
|
|
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.24",
|
|
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.24",
|
|
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
62
|
"ts-node": "10.8.2",
|
|
63
63
|
"typescript": "^4.7.4"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "76443ef557e876727b7dae9ef66d4e6612a3034b"
|
|
66
66
|
}
|