This log was last generated on Wed, 12 Oct 2022 21:12:35 GMT and should not be manually modified.
Wed, 12 Oct 2022 21:12:35 GMT
- Empty object as a response will not produce a 204 response anymore
- Feature: Add
isContentTypeHeader
helper. - Implement automatic visibility transformations
- BREAKING Remove
@discriminator
decorator. (Moved to @cadl-lang/compiler) - Disallow optional path params even if they have a default value
- Add support for overloads(Using
@overload
decorator) - Reorganization of http data accessor.
getAllRoutes
is now deprecated and replaced withgetAllHttpServices
ResourceLocation<T>
isuri
- Remove workaround for issue microsoft#1069
- Detect unannotated path parameters that are specified in route path
Thu, 08 Sep 2022 01:04:53 GMT
- Deprecation: Mark
@produces
and@consumes
as deprecated - Uptake changes to compiler with current projection
- Update decororator state key to allow multiple instance of library to work together.
- React to Type suffix removal
- BREAKING CHANGE Rename
Page
toCollectionWithNextLink
- Fix doc for route and move autoRoute to rest library
- Api: Service Authentication oauth2 flow scopes is now an object with value and description
- Api: Route resolution take projection into account
- Guard against uninitialized parent type in
parentResource
decorator - Support more kinds of unions, fix various union bugs, and add support for @discriminator on unions
Thu, 11 Aug 2022 19:05:23 GMT
- Add new
@useAuth
decorator providing support to define service authentication - Uptake changes to type relations
- Update resource operation interfaces to configure Create and Update model properties correctly
- Support set of unannotated parameters as request body
- Add friendly name for Page as TPage
- Make OkResponse non-generic
- Remove
groupName
fromOperationDetails
- Emit diagnostic when defining @path property that is optional without a default value
- 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)
- Internal: Uptake new compiler helpers to work with template types
- Add a @resource decorator to simplify how one defines resource types and specifies the collection (segment) name
- Add
ResourceCreateOrReplace
type andcreatesOrReplaces
decorator to model an "upsert" operation - Improve
cloneKeyProperties
implementation so that original model type is not affected - Ensure that all @key properties turned into @path parameters by KeysOf are required even if the original is optional
- Operations with a body and no verb will default route to POST
- Add
ResourceLocation<T>
to mark a property as containing a link to a specific resource type - Make response descriptions more consistent
Fri, 08 Jul 2022 23:22:57 GMT
- $consumes decorator better validation
- Add
@collectionAction
decorator for defining collection-level resource actions - Make string literal "Content-Type" header check case-insensitive
Mon, 13 Jun 2022 23:42:28 GMT
- Uptake changes to compiler with decorator validator helpers
- Update accessor functions
getAllRoutes
,getContentTypes
, etc. to follow the new Accessor pattern which return any encountered diagnostics along with the expected value - Uptake changes to decorator context
- Added
@server
decorator to specify namespace endpoints - Fix decorator and functions not belonging to a namespace
- Properly exclude operation templates when scanning for routes
- Skip templated operations when scanning for operation routes
- Enable customization of route segment separators in autoRoutes
Fri, 06 May 2022 17:19:57 GMT
- Add RouteOptions and AutoRouteOptions types to enable customization of automatic route generation when calling getAllRoutes
- Uptake
mixes
->extends
rename - Remove node 14 support
- Fix issue where empty response model with children would result in 204"
- Add validation to
Resource
interface to ensureTError
is an error type
Thu, 31 Mar 2022 17:10:49 GMT
- Handle error type being passed to
KeyOf
model - Add validation when using Resource interfaces when missing @key on resource
- Add logic to interpret the http responses.
- Fix issue with empty routes in namespace/interface and operation causing path with '//'
- Support browser builds
- Raise a diagnostic when a resource type specifies a parent type which holds the same key name.
Wed, 09 Mar 2022 17:42:09 GMT
- Move @key decorator to core
- Filter out string literal typed path parameters when generating routes automatically
Tue, 15 Feb 2022 22:35:02 GMT
- Add validation to decorators
Mon, 14 Feb 2022 03:01:07 GMT
- refactor status code handling to http library
- Update decorators to take in api change
- Bump dependency versions
Fri, 04 Feb 2022 18:00:18 GMT
- Add support for discriminator decorator
- Internals: switch to internal path manipulation
- Added shared logic to resolve http operation parameters and validate compatibility(duplicate bodies)
- Added Validation for uniqueness of operation by verb and path
- Added
@head
decorator to describehead
http verb operation - Validate http verb decorators(
@get
,@post
, etc.) do not receive any argument - Expose response template in Http library and refactor
- Add statusCode decorator for http status code
- **Validate
@route
decorator is used only once - Update cadl dependencies to peerDependencies
- Move
@key
,@parentResource
, and@copyResourceKeyParameters
decorators intoCadl.Rest
- Operations marked with
@action
will now default toPOST
verb unless another verb has been explicitly specified - Add interfaces for modelling extension and singleton resources
- Fix Duplicate @key on model properties will produce diagnostic instead of exception
Thu, 16 Dec 2021 08:02:20 GMT
- Add Cadl.Http.PlainData
- Adding @CreateOrUpdate (PUT) and standard operation in REST.
- camelCase operations
- Add new route scanning functionality which provides the same capabilities (both explicit and autogenerated routes) to normal operations and those defined inside of interfaces
Wed, 01 Dec 2021 22:56:11 GMT
- Add README
Thu, 18 Nov 2021 13:58:15 GMT
- Refactor REST and HTTP decorators and split them into Cadl.Rest and Cadl.Http, respectively
- Add new Cadl.Rest.Resource namespace for new resource modelling pattern
- Add documentation strings to models and operations
Thu, 11 Nov 2021 21:46:21 GMT
Version update only
Thu, 28 Oct 2021 21:17:50 GMT
- Remove management.azure.com service host default
Fri, 15 Oct 2021 21:33:37 GMT
- Strongly defined diagnostics
Fri, 17 Sep 2021 00:49:37 GMT
Version update only
Sat, 21 Aug 2021 00:04:02 GMT
- Introduce naming convention
$name
for JavaScript-defined Cadl functions and decorators
Fri, 13 Aug 2021 19:10:21 GMT
- Add isHeader functionality to discover if a property is a header property
Tue, 10 Aug 2021 20:23:04 GMT
- Rename package to @cadl-lang/rest
Mon, 09 Aug 2021 21:14:12 GMT
Version update only
Mon, 02 Aug 2021 18:17:00 GMT
- Rename ADL to Cadl
Wed, 28 Jul 2021 19:40:06 GMT
- Add additional api to support code generation and host property
Fri, 09 Jul 2021 20:21:06 GMT
Version update only
Thu, 24 Jun 2021 03:57:43 GMT
- Add semantic error recovery
Tue, 18 May 2021 23:43:31 GMT
Version update only
Thu, 06 May 2021 14:56:01 GMT
- Implement alias and enum, remove model =
- Added New type NoContentResponse
- Replace several internal compiler errors with diagnostics
Tue, 20 Apr 2021 15:23:29 GMT
Initial release