-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Snyk] Upgrade @typespec/openapi3 from 0.56.0 to 0.57.0 #10
[Snyk] Upgrade @typespec/openapi3 from 0.56.0 to 0.57.0 #10
Conversation
Snyk has created this PR to upgrade @typespec/openapi3 from 0.56.0 to 0.57.0. See this package in npm: @typespec/openapi3 See this project in Snyk: https://app.snyk.io/org/abdulrahman305/project/236a2ad3-3050-49b0-99c5-b33921bf4a43?utm_source=github&utm_medium=referral&page=upgrade-pr
👋 I'm here to help you review your pull request. When you're ready for me to perform a review, you can comment anywhere on this pull request with this command: As a reminder, here are some helpful tips on how we can collaborate together:
|
Your organization has reached the subscribed usage limit. You can upgrade your account by purchasing a subscription at Stripe payment link Disclaimer: This comment was entirely generated using AI. Be aware that the information provided may be incorrect. Current plan usage: 103.59% Have feedback or need help? |
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade @typespec/openapi3 from 0.56.0 to 0.57.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 6 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: @typespec/openapi3
@ typespec/compiler
Bug Fixes
tsp code install
const a = 100.0
)@ param
doc tag on operation create withop is
to override upstream docPickProperties
type to dynamically select a subset of a modelBump dependencies
Features
#3280 Support completion for Model with extended properties
Example
model Device {
name: string;
description: string;
}
model Phone extends Device {
┆
} | [name]
| [description]
#3280 Support completion for object values and model expression properties.
Example
model User {
name: string;
age: int32;
address: string;
}
const user: User = #{name: "Bob", ┆}
| [age]
| [address]
#3375 Allow
@
to be escaped in doc comment with\
#3022 Add syntax for declaring values. See docs.
Object and array values
Scalar constructors
scalar utcDateTime {
init fromISO(value: string);
}
model DateRange {
minDate: utcDateTime = utcDateTime.fromISO("2024-02-15T18:36:03Z");
}
#3527 Add support for
@ prop
doc comment tag to describe model properties#3422 Formatter: Indent or dedent multiline strings to the current indentation
#3460 Hide deprecated items from completion list
#3443 Support completion for keyword 'extends' and 'is'
Example
model Dog ┆ {}
| [extends]
| [is]
scalar Addresss ┆
| [extends]
op jump ┆
| [is]
interface ResourceA ┆ {}
| [extends]
model Cat<T ┆> {}
| [extends]
#3462 Linter
all
rulesets is automatically created if not explicitly provided#3533 More logs and traces are added for diagnostic and troubleshooting in TypeSpec language server
Deprecations
model Test {
// Deprecated
values: string[] = ["a", "b", "c"];
// Correct
values: string[] = #["a", "b", "c"];
model Test {
// Deprecated
user: {name: string} = {name: "System"};
// Correct
user: {name: string} = #{name: "System"};
With the introduction of values, the decorator marshalling behavior has changed in some cases. This behavior is opt-in by setting the
valueMarshalling
package flag to"new"
, but will be the default behavior in future versions. It is strongly recommended to adopt this new behavior as soon as possible.Example:
Will now emit a deprecated warning because
value
is of typevalueof string
which would marshall toNumeric
under the new logic but asnumber
previously.To opt-in you can add the following to your library js/ts files.
@ typespec/http
Bug Fixes
Bump dependencies
Features
#3342 Add new multipart handling. Using
@ multipartBody
withHttpPart<Type, Options>
. See multipart docs for more information.#3462 Use new compiler automatic
all
ruleset instead of explicitly provided one@ typespec/versioning
Bug Fixes
@ madeRequired
decorator@ removed
on member types and@ added
on containing type could result in errorsBump dependencies
@ typespec/rest
Bug Fixes
Bump dependencies
@ typespec/openapi
Bump dependencies
@ typespec/openapi3
Bug Fixes
Bump dependencies
Features
decimals: decimal[] = #[123, 456.7];
)@ typespec/protobuf
Bug Fixes
Bump dependencies
@ typespec/prettier-plugin-typespec
Bump dependencies
@ typespec/eslint-plugin
Bump dependencies
@ typespec/html-program-viewer
Bump dependencies
Features
@ typespec/json-schema
Bug Fixes
Bump dependencies
Features
@ typespec/internal-build-utils
Bump dependencies
typespec-vs
Features
typespec-vscode
Bump dependencies
Features
@ typespec/library-linter
Bump dependencies
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: