Skip to content

chore(deps): bump the pub-minor-and-patch group with 2 updates - #1335

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/pub-minor-and-patch-8af8cf7811
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/pub-minor-and-patch-8af8cf7811

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 3, 2026

Copy link
Copy Markdown
Contributor

Bumps the pub-minor-and-patch group with 2 updates: json_serializable and source_helper.

Updates json_serializable from 6.14.1 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

Updates source_helper from 1.3.13 to 1.4.0

Release notes

Sourced from source_helper's releases.

package:source_helper v1.4.0

  • Require analyzer: '>=10.1.0 <15.0.0' and source_gen: ^4.1.2.
  • Add DartType.toStringNonNullable() and DartType.enumConstants to DartTypeExtension.
  • Add class-model helpers shared by code generators:
    • createSortedFieldSet, InheritedMemberScope, fieldOverrideChain and firstAnnotationOnProperty for the field set of a class and its supertypes.
    • constructorByName, planConstruction with ConstructorPlan, and typeParameterListCode for constructor invocations.
    • ExecutableElementExtension.qualifiedName for invocation targets.
Changelog

Sourced from source_helper's changelog.

1.4.0

  • Require analyzer: '>=10.1.0 <15.0.0' and source_gen: ^4.1.2.
  • Add DartType.toStringNonNullable() and DartType.enumConstants to DartTypeExtension.
  • Add class-model helpers shared by code generators:
    • createSortedFieldSet, InheritedMemberScope, fieldOverrideChain and firstAnnotationOnProperty for the field set of a class and its supertypes.
    • constructorByName, planConstruction with ConstructorPlan, and typeParameterListCode for constructor invocations.
    • ExecutableElementExtension.qualifiedName for invocation targets.
Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the pub-minor-and-patch group with 2 updates: [json_serializable](https://github.com/google/json_serializable.dart) and [source_helper](https://github.com/google/source_helper.dart).


Updates `json_serializable` from 6.14.1 to 6.15.2
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](google/json_serializable.dart@json_serializable-v6.14.1...json_serializable-v6.15.2)

Updates `source_helper` from 1.3.13 to 1.4.0
- [Release notes](https://github.com/google/source_helper.dart/releases)
- [Changelog](https://github.com/google/source_helper.dart/blob/main/CHANGELOG.md)
- [Commits](google/source_helper.dart@v1.3.13...v1.4.0)

---
updated-dependencies:
- dependency-name: json_serializable
  dependency-version: 6.15.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub-minor-and-patch
- dependency-name: source_helper
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub-minor-and-patch
...

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 Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Changeset missing

This PR changes versioned packages without a changeset for:

  • livekit_client

Create a changeset for the missing packages (prefilled with patch; edit the bump levels as needed), or run verwalter changeset --level <patch|minor|major> on the branch.

If this change needs no release, add the internal label.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

1 flag not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

Comment thread pubspec.yaml
build_runner: ^2.4.13
# Narrow pin so committed codegen stays deterministic across machines
json_serializable: ">=6.14.1 <6.15.0"
json_serializable: ^6.15.2

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Dependency setup fails at SDK floor

On Dart 3.10 and 3.11, flutter pub get cannot resolve json_serializable, which now requires Dart 3.12 or newer. On Flutter 3.38, source_helper also rules out every allowed analyzer version compatible with Flutter’s pinned meta.

Learn more

The checkout setup instructions support Dart 3.10 and Flutter 3.38 and start with flutter pub get. Pub resolves dev dependencies when the SDK is the root package, even for commands that do not use the JSON generator. The published json_serializable 6.15.2 manifest requires Dart ^3.12.0; the prior 6.14.1 release allowed Dart 3.10. The source_helper 1.4.0 manifest also requires analyzer 10.1.0 or newer. Within the manifest’s analyzer range, only analyzer 10.0.0 and 10.0.1 accept meta 1.17.0, which Flutter 3.38.10 pins. The unchanged SDK floor in the lockfile reflects the existing selected versions, not whether Pub can select compatible alternatives on an older SDK.

Example: A contributor follows the setup instructions on Flutter 3.38.10 with Dart 3.10.9. flutter pub get fails before analysis, tests, or code generation can run.

Recommended fix: Restore both compatible constraints and regenerate the lockfile if the documented development floor must remain. Validate flutter pub get on Flutter 3.38 as well as current stable; restoring only the generator constraint leaves the analyzer conflict.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

This branch has not been deployed

No deployments
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