forked from microsoft/typespec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG.json
1125 lines (1125 loc) · 33.1 KB
/
CHANGELOG.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "@typespec/rest",
"entries": [
{
"version": "0.52.0",
"tag": "@typespec/rest_v0.52.0",
"date": "Wed, 24 Jan 2024 05:46:53 GMT",
"comments": {
"none": [
{
"comment": "Handle custom @path name in the building of the route"
},
{
"comment": "Rename template parameters in preparation for named template argument instantiation."
},
{
"comment": "Update dependencies"
}
]
}
},
{
"version": "0.51.0",
"tag": "@typespec/rest_v0.51.0",
"date": "Wed, 06 Dec 2023 19:40:58 GMT",
"comments": {
"none": [
{
"comment": "Fix issue with `ResourceCreateModel` template collecting \"update\" properties instead of \"create\" properties."
}
]
}
},
{
"version": "0.50.0",
"tag": "@typespec/rest_v0.50.0",
"date": "Wed, 08 Nov 2023 00:07:17 GMT",
"comments": {
"none": [
{
"comment": "`TypeScript` use `types` entry under `exports` of `package.json` instead of legacy `typesVersions` to provide the definition files"
},
{
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18"
}
]
}
},
{
"version": "0.49.0",
"tag": "@typespec/rest_v0.49.0",
"date": "Wed, 11 Oct 2023 23:31:35 GMT",
"comments": {
"none": [
{
"comment": "Correct rest → http peer dependency. Fixes #2391"
},
{
"comment": "Fix: `@key` can now appear on the base model of a resource."
},
{
"comment": "Update dependencies"
}
]
}
},
{
"version": "0.48.0",
"tag": "@typespec/rest_v0.48.0",
"date": "Tue, 12 Sep 2023 21:47:11 GMT",
"comments": {}
},
{
"version": "0.47.0",
"tag": "@typespec/rest_v0.47.0",
"date": "Tue, 08 Aug 2023 22:32:10 GMT",
"comments": {}
},
{
"version": "0.46.0",
"tag": "@typespec/rest_v0.46.0",
"date": "Tue, 11 Jul 2023 22:06:00 GMT",
"comments": {
"none": [
{
"comment": "Make internal `resourceTypeForKeyParam` decorator private"
},
{
"comment": "Add `isListOperation` function migrated from `@typespec/compiler`"
},
{
"comment": "Update dependencies"
}
]
}
},
{
"version": "0.45.0",
"tag": "@typespec/rest_v0.45.0",
"date": "Tue, 06 Jun 2023 22:44:16 GMT",
"comments": {
"none": [
{
"comment": "Update decorators to use `valueof`"
},
{
"comment": "Update decorators signature to use `{}` instead of `object`"
},
{
"comment": "Add signature for missing decorators"
}
]
}
},
{
"version": "0.44.0",
"tag": "@typespec/rest_v0.44.0",
"date": "Wed, 10 May 2023 21:24:00 GMT",
"comments": {
"none": [
{
"comment": "Cleanup deprecated use"
},
{
"comment": "Update decorator declaration to use `Model` instead of `object`"
},
{
"comment": "Add validation to ensure that @action or @collectionAction operations have a specified name when used with @sharedRoute"
},
{
"comment": "Update dependencies"
}
],
"dependency": [
{
"comment": "Updating dependency \"@typespec/eslint-config-typespec\" from `~0.6.0` to `~0.7.0`"
}
]
}
},
{
"version": "0.43.0",
"tag": "@typespec/rest_v0.43.0",
"date": "Tue, 11 Apr 2023 18:49:17 GMT",
"comments": {
"none": [
{
"comment": "Fix issue where `@action(\"\")` was treated the same as `@action`. Now this emits an error."
}
]
}
},
{
"version": "0.42.0",
"tag": "@typespec/rest_v0.42.0",
"date": "Mon, 13 Mar 2023 21:30:44 GMT",
"comments": {}
},
{
"version": "0.41.0",
"tag": "@typespec/rest_v0.41.0",
"date": "Fri, 03 Mar 2023 19:59:17 GMT",
"comments": {
"none": [
{
"comment": "Revert back changelog"
},
{
"comment": "Fix issue with filtering of visibility decorator on resource key not working when multiple copies of the compiler are loaded."
},
{
"comment": "Move core HTTP functionality from `@typespec/rest` into a new `@typespec/http` library"
},
{
"comment": "**Breaking change:** The `@autoRoute` decorator can no longer be applied to namespaces"
},
{
"comment": "**Breaking change:** The unimplemented `@routeReset` decorator has been removed"
},
{
"comment": "Update package.json entrypoint to tspMain"
},
{
"comment": "Rename to TypeSpec"
},
{
"comment": "Readme.md update"
},
{
"comment": "Update homepage link"
}
],
"dependency": [
{
"comment": "Updating dependency \"@typespec/eslint-config-typespec\" from `~0.5.0` to `~0.6.0`"
}
]
}
},
{
"version": "0.40.0",
"tag": "@cadl-lang/rest_v0.40.0",
"date": "Tue, 07 Feb 2023 21:56:17 GMT",
"comments": {
"none": [
{
"comment": "Give KeysOf and ParentKeysOf friendly name to dedupe parameters"
},
{
"comment": "Removed `@segmentSeparator`, `@produces` and `@consumes` decorators. Removed `getSegmentSeparator`, `getProduces` and `getConsumes` functions."
},
{
"comment": "Allow @route and @autoRoute to be used together."
}
]
}
},
{
"version": "0.39.0",
"tag": "@cadl-lang/rest_v0.39.0",
"date": "Fri, 13 Jan 2023 00:05:26 GMT",
"comments": {
"patch": [
{
"comment": "Support query/header/path encoding options"
},
{
"comment": "Generate recursive update schemas with optional properties for resource update operation"
}
]
}
},
{
"version": "0.38.1",
"tag": "@cadl-lang/rest_v0.38.1",
"date": "Wed, 14 Dec 2022 20:34:58 GMT",
"comments": {
"patch": [
{
"comment": "Fix: Broken doc comment causing IDE build to not show errors"
}
]
}
},
{
"version": "0.38.0",
"tag": "@cadl-lang/rest_v0.38.0",
"date": "Wed, 07 Dec 2022 17:21:52 GMT",
"comments": {
"patch": [
{
"comment": "Add cadl docs on decorators"
},
{
"comment": "Update docs."
},
{
"comment": "Update dependencies"
}
],
"minor": [
{
"comment": "Internal: update to use new `getTypeName` and `getNamespaceString` helper"
},
{
"comment": "Add validation for `@route` to prevent `@route` used twice on the same operation/interface/namespace"
},
{
"comment": "Add support for multiple services"
},
{
"comment": "Uptake changes to compiler api to support Scalars"
},
{
"comment": "Add `@actionSegment` decorator. Deprecate `@segmentSeparator`."
},
{
"comment": "Update `ResourceLocation` to `extends url` instead of deprecated `uri` "
},
{
"comment": "Validate `multipart/form-data` request body is a `Model`"
},
{
"comment": "**Deprecation** Updated the `HttpOperationParameters` interface to include a new `body` field replacing the `bodyType` and `bodyParameter`."
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/eslint-config-cadl\" from `~0.4.1` to `~0.5.0`"
}
]
}
},
{
"version": "0.19.0",
"tag": "@cadl-lang/rest_v0.19.0",
"date": "Sat, 12 Nov 2022 00:14:04 GMT",
"comments": {
"minor": [
{
"comment": "Declare decorators in cadl using `extern dec`"
},
{
"comment": "Add MetadataInfo.getEffectivePayloadType helper"
},
{
"comment": "Deprecate write visibility"
},
{
"comment": "Allow `@route` and `@resetRoute` to accept a `shared` property to suppress route uniqueness validation."
}
],
"patch": [
{
"comment": "Fix: Issue with duplicate key in spread models"
},
{
"comment": "Move `duplicate-parent-key` check from the `parentResource` decorator to a linting rule"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.36.1` to `~0.37.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/library-linter\" from `~0.2.1` to `~0.2.2`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.36.1` to `~0.37.0`"
}
]
}
},
{
"version": "0.18.0",
"tag": "@cadl-lang/rest_v0.18.0",
"date": "Wed, 12 Oct 2022 21:12:35 GMT",
"comments": {
"minor": [
{
"comment": "Empty object as a response will not produce a 204 response anymore"
},
{
"comment": "Feature: Add `isContentTypeHeader` helper."
},
{
"comment": "Implement automatic visibility transformations"
},
{
"comment": "**BREAKING** Remove `@discriminator` decorator. (Moved to @cadl-lang/compiler)"
},
{
"comment": "Disallow optional path params even if they have a default value"
},
{
"comment": "Add support for overloads(Using `@overload` decorator)"
},
{
"comment": "Reorganization of http data accessor. `getAllRoutes` is now deprecated and replaced with `getAllHttpServices`"
},
{
"comment": "`ResourceLocation<T>` is `uri`"
}
],
"patch": [
{
"comment": "Remove workaround for issue https://github.com/microsoft/cadl/issues/1069"
},
{
"comment": "Detect unannotated path parameters that are specified in route path"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.35.0` to `~0.36.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/library-linter\" from `~0.2.0` to `~0.2.1`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.35.0` to `~0.36.0`"
}
]
}
},
{
"version": "0.17.0",
"tag": "@cadl-lang/rest_v0.17.0",
"date": "Thu, 08 Sep 2022 01:04:53 GMT",
"comments": {
"patch": [
{
"comment": "Api: Route resolution take projection into account"
},
{
"comment": "Guard against uninitialized parent type in `parentResource` decorator"
},
{
"comment": "Support more kinds of unions, fix various union bugs, and add support for @discriminator on unions"
}
],
"minor": [
{
"comment": "**Deprecation**: Mark `@produces` and `@consumes` as deprecated"
},
{
"comment": "Uptake changes to compiler with current projection"
},
{
"comment": "Update decororator state key to allow multiple instance of library to work together."
},
{
"comment": "React to Type suffix removal"
},
{
"comment": "**BREAKING CHANGE** Rename `Page` to `CollectionWithNextLink`"
},
{
"comment": "Fix doc for route and move autoRoute to rest library"
},
{
"comment": "Api: Service Authentication oauth2 flow scopes is now an object with value and description"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.34.0` to `~0.35.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/eslint-config-cadl\" from `~0.4.0` to `~0.4.1`"
},
{
"comment": "Updating dependency \"@cadl-lang/library-linter\" from `~0.1.3` to `~0.2.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.34.0` to `~0.35.0`"
}
]
}
},
{
"version": "0.16.0",
"tag": "@cadl-lang/rest_v0.16.0",
"date": "Thu, 11 Aug 2022 19:05:23 GMT",
"comments": {
"patch": [
{
"comment": "Add a @resource decorator to simplify how one defines resource types and specifies the collection (segment) name"
},
{
"comment": "Add `ResourceCreateOrReplace` type and `createsOrReplaces` decorator to model an \"upsert\" operation"
},
{
"comment": "Improve `cloneKeyProperties` implementation so that original model type is not affected"
},
{
"comment": "Ensure that all @key properties turned into @path parameters by KeysOf<T> are required even if the original is optional"
},
{
"comment": "Operations with a body and no verb will default route to POST"
},
{
"comment": "Add `ResourceLocation<T>` to mark a property as containing a link to a specific resource type"
},
{
"comment": "Make response descriptions more consistent"
}
],
"none": [
{
"comment": "readme.md documentation change"
}
],
"minor": [
{
"comment": "Add new `@useAuth` decorator providing support to define service authentication"
},
{
"comment": "Uptake changes to type relations"
},
{
"comment": "Update resource operation interfaces to configure Create and Update model properties correctly"
},
{
"comment": "Support set of unannotated parameters as request body"
},
{
"comment": "Add friendly name for Page<T> as TPage"
},
{
"comment": "Make OkResponse non-generic"
},
{
"comment": "Remove `groupName` from `OperationDetails`"
},
{
"comment": "Emit diagnostic when defining @path property that is optional without a default value"
},
{
"comment": "Update route resolution logic to be more consistent. If service namespace is provided use routes under otherwise use routes directly at the global namespace level(do not go into the nested namespaces)"
},
{
"comment": "Internal: Uptake new compiler helpers to work with template types"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.33.0` to `~0.34.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/eslint-config-cadl\" from `~0.3.0` to `~0.4.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/library-linter\" from `~0.1.2` to `~0.1.3`"
},
{
"comment": "Updating dependency \"@cadl-lang/eslint-plugin\" from `~0.1.0` to `~0.1.1`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.33.0` to `~0.34.0`"
}
]
}
},
{
"version": "0.15.1",
"tag": "@cadl-lang/rest_v0.15.1",
"date": "Fri, 08 Jul 2022 23:22:57 GMT",
"comments": {
"patch": [
{
"comment": "$consumes decorator better validation"
},
{
"comment": "Add `@collectionAction` decorator for defining collection-level resource actions"
},
{
"comment": "Make string literal \"Content-Type\" header check case-insensitive"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.32.0` to `~0.33.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/library-linter\" from `~0.1.1` to `~0.1.2`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.32.0` to `~0.33.0`"
}
]
}
},
{
"version": "0.15.0",
"tag": "@cadl-lang/rest_v0.15.0",
"date": "Mon, 13 Jun 2022 23:42:28 GMT",
"comments": {
"minor": [
{
"comment": "Uptake changes to compiler with decorator validator helpers"
},
{
"comment": "Update accessor functions `getAllRoutes`, `getContentTypes`, etc. to follow the new Accessor pattern which return any encountered diagnostics along with the expected value"
},
{
"comment": "Uptake changes to decorator context"
},
{
"comment": " Added `@server` decorator to specify namespace endpoints"
},
{
"comment": "Fix decorator and functions not belonging to a namespace"
}
],
"patch": [
{
"comment": "Properly exclude operation templates when scanning for routes"
},
{
"comment": "Skip templated operations when scanning for operation routes"
},
{
"comment": "Enable customization of route segment separators in autoRoutes"
}
],
"none": [
{
"comment": "Upgrade to TS4.7"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.31.0` to `~0.32.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/library-linter\" from `~0.1.0` to `~0.1.1`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.31.0` to `~0.32.0`"
}
]
}
},
{
"version": "0.14.0",
"tag": "@cadl-lang/rest_v0.14.0",
"date": "Fri, 06 May 2022 17:19:57 GMT",
"comments": {
"minor": [
{
"comment": "Add RouteOptions and AutoRouteOptions types to enable customization of automatic route generation when calling getAllRoutes"
},
{
"comment": "Uptake `mixes` -> `extends` rename"
},
{
"comment": "Remove node 14 support"
}
],
"patch": [
{
"comment": "Fix issue where empty response model with children would result in 204\""
},
{
"comment": "Add validation to `Resource` interface to ensure `TError` is an error type"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.30.0` to `~0.31.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.30.0` to `~0.31.0`"
}
]
}
},
{
"version": "0.13.0",
"tag": "@cadl-lang/rest_v0.13.0",
"date": "Thu, 31 Mar 2022 17:10:49 GMT",
"comments": {
"minor": [
{
"comment": "Handle error type being passed to `KeyOf` model"
},
{
"comment": "Add validation when using Resource interfaces when missing @key on resource"
},
{
"comment": "Add logic to interpret the http responses."
}
],
"patch": [
{
"comment": "Fix issue with empty routes in namespace/interface and operation causing path with '//'"
},
{
"comment": "Support browser builds"
},
{
"comment": "Raise a diagnostic when a resource type specifies a parent type which holds the same key name."
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.29.0` to `~0.30.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/eslint-config-cadl\" from `~0.2.0` to `~0.3.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.29.0` to `~0.30.0`"
}
]
}
},
{
"version": "0.12.0",
"tag": "@cadl-lang/rest_v0.12.0",
"date": "Wed, 09 Mar 2022 17:42:09 GMT",
"comments": {
"minor": [
{
"comment": "Move @key decorator to core"
}
],
"patch": [
{
"comment": "Filter out string literal typed path parameters when generating routes automatically"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.28.0` to `~0.29.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/eslint-config-cadl\" from `~0.1.0` to `~0.2.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.28.0` to `~0.29.0`"
}
]
}
},
{
"version": "0.11.0",
"tag": "@cadl-lang/rest_v0.11.0",
"date": "Tue, 15 Feb 2022 22:35:02 GMT",
"comments": {
"minor": [
{
"comment": "Add validation to decorators"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.27.0` to `~0.28.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.27.0` to `~0.28.0`"
}
]
}
},
{
"version": "0.10.0",
"tag": "@cadl-lang/rest_v0.10.0",
"date": "Mon, 14 Feb 2022 03:01:07 GMT",
"comments": {
"minor": [
{
"comment": "refactor status code handling to http library"
},
{
"comment": "Update decorators to take in api change"
}
],
"patch": [
{
"comment": "Bump dependency versions"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.26.0` to `~0.27.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.26.0` to `~0.27.0`"
}
]
}
},
{
"version": "0.9.0",
"tag": "@cadl-lang/rest_v0.9.0",
"date": "Fri, 04 Feb 2022 18:00:18 GMT",
"comments": {
"patch": [
{
"comment": "Move `@key`, `@parentResource`, and `@copyResourceKeyParameters` decorators into `Cadl.Rest`"
},
{
"comment": "Operations marked with `@action` will now default to `POST` verb unless another verb has been explicitly specified"
},
{
"comment": "Add interfaces for modelling extension and singleton resources"
},
{
"comment": "**Fix** Duplicate @key on model properties will produce diagnostic instead of exception"
}
],
"minor": [
{
"comment": "Add support for discriminator decorator"
},
{
"comment": "Internals: switch to internal path manipulation"
},
{
"comment": "Added shared logic to resolve http operation parameters and validate compatibility(duplicate bodies)"
},
{
"comment": "**Added** Validation for uniqueness of operation by verb and path"
},
{
"comment": "**Added** `@head` decorator to describe `head` http verb operation"
},
{
"comment": "Validate http verb decorators(`@get`, `@post`, etc.) do not receive any argument"
},
{
"comment": "Expose response template in Http library and refactor"
},
{
"comment": "Add statusCode decorator for http status code"
},
{
"comment": "**Validate `@route` decorator is used only once"
},
{
"comment": "Update cadl dependencies to peerDependencies"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.25.0` to `~0.26.0`"
},
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `~0.25.0` to `~0.26.0`"
}
]
}
},
{
"version": "0.8.0",
"tag": "@cadl-lang/rest_v0.8.0",
"date": "Thu, 16 Dec 2021 08:02:20 GMT",
"comments": {
"patch": [
{
"comment": "Adding @CreateOrUpdate (PUT) and standard operation in REST."
},
{
"comment": "camelCase operations"
},
{
"comment": "Add new route scanning functionality which provides the same capabilities (both explicit and autogenerated routes) to normal operations and those defined inside of interfaces"
}
],
"none": [
{
"comment": "Formatting changes"
}
],
"minor": [
{
"comment": "Add Cadl.Http.PlainData<T>"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `0.24.1` to `0.25.0`"
}
]
}
},
{
"version": "0.7.1",
"tag": "@cadl-lang/rest_v0.7.1",
"date": "Wed, 01 Dec 2021 22:56:11 GMT",
"comments": {
"patch": [
{
"comment": "Add README"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `0.24.0` to `0.24.1`"
}
]
}
},
{
"version": "0.7.0",
"tag": "@cadl-lang/rest_v0.7.0",
"date": "Thu, 18 Nov 2021 13:58:15 GMT",
"comments": {
"minor": [
{
"comment": "Refactor REST and HTTP decorators and split them into Cadl.Rest and Cadl.Http, respectively"
}
],
"patch": [
{
"comment": "Add new Cadl.Rest.Resource namespace for new resource modelling pattern"
},
{
"comment": "Add documentation strings to models and operations"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `0.23.0` to `0.24.0`"
}
]
}
},
{
"version": "0.6.4",
"tag": "@cadl-lang/rest_v0.6.4",
"date": "Thu, 11 Nov 2021 21:46:21 GMT",
"comments": {
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `0.22.0` to `0.23.0`"
}
]
}
},
{
"version": "0.6.3",
"tag": "@cadl-lang/rest_v0.6.3",
"date": "Thu, 28 Oct 2021 21:17:50 GMT",
"comments": {
"patch": [
{
"comment": "Remove management.azure.com service host default"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `0.21.0` to `0.22.0`"
}
]
}
},
{
"version": "0.6.2",
"tag": "@cadl-lang/rest_v0.6.2",
"date": "Fri, 15 Oct 2021 21:33:37 GMT",
"comments": {
"patch": [
{
"comment": "Strongly defined diagnostics"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `0.20.0` to `0.21.0`"
}
]
}
},
{
"version": "0.6.1",
"tag": "@cadl-lang/rest_v0.6.1",
"date": "Fri, 17 Sep 2021 00:49:37 GMT",
"comments": {
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `0.19.0` to `0.20.0`"
}
]
}
},
{
"version": "0.6.0",
"tag": "@cadl-lang/rest_v0.6.0",
"date": "Sat, 21 Aug 2021 00:04:02 GMT",
"comments": {
"minor": [
{
"comment": "Introduce naming convention `$name` for JavaScript-defined Cadl functions and decorators"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `0.18.0` to `0.19.0`"
}
]
}
},
{
"version": "0.5.1",
"tag": "@cadl-lang/rest_v0.5.1",
"date": "Fri, 13 Aug 2021 19:10:21 GMT",
"comments": {
"patch": [
{
"comment": "Add isHeader functionality to discover if a property is a header property"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `0.17.0` to `0.18.0`"
}
]
}
},
{
"version": "0.5.0",
"tag": "@cadl-lang/rest_v0.5.0",
"date": "Tue, 10 Aug 2021 20:23:04 GMT",
"comments": {
"minor": [
{
"comment": "Rename package to @cadl-lang/rest"
}
],
"dependency": [
{
"comment": "Updating dependency \"@cadl-lang/compiler\" from `0.16.0` to `0.17.0`"
}
]
}
},
{