@loopback/rest 9.3.0 → 9.3.1

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 DELETED
@@ -1,2207 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [9.3.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@9.2.1...@loopback/rest@9.3.0) (2021-05-03)
7
-
8
-
9
- ### Features
10
-
11
- * support node v16 ([ac99415](https://github.com/strongloop/loopback-next/commit/ac994154543bde22b4482ba98813351656db1b55))
12
-
13
-
14
-
15
-
16
-
17
- ## [9.2.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@9.2.0...@loopback/rest@9.2.1) (2021-04-06)
18
-
19
- **Note:** Version bump only for package @loopback/rest
20
-
21
-
22
-
23
-
24
-
25
- # [9.2.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@9.1.3...@loopback/rest@9.2.0) (2021-03-18)
26
-
27
-
28
- ### Bug Fixes
29
-
30
- * **rest:** fix the request body index handling ([b186820](https://github.com/strongloop/loopback-next/commit/b186820f116baed41ee0741804e4dd37fdf1fe39))
31
-
32
-
33
- ### Features
34
-
35
- * update package-lock.json to v2 consistently ([dfc3fbd](https://github.com/strongloop/loopback-next/commit/dfc3fbdae0c9ca9f34c64154a471bef22d5ac6b7))
36
-
37
-
38
-
39
-
40
-
41
- ## [9.1.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@9.1.2...@loopback/rest@9.1.3) (2021-02-09)
42
-
43
- **Note:** Version bump only for package @loopback/rest
44
-
45
-
46
-
47
-
48
-
49
- ## [9.1.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@9.1.1...@loopback/rest@9.1.2) (2021-01-21)
50
-
51
- **Note:** Version bump only for package @loopback/rest
52
-
53
-
54
-
55
-
56
-
57
- ## [9.1.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@9.1.0...@loopback/rest@9.1.1) (2020-12-07)
58
-
59
-
60
- ### Bug Fixes
61
-
62
- * **rest:** fix incomplete hostname in regexp ([dd5c210](https://github.com/strongloop/loopback-next/commit/dd5c210c6ce1c74f27b3ac4a95d3a311ffcfe582))
63
-
64
-
65
-
66
-
67
-
68
- # [9.1.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@9.0.0...@loopback/rest@9.1.0) (2020-11-18)
69
-
70
-
71
- ### Features
72
-
73
- * **express:** set up MIDDLEWARE_CONTEXT for request object in constructor ([e086e7b](https://github.com/strongloop/loopback-next/commit/e086e7bcf64a8aa651490784502adfe787156eef))
74
-
75
-
76
-
77
-
78
-
79
- # [9.0.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@8.0.0...@loopback/rest@9.0.0) (2020-11-05)
80
-
81
-
82
- ### Bug Fixes
83
-
84
- * allow array query parameter for a single value ([08c4a1a](https://github.com/strongloop/loopback-next/commit/08c4a1a2046db606fa28b17410c19bf609abddb6))
85
-
86
-
87
- ### Code Refactoring
88
-
89
- * **rest:** use dynamic value provider for actions ([3a32290](https://github.com/strongloop/loopback-next/commit/3a322902bd47f664efcb0c14c4de96133301672c))
90
-
91
-
92
- ### Features
93
-
94
- * **rest:** further sanitize json parsing by rejecting prohibited keys ([b38f0fd](https://github.com/strongloop/loopback-next/commit/b38f0fda4c1c78339de5f02c2f42bbfce32113c9))
95
- * **rest:** reword the message printed by REST LogError action ([3fc2bc1](https://github.com/strongloop/loopback-next/commit/3fc2bc1ecdd8efe1747050a63dbfefac7216e476))
96
-
97
-
98
- ### BREAKING CHANGES
99
-
100
- * **rest:** Message printed by REST LogError action changed from
101
- `Unhandled error` to `Request failed`. Message pattern rules
102
- (e.g. alerting rules) based on this pattern need to be updated accordingly.
103
- * **rest:** If you use one of the built-in action providers as the base
104
- class, this commit will break you as the signature of the base class has
105
- changed. Otherwise the code should be backward compatible for existing
106
- applications.
107
-
108
-
109
-
110
-
111
-
112
- # [8.0.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@7.0.1...@loopback/rest@8.0.0) (2020-10-07)
113
-
114
-
115
- ### Features
116
-
117
- * **context:** introduce new binding scopes ([9916cfd](https://github.com/strongloop/loopback-next/commit/9916cfd4449a870f7a3378e2e674957aed7c1626))
118
- * update dependency openapi3-ts to v2 ([aabd6e6](https://github.com/strongloop/loopback-next/commit/aabd6e62a11d5e10ff2256ec664a923041e27ce0))
119
-
120
-
121
- ### BREAKING CHANGES
122
-
123
- * openapi3-ts@2.x has a stricter typing for `type` and `format`
124
- properties as union types with a known list of values.
125
-
126
- We now either have to explicitly type the schema as `SchemaObject`
127
- or cast the `type` to `SchemaObject['type'], for example:
128
-
129
- ```ts
130
- import {SchemaObject} from '@loopback/openapi-v3';
131
-
132
- const schemaDef1 = {
133
- type: 'number' as const; // cast the type to be 'number' from 'string'
134
- };
135
-
136
- // Use the explicit `SchemaObject` to enforce inference
137
- const schemaDef2: SchemaObject = {
138
- type: 'number' as const;
139
- };
140
- ```
141
-
142
- It also applies to OpenAPI parameter objects:
143
-
144
- ```ts
145
- import {ParameterObject} from '@loopback/openapi-v3';
146
-
147
- const paramDef1 = {
148
- type: 'number' as const, // cast the type to be 'number' from 'string'
149
- name: 'limit',
150
- in: 'query',
151
- }
152
-
153
- // Use the explicit `ParameterObject` to enforce inference
154
- const paramDef2: ParameterObject = {
155
- type: 'number',
156
- name: 'limit',
157
- in: 'query',
158
- }
159
- ```
160
-
161
-
162
-
163
-
164
-
165
- ## [7.0.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@7.0.0...@loopback/rest@7.0.1) (2020-09-17)
166
-
167
- **Note:** Version bump only for package @loopback/rest
168
-
169
-
170
-
171
-
172
-
173
- # [7.0.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@6.2.0...@loopback/rest@7.0.0) (2020-09-15)
174
-
175
-
176
- ### Bug Fixes
177
-
178
- * **rest:** do not override customized openapi spec info object ([acae2a3](https://github.com/strongloop/loopback-next/commit/acae2a39d6ede327a1c1af53d33bd9e4c23b9626))
179
- * **rest:** make sure OpenAPI parameters with simple types are validated by AJV ([987c103](https://github.com/strongloop/loopback-next/commit/987c1033a7ff28e4f2b9188a854c6479ed2365f9))
180
-
181
-
182
- ### Features
183
-
184
- * **rest:** use sington binding scope to cache REST middleware ([5783f54](https://github.com/strongloop/loopback-next/commit/5783f5471e1e16aface22d8db4d300366f6b06d3))
185
- * move framework packages to `devDependencies` ([e2c61ce](https://github.com/strongloop/loopback-next/commit/e2c61ce79aa68d76f6e7138642034160b50063f0))
186
- * **rest:** add AJV formats for OpenAPI spec data type formats ([3f2ccbf](https://github.com/strongloop/loopback-next/commit/3f2ccbf98c8cca92666c9a9931ad741d274a76b6))
187
- * **rest:** expose RequestContext to Express request object ([50448cb](https://github.com/strongloop/loopback-next/commit/50448cb215cc94b8bd2459d7f9487aa03149fe3d))
188
-
189
-
190
- ### BREAKING CHANGES
191
-
192
- * components no longer install core framework packages as
193
- their own dependencies, they use the framework packages provided by the
194
- target application instead.
195
-
196
- If you are getting `npm install` errors after upgrade, then make sure
197
- your project lists all dependencies required by the extensions you are
198
- using.
199
-
200
-
201
-
202
-
203
-
204
- # [6.2.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@6.1.0...@loopback/rest@6.2.0) (2020-08-27)
205
-
206
-
207
- ### Features
208
-
209
- * **rest:** add more debugging statements for middleware ([de2f5be](https://github.com/strongloop/loopback-next/commit/de2f5bee6415d55c53ca14cdf989cb37b06c7f47))
210
- * **rest:** improve route description to include verb and path ([3b7fcca](https://github.com/strongloop/loopback-next/commit/3b7fccafa57cfb7fd2ee1495dc81dbc87ab6e94e))
211
- * **rest:** make sure rest options are passed to http-server ([e9af196](https://github.com/strongloop/loopback-next/commit/e9af1961dfe2aaae3c07e3100f6fe538797943e0))
212
-
213
-
214
-
215
-
216
-
217
- # [6.1.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@6.0.0...@loopback/rest@6.1.0) (2020-08-19)
218
-
219
-
220
- ### Bug Fixes
221
-
222
- * **repository:** apply `[@model](https://github.com/model)` to generated model class ([9a1b1e4](https://github.com/strongloop/loopback-next/commit/9a1b1e4324516bc1351e08943b8b0c5a00e75992))
223
-
224
-
225
- ### Features
226
-
227
- * **express:** add middleware view to watch registered middleware ([205d948](https://github.com/strongloop/loopback-next/commit/205d948cb91cf48d187ce247ee5e77b1204be35e))
228
- * **rest:** add the ability to validate sorted middleware groups ([227dbf8](https://github.com/strongloop/loopback-next/commit/227dbf8045990536ac1437ea4a7ae1f1a1e571bb))
229
- * **rest:** improve validation errors for invalid parameter value ([54f762c](https://github.com/strongloop/loopback-next/commit/54f762c845912b45811f6481518a100f10c5e1e6))
230
- * **rest:** optimize middleware sequence to reuse middleware binding keys ([0041a24](https://github.com/strongloop/loopback-next/commit/0041a246df89f7dbff179ed7c5e08a65ec5bcbda))
231
-
232
-
233
-
234
-
235
-
236
- # [6.0.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@5.2.1...@loopback/rest@6.0.0) (2020-08-05)
237
-
238
-
239
- ### Bug Fixes
240
-
241
- * **rest:** code block in interface apidoc ([1f79de5](https://github.com/strongloop/loopback-next/commit/1f79de56fed717b85da996c0cdc23da6214f4410))
242
- * **rest:** preserve the bound value for API_SPCE binding from api() ([18fedf3](https://github.com/strongloop/loopback-next/commit/18fedf37fe3db266e9222191e20e1bf6fdcaa8ec))
243
- * **rest:** register component for apispec ([7ac2081](https://github.com/strongloop/loopback-next/commit/7ac208153b5986fc346d81a410c18ec97c223b2e))
244
- * enable default AJV custom validation and error messages ([d7c385e](https://github.com/strongloop/loopback-next/commit/d7c385ee24f14e187655a68e2a08cff68c5142a9))
245
-
246
-
247
- ### Features
248
-
249
- * **rest:** add a note to mention the middleware-based sequence ([8d06f62](https://github.com/strongloop/loopback-next/commit/8d06f62ce66a258d62b2d42febbd947c186b73f0))
250
- * **rest:** add middleware for REST actions and MiddlewareSequence ([80b667c](https://github.com/strongloop/loopback-next/commit/80b667c3592bcbd5c835854ddffde97c7e66fac4))
251
-
252
-
253
- ### BREAKING CHANGES
254
-
255
- * **rest:** A middleware-based sequence has been introduced to have
256
- a middleware chain with discovered middleware to process REST requests
257
- and responses. The action-based sequence is kept for backward compatibility.
258
- Please check out https://loopback.io/doc/en/lb4/Sequence.html for more details.
259
-
260
-
261
-
262
-
263
-
264
- ## [5.2.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@5.2.0...@loopback/rest@5.2.1) (2020-07-20)
265
-
266
-
267
- ### Bug Fixes
268
-
269
- * ensure delete only applies to optional properties ([89cd43f](https://github.com/strongloop/loopback-next/commit/89cd43f1a455983f120d9bb9c869eac36adc7ad7))
270
- * nested scope filter ([b29d6d7](https://github.com/strongloop/loopback-next/commit/b29d6d7938b0d07e927b0939745b76cfff91272b))
271
- * **repository-json-schema:** added type 'object' to model json schema ([5c5f9ef](https://github.com/strongloop/loopback-next/commit/5c5f9efcfdea7788503d74610e7ce64f31abc7cd)), closes [#3804](https://github.com/strongloop/loopback-next/issues/3804)
272
-
273
-
274
-
275
-
276
-
277
- # [5.2.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@5.1.2...@loopback/rest@5.2.0) (2020-06-30)
278
-
279
-
280
- ### Bug Fixes
281
-
282
- * **rest:** fix typing to be compatible with latest @types/js-yaml ([5ac39e4](https://github.com/strongloop/loopback-next/commit/5ac39e44827ef74c9d2bccb1797a9da125c249e3))
283
-
284
-
285
- ### Features
286
-
287
- * coerce query object with schema ([ccea25f](https://github.com/strongloop/loopback-next/commit/ccea25fc382457f9436adfc0d8f6ce3a2d029c5e))
288
- * **rest:** expose types from strong-error-handler ([b6f5595](https://github.com/strongloop/loopback-next/commit/b6f559549518c839a2898f1b968fc6a7901a6c6b))
289
-
290
-
291
-
292
-
293
-
294
- ## [5.1.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@5.1.1...@loopback/rest@5.1.2) (2020-06-23)
295
-
296
-
297
- ### Bug Fixes
298
-
299
- * set node version to >=10.16 to support events.once ([e39da1c](https://github.com/strongloop/loopback-next/commit/e39da1ca47728eafaf83c10ce35b09b03b6a4edc))
300
-
301
-
302
-
303
-
304
-
305
- ## [5.1.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@5.1.0...@loopback/rest@5.1.1) (2020-06-11)
306
-
307
- **Note:** Version bump only for package @loopback/rest
308
-
309
-
310
-
311
-
312
-
313
- # [5.1.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@5.0.1...@loopback/rest@5.1.0) (2020-05-28)
314
-
315
-
316
- ### Features
317
-
318
- * **rest:** add `exportOpenAPISpec` to export the OpenAPI spec to a file ([6e669f6](https://github.com/strongloop/loopback-next/commit/6e669f62ec6b87d3e857f57787bc694cc7af47ac))
319
-
320
-
321
-
322
-
323
-
324
- ## [5.0.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@5.0.0...@loopback/rest@5.0.1) (2020-05-20)
325
-
326
- **Note:** Version bump only for package @loopback/rest
327
-
328
-
329
-
330
-
331
-
332
- # [5.0.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0...@loopback/rest@5.0.0) (2020-05-19)
333
-
334
-
335
- ### Bug Fixes
336
-
337
- * **rest:** check if the middleware chain has already produce a response ([be290dc](https://github.com/strongloop/loopback-next/commit/be290dc7088eddeecd79288ccb6c70f4da9956fd))
338
- * use unknown type for err argument for Express hander ([b13b338](https://github.com/strongloop/loopback-next/commit/b13b3386a06332b71b33a64f5bc2ab9b4544cc8a))
339
-
340
-
341
- ### Features
342
-
343
- * **openapi-v3:** relax `[@api](https://github.com/api)` to make `paths` optional with `{}` as the default ([ef3c415](https://github.com/strongloop/loopback-next/commit/ef3c4151efb2c88daa2b5abb37c6086b91860c92))
344
- * **rest:** remove bindElement and getFromContext ([d6d830f](https://github.com/strongloop/loopback-next/commit/d6d830f8161fbb408f75df69402144dc2ca7cc48))
345
-
346
-
347
- ### BREAKING CHANGES
348
-
349
- * **rest:** usage of `BindElement` and `GetFromContext` should be
350
- replaced with `@inject.setter`, `@inject.binding`, and `@inject.getter`.
351
-
352
- See https://loopback.io/doc/en/lb4/Decorators_inject.html
353
-
354
-
355
-
356
-
357
-
358
- # [4.0.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@3.3.2...@loopback/rest@4.0.0) (2020-05-07)
359
-
360
-
361
- ### Features
362
-
363
- * **rest:** use @loopback/express for sequence, cors, and OpenAPI spec ([19e2510](https://github.com/strongloop/loopback-next/commit/19e25107da7eaadcdf29a04b2bb295d51555a050))
364
-
365
-
366
- ### BREAKING CHANGES
367
-
368
- * **rest:** `basePath` now also applies to endpoints that serve OpenAPI
369
- specs. For example, the OpenAPI specs are available at `/api/openapi.json`
370
- or `/api/openapi.yaml` if the base path is set to `/api`.
371
-
372
-
373
-
374
-
375
-
376
- ## [3.3.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@3.3.1...@loopback/rest@3.3.2) (2020-04-29)
377
-
378
- **Note:** Version bump only for package @loopback/rest
379
-
380
-
381
-
382
-
383
-
384
- ## [3.3.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@3.3.0...@loopback/rest@3.3.1) (2020-04-23)
385
-
386
- **Note:** Version bump only for package @loopback/rest
387
-
388
-
389
-
390
-
391
-
392
- # [3.3.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@3.2.1...@loopback/rest@3.3.0) (2020-04-22)
393
-
394
-
395
- ### Features
396
-
397
- * **rest:** ensure OpenAPI spec components are merged ([2efa27b](https://github.com/strongloop/loopback-next/commit/2efa27b283d86258fe705914c557536abaf2c435))
398
- * migrate loopback-example-passport repo as lb4 example ([dd3c328](https://github.com/strongloop/loopback-next/commit/dd3c328a138621bb3f6ae770b4db83ba21ecc2d6))
399
- * update package.json and .travis.yml for builds ([cb2b8e6](https://github.com/strongloop/loopback-next/commit/cb2b8e6a18616dda7783c0193091039d4e608131))
400
- * **rest:** add openapi schema consolidation ([6a039ed](https://github.com/strongloop/loopback-next/commit/6a039edd4e056089bca8cf2acd4ed7ddab55d55e))
401
-
402
-
403
-
404
-
405
-
406
- ## [3.2.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@3.2.0...@loopback/rest@3.2.1) (2020-04-11)
407
-
408
- **Note:** Version bump only for package @loopback/rest
409
-
410
-
411
-
412
-
413
-
414
- # [3.2.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@3.1.0...@loopback/rest@3.2.0) (2020-04-08)
415
-
416
-
417
- ### Bug Fixes
418
-
419
- * passport strategy adapter must support oauth2 flows ([67c2f02](https://github.com/strongloop/loopback-next/commit/67c2f02f74c08ee037827c0045e1f225d6ca8ede))
420
-
421
-
422
- ### Features
423
-
424
- * **rest:** improve Ajv validation to allow extensions of keywords and formats ([afdee34](https://github.com/strongloop/loopback-next/commit/afdee346f5b56932d59ff600478116b75eac797d))
425
- * **rest:** use the description field in Openapi ([4ca321c](https://github.com/strongloop/loopback-next/commit/4ca321c01a128b14dcbc5336901899ee61ff1460))
426
- * support any type ([03ce221](https://github.com/strongloop/loopback-next/commit/03ce221bb41a2ecd296ba235fe342d488fa2d639))
427
-
428
-
429
-
430
-
431
-
432
- # [3.1.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@3.0.1...@loopback/rest@3.1.0) (2020-03-24)
433
-
434
-
435
- ### Bug Fixes
436
-
437
- * **rest:** allow async custom keyword by setting {$async: true} to referenced schemas ([ede4bbd](https://github.com/strongloop/loopback-next/commit/ede4bbdba4d0bca3a558309118bc97924f48fd6e))
438
- * update package locks ([cd2f6fa](https://github.com/strongloop/loopback-next/commit/cd2f6fa7a732afe4a16f4ccf8316ff3142959fe8))
439
-
440
-
441
- ### Features
442
-
443
- * **rest:** add info spec enhancer to build `info` for OpenAPI spec from application metadata ([a440ae2](https://github.com/strongloop/loopback-next/commit/a440ae248f8a51abb573ee3f1246be82e1d38817))
444
-
445
-
446
-
447
-
448
-
449
- ## [3.0.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@3.0.0...@loopback/rest@3.0.1) (2020-03-17)
450
-
451
- **Note:** Version bump only for package @loopback/rest
452
-
453
-
454
-
455
-
456
-
457
- # [3.0.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@2.0.0...@loopback/rest@3.0.0) (2020-03-05)
458
-
459
-
460
- ### Bug Fixes
461
-
462
- * **cli:** extract messages for generators ([2f572bd](https://github.com/strongloop/loopback-next/commit/2f572bd75883420e38bfaa780bc38445aec92e65))
463
- * **rest:** improves error handling for express middleware ([02d0c91](https://github.com/strongloop/loopback-next/commit/02d0c91abb97830fd8652dde69ac4153720f3e75))
464
-
465
-
466
- ### chore
467
-
468
- * remove support for Node.js v8.x ([4281d9d](https://github.com/strongloop/loopback-next/commit/4281d9df50f0715d32879e1442a90b643ec8f542))
469
-
470
-
471
- ### Code Refactoring
472
-
473
- * **rest:** make getApiSpec() async ([fe3df1b](https://github.com/strongloop/loopback-next/commit/fe3df1b85904ee8b8a005fa6eddf150d28ad2a08))
474
-
475
-
476
- ### Features
477
-
478
- * **rest:** add async validation support ([5b9a1ef](https://github.com/strongloop/loopback-next/commit/5b9a1efe03a9728dc707eb050c24b0ac7e23a1ec))
479
- * **rest:** add openapi enhancer service ([62d55eb](https://github.com/strongloop/loopback-next/commit/62d55ebd956910cbb487611673f21ec7088f3dcc)), closes [#4380](https://github.com/strongloop/loopback-next/issues/4380)
480
- * **rest:** add support for ajv-errors ([d151475](https://github.com/strongloop/loopback-next/commit/d151475d8fc91b4b02e0067c1db7069620143dd2))
481
- * **rest:** allow controllers/routes to be added/removed after server is started ([b604563](https://github.com/strongloop/loopback-next/commit/b6045636885268d9ea5d31287351ddbf0da53a7c))
482
- * add `tslib` as dependency ([a6e0b4c](https://github.com/strongloop/loopback-next/commit/a6e0b4ce7b862764167cefedee14c1115b25e0a4)), closes [#4676](https://github.com/strongloop/loopback-next/issues/4676)
483
- * **rest:** bind controller routes to the context ([a645b17](https://github.com/strongloop/loopback-next/commit/a645b17d0338e56f8182437d6ade20f27577203d))
484
- * **rest:** fixed AjvErrorOptions type & added test for ajvErrors: Object ([aa711d0](https://github.com/strongloop/loopback-next/commit/aa711d068b476292cdf27f673228746d21999c52))
485
-
486
-
487
- ### BREAKING CHANGES
488
-
489
- * **rest:** Api specifications are now emitted as a Promise instead
490
- of a value object. Calls to getApiSpec function must switch from
491
- the old style to new style as follows:
492
-
493
- 1. Old style
494
-
495
- ```ts
496
- function() {
497
- // ...
498
- const spec = restApp.restServer.getApiSpec();
499
- // ...
500
- }
501
- ```
502
-
503
- 2. New style
504
-
505
- ```ts
506
- async function() {
507
- // ...
508
- const spec = await restApp.restServer.getApiSpec();
509
- // ...
510
- }
511
- ```
512
- * **rest:** `validateRequestBody` is now an async function to allow asynchronous validations by custom Ajv keywords and formats. See https://ajv.js.org/#asynchronous-validation
513
- for more details.
514
- * Node.js v8.x is now end of life. Please upgrade to version
515
- 10 and above. See https://nodejs.org/en/about/releases.
516
-
517
-
518
-
519
-
520
-
521
- # [2.0.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.26.1...@loopback/rest@2.0.0) (2020-02-06)
522
-
523
-
524
- ### Bug Fixes
525
-
526
- * suport complex objects for query params in api explorer ([a4ef640](https://github.com/strongloop/loopback-next/commit/a4ef64037a80d1ff7df37ba7912909a1bfcdbf51))
527
-
528
-
529
- ### BREAKING CHANGES
530
-
531
- * This fix has modified the api definitions described by the decorator
532
- 'param.query.object', to support Open-API's `url-encoded` definition for json query
533
- parameters.
534
-
535
- Previously, such parameters were described with `exploded: true` and
536
- `style: deepObject`, i.e exploded encoding, which turned out to be problematic as explained and discussed in,
537
- https://github.com/swagger-api/swagger-js/issues/1385 and
538
- https://github.com/OAI/OpenAPI-Specification/issues/1706
539
-
540
- ```json
541
- {
542
- "in": "query",
543
- "style": "deepObject"
544
- "explode": "true",
545
- "schema": {}
546
- }
547
- ```
548
-
549
- Exploded encoding worked for simple json objects as below but not for complex objects.
550
-
551
- ```
552
- http://localhost:3000/todos?filter[limit]=2
553
- ```
554
-
555
- To address these issues with exploded queries, this fix switches definition of json
556
- query params from the `exploded`, `deep-object` style to the `url-encoded` style
557
- definition in Open-API spec.
558
-
559
- LoopBack already supports receiving url-encoded payload for json query parameters.
560
-
561
- For instance, to filter api results from the GET '/todo-list' endpoint in the
562
- todo-list example with a specific relation, { "include": [ { "relation": "todo" } ] },
563
- the following url-encoded query parameter can be used,
564
-
565
- ```
566
- http://localhost:3000/todos?filter=%7B%22include%22%3A%5B%7B%22relation%22%3A%22todoList%22%7D%5D%7D
567
- ```
568
-
569
- The above was possible because the coercion behavior in LoopBack performed json
570
- parsing for `deep object` style json query params before this fix. This fix has
571
- modified that behavior by removing json parsing. Since the `exploded` `deep-object`
572
- definition has been removed from the `param.query.object` decorator, this new
573
- behaviour remains just an internal source code aspect as of now.
574
-
575
- In effect, this fix only modifies the open api definitions generated from LoopBack
576
- APIs. The 'style' and 'explode' fields are removed and the 'schema' field is moved
577
- under 'content[application/json]'. This is the definition that supports url-encoding
578
- as per Open-API spec.
579
-
580
- ```json
581
- {
582
- "in": "query"
583
- "content": {
584
- "application/json": {
585
- "schema": {}
586
- }
587
- }
588
- }
589
- ```
590
-
591
- Certain client libraries (like swagger-ui or LoopBack's api explorer) necessiate
592
- using Open-API's `url-encoded` style definition for json query params to support
593
- "sending" url-encoded payload.
594
-
595
- All consumers of LoopBack APIs may need to regenerate api definitions, if their
596
- client libraries require them to do so for url-encoding.
597
-
598
- Otherwise there wouldn't be any significant impact on API consumers.
599
-
600
- To preserve compatibility with existing REST API clients, this change is backward
601
- compatible. All exploded queries like `?filter[limit]=1` will continue to work for
602
- json query params, despite the fact that they are described differently in the
603
- OpenAPI spec.
604
-
605
- Existing api clients will continue to work after an upgrade.
606
-
607
- The signature of the 'param.query.object' decorator has not changed.
608
-
609
- There is no code changes required in the LoopBack APIs after upgrading to this
610
- fix. No method signatures or data structures are impacted.
611
-
612
-
613
-
614
-
615
-
616
- ## [1.26.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.26.0...@loopback/rest@1.26.1) (2020-02-05)
617
-
618
- **Note:** Version bump only for package @loopback/rest
619
-
620
-
621
-
622
-
623
-
624
- # [1.26.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.25.1...@loopback/rest@1.26.0) (2020-01-27)
625
-
626
-
627
- ### Features
628
-
629
- * **context:** index bindings by tag to speed up matching by tag ([566b9d9](https://github.com/strongloop/loopback-next/commit/566b9d9a35ce52d9aeefe17e36f91c9714616b21))
630
-
631
-
632
-
633
-
634
-
635
- ## [1.25.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.25.0...@loopback/rest@1.25.1) (2020-01-07)
636
-
637
- **Note:** Version bump only for package @loopback/rest
638
-
639
-
640
-
641
-
642
-
643
- # [1.25.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.24.0...@loopback/rest@1.25.0) (2019-12-09)
644
-
645
-
646
- ### Features
647
-
648
- * **context:** make it possible to set source information for interceptions ([2a1ccb4](https://github.com/strongloop/loopback-next/commit/2a1ccb409a889d8b30b03ddf3284c9e9d5554e27))
649
-
650
-
651
-
652
-
653
-
654
- # [1.24.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.23.0...@loopback/rest@1.24.0) (2019-11-25)
655
-
656
-
657
- ### Features
658
-
659
- * **rest:** upgrade to path-to-regexp 6.x and improve error messages ([ad44209](https://github.com/strongloop/loopback-next/commit/ad4420954e3d3c18d4a52ca7511985d026efcdc6))
660
-
661
-
662
-
663
-
664
-
665
- # [1.23.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.22.0...@loopback/rest@1.23.0) (2019-11-12)
666
-
667
-
668
- ### Bug Fixes
669
-
670
- * **rest:** improve null check to avoid compilation errors with TypeScript 3.7 ([ab47ef6](https://github.com/strongloop/loopback-next/commit/ab47ef63adc01b170ddc537ca973da631c5a8d8f))
671
-
672
-
673
- ### Features
674
-
675
- * **rest:** bind operation spec to the request context ([55311df](https://github.com/strongloop/loopback-next/commit/55311df23e8b4a22968b5c0edd826323538ba163))
676
-
677
-
678
-
679
-
680
-
681
- # [1.22.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.21.0...@loopback/rest@1.22.0) (2019-10-24)
682
-
683
-
684
- ### Bug Fixes
685
-
686
- * **openapi-v3:** preserve `additionalProperties: false` ([bc7691b](https://github.com/strongloop/loopback-next/commit/bc7691b0963ee297922bd4d9652a0eccf763f085))
687
-
688
-
689
- ### Features
690
-
691
- * improve debug logs for schema generators ([da88cdf](https://github.com/strongloop/loopback-next/commit/da88cdf9c75b0ca498b86f7cd5729f78a4b160f7))
692
- * simplify model schema with excluded properties ([b554ac8](https://github.com/strongloop/loopback-next/commit/b554ac8a08a518f112d111ebabcac48279ada7f8))
693
-
694
-
695
-
696
-
697
-
698
- # [1.21.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.20.1...@loopback/rest@1.21.0) (2019-10-07)
699
-
700
-
701
- ### Features
702
-
703
- * **rest:** add listenOnStart flag to control http listening for a rest server ([2c5a131](https://github.com/strongloop/loopback-next/commit/2c5a131))
704
-
705
-
706
-
707
-
708
-
709
- ## [1.20.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.20.0...@loopback/rest@1.20.1) (2019-09-28)
710
-
711
- **Note:** Version bump only for package @loopback/rest
712
-
713
-
714
-
715
-
716
-
717
- # [1.20.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.19.0...@loopback/rest@1.20.0) (2019-09-27)
718
-
719
-
720
- ### Features
721
-
722
- * **rest:** added support for sockets and pipes to RestServer ([e48ebb8](https://github.com/strongloop/loopback-next/commit/e48ebb8))
723
- * **rest:** allow developers to transform AJV error objects ([8c05b57](https://github.com/strongloop/loopback-next/commit/8c05b57))
724
- * self host oas spec by default on relative path in explorer ([887556e](https://github.com/strongloop/loopback-next/commit/887556e))
725
-
726
-
727
-
728
-
729
-
730
- # [1.19.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.18.1...@loopback/rest@1.19.0) (2019-09-17)
731
-
732
-
733
- ### Features
734
-
735
- * **eslint-config:** enable "no-misused-promises" rule ([88d5494](https://github.com/strongloop/loopback-next/commit/88d5494))
736
-
737
-
738
-
739
-
740
-
741
- ## [1.18.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.18.0...@loopback/rest@1.18.1) (2019-09-06)
742
-
743
- **Note:** Version bump only for package @loopback/rest
744
-
745
-
746
-
747
-
748
-
749
- # [1.18.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.17.0...@loopback/rest@1.18.0) (2019-09-03)
750
-
751
-
752
- ### Bug Fixes
753
-
754
- * make givenHttpServerConfig typing compatible with TypeScript 3.6 ([1edbc0b](https://github.com/strongloop/loopback-next/commit/1edbc0b))
755
-
756
-
757
- ### Features
758
-
759
- * **core:** allow application to accept a parent context ([ee50007](https://github.com/strongloop/loopback-next/commit/ee50007))
760
-
761
-
762
-
763
-
764
-
765
- # [1.17.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.16.8...@loopback/rest@1.17.0) (2019-08-19)
766
-
767
-
768
- ### Features
769
-
770
- * **rest:** add support for ajv-keywords ([f7bb80d](https://github.com/strongloop/loopback-next/commit/f7bb80d))
771
-
772
-
773
-
774
-
775
-
776
- ## [1.16.8](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.16.7...@loopback/rest@1.16.8) (2019-08-15)
777
-
778
- **Note:** Version bump only for package @loopback/rest
779
-
780
-
781
-
782
-
783
-
784
- ## [1.16.7](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.16.6...@loopback/rest@1.16.7) (2019-08-15)
785
-
786
- **Note:** Version bump only for package @loopback/rest
787
-
788
-
789
-
790
-
791
-
792
- ## [1.16.6](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.16.5...@loopback/rest@1.16.6) (2019-07-31)
793
-
794
- **Note:** Version bump only for package @loopback/rest
795
-
796
-
797
-
798
-
799
-
800
- ## [1.16.5](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.16.4...@loopback/rest@1.16.5) (2019-07-26)
801
-
802
- **Note:** Version bump only for package @loopback/rest
803
-
804
-
805
-
806
-
807
-
808
- ## [1.16.4](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.16.3...@loopback/rest@1.16.4) (2019-07-17)
809
-
810
-
811
- ### Bug Fixes
812
-
813
- * **rest:** correctly handle basePath set via basePath() API ([2118d80](https://github.com/strongloop/loopback-next/commit/2118d80))
814
-
815
-
816
-
817
-
818
-
819
- ## [1.16.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.16.2...@loopback/rest@1.16.3) (2019-06-28)
820
-
821
-
822
- ### Bug Fixes
823
-
824
- * **rest:** honor options for AJV validator caching ([1fd52a3](https://github.com/strongloop/loopback-next/commit/1fd52a3))
825
- * address violations of "no-floating-promises" rule ([0947531](https://github.com/strongloop/loopback-next/commit/0947531))
826
-
827
-
828
-
829
-
830
-
831
- ## [1.16.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.16.1...@loopback/rest@1.16.2) (2019-06-21)
832
-
833
- **Note:** Version bump only for package @loopback/rest
834
-
835
-
836
-
837
-
838
-
839
- ## [1.16.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.16.0...@loopback/rest@1.16.1) (2019-06-20)
840
-
841
- **Note:** Version bump only for package @loopback/rest
842
-
843
-
844
-
845
-
846
-
847
- # [1.16.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.15.0...@loopback/rest@1.16.0) (2019-06-17)
848
-
849
-
850
- ### Features
851
-
852
- * **rest:** expose request body validation options to be configurable ([00ec6df](https://github.com/strongloop/loopback-next/commit/00ec6df))
853
- * **rest:** set nullable to true by default for AJV validations ([73ad6ad](https://github.com/strongloop/loopback-next/commit/73ad6ad))
854
-
855
-
856
-
857
-
858
-
859
- # [1.15.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.14.0...@loopback/rest@1.15.0) (2019-06-06)
860
-
861
-
862
- ### Features
863
-
864
- * **testlab:** add generic helper `skipOnTravis` ([3221d9f](https://github.com/strongloop/loopback-next/commit/3221d9f))
865
-
866
-
867
-
868
-
869
-
870
- # [1.14.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.13.1...@loopback/rest@1.14.0) (2019-06-03)
871
-
872
-
873
- ### Features
874
-
875
- * replace tslint with eslint ([44185a7](https://github.com/strongloop/loopback-next/commit/44185a7))
876
-
877
-
878
-
879
-
880
-
881
- ## [1.13.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.13.0...@loopback/rest@1.13.1) (2019-05-31)
882
-
883
- **Note:** Version bump only for package @loopback/rest
884
-
885
-
886
-
887
-
888
-
889
- # [1.13.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.12.0...@loopback/rest@1.13.0) (2019-05-30)
890
-
891
-
892
- ### Bug Fixes
893
-
894
- * specify the type for handler ([9e0119d](https://github.com/strongloop/loopback-next/commit/9e0119d))
895
-
896
-
897
- ### Features
898
-
899
- * helpers for building JSON/OpenAPI schema referencing shared definitions ([bf07ff9](https://github.com/strongloop/loopback-next/commit/bf07ff9))
900
-
901
-
902
-
903
-
904
-
905
- # [1.12.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.11.2...@loopback/rest@1.12.0) (2019-05-23)
906
-
907
-
908
- ### Features
909
-
910
- * **context:** leave local bindings and parent unchanged during close ([198af88](https://github.com/strongloop/loopback-next/commit/198af88))
911
-
912
-
913
-
914
-
915
-
916
- ## [1.11.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.11.1...@loopback/rest@1.11.2) (2019-05-14)
917
-
918
- **Note:** Version bump only for package @loopback/rest
919
-
920
-
921
-
922
-
923
-
924
- ## [1.11.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.11.0...@loopback/rest@1.11.1) (2019-05-10)
925
-
926
- **Note:** Version bump only for package @loopback/rest
927
-
928
-
929
-
930
-
931
-
932
- # [1.11.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.10.5...@loopback/rest@1.11.0) (2019-05-09)
933
-
934
-
935
- ### Bug Fixes
936
-
937
- * **rest:** assign all component properties to target spec ([af06b69](https://github.com/strongloop/loopback-next/commit/af06b69))
938
-
939
-
940
- ### Features
941
-
942
- * **context:** add support for method interceptors ([293188d](https://github.com/strongloop/loopback-next/commit/293188d))
943
-
944
-
945
-
946
-
947
-
948
- ## [1.10.5](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.10.4...@loopback/rest@1.10.5) (2019-05-06)
949
-
950
-
951
- ### Bug Fixes
952
-
953
- * **rest:** aggressive redirection to Swagger UI ([9f0d8ca](https://github.com/strongloop/loopback-next/commit/9f0d8ca))
954
-
955
-
956
-
957
-
958
-
959
- ## [1.10.4](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.10.3...@loopback/rest@1.10.4) (2019-04-26)
960
-
961
- **Note:** Version bump only for package @loopback/rest
962
-
963
-
964
-
965
-
966
-
967
- ## [1.10.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.10.2...@loopback/rest@1.10.3) (2019-04-20)
968
-
969
-
970
- ### Bug Fixes
971
-
972
- * **rest:** fix a variable in sample code for README.md ([2bad701](https://github.com/strongloop/loopback-next/commit/2bad701))
973
-
974
-
975
-
976
-
977
-
978
- ## [1.10.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.10.1...@loopback/rest@1.10.2) (2019-04-11)
979
-
980
- **Note:** Version bump only for package @loopback/rest
981
-
982
-
983
-
984
-
985
-
986
- ## [1.10.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.10.0...@loopback/rest@1.10.1) (2019-04-09)
987
-
988
-
989
- ### Bug Fixes
990
-
991
- * **rest:** a small typo fix in code comments ([81d19bb](https://github.com/strongloop/loopback-next/commit/81d19bb))
992
-
993
-
994
-
995
-
996
-
997
- # [1.10.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.9.1...@loopback/rest@1.10.0) (2019-04-05)
998
-
999
-
1000
- ### Bug Fixes
1001
-
1002
- * **rest:** make sure basePath is included in RestServer.url ([705bce4](https://github.com/strongloop/loopback-next/commit/705bce4))
1003
-
1004
-
1005
- ### Features
1006
-
1007
- * **context:** pass resolution options into binding.getValue() ([705dcd5](https://github.com/strongloop/loopback-next/commit/705dcd5))
1008
- * **rest:** add mountExpressRouter ([be21cde](https://github.com/strongloop/loopback-next/commit/be21cde))
1009
-
1010
-
1011
-
1012
-
1013
-
1014
- ## [1.9.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.9.0...@loopback/rest@1.9.1) (2019-03-22)
1015
-
1016
- **Note:** Version bump only for package @loopback/rest
1017
-
1018
-
1019
-
1020
-
1021
-
1022
- # [1.9.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.8.0...@loopback/rest@1.9.0) (2019-03-22)
1023
-
1024
-
1025
- ### Features
1026
-
1027
- * **context:** honor binding scope from [@bind](https://github.com/bind) ([3b30f01](https://github.com/strongloop/loopback-next/commit/3b30f01))
1028
- * **context:** tidy up context for resolving injections of a singleton binding ([f5bf43c](https://github.com/strongloop/loopback-next/commit/f5bf43c))
1029
- * **rest:** add `requestedBaseUrl` API to RequestContext ([912bece](https://github.com/strongloop/loopback-next/commit/912bece))
1030
- * **testlab:** add dummy HTTPS config ([a32c885](https://github.com/strongloop/loopback-next/commit/a32c885))
1031
-
1032
-
1033
-
1034
-
1035
-
1036
- # [1.8.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.7.0...@loopback/rest@1.8.0) (2019-03-12)
1037
-
1038
-
1039
- ### Features
1040
-
1041
- * **openapi-v3:** add operationId based on controller/method names ([89f905b](https://github.com/strongloop/loopback-next/commit/89f905b))
1042
- * **rest:** add strict option for routers ([c3c5dab](https://github.com/strongloop/loopback-next/commit/c3c5dab))
1043
- * **rest:** add support for redirect routes ([53bce7f](https://github.com/strongloop/loopback-next/commit/53bce7f))
1044
-
1045
-
1046
-
1047
-
1048
-
1049
- # [1.7.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.6.0...@loopback/rest@1.7.0) (2019-03-01)
1050
-
1051
-
1052
- ### Features
1053
-
1054
- * **rest:** allow express settings to be customized ([962f1cb](https://github.com/strongloop/loopback-next/commit/962f1cb))
1055
-
1056
-
1057
-
1058
-
1059
-
1060
- # [1.6.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.5.5...@loopback/rest@1.6.0) (2019-02-25)
1061
-
1062
-
1063
- ### Bug Fixes
1064
-
1065
- * **rest:** only return matched trie nodes with values ([669ede1](https://github.com/strongloop/loopback-next/commit/669ede1))
1066
-
1067
-
1068
- ### Features
1069
-
1070
- * **context:** introduce async context observers for bind/unbind events ([e5e5fc4](https://github.com/strongloop/loopback-next/commit/e5e5fc4))
1071
- * **rest:** add `disabled` option for OpenAPI spec endpoints ([af5b16a](https://github.com/strongloop/loopback-next/commit/af5b16a))
1072
- * **rest:** allow rest-server to be mounted on a path to express ([de8f626](https://github.com/strongloop/loopback-next/commit/de8f626))
1073
- * **rest:** introduce requestBodyParser options in RestServerOptions ([c7f59ba](https://github.com/strongloop/loopback-next/commit/c7f59ba))
1074
-
1075
-
1076
-
1077
-
1078
-
1079
- ## [1.5.5](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.5.4...@loopback/rest@1.5.5) (2019-02-08)
1080
-
1081
-
1082
- ### Bug Fixes
1083
-
1084
- * **rest:** sanitize json for JSON.parse() ([5042698](https://github.com/strongloop/loopback-next/commit/5042698))
1085
- * update to the most recent lodash version ([65ee865](https://github.com/strongloop/loopback-next/commit/65ee865))
1086
-
1087
-
1088
-
1089
-
1090
-
1091
- ## [1.5.4](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.5.3...@loopback/rest@1.5.4) (2019-01-28)
1092
-
1093
- **Note:** Version bump only for package @loopback/rest
1094
-
1095
-
1096
-
1097
-
1098
-
1099
- ## [1.5.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.5.2...@loopback/rest@1.5.3) (2019-01-15)
1100
-
1101
- **Note:** Version bump only for package @loopback/rest
1102
-
1103
-
1104
-
1105
-
1106
-
1107
- ## [1.5.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.5.1...@loopback/rest@1.5.2) (2019-01-14)
1108
-
1109
-
1110
- ### Bug Fixes
1111
-
1112
- * rework tslint comments disabling "no-unused-variable" rule ([a18a3d7](https://github.com/strongloop/loopback-next/commit/a18a3d7))
1113
-
1114
-
1115
-
1116
-
1117
-
1118
- ## [1.5.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.5.0...@loopback/rest@1.5.1) (2018-12-20)
1119
-
1120
- **Note:** Version bump only for package @loopback/rest
1121
-
1122
-
1123
-
1124
-
1125
-
1126
- # [1.5.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.4.0...@loopback/rest@1.5.0) (2018-12-13)
1127
-
1128
-
1129
- ### Bug Fixes
1130
-
1131
- * **rest:** add tests for request validation per media type ([7be76a4](https://github.com/strongloop/loopback-next/commit/7be76a4))
1132
- * **rest:** parse query string even when there is no rest query param ([ad905a5](https://github.com/strongloop/loopback-next/commit/ad905a5))
1133
-
1134
-
1135
- ### Features
1136
-
1137
- * **rest:** allow basePath for rest servers ([1016a09](https://github.com/strongloop/loopback-next/commit/1016a09))
1138
-
1139
-
1140
-
1141
-
1142
-
1143
- # [1.4.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.3.1...@loopback/rest@1.4.0) (2018-11-26)
1144
-
1145
-
1146
- ### Bug Fixes
1147
-
1148
- * **rest:** allow `.` to be used in openapi path template ([47c24cb](https://github.com/strongloop/loopback-next/commit/47c24cb))
1149
-
1150
-
1151
- ### Features
1152
-
1153
- * **rest:** allow body parsers to be extended ([86bfcbc](https://github.com/strongloop/loopback-next/commit/86bfcbc))
1154
- * **rest:** switch to express body-parser ([084837f](https://github.com/strongloop/loopback-next/commit/084837f))
1155
-
1156
-
1157
-
1158
-
1159
-
1160
- ## [1.3.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.3.0...@loopback/rest@1.3.1) (2018-11-17)
1161
-
1162
-
1163
- ### Bug Fixes
1164
-
1165
- * **rest:** allow users to disable Explorer redirects after RestServer was created ([34af6a0](https://github.com/strongloop/loopback-next/commit/34af6a0))
1166
-
1167
-
1168
-
1169
-
1170
-
1171
- # [1.3.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.2.0...@loopback/rest@1.3.0) (2018-11-14)
1172
-
1173
-
1174
- ### Features
1175
-
1176
- * **rest:** add config option to disable API Explorer redirects ([b4d9bc5](https://github.com/strongloop/loopback-next/commit/b4d9bc5))
1177
-
1178
-
1179
-
1180
-
1181
-
1182
- <a name="1.2.0"></a>
1183
- # [1.2.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.0.1...@loopback/rest@1.2.0) (2018-11-08)
1184
-
1185
-
1186
- ### Bug Fixes
1187
-
1188
- * **rest:** don't rely on transitive dependencies from express ([a3d5d0c](https://github.com/strongloop/loopback-next/commit/a3d5d0c))
1189
- * **rest:** handle overlapping paths with different vars ([17adc7a](https://github.com/strongloop/loopback-next/commit/17adc7a))
1190
- * **rest:** improve route sorting to group by path and verb ([ce31bf7](https://github.com/strongloop/loopback-next/commit/ce31bf7))
1191
- * **rest:** make sure the sorting test pass for node 11 ([614450b](https://github.com/strongloop/loopback-next/commit/614450b))
1192
- * fix static assets router blocking controller registration ([0e1b06f](https://github.com/strongloop/loopback-next/commit/0e1b06f))
1193
- * move serve-static [@types](https://github.com/types) to normal dependencies ([216bf85](https://github.com/strongloop/loopback-next/commit/216bf85)), closes [#1917](https://github.com/strongloop/loopback-next/issues/1917)
1194
- * optimize serving static files ([57a94a5](https://github.com/strongloop/loopback-next/commit/57a94a5))
1195
- * remove unnecessary dependency from [#1918](https://github.com/strongloop/loopback-next/issues/1918) ([63d367b](https://github.com/strongloop/loopback-next/commit/63d367b))
1196
-
1197
-
1198
- ### Features
1199
-
1200
- * add 'x-visibility' extension property to OpenAPI spec ([5634e18](https://github.com/strongloop/loopback-next/commit/5634e18))
1201
- * **rest:** add support for form request body ([2d9e0a8](https://github.com/strongloop/loopback-next/commit/2d9e0a8))
1202
- * **rest:** push route(verb, path, spec, fn) down to RestServer ([c49b65a](https://github.com/strongloop/loopback-next/commit/c49b65a))
1203
-
1204
-
1205
-
1206
-
1207
-
1208
- <a name="1.0.1"></a>
1209
- ## [1.0.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@1.0.0...@loopback/rest@1.0.1) (2018-10-17)
1210
-
1211
- **Note:** Version bump only for package @loopback/rest
1212
-
1213
-
1214
-
1215
-
1216
-
1217
- <a name="0.26.0"></a>
1218
- # [0.26.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.25.5...@loopback/rest@0.26.0) (2018-10-08)
1219
-
1220
-
1221
- ### Features
1222
-
1223
- * **rest:** switch to trie based routing ([a682ce2](https://github.com/strongloop/loopback-next/commit/a682ce2))
1224
-
1225
-
1226
-
1227
-
1228
-
1229
- <a name="0.25.5"></a>
1230
- ## [0.25.5](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.25.4...@loopback/rest@0.25.5) (2018-10-06)
1231
-
1232
- **Note:** Version bump only for package @loopback/rest
1233
-
1234
-
1235
-
1236
-
1237
-
1238
- <a name="0.25.4"></a>
1239
- ## [0.25.4](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.25.3...@loopback/rest@0.25.4) (2018-10-05)
1240
-
1241
- **Note:** Version bump only for package @loopback/rest
1242
-
1243
-
1244
-
1245
-
1246
-
1247
- <a name="0.25.3"></a>
1248
- ## [0.25.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.25.2...@loopback/rest@0.25.3) (2018-10-03)
1249
-
1250
-
1251
- ### Performance Improvements
1252
-
1253
- * improve schema validation peformance ([353b202](https://github.com/strongloop/loopback-next/commit/353b202))
1254
-
1255
-
1256
-
1257
-
1258
-
1259
- <a name="0.25.2"></a>
1260
- ## [0.25.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.25.1...@loopback/rest@0.25.2) (2018-09-28)
1261
-
1262
- **Note:** Version bump only for package @loopback/rest
1263
-
1264
-
1265
-
1266
-
1267
-
1268
- <a name="0.25.1"></a>
1269
- ## [0.25.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.25.0...@loopback/rest@0.25.1) (2018-09-27)
1270
-
1271
- **Note:** Version bump only for package @loopback/rest
1272
-
1273
-
1274
-
1275
-
1276
-
1277
- <a name="0.25.0"></a>
1278
- # [0.25.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.24.0...@loopback/rest@0.25.0) (2018-09-25)
1279
-
1280
-
1281
- ### Bug Fixes
1282
-
1283
- * **rest:** coerce string parameters (reject object values) ([1f49844](https://github.com/strongloop/loopback-next/commit/1f49844))
1284
-
1285
-
1286
- ### Features
1287
-
1288
- * builders for Filter and Where schemas ([ca8d96e](https://github.com/strongloop/loopback-next/commit/ca8d96e))
1289
- * **cli:** add responses for PingController.ping() ([ec52b89](https://github.com/strongloop/loopback-next/commit/ec52b89))
1290
- * **rest:** allow controller methods to handle response writing ([2bfd50e](https://github.com/strongloop/loopback-next/commit/2bfd50e))
1291
-
1292
-
1293
-
1294
-
1295
-
1296
- <a name="0.24.0"></a>
1297
- # [0.24.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.23.0...@loopback/rest@0.24.0) (2018-09-21)
1298
-
1299
-
1300
- ### Features
1301
-
1302
- * **testlab:** add createRestAppClient(), simplify usage in tests ([d75be77](https://github.com/strongloop/loopback-next/commit/d75be77))
1303
- * **testlab:** set port to 0 in givenHttpServerConfig ([90a0bfb](https://github.com/strongloop/loopback-next/commit/90a0bfb))
1304
-
1305
-
1306
-
1307
-
1308
-
1309
- <a name="0.23.0"></a>
1310
- # [0.23.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.22.2...@loopback/rest@0.23.0) (2018-09-19)
1311
-
1312
-
1313
- ### Bug Fixes
1314
-
1315
- * **rest:** return 404 when a model was not found ([7a56bad](https://github.com/strongloop/loopback-next/commit/7a56bad))
1316
-
1317
-
1318
- ### Features
1319
-
1320
- * **rest:** add error codes for REST validation errors ([1762765](https://github.com/strongloop/loopback-next/commit/1762765))
1321
- * **rest:** set status code to 204 when body is undefined ([047efcb](https://github.com/strongloop/loopback-next/commit/047efcb))
1322
-
1323
-
1324
-
1325
-
1326
-
1327
- <a name="0.22.2"></a>
1328
- ## [0.22.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.22.1...@loopback/rest@0.22.2) (2018-09-14)
1329
-
1330
- **Note:** Version bump only for package @loopback/rest
1331
-
1332
-
1333
-
1334
-
1335
-
1336
- <a name="0.22.1"></a>
1337
- ## [0.22.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.22.0...@loopback/rest@0.22.1) (2018-09-14)
1338
-
1339
-
1340
- ### Bug Fixes
1341
-
1342
- * **rest:** make sure validation system error is reported ([fe4fe16](https://github.com/strongloop/loopback-next/commit/fe4fe16))
1343
-
1344
-
1345
-
1346
-
1347
-
1348
- <a name="0.22.0"></a>
1349
- # [0.22.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.21.1...@loopback/rest@0.22.0) (2018-09-14)
1350
-
1351
-
1352
- ### Features
1353
-
1354
- * **openapi-v3:** add support for openapi responses ([0ecaecd](https://github.com/strongloop/loopback-next/commit/0ecaecd))
1355
-
1356
-
1357
-
1358
-
1359
-
1360
- <a name="0.21.1"></a>
1361
- ## [0.21.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.21.0...@loopback/rest@0.21.1) (2018-09-12)
1362
-
1363
-
1364
- ### Bug Fixes
1365
-
1366
- * **rest:** tidy up host/port parsing and client url building ([b692f45](https://github.com/strongloop/loopback-next/commit/b692f45))
1367
-
1368
-
1369
-
1370
-
1371
-
1372
- <a name="0.21.0"></a>
1373
- # [0.21.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.20.0...@loopback/rest@0.21.0) (2018-09-10)
1374
-
1375
-
1376
- ### Bug Fixes
1377
-
1378
- * **rest:** use direct import to work around a TS bug ([2cf3b2c](https://github.com/strongloop/loopback-next/commit/2cf3b2c))
1379
-
1380
-
1381
- ### Features
1382
-
1383
- * **rest:** make servers configurable for openapi specs ([99b80a9](https://github.com/strongloop/loopback-next/commit/99b80a9))
1384
-
1385
-
1386
-
1387
-
1388
-
1389
- <a name="0.20.0"></a>
1390
- # [0.20.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.19.6...@loopback/rest@0.20.0) (2018-09-08)
1391
-
1392
-
1393
- ### Bug Fixes
1394
-
1395
- * remove extra imports for mixin dependencies ([35b916b](https://github.com/strongloop/loopback-next/commit/35b916b))
1396
- * **rest:** use strong-error-handler for writing errors to the response body ([ac011f8](https://github.com/strongloop/loopback-next/commit/ac011f8))
1397
-
1398
-
1399
- ### Features
1400
-
1401
- * **rest:** allow static assets to be served by a rest server ([a1cefcc](https://github.com/strongloop/loopback-next/commit/a1cefcc))
1402
- * coerce object arguments from query strings ([d095693](https://github.com/strongloop/loopback-next/commit/d095693))
1403
-
1404
-
1405
-
1406
-
1407
-
1408
- <a name="0.19.6"></a>
1409
- ## [0.19.6](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.19.5...@loopback/rest@0.19.6) (2018-08-25)
1410
-
1411
- **Note:** Version bump only for package @loopback/rest
1412
-
1413
-
1414
-
1415
-
1416
-
1417
- <a name="0.19.5"></a>
1418
- ## [0.19.5](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.19.4...@loopback/rest@0.19.5) (2018-08-24)
1419
-
1420
-
1421
- ### Bug Fixes
1422
-
1423
- * **openapi-v3:** set required to true for path parameters ([2b13247](https://github.com/strongloop/loopback-next/commit/2b13247))
1424
-
1425
-
1426
-
1427
-
1428
-
1429
- <a name="0.19.4"></a>
1430
- ## [0.19.4](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.19.3...@loopback/rest@0.19.4) (2018-08-15)
1431
-
1432
-
1433
- ### Bug Fixes
1434
-
1435
- * **rest:** set openapi url based on x-forwarded-* headers ([8706038](https://github.com/strongloop/loopback-next/commit/8706038))
1436
-
1437
-
1438
-
1439
-
1440
- <a name="0.19.3"></a>
1441
- ## [0.19.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.19.2...@loopback/rest@0.19.3) (2018-08-08)
1442
-
1443
-
1444
-
1445
-
1446
- **Note:** Version bump only for package @loopback/rest
1447
-
1448
- <a name="0.19.2"></a>
1449
- ## [0.19.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.19.1...@loopback/rest@0.19.2) (2018-07-21)
1450
-
1451
-
1452
-
1453
-
1454
- **Note:** Version bump only for package @loopback/rest
1455
-
1456
- <a name="0.19.1"></a>
1457
- ## [0.19.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.19.0...@loopback/rest@0.19.1) (2018-07-20)
1458
-
1459
-
1460
-
1461
-
1462
- **Note:** Version bump only for package @loopback/rest
1463
-
1464
- <a name="0.19.0"></a>
1465
- # [0.19.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.18.0...@loopback/rest@0.19.0) (2018-07-20)
1466
-
1467
-
1468
- ### Features
1469
-
1470
- * add HTTPs protocol support ([6941a5d](https://github.com/strongloop/loopback-next/commit/6941a5d))
1471
-
1472
-
1473
-
1474
-
1475
- <a name="0.18.0"></a>
1476
- # [0.18.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.17.1...@loopback/rest@0.18.0) (2018-07-13)
1477
-
1478
-
1479
- ### Features
1480
-
1481
- * localize error in details ([3c9f6b4](https://github.com/strongloop/loopback-next/commit/3c9f6b4))
1482
-
1483
-
1484
-
1485
-
1486
- <a name="0.17.1"></a>
1487
- ## [0.17.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.17.0...@loopback/rest@0.17.1) (2018-07-11)
1488
-
1489
-
1490
-
1491
-
1492
- **Note:** Version bump only for package @loopback/rest
1493
-
1494
- <a name="0.17.0"></a>
1495
- # [0.17.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.16.0...@loopback/rest@0.17.0) (2018-07-10)
1496
-
1497
-
1498
- ### Features
1499
-
1500
- * add tests for array and object ([57b968a](https://github.com/strongloop/loopback-next/commit/57b968a))
1501
- * **rest:** add url property ([18b3408](https://github.com/strongloop/loopback-next/commit/18b3408))
1502
-
1503
-
1504
-
1505
-
1506
- <a name="0.16.0"></a>
1507
- # [0.16.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.15.1...@loopback/rest@0.16.0) (2018-07-09)
1508
-
1509
-
1510
- ### Features
1511
-
1512
- * body validation ([d284ad8](https://github.com/strongloop/loopback-next/commit/d284ad8))
1513
-
1514
-
1515
-
1516
-
1517
- <a name="0.15.1"></a>
1518
- ## [0.15.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.15.0...@loopback/rest@0.15.1) (2018-06-28)
1519
-
1520
-
1521
-
1522
-
1523
- **Note:** Version bump only for package @loopback/rest
1524
-
1525
- <a name="0.15.0"></a>
1526
- # [0.15.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.14.1...@loopback/rest@0.15.0) (2018-06-27)
1527
-
1528
-
1529
- ### Features
1530
-
1531
- * add `listening` property in the server interface ([ff0eab7](https://github.com/strongloop/loopback-next/commit/ff0eab7)), closes [#1368](https://github.com/strongloop/loopback-next/issues/1368)
1532
-
1533
-
1534
-
1535
-
1536
- <a name="0.14.1"></a>
1537
- ## [0.14.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.14.0...@loopback/rest@0.14.1) (2018-06-26)
1538
-
1539
-
1540
-
1541
-
1542
- **Note:** Version bump only for package @loopback/rest
1543
-
1544
- <a name="0.14.0"></a>
1545
- # [0.14.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.12.0...@loopback/rest@0.14.0) (2018-06-25)
1546
-
1547
-
1548
- ### Features
1549
-
1550
- * coercion for more types ([2b4b269](https://github.com/strongloop/loopback-next/commit/2b4b269))
1551
-
1552
-
1553
-
1554
-
1555
- <a name="0.13.0"></a>
1556
- # [0.13.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.12.0...@loopback/rest@0.13.0) (2018-06-25)
1557
-
1558
-
1559
- ### Features
1560
-
1561
- * coercion for more types ([2b4b269](https://github.com/strongloop/loopback-next/commit/2b4b269))
1562
-
1563
-
1564
-
1565
-
1566
- <a name="0.12.0"></a>
1567
- # [0.12.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.11.3...@loopback/rest@0.12.0) (2018-06-20)
1568
-
1569
-
1570
- ### Bug Fixes
1571
-
1572
- * **rest:** stop an app that has not been started ([1841ebb](https://github.com/strongloop/loopback-next/commit/1841ebb)), closes [#822](https://github.com/strongloop/loopback-next/issues/822)
1573
-
1574
-
1575
- ### Features
1576
-
1577
- * add type coercion ([2b8d816](https://github.com/strongloop/loopback-next/commit/2b8d816))
1578
-
1579
-
1580
-
1581
-
1582
- <a name="0.11.3"></a>
1583
- ## [0.11.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.11.2...@loopback/rest@0.11.3) (2018-06-11)
1584
-
1585
-
1586
-
1587
-
1588
- **Note:** Version bump only for package @loopback/rest
1589
-
1590
- <a name="0.11.2"></a>
1591
- ## [0.11.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.11.0...@loopback/rest@0.11.2) (2018-06-09)
1592
-
1593
-
1594
-
1595
-
1596
- **Note:** Version bump only for package @loopback/rest
1597
-
1598
- <a name="0.11.1"></a>
1599
- ## [0.11.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.11.0...@loopback/rest@0.11.1) (2018-06-09)
1600
-
1601
-
1602
-
1603
-
1604
- **Note:** Version bump only for package @loopback/rest
1605
-
1606
- <a name="0.11.0"></a>
1607
- # [0.11.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.10.5...@loopback/rest@0.11.0) (2018-06-08)
1608
-
1609
-
1610
- ### Bug Fixes
1611
-
1612
- * make the code compatible with TypeScript 2.9.x ([37aba50](https://github.com/strongloop/loopback-next/commit/37aba50))
1613
-
1614
-
1615
- ### Features
1616
-
1617
- * add http-server package ([bac8d8c](https://github.com/strongloop/loopback-next/commit/bac8d8c))
1618
-
1619
-
1620
-
1621
-
1622
- <a name="0.10.5"></a>
1623
- ## [0.10.5](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.10.4...@loopback/rest@0.10.5) (2018-05-28)
1624
-
1625
-
1626
-
1627
-
1628
- **Note:** Version bump only for package @loopback/rest
1629
-
1630
- <a name="0.10.4"></a>
1631
- ## [0.10.4](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.10.3...@loopback/rest@0.10.4) (2018-05-20)
1632
-
1633
-
1634
-
1635
-
1636
- **Note:** Version bump only for package @loopback/rest
1637
-
1638
- <a name="0.10.3"></a>
1639
- ## [0.10.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.10.2...@loopback/rest@0.10.3) (2018-05-14)
1640
-
1641
-
1642
- ### Bug Fixes
1643
-
1644
- * change index.d.ts files to point to dist8 ([42ca42d](https://github.com/strongloop/loopback-next/commit/42ca42d))
1645
-
1646
-
1647
-
1648
-
1649
- <a name="0.10.2"></a>
1650
- ## [0.10.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.10.1...@loopback/rest@0.10.2) (2018-05-14)
1651
-
1652
-
1653
-
1654
-
1655
- **Note:** Version bump only for package @loopback/rest
1656
-
1657
- <a name="0.10.1"></a>
1658
- ## [0.10.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.10.0...@loopback/rest@0.10.1) (2018-05-08)
1659
-
1660
-
1661
-
1662
-
1663
- **Note:** Version bump only for package @loopback/rest
1664
-
1665
- <a name="0.10.0"></a>
1666
- # [0.10.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.8.1...@loopback/rest@0.10.0) (2018-05-03)
1667
-
1668
-
1669
- ### Features
1670
-
1671
- * **context:** allow tags to have an optional value ([95acd11](https://github.com/strongloop/loopback-next/commit/95acd11))
1672
- * add helper package "dist-util" ([532f153](https://github.com/strongloop/loopback-next/commit/532f153))
1673
-
1674
-
1675
-
1676
-
1677
- <a name="0.9.0"></a>
1678
- # [0.9.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.8.1...@loopback/rest@0.9.0) (2018-05-03)
1679
-
1680
-
1681
- ### Features
1682
-
1683
- * **context:** allow tags to have an optional value ([95acd11](https://github.com/strongloop/loopback-next/commit/95acd11))
1684
- * add helper package "dist-util" ([532f153](https://github.com/strongloop/loopback-next/commit/532f153))
1685
-
1686
-
1687
-
1688
-
1689
- <a name="0.8.1"></a>
1690
- ## [0.8.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.8.0...@loopback/rest@0.8.1) (2018-04-26)
1691
-
1692
-
1693
-
1694
-
1695
- **Note:** Version bump only for package @loopback/rest
1696
-
1697
- <a name="0.8.0"></a>
1698
- # [0.8.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.7.0...@loopback/rest@0.8.0) (2018-04-25)
1699
-
1700
-
1701
- ### Features
1702
-
1703
- * upgrade to openapi3-ts@0.11.0 ([1ed79c9](https://github.com/strongloop/loopback-next/commit/1ed79c9))
1704
-
1705
-
1706
-
1707
-
1708
- <a name="0.7.0"></a>
1709
- # [0.7.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.6.3...@loopback/rest@0.7.0) (2018-04-16)
1710
-
1711
-
1712
-
1713
-
1714
- **Note:** Version bump only for package @loopback/rest
1715
-
1716
- <a name="0.6.3"></a>
1717
- ## [0.6.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.6.2...@loopback/rest@0.6.3) (2018-04-16)
1718
-
1719
-
1720
-
1721
-
1722
- **Note:** Version bump only for package @loopback/rest
1723
-
1724
- <a name="0.6.2"></a>
1725
- ## [0.6.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.6.1...@loopback/rest@0.6.2) (2018-04-12)
1726
-
1727
-
1728
-
1729
-
1730
- **Note:** Version bump only for package @loopback/rest
1731
-
1732
- <a name="0.6.1"></a>
1733
- ## [0.6.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.6.0...@loopback/rest@0.6.1) (2018-04-11)
1734
-
1735
-
1736
-
1737
-
1738
- **Note:** Version bump only for package @loopback/rest
1739
-
1740
- <a name="0.6.0"></a>
1741
- # [0.6.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.5.2...@loopback/rest@0.6.0) (2018-04-11)
1742
-
1743
-
1744
- ### Bug Fixes
1745
-
1746
- * change file names to fit advocated naming convention ([0331df8](https://github.com/strongloop/loopback-next/commit/0331df8))
1747
-
1748
-
1749
- ### Features
1750
-
1751
- * **context:** typed binding keys ([685195c](https://github.com/strongloop/loopback-next/commit/685195c))
1752
- * **rest:** add typing for controller instance/class/factory ([a1cbab3](https://github.com/strongloop/loopback-next/commit/a1cbab3))
1753
- * **rest:** allow factory for controller routes ([184371b](https://github.com/strongloop/loopback-next/commit/184371b))
1754
-
1755
-
1756
-
1757
-
1758
- <a name="0.5.3"></a>
1759
- ## [0.5.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.5.2...@loopback/rest@0.5.3) (2018-04-06)
1760
-
1761
-
1762
-
1763
-
1764
- **Note:** Version bump only for package @loopback/rest
1765
-
1766
- <a name="0.5.2"></a>
1767
- ## [0.5.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.5.1...@loopback/rest@0.5.2) (2018-04-04)
1768
-
1769
-
1770
-
1771
-
1772
- **Note:** Version bump only for package @loopback/rest
1773
-
1774
- <a name="0.5.1"></a>
1775
- ## [0.5.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.5.0...@loopback/rest@0.5.1) (2018-04-02)
1776
-
1777
-
1778
-
1779
-
1780
- **Note:** Version bump only for package @loopback/rest
1781
-
1782
- <a name="0.5.0"></a>
1783
- # [0.5.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.4.1...@loopback/rest@0.5.0) (2018-03-29)
1784
-
1785
-
1786
-
1787
-
1788
- **Note:** Version bump only for package @loopback/rest
1789
-
1790
- <a name="0.4.1"></a>
1791
- ## [0.4.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.4.0...@loopback/rest@0.4.1) (2018-03-23)
1792
-
1793
-
1794
-
1795
-
1796
- **Note:** Version bump only for package @loopback/rest
1797
-
1798
- <a name="0.4.0"></a>
1799
- # [0.4.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.3.4...@loopback/rest@0.4.0) (2018-03-21)
1800
-
1801
-
1802
- ### Features
1803
-
1804
- * **rest:** expose app.requestHandler function ([20a41ac](https://github.com/strongloop/loopback-next/commit/20a41ac))
1805
-
1806
-
1807
- ### BREAKING CHANGES
1808
-
1809
- * **rest:** `RestServer#handleHttp` was renamed to
1810
- `RestServer#requestHandler`.
1811
-
1812
-
1813
-
1814
-
1815
- <a name="0.3.4"></a>
1816
- ## [0.3.4](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.3.3...@loopback/rest@0.3.4) (2018-03-14)
1817
-
1818
-
1819
-
1820
-
1821
- **Note:** Version bump only for package @loopback/rest
1822
-
1823
- <a name="0.3.3"></a>
1824
- ## [0.3.3](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.3.2...@loopback/rest@0.3.3) (2018-03-13)
1825
-
1826
-
1827
-
1828
-
1829
- **Note:** Version bump only for package @loopback/rest
1830
-
1831
- <a name="0.3.2"></a>
1832
- ## [0.3.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.3.1...@loopback/rest@0.3.2) (2018-03-08)
1833
-
1834
-
1835
- ### Bug Fixes
1836
-
1837
- * **rest:** move [@types](https://github.com/types)/cors to dependency ([fee3520](https://github.com/strongloop/loopback-next/commit/fee3520))
1838
-
1839
-
1840
-
1841
-
1842
- <a name="0.3.1"></a>
1843
- ## [0.3.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.3.0...@loopback/rest@0.3.1) (2018-03-07)
1844
-
1845
-
1846
- ### Bug Fixes
1847
-
1848
- * **rest:** enable cors preflight ([d05bdae](https://github.com/strongloop/loopback-next/commit/d05bdae))
1849
-
1850
-
1851
-
1852
-
1853
- <a name="0.3.0"></a>
1854
- # [0.3.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.2.0...@loopback/rest@0.3.0) (2018-03-06)
1855
-
1856
-
1857
- ### Bug Fixes
1858
-
1859
- * fix typo of `additional` ([2fd7610](https://github.com/strongloop/loopback-next/commit/2fd7610))
1860
-
1861
-
1862
- ### Features
1863
-
1864
- * upgrade from swagger 2 to openapi 3 ([71e5af1](https://github.com/strongloop/loopback-next/commit/71e5af1))
1865
-
1866
-
1867
-
1868
-
1869
- <a name="0.2.0"></a>
1870
- # [0.2.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.1.2...@loopback/rest@0.2.0) (2018-03-01)
1871
-
1872
-
1873
-
1874
-
1875
- **Note:** Version bump only for package @loopback/rest
1876
-
1877
- <a name="0.1.2"></a>
1878
- ## [0.1.2](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.1.1...@loopback/rest@0.1.2) (2018-03-01)
1879
-
1880
-
1881
- ### Bug Fixes
1882
-
1883
- * **rest:** log unexpected errors to console ([#1058](https://github.com/strongloop/loopback-next/issues/1058)) ([b7b0fd8](https://github.com/strongloop/loopback-next/commit/b7b0fd8))
1884
- * **rest:** make the route binding key friendly for find ([e3577ab](https://github.com/strongloop/loopback-next/commit/e3577ab))
1885
-
1886
-
1887
- ### Features
1888
-
1889
- * **context:** add type as a generic parameter to `ctx.get()` and friends ([24b217d](https://github.com/strongloop/loopback-next/commit/24b217d))
1890
-
1891
-
1892
- ### BREAKING CHANGES
1893
-
1894
- * **context:** `ctx.get()` and `ctx.getSync()` require a type now.
1895
- See the example below for upgrade instructions:
1896
-
1897
- ```diff
1898
- - const c: MyController = await ctx.get('MyController');
1899
- + const c = await ctx.get<MyController>('MyController');
1900
- ```
1901
-
1902
- `isPromise` was renamed to `isPromiseLike` and acts as a type guard
1903
- for `PromiseLike`, not `Promise`. When upgrading affected code, you
1904
- need to determine whether the code was accepting any Promise
1905
- implementation (i.e. `PromiseLike`) or only native Promises. In the
1906
- former case, you should use `isPromiseLike` and potentially convert the
1907
- userland Promise instance to a native Promise via
1908
- `Promise.resolve(promiseLike)`. In the latter case, you can replace
1909
- `isPromise(p)` with `p instanceof Promise`.
1910
-
1911
-
1912
-
1913
-
1914
- <a name="0.1.1"></a>
1915
- ## [0.1.1](https://github.com/strongloop/loopback-next/compare/@loopback/rest@0.1.0...@loopback/rest@0.1.1) (2018-02-23)
1916
-
1917
-
1918
- ### Bug Fixes
1919
-
1920
- * **context:** fix optional param injection for methods ([801a82d](https://github.com/strongloop/loopback-next/commit/801a82d))
1921
-
1922
-
1923
-
1924
-
1925
- <a name="0.1.0"></a>
1926
- # [0.1.0](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.26...@loopback/rest@0.1.0) (2018-02-21)
1927
-
1928
-
1929
- ### Features
1930
-
1931
- * **rest:** app.route() and app.api() ([5c3fd62](https://github.com/strongloop/loopback-next/commit/5c3fd62))
1932
-
1933
-
1934
-
1935
-
1936
- <a name="4.0.0-alpha.26"></a>
1937
- # [4.0.0-alpha.26](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.25...@loopback/rest@4.0.0-alpha.26) (2018-02-15)
1938
-
1939
-
1940
-
1941
-
1942
- **Note:** Version bump only for package @loopback/rest
1943
-
1944
- <a name="4.0.0-alpha.25"></a>
1945
- # [4.0.0-alpha.25](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.24...@loopback/rest@4.0.0-alpha.25) (2018-02-07)
1946
-
1947
-
1948
- ### build
1949
-
1950
- * drop dist6 related targets ([#945](https://github.com/strongloop/loopback-next/issues/945)) ([a2368ce](https://github.com/strongloop/loopback-next/commit/a2368ce))
1951
-
1952
-
1953
- ### BREAKING CHANGES
1954
-
1955
- * Support for Node.js version lower than 8.0 has been dropped.
1956
- Please upgrade to the latest Node.js 8.x LTS version.
1957
-
1958
- Co-Authored-by: Taranveer Virk <taranveer@virk.cc>
1959
-
1960
-
1961
-
1962
-
1963
- <a name="4.0.0-alpha.24"></a>
1964
- # [4.0.0-alpha.24](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.23...@loopback/rest@4.0.0-alpha.24) (2018-02-04)
1965
-
1966
-
1967
- ### Bug Fixes
1968
-
1969
- * remove console output from tests ([ff4a320](https://github.com/strongloop/loopback-next/commit/ff4a320))
1970
-
1971
-
1972
-
1973
-
1974
- <a name="4.0.0-alpha.23"></a>
1975
- # [4.0.0-alpha.23](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.22...@loopback/rest@4.0.0-alpha.23) (2018-01-30)
1976
-
1977
-
1978
- ### Features
1979
-
1980
- * **repository-json-schema:** add in top-level metadata for json schema ([#907](https://github.com/strongloop/loopback-next/issues/907)) ([fe59e6b](https://github.com/strongloop/loopback-next/commit/fe59e6b))
1981
-
1982
-
1983
-
1984
-
1985
- <a name="4.0.0-alpha.22"></a>
1986
- # [4.0.0-alpha.22](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.21...@loopback/rest@4.0.0-alpha.22) (2018-01-29)
1987
-
1988
-
1989
-
1990
-
1991
- **Note:** Version bump only for package @loopback/rest
1992
-
1993
- <a name="4.0.0-alpha.21"></a>
1994
- # [4.0.0-alpha.21](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.20...@loopback/rest@4.0.0-alpha.21) (2018-01-26)
1995
-
1996
-
1997
-
1998
-
1999
- **Note:** Version bump only for package @loopback/rest
2000
-
2001
- <a name="4.0.0-alpha.20"></a>
2002
- # [4.0.0-alpha.20](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.19...@loopback/rest@4.0.0-alpha.20) (2018-01-26)
2003
-
2004
-
2005
- ### Bug Fixes
2006
-
2007
- * **rest:** correctly re-export decorators at runtime ([c81c0ac](https://github.com/strongloop/loopback-next/commit/c81c0ac))
2008
- * **rest:** fix assertion broken by new deps versions ([05a8e0c](https://github.com/strongloop/loopback-next/commit/05a8e0c))
2009
- * **rest:** fix yaml comparison to tolerate textual diffs ([615882c](https://github.com/strongloop/loopback-next/commit/615882c))
2010
- * apply source-maps to test errors ([76a7f56](https://github.com/strongloop/loopback-next/commit/76a7f56)), closes [#602](https://github.com/strongloop/loopback-next/issues/602)
2011
- * make mocha self-contained with the source map support ([7c6d869](https://github.com/strongloop/loopback-next/commit/7c6d869))
2012
-
2013
-
2014
- ### Features
2015
-
2016
- * **rest:** enable dependency injection for controller methods ([72afddd](https://github.com/strongloop/loopback-next/commit/72afddd))
2017
-
2018
-
2019
-
2020
-
2021
- <a name="4.0.0-alpha.19"></a>
2022
- # [4.0.0-alpha.19](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.18...@loopback/rest@4.0.0-alpha.19) (2018-01-19)
2023
-
2024
-
2025
- ### Bug Fixes
2026
-
2027
- * **rest:** export decorators for backward compatibility ([#850](https://github.com/strongloop/loopback-next/issues/850)) ([5166388](https://github.com/strongloop/loopback-next/commit/5166388))
2028
-
2029
-
2030
-
2031
-
2032
- <a name="4.0.0-alpha.18"></a>
2033
- # [4.0.0-alpha.18](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.17...@loopback/rest@4.0.0-alpha.18) (2018-01-11)
2034
-
2035
-
2036
- ### Bug Fixes
2037
-
2038
- * fix imports to use files owning the definitions ([a50405a](https://github.com/strongloop/loopback-next/commit/a50405a))
2039
-
2040
-
2041
-
2042
-
2043
- <a name="4.0.0-alpha.17"></a>
2044
- # [4.0.0-alpha.17](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.16...@loopback/rest@4.0.0-alpha.17) (2018-01-03)
2045
-
2046
-
2047
- ### Bug Fixes
2048
-
2049
- * fix version for [@loopback](https://github.com/loopback)/openapi-v2 ([d032129](https://github.com/strongloop/loopback-next/commit/d032129))
2050
-
2051
-
2052
-
2053
-
2054
- <a name="4.0.0-alpha.16"></a>
2055
- # [4.0.0-alpha.16](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.15...@loopback/rest@4.0.0-alpha.16) (2018-01-03)
2056
-
2057
-
2058
- ### Features
2059
-
2060
- * **rest:** set controller name as the default tag ([b008e07](https://github.com/strongloop/loopback-next/commit/b008e07))
2061
- * Create [@loopback](https://github.com/loopback)/openapi-v2 ([#804](https://github.com/strongloop/loopback-next/issues/804)) ([4ddd4bc](https://github.com/strongloop/loopback-next/commit/4ddd4bc))
2062
-
2063
-
2064
-
2065
-
2066
- <a name="4.0.0-alpha.15"></a>
2067
- # [4.0.0-alpha.15](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.14...@loopback/rest@4.0.0-alpha.15) (2017-12-21)
2068
-
2069
-
2070
- ### Features
2071
-
2072
- * **rest:** Improve decorators to infer param types ([37d881f](https://github.com/strongloop/loopback-next/commit/37d881f))
2073
- * **rest:** Single-server RestApplication ([80638b4](https://github.com/strongloop/loopback-next/commit/80638b4))
2074
-
2075
-
2076
-
2077
-
2078
- <a name="4.0.0-alpha.14"></a>
2079
- # [4.0.0-alpha.14](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.13...@loopback/rest@4.0.0-alpha.14) (2017-12-15)
2080
-
2081
-
2082
- ### Features
2083
-
2084
- * Expose reflectors via MetadataInspector ([5e6829f](https://github.com/strongloop/loopback-next/commit/5e6829f))
2085
- * Refactor REST decorators to use factories ([d03adf7](https://github.com/strongloop/loopback-next/commit/d03adf7))
2086
-
2087
-
2088
-
2089
-
2090
- <a name="4.0.0-alpha.13"></a>
2091
- # [4.0.0-alpha.13](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.12...@loopback/rest@4.0.0-alpha.13) (2017-12-11)
2092
-
2093
-
2094
- ### Bug Fixes
2095
-
2096
- * Fix node module names in source code headers ([0316f28](https://github.com/strongloop/loopback-next/commit/0316f28))
2097
- * **rest:** Fix compilation error caused by [@types](https://github.com/types)/node ([89f1401](https://github.com/strongloop/loopback-next/commit/89f1401))
2098
-
2099
-
2100
-
2101
-
2102
- <a name="4.0.0-alpha.12"></a>
2103
- # [4.0.0-alpha.12](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.11...@loopback/rest@4.0.0-alpha.12) (2017-12-01)
2104
-
2105
-
2106
- ### Bug Fixes
2107
-
2108
- * **rest:** move [@types](https://github.com/types)/http-errors from dev-dep ([11350bd](https://github.com/strongloop/loopback-next/commit/11350bd))
2109
-
2110
-
2111
-
2112
-
2113
- <a name="4.0.0-alpha.11"></a>
2114
- # [4.0.0-alpha.11](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.10...@loopback/rest@4.0.0-alpha.11) (2017-11-30)
2115
-
2116
-
2117
-
2118
-
2119
- **Note:** Version bump only for package @loopback/rest
2120
-
2121
- <a name="4.0.0-alpha.10"></a>
2122
- # [4.0.0-alpha.10](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.9...@loopback/rest@4.0.0-alpha.10) (2017-11-29)
2123
-
2124
-
2125
- ### Bug Fixes
2126
-
2127
- * **rest:** Fix parameter description ([c3e6afc](https://github.com/strongloop/loopback-next/commit/c3e6afc))
2128
- * **rest:** Improve rest metadata inheritance ([3f124f3](https://github.com/strongloop/loopback-next/commit/3f124f3))
2129
- * **rest:** Listen on all interfaces if host is not configured ([99daf63](https://github.com/strongloop/loopback-next/commit/99daf63))
2130
- * **rest:** Remove unused imports ([76a08ee](https://github.com/strongloop/loopback-next/commit/76a08ee))
2131
-
2132
-
2133
-
2134
-
2135
- <a name="4.0.0-alpha.9"></a>
2136
- # [4.0.0-alpha.9](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.8...@loopback/rest@4.0.0-alpha.9) (2017-11-14)
2137
-
2138
-
2139
- ### Features
2140
-
2141
- * **rest:** Make rest host and explorer configurable ([caa2598](https://github.com/strongloop/loopback-next/commit/caa2598))
2142
-
2143
-
2144
-
2145
-
2146
- <a name="4.0.0-alpha.8"></a>
2147
- # [4.0.0-alpha.8](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.7...@loopback/rest@4.0.0-alpha.8) (2017-11-09)
2148
-
2149
-
2150
- ### Bug Fixes
2151
-
2152
- * **rest:** Tidy up rest decorator metadata ([7d15bfe](https://github.com/strongloop/loopback-next/commit/7d15bfe))
2153
-
2154
-
2155
- ### Features
2156
-
2157
- * **rest:** Improve http error handling ([15d04fa](https://github.com/strongloop/loopback-next/commit/15d04fa))
2158
- * **rest:** Improve result serialization for http ([d5bc53e](https://github.com/strongloop/loopback-next/commit/d5bc53e))
2159
-
2160
-
2161
-
2162
-
2163
- <a name="4.0.0-alpha.7"></a>
2164
- # [4.0.0-alpha.7](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.6...@loopback/rest@4.0.0-alpha.7) (2017-11-06)
2165
-
2166
-
2167
-
2168
-
2169
- **Note:** Version bump only for package @loopback/rest
2170
-
2171
- <a name="4.0.0-alpha.6"></a>
2172
- # [4.0.0-alpha.6](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.5...@loopback/rest@4.0.0-alpha.6) (2017-10-31)
2173
-
2174
-
2175
-
2176
-
2177
- **Note:** Version bump only for package @loopback/rest
2178
-
2179
- <a name="4.0.0-alpha.5"></a>
2180
- # [4.0.0-alpha.5](https://github.com/strongloop/loopback-next/compare/@loopback/rest@4.0.0-alpha.4...@loopback/rest@4.0.0-alpha.5) (2017-10-31)
2181
-
2182
-
2183
-
2184
-
2185
- **Note:** Version bump only for package @loopback/rest
2186
-
2187
- <a name="4.0.0-alpha.4"></a>
2188
- # 4.0.0-alpha.4 (2017-10-25)
2189
-
2190
-
2191
- ### Bug Fixes
2192
-
2193
- * **rest:** Add index boilerplate ([02a025e](https://github.com/strongloop/loopback-next/commit/02a025e))
2194
- * **rest:** convert primitives to strings ([2e1ca13](https://github.com/strongloop/loopback-next/commit/2e1ca13))
2195
- * **rest:** Move server instantiation to class definition ([051b8e0](https://github.com/strongloop/loopback-next/commit/051b8e0))
2196
- * **testlab:** Remove sinon-should integration ([8841fce](https://github.com/strongloop/loopback-next/commit/8841fce))
2197
-
2198
-
2199
- ### Code Refactoring
2200
-
2201
- * **core:** Component servers are now key-value pairs ([866953a](https://github.com/strongloop/loopback-next/commit/866953a))
2202
-
2203
-
2204
- ### BREAKING CHANGES
2205
-
2206
- * **core:** Components must now provide key-value pairs in an
2207
- object called "servers".