Skip to content

build(deps): bump json_serializable from 6.14.0 to 6.15.2 in /packages/dart_acp_sdk - #30

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/packages/dart_acp_sdk/json_serializable-6.15.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/packages/dart_acp_sdk/json_serializable-6.15.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 28, 2026

Copy link
Copy Markdown
Contributor

Bumps json_serializable from 6.14.0 to 6.15.2.

Release notes

Sourced from json_serializable's releases.

package:json_serializable v6.15.2

  • Revert the duplicate fromJson key check added in 6.15.0, allowing multiple fromJson fields to read from the same JSON key when at most one is included in toJson (for example, via @JsonKey(includeToJson: false)). (#1622)

package:json_serializable v6.15.1

  • Resolve extension member collision with package:source_helper 1.4.0. (#1619)

package:json_serializable v6.15.0

  • Fix Record serialization and default value handling, including nullable empty records ()?, non-nullable records with defaults, single-positional record defaults, record and non-String map literals in @JsonKey(defaultValue: ...), and conditional ? : constructor defaults.
  • Fix createJsonSchema to emit an enum constraint (and default) for enum-typed fields, respecting @JsonValue and JsonEnum.valueField. (#1577)
  • Support fromJson and toJson on classes that extend JsonKey. (#1057)
  • Preserve typedef alias names in generated code. (#1124)
  • Fix genericArgumentFactories: true when toJson is inherited from a generic mixin or superclass. (#1208)
  • Preserve field declaration order in toJson for classes with primary constructor declaring parameters. (#1599)
  • Fix Map key and enum handling, including custom String-backed JsonConverters and dateTimeUtc: true on Map keys, int-encoded enum Map keys, Map<Object, V> / Map<dynamic, V>, decoding null to @JsonValue(null) enum entries on non-nullable fields (preserving explicit null over defaultValue when the key is present), @JsonEnum(valueField: 'name'), and rejecting getter-backed JsonEnum.valueFields.
  • JsonKey.unknownEnumValue: Added support for Map values. (#1093)
  • Prefer JsonConverters with matching nullability when both nullable and non-nullable converters for the same type are present. (#1339)
  • Fix field discovery, inheritance, and class configuration edge cases, including covariant and setter-only overrides, hashCode/runtimeType overrides, createFactory: false with includeToJson: true, disallowUnrecognizedKeys with includeFromJson: false, generic includeIfNull: false map entries, duplicate fromJson key detection, and createPerFieldToJson when a field is named Object.
  • Fix createJsonSchema default value handling for non-empty List, Set, and Map constants, int defaults on num/double fields, and function tear-off defaults, as well as nullable self-references and private fields.
  • Fix JsonConverter, @JsonKey(fromJson: ..., toJson: ...), JsonHelper,

... (truncated)

Commits
  • 32706b9 fix: allow multiple fromJson fields to read the same JSON key (#1623)
  • f0a0333 chore: prepare 6.15.1 to fix compilation against source_helper 1.4.0 (#1618)
  • 567f2f8 Prepare json_serializable 6.15.0 for release (#1613)
  • fee3c8b Fix Record decoding, $1 comma emission, and JsonKey default literals (#1609)
  • 7182920 Fix Map key converters, int JsonEnum keys, and JsonEnum valueField (#1611)
  • 93e3e1b Fix JsonConverter type resolution, JsonHelper wrappers, and Patch<T> (#1612)
  • d9ac7c0 Fix field inheritance narrowing, setter overrides, and config guards (#1610)
  • 2fdcd78 Replace generated test matrices with verifyGeneratorBatch and add dart2wasm C...
  • 42ce22f Fix createJsonSchema default values, nullable self-refs, and privacy (#1608)
  • c12e966 Preserve typedef alias names in typeToCode (#1605)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [json_serializable](https://github.com/google/json_serializable.dart) from 6.14.0 to 6.15.2.
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](google/json_serializable.dart@json_serializable-v6.14.0...json_serializable-v6.15.2)

---
updated-dependencies:
- dependency-name: json_serializable
  dependency-version: 6.15.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants