- #6078 Updates the
@extension
decorator with 3 changes:
- Removes the extension name starts with
x-
constraint. - Adds support for passing in values to emit raw data.
- Adds a deprecation warning for passing in types. Passed in types will emit Open API schemas in a future release.
Scalar literals (e.g. string, boolean, number values) are automatically treated as values. Model or tuple expression usage needs to be converted to values to retain current behavior in future releases.
-@extension("x-obj", { foo: true })
+@extension("x-obj", #{ foo: true })
-@extension("x-tuple", [ "foo" ])
+@extension("x-tuple", #[ "foo" ])
model Foo {}
- #6108 Migrate
@info
decorator to expect a value
-@info({ version: "1.0.0" })
+@info(#{ version: "1.0.0" })
-@info({
+@info(#{
termsOfService: "http://example.com/terms/",
- contact: {
+ contact: #{
name: "API Support",
url: "http://www.example.com/support",
email: "support@example.com"
},
})
- #5690 Upgrade dependencies
- #5699 Promote
unsafe_useStateMap
andunsafe_useStateSet
experimental APIs to stable versionuseStateMap
anduseStateSet
. Old ones are deprecated
No changes, version bump only.
No changes, version bump only.
- #4679 Upgrade dependencies - October 2024
- #4834 Add new
@tagMetadata
decorator to specify OpenAPI tag properties
- #4505
@info
decorator validate no extra properties not starting withx-
are provided. - #4483
@info
decorator validatetermsOfService
is a valid url
- #4424 Bump dependencies
- #4139 Internals: Migrate to new api for declaring decorator implementation
- #3948 Update dependencies
- #3718 Dependency updates July 2024
- #3626 Adds public function for setting info object
- #3401 Update dependencies - May 2024
- #3169 Update dependencies
- #3027 Update dependencies
- #2900 Update dependencies
- #2902 Add support for all properties of openapi
info
object on the@info
decorator
Wed, 24 Jan 2024 05:46:53 GMT
- Update dependencies
Wed, 06 Dec 2023 19:40:58 GMT
Version update only
Wed, 08 Nov 2023 00:07:17 GMT
TypeScript
usetypes
entry underexports
ofpackage.json
instead of legacytypesVersions
to provide the definition files- BREAKING CHANGE Dropped support for node 16, minimum node version is now 18
Wed, 11 Oct 2023 23:31:35 GMT
- Removes
@typespec/rest
as apeerDependency
. Relates to #2391 - Add support for http status code ranges
- Changed namespace from
OpenAPI
toTypeSpec.OpenAPI
. - Update dependencies
Tue, 12 Sep 2023 21:47:11 GMT
Version update only
Tue, 08 Aug 2023 22:32:10 GMT
- Add new
@info
decorator providing the ability to specify the additional fields from openapi info object.
Tue, 11 Jul 2023 22:06:00 GMT
- Fix repo name in package.json
- Update dependencies
Tue, 06 Jun 2023 22:44:16 GMT
- Update decorators to use
valueof
Wed, 10 May 2023 21:24:00 GMT
- Update decorator declaration to use
Model
instead ofobject
- Update dependencies
Tue, 11 Apr 2023 18:49:17 GMT
Version update only
Mon, 13 Mar 2023 21:30:44 GMT
Version update only
Fri, 03 Mar 2023 19:59:17 GMT
- Revert back changelog
- Use new
@typespec/http
library - Update package.json entrypoint to tspMain
- Rename to TypeSpec
- Update homepage link
Tue, 07 Feb 2023 21:56:17 GMT
Version update only
Fri, 13 Jan 2023 00:05:26 GMT
Version update only
Wed, 07 Dec 2022 17:21:52 GMT
- Internal: update to use new
getTypeName
andgetNamespaceString
helper - Add support for multiple services
- Uptake changes to compiler api with new
scalar
type
- Add cadl docs on decorators
- Update dependencies
Sat, 12 Nov 2022 00:14:04 GMT
- Declare decorators in cadl using
extern dec
Wed, 12 Oct 2022 21:12:35 GMT
- Implement automatic visibility transformations
- Remove workaround for issue with
KeysOf
microsoft#462 - Add/update docs for openapi3 emitter
Thu, 08 Sep 2022 01:04:53 GMT
- Update decororator state key to allow multiple instance of library to work together.
- React to Type suffix removal
- Api: Operation id resolver takes projection into account
Thu, 11 Aug 2022 19:05:23 GMT
- Uptake changes to type relations
- Inline generic instantiations without
@friendlyName
- Added helper to resolve operation id
- Internal: Uptake new compiler helpers to work with template types
Fri, 08 Jul 2022 23:22:57 GMT
Version update only
Mon, 13 Jun 2022 23:42:28 GMT
- Uptake changes to decorator context
- Upgrade to TS4.7
Fri, 06 May 2022 17:19:57 GMT
- Move decorators into
OpenAPI
namespace - Remove node 14 support
- Add shared helpers for OpenAPI 2 and 3 emit
Thu, 31 Mar 2022 17:10:49 GMT
- Update
@extension
to allow value to be a complex object or array @defaultResponse
set status code for model
Wed, 09 Mar 2022 17:42:09 GMT
- Added
@externalDocs
decorator to specifyexternalDocs
OpenAPI field
Tue, 15 Feb 2022 22:35:02 GMT
Version update only
Mon, 14 Feb 2022 03:01:07 GMT
- refactor status code handling to http library
- Validate
@extension
decorator extension name start withx-
- Update decorators to take in api change
- Bump dependency versions
Fri, 04 Feb 2022 18:00:18 GMT
Initial release