Bump Microsoft.Bcl.AsyncInterfaces and 5 others#1792
Merged
Conversation
Bumps Microsoft.Bcl.AsyncInterfaces from 10.0.7 to 10.0.8 Bumps Namotion.Reflection to 3.5.1 Bumps NJsonSchema to 11.6.1 Bumps NJsonSchema.Annotations from 11.4.0 to 11.6.1 Bumps NSwag.Core to 14.7.1 Bumps System.Text.Json to 9.0.9, 10.0.8 --- updated-dependencies: - dependency-name: Namotion.Reflection dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Namotion.Reflection dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: NJsonSchema dependency-version: 11.6.1 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: NJsonSchema.Annotations dependency-version: 11.6.1 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: System.Text.Json dependency-version: 9.0.9 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: NJsonSchema dependency-version: 11.6.1 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: NSwag.Core dependency-version: 14.7.1 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: NSwag.Core dependency-version: 14.7.1 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: System.Text.Json dependency-version: 10.0.8 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: Microsoft.Bcl.AsyncInterfaces dependency-version: 10.0.8 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: System.Text.Json dependency-version: 10.0.8 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: System.Text.Json dependency-version: 10.0.8 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dependabot[bot], tg123 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Microsoft.Bcl.AsyncInterfaces from 10.0.7 to 10.0.8.
Release notes
Sourced from Microsoft.Bcl.AsyncInterfaces's releases.
No release notes found for this version range.
Commits viewable in compare view.
Pinned Namotion.Reflection at 3.5.1.
Release notes
Sourced from Namotion.Reflection's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated Namotion.Reflection from 3.4.2 to 3.5.1.
Release notes
Sourced from Namotion.Reflection's releases.
No release notes found for this version range.
Commits viewable in compare view.
Pinned NJsonSchema at 11.6.1.
Release notes
Sourced from NJsonSchema's releases.
11.6.1
Corrections to v11.6.0
v11.6.0 added support for the C# 11
requiredkeyword and[JsonRequired]in schema generation (#1908), but folded them into the same bucket as DataAnnotations[Required]— which conflated three distinct concepts:requiredarray):requiredkeyword,[JsonRequired],[Required],[DataMember(IsRequired=true)], NewtonsoftRequired.Always/AllowNull[Required]only (plus NewtonsoftRequired.Always/DisallowNullfor runtime correctness)MinLength=1on strings):[Required]only (unlessAllowEmptyStrings=true)v11.6.1 (#1919) restores the correct separation. The
requiredkeyword and[JsonRequired]are now presence-only markers — they add the property to the schema'srequiredarray without suppressing nullability or addingMinLength=1.Behavioral deltas vs v11.6.0 (all restoring correctness)
required string?nullable: false,MinLength: 1❌nullable: true, noMinLength✅required stringMinLength: 1❌MinLength✅[JsonRequired] string?nullable: false,MinLength: 1❌nullable: true, noMinLength✅[JsonRequired] stringMinLength: 1❌MinLength✅[Required],[JsonProperty(Required=*)], and[DataMember(IsRequired=true)]semantics are unchanged across v11.5.x / v11.6.0 / v11.6.1.Downstream impact
The v11.6.0 regression surfaced in NSwag as NSwag#5359: TypeScript clients generated from
required T?DTO properties silently lost their| null, removing null-safety for fields the server can legitimately return as null. v11.6.1 fixes this. A matching NSwag release is required to pick up the fix.What's Changed
New Contributors
Full Changelog: RicoSuter/NJsonSchema@v11.6.0...v11.6.1
11.6.0
Potentially breaking changes
requiredkeyword now recognized as required: Properties using the C# 11requiredkeyword (RequiredMemberAttribute/JsonRequiredAttribute) are now correctly treated as required in schema generation and code output. Previously these were incorrectly treated as optional (Required.Default). This changes generated code: such properties now getRequired.Always,[Required]attribute, and therequiredmodifier whenUseRequiredKeywordis enabled. (#1908)JsonStringEnumMemberNameandEnumMemberattributes are now emitted for enum members when using System.Text.Json, for compatibility with NSwag's reflection-based URL parameter serialization. (#1905)$schemaversion preserved inToJson()instead of forcing draft-04. If you relied on the output always being draft-04, this may affect you. (#1881)patternPropertiesvalidation now correctly applies to all matching properties, not just the first. (#1898)DateTime,DateTimeOffset,DateOnly,TimeOnlyproperties. (#1900)What's Changed
+in JSON reference paths being decoded as space by @Copilot in Fix+in JSON reference paths being decoded as space RicoSuter/NJsonSchema#1880-1generating invalid C# identifier instead ofMinus1by @Copilot in Fix property named-1generating invalid C# identifier instead ofMinus1RicoSuter/NJsonSchema#1882New Contributors
+in JSON reference paths being decoded as space RicoSuter/NJsonSchema#1880Full Changelog: RicoSuter/NJsonSchema@v11.5.2...v11.6.0
11.5.2
What's Changed
JsonStringEnumConverter<T>detection and test it by @wellWINeo in Add support forJsonStringEnumConverter<T>detection and test it RicoSuter/NJsonSchema#1868New Contributors
JsonStringEnumConverter<T>detection and test it RicoSuter/NJsonSchema#1868Full Changelog: RicoSuter/NJsonSchema@v11.5.1...v11.5.2
11.5.1
What's Changed
New Contributors
Full Changelog: RicoSuter/NJsonSchema@v11.5.0...v11.5.1
11.5.0
What's Changed
Breaking changes:
Others:
Full Changelog: RicoSuter/NJsonSchema@v11.4.0...v11.5.0
11.4.0
What's Changed
JsonReferenceResolverby @lahma in Cache NJsonSchema properties in JsonReferenceResolver RicoSuter/NJsonSchema#1817JsonSchemaconstruction for object having boolean required by @lahma in Avoid trying JsonSchema construction for object having boolean required RicoSuter/NJsonSchema#1818AsyncJsonReferenceVisitorBase.Visitby @lahma in Optimize AsyncJsonReferenceVisitorBase.Visit RicoSuter/NJsonSchema#1819FluidParserconstruction by @lahma in Allow customizing FluidParser construction RicoSuter/NJsonSchema#1822tscby @lahma in Add support for testing whether TS code compiles with tsc RicoSuter/NJsonSchema#1824ApplyRangeAttributefailing when min/max is specified as string by @sindrekroknes in fix ApplyRangeAttribute failing when min/max is specified as string RicoSuter/NJsonSchema#1831templateFolderby @Georgy-Losenkov in Add ability to overwrite templates multiple times using templateFolder RicoSuter/NJsonSchema#1835as TYPEinstead cast with<TYPE>by @lahma in Convert to using TS "as TYPE" instead cast with <TYPE> RicoSuter/NJsonSchema#1837ValueStringBuilderinConvertDashesToCamelCaseby @lahma in Use ValueStringBuilder in ConvertDashesToCamelCase RicoSuter/NJsonSchema#1844JTokens with typeUriby @ertrumbl in Fixed validation of JTokens with type Uri RicoSuter/NJsonSchema#1403x-enumNamesvalue by @lekhmanrus in Support description for each x-enumNames value RicoSuter/NJsonSchema#1789New Contributors
Full Changelog: RicoSuter/NJsonSchema@v11.3.2...v11.4.0
11.3.2
What's Changed
Full Changelog: RicoSuter/NJsonSchema@v11.3.1...v11.3.2
11.3.1
What's Changed
Full Changelog: RicoSuter/NJsonSchema@v11.3.0...v11.3.1
11.3.0
What's Changed
New Contributors
Full Changelog: RicoSuter/NJsonSchema@v11.2.0...v11.3.0
11.2.0
What's Changed
New Contributors
... (truncated)
11.1.0
What's Changed
New Contributors
Full Changelog: RicoSuter/NJsonSchema@v11.0.2...v11.1.0
11.0.2
What's Changed
Full Changelog: RicoSuter/NJsonSchema@v11.0.1...v11.0.2
11.0.1
What's Changed
New Contributors
Full Changelog: RicoSuter/NJsonSchema@v11.0.0...v11.0.1
11.0.0
11.0.0-preview008
11.0.0-preview007
11.0.0-preview006
11.0.0-preview005
10.9.0
Bug fixes and new features
10.8.0
What's Changed
New Contributors
Full Changelog: RicoSuter/NJsonSchema@v10.7.2...v10.8.0
Commits viewable in compare view.
Updated NJsonSchema from 11.4.0 to 11.6.1.
Release notes
Sourced from NJsonSchema's releases.
11.6.1
Corrections to v11.6.0
v11.6.0 added support for the C# 11
requiredkeyword and[JsonRequired]in schema generation (#1908), but folded them into the same bucket as DataAnnotations[Required]— which conflated three distinct concepts:requiredarray):requiredkeyword,[JsonRequired],[Required],[DataMember(IsRequired=true)], NewtonsoftRequired.Always/AllowNull[Required]only (plus NewtonsoftRequired.Always/DisallowNullfor runtime correctness)MinLength=1on strings):[Required]only (unlessAllowEmptyStrings=true)v11.6.1 (#1919) restores the correct separation. The
requiredkeyword and[JsonRequired]are now presence-only markers — they add the property to the schema'srequiredarray without suppressing nullability or addingMinLength=1.Behavioral deltas vs v11.6.0 (all restoring correctness)
required string?nullable: false,MinLength: 1❌nullable: true, noMinLength✅required stringMinLength: 1❌MinLength✅[JsonRequired] string?nullable: false,MinLength: 1❌nullable: true, noMinLength✅[JsonRequired] stringMinLength: 1❌MinLength✅[Required],[JsonProperty(Required=*)], and[DataMember(IsRequired=true)]semantics are unchanged across v11.5.x / v11.6.0 / v11.6.1.Downstream impact
The v11.6.0 regression surfaced in NSwag as NSwag#5359: TypeScript clients generated from
required T?DTO properties silently lost their| null, removing null-safety for fields the server can legitimately return as null. v11.6.1 fixes this. A matching NSwag release is required to pick up the fix.What's Changed
New Contributors
Full Changelog: RicoSuter/NJsonSchema@v11.6.0...v11.6.1
11.6.0
Potentially breaking changes
requiredkeyword now recognized as required: Properties using the C# 11requiredkeyword (RequiredMemberAttribute/JsonRequiredAttribute) are now correctly treated as required in schema generation and code output. Previously these were incorrectly treated as optional (Required.Default). This changes generated code: such properties now getRequired.Always,[Required]attribute, and therequiredmodifier whenUseRequiredKeywordis enabled. (#1908)JsonStringEnumMemberNameandEnumMemberattributes are now emitted for enum members when using System.Text.Json, for compatibility with NSwag's reflection-based URL parameter serialization. (#1905)$schemaversion preserved inToJson()instead of forcing draft-04. If you relied on the output always being draft-04, this may affect you. (#1881)patternPropertiesvalidation now correctly applies to all matching properties, not just the first. (#1898)DateTime,DateTimeOffset,DateOnly,TimeOnlyproperties. (#1900)What's Changed
+in JSON reference paths being decoded as space by @Copilot in Fix+in JSON reference paths being decoded as space RicoSuter/NJsonSchema#1880-1generating invalid C# identifier instead ofMinus1by @Copilot in Fix property named-1generating invalid C# identifier instead ofMinus1RicoSuter/NJsonSchema#1882New Contributors
+in JSON reference paths being decoded as space RicoSuter/NJsonSchema#1880Full Changelog: RicoSuter/NJsonSchema@v11.5.2...v11.6.0
11.5.2
What's Changed
JsonStringEnumConverter<T>detection and test it by @wellWINeo in Add support forJsonStringEnumConverter<T>detection and test it RicoSuter/NJsonSchema#1868New Contributors
JsonStringEnumConverter<T>detection and test it RicoSuter/NJsonSchema#1868Full Changelog: RicoSuter/NJsonSchema@v11.5.1...v11.5.2
11.5.1
What's Changed
New Contributors
Full Changelog: RicoSuter/NJsonSchema@v11.5.0...v11.5.1
11.5.0
What's Changed
Breaking changes:
Others:
Full Changelog: RicoSuter/NJsonSchema@v11.4.0...v11.5.0
Commits viewable in compare view.
Updated NJsonSchema.Annotations from 11.4.0 to 11.6.1.
Release notes
Sourced from NJsonSchema.Annotations's releases.
11.6.1
Corrections to v11.6.0
v11.6.0 added support for the C# 11
requiredkeyword and[JsonRequired]in schema generation (#1908), but folded them into the same bucket as DataAnnotations[Required]— which conflated three distinct concepts:requiredarray):requiredkeyword,[JsonRequired],[Required],[DataMember(IsRequired=true)], NewtonsoftRequired.Always/AllowNull[Required]only (plus NewtonsoftRequired.Always/DisallowNullfor runtime correctness)MinLength=1on strings):[Required]only (unlessAllowEmptyStrings=true)v11.6.1 (#1919) restores the correct separation. The
requiredkeyword and[JsonRequired]are now presence-only markers — they add the property to the schema'srequiredarray without suppressing nullability or addingMinLength=1.Behavioral deltas vs v11.6.0 (all restoring correctness)
required string?nullable: false,MinLength: 1❌nullable: true, noMinLength✅required stringMinLength: 1❌MinLength✅[JsonRequired] string?nullable: false,MinLength: 1❌nullable: true, noMinLength✅[JsonRequired] stringMinLength: 1❌MinLength✅[Required],[JsonProperty(Required=*)], and[DataMember(IsRequired=true)]semantics are unchanged across v11.5.x / v11.6.0 / v11.6.1.Downstream impact
The v11.6.0 regression surfaced in NSwag as NSwag#5359: TypeScript clients generated from
required T?DTO properties silently lost their| null, removing null-safety for fields the server can legitimately return as null. v11.6.1 fixes this. A matching NSwag release is required to pick up the fix.What's Changed
New Contributors
Full Changelog: RicoSuter/NJsonSchema@v11.6.0...v11.6.1
11.6.0
Potentially breaking changes
requiredkeyword now recognized as required: Properties using the C# 11requiredkeyword (RequiredMemberAttribute/JsonRequiredAttribute) are now correctly treated as required in schema generation and code output. Previously these were incorrectly treated as optional (Required.Default). This changes generated code: such properties now getRequired.Always,[Required]attribute, and therequiredmodifier whenUseRequiredKeywordis enabled. (#1908)JsonStringEnumMemberNameandEnumMemberattributes are now emitted for enum members when using System.Text.Json, for compatibility with NSwag's reflection-based URL parameter serialization. (#1905)$schemaversion preserved inToJson()instead of forcing draft-04. If you relied on the output always being draft-04, this may affect you. (#1881)patternPropertiesvalidation now correctly applies to all matching properties, not just the first. (#1898)DateTime,DateTimeOffset,DateOnly,TimeOnlyproperties. (#1900)What's Changed
+in JSON reference paths being decoded as space by @Copilot in Fix+in JSON reference paths being decoded as space RicoSuter/NJsonSchema#1880-1generating invalid C# identifier instead ofMinus1by @Copilot in Fix property named-1generating invalid C# identifier instead ofMinus1RicoSuter/NJsonSchema#1882New Contributors
+in JSON reference paths being decoded as space RicoSuter/NJsonSchema#1880Full Changelog: RicoSuter/NJsonSchema@v11.5.2...v11.6.0
11.5.2
What's Changed
JsonStringEnumConverter<T>detection and test it by @wellWINeo in Add support forJsonStringEnumConverter<T>detection and test it RicoSuter/NJsonSchema#1868New Contributors
JsonStringEnumConverter<T>detection and test it RicoSuter/NJsonSchema#1868Full Changelog: RicoSuter/NJsonSchema@v11.5.1...v11.5.2
11.5.1
What's Changed
New Contributors
Full Changelog: RicoSuter/NJsonSchema@v11.5.0...v11.5.1
11.5.0
What's Changed
Breaking changes:
Others:
Full Changelog: RicoSuter/NJsonSchema@v11.4.0...v11.5.0
Commits viewable in compare view.
Pinned NSwag.Core at 14.7.1.
Release notes
Sourced from NSwag.Core's releases.
14.7.1
Corrections to v14.7.0
v14.7.1 updates to NJsonSchema v11.6.1, which corrects the handling of the C#
requiredkeyword and[JsonRequired]:string?,T?) is preserved.MinLength=1on non-nullable strings.[Required]semantics remain unchanged (still suppresses nullability and addsMinLength=1to strings by default, matching its runtime behavior).Observable client changes vs v14.7.0
For
public required string[]? OptionList { get; init; }(#5359):optionList: string[]❌public string[] OptionList❌optionList: string[] | null✅public string[]? OptionList✅For full details and truth tables across all
required/[Required]/[JsonRequired]/[JsonProperty(Required=*)]combinations, see the NJsonSchema v11.6.1 release notes and NJsonSchema #1919.What's Changed
Full Changelog: RicoSuter/NSwag@v14.7.0...v14.7.1
14.7.0
What's Changed
NSwag.Npmresulting in aNConsole.UnusedArgumentExceptionby @ptasev in Fix specifying runtime forNSwag.Npmresulting in aNConsole.UnusedArgumentExceptionRicoSuter/NSwag#5320NJsonSchema v11.6.0 (potentially breaking changes)
This release updates to NJsonSchema v11.6.0 and Namotion.Reflection v3.5.0, which include the following changes that may affect generated code:
requiredkeyword now correctly recognized: Properties using the C# 11requiredkeyword (viaRequiredMemberAttribute/JsonRequiredAttribute) are now properly treated as required in the schema and generated code. Previously these were incorrectly treated as optional.WriteAccessorsetting to control property setter syntax (setvsinit).JsonLibraryVersionsetting for controlling enum attribute generation with System.Text.Json.MinLengthvalidation no longer incorrectly applied to DateTime properties.IncludeFieldsis enabled.For the full list of changes, see the NJsonSchema v11.6.0 release notes.
New Contributors
NSwag.Npmresulting in aNConsole.UnusedArgumentExceptionRicoSuter/NSwag#5320Full Changelog: RicoSuter/NSwag@v14.6.3...v14.7.0
14.6.3
What's Changed
New Contributors
Full Changelog: RicoSuter/NSwag@v14.6.2...v14.6.3
14.6.2
Fixes EnumValue regression in v14.6.1 by introducing a new JsonLibraryVersion configuration (default 8.0)
What's Changed
Full Changelog: RicoSuter/NSwag@v14.6.1...v14.6.2
14.6.1
What's Changed
New Contributors
Full Changelog: RicoSuter/NSwag@v14.6.0...v14.6.1
14.6.0
What's Changed
New Contributors
Full Changelog: RicoSuter/NSwag@v14.5.0...v14.6.0
14.5.0
What's Changed
New Contributors
... (truncated)
14.4.0
What's Changed
Description has been truncated