Skip to content

Update json_annotation and json_serializable#587

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/json_annotation-and-json_serializable
Closed

Update json_annotation and json_serializable#587
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/json_annotation-and-json_serializable

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 16, 2026

This PR contains the following updates:

Package Type Update Change
json_annotation (source) dependencies minor 4.11.04.12.0
json_serializable (source) dev_dependencies minor 6.13.06.14.0
mockito (source) dev_dependencies patch 5.6.35.6.5

Release Notes

google/json_serializable.dart (json_annotation)

v4.12.0

Compare Source

  • Add JsonKey.explicitJsonNullWhenNonNullField for PATCH-style tri-state JSON
    fields (omit key vs explicit null vs value).
google/json_serializable.dart (json_serializable)

v6.14.0

Compare Source

  • Support JsonKey.explicitJsonNullWhenNonNullField for PATCH-style tri-state
    JSON fields: distinguish omitted keys from explicit null in fromJson and
    emit explicit JSON null in toJson when the Dart field is non-null.
  • Require json_annotation: '>=4.12.0 <4.13.0'

v6.13.2

Compare Source

  • Require analyzer: '>=10.0.0 <14.0.0'

v6.13.1

Compare Source

  • Improve error message when generating code for Record types with unsupported
    fields.
    (#​1559)
  • Require analyzer: '>=10.0.0 <13.0.0'
  • Require build: ^4.0.4
  • Require dart_style: ^3.1.4
  • Require source_gen: ^4.1.2
  • Require source_helper: ^1.3.10
dart-lang/build (mockito)

v5.6.5

Compare Source

  • Require analyzer 13.0.0.

v5.6.4

  • Allow analyzer 11.0.0 and 12.0.0.
  • Move to dart-lang/build monorepo.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested review from a team May 16, 2026 03:47
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 16, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pubspec.lock
Command failed: flutter pub upgrade json_annotation json_serializable mockito
Because riverpod_generator 4.0.3 depends on analyzer ^9.0.0 and mockito >=5.6.5 depends on analyzer ^13.0.0, riverpod_generator 4.0.3 is incompatible with mockito >=5.6.5.
So, because dotto depends on both mockito 5.6.5 and riverpod_generator 4.0.3, version solving failed.
Failed to update packages.

@github-actions
Copy link
Copy Markdown
Contributor

1 Warning
⚠️ 重要なファイルが変更されています: pubspec.yaml
2 Messages
📖 pubspec.yamlが変更されています。task installを実行してください。
📖 Dangerのチェックが完了しました! 🎉

Generated by 🚫 Danger

@kantacky kantacky closed this May 16, 2026
@kantacky kantacky deleted the renovate/json_annotation-and-json_serializable branch May 16, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant