Skip to content

build(deps): Bump json_serializable, drift_dev, intl, injectable_generator, freezed_annotation, json_annotation, drift, freezed and build_runner - #231

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/pub/multi-bea6fd0713
Open

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/pub/multi-bea6fd0713

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps json_serializable, drift_dev, intl, injectable_generator, freezed_annotation, json_annotation, drift, freezed and build_runner. These dependencies needed to be updated together.
Updates json_serializable from 6.9.5 to 6.14.1

Release notes

Sourced from json_serializable's releases.

package:json_serializable v6.14.1

  • Require analyzer: '>=10.0.0 <15.0.0'

package:json_serializable v6.14.0

  • 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'

package:json_serializable v6.13.2

  • Require analyzer: '>=10.0.0 <14.0.0'

package:json_serializable v6.13.1

  • 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

package:json_serializable v6.13.0

  • Fix schema generation for many different types of fields. (#1549)
  • Support JsonSerializable.dateTimeUtc configuration option. (#1371)
  • Remove json_schema from dependencies (it is only used in tests).

package:json_serializable v6.12.0

  • Support JsonKey annotation on constructor parameters.
  • Add support for JsonSerializable(createJsonSchema: true).

package:json_serializable v6.11.4

  • Allow analyzer: >=9.0.0 <11.0.0

package:json_serializable v6.11.3

  • Require analyzer: ^9.0.0
  • Require build: ^4.0.3
  • Require build_config: ^1.2.0
  • Require dart_style: ^3.1.3
  • Require sdk: ^3.9.0
  • Require source_gen: ^4.1.1
  • Require source_helper: ^1.3.9

package:json_serializable v6.11.2

  • Allow run_only_if_triggered to be specified in build.yaml to turn on the build_runner triggers heuristic.
  • Skip warning about annotations on both constructor and field if the values match.

... (truncated)

Commits
  • c727bb9 chore(deps): support analyzer <15.0.0 (#1584)
  • eaad5f6 Bump the dependencies group with 2 updates (#1579)
  • 5a1856a Bump the dependencies group with 2 updates (#1576)
  • 61e7b87 Add JsonKey.explicitJsonNullWhenNonNullField for PATCH tri-state JSON (#1574)
  • 62e16d8 Bump the dependencies group with 2 updates (#1572)
  • c6cdfcf Update analyzer to latest, prepare v6.13.2 (#1571)
  • fba9479 Bump the dependencies group with 3 updates (#1568)
  • da67f42 allow pkg:analyzer latest, prepare v6.13.1 (#1566)
  • 8b781ac Improve error message when generating code for Record types with unsupported ...
  • 6b711e3 Improve error messages when typeToCode throws an exception (#1450)
  • Additional commits viewable in compare view

Updates drift_dev from 2.28.0 to 2.31.0

Commits
  • 853d037 Prepare 2.31.0 release
  • 3f84fb0 Attempt to reproduce #3750
  • 9183487 Step-by-step: Throw on downgrades
  • 4b00da0 drift3: Port expression tests
  • 4fd3baa Revert file_picker usage
  • cdfe8f6 Generate nullable JSON converter wrappers
  • 101b6e6 Fix file_picker usage
  • 61b872b Docs: Explain how to mock time
  • ec5bbde Add SchemaBuffer utility to apply alter table
  • c39a3ce sqlparser: Parse ALTER TABLE statements
  • Additional commits viewable in compare view

Updates intl from 0.20.2 to 0.20.3

Release notes

Sourced from intl's releases.

package:intl v0.20.3

  • Updated the Turkish Lira (TRY) currency symbol in simpleCurrencySymbols from "TL" to "₺" (U+20BA). This ensures accuracy and alignment with the official symbol introduced in 2012.
  • Fix parsing of locale strings containing script codes in verifiedLocale. For example, zh-Hans-CN would have been previously parsed as zh, but is now parsed as zh_CN.
  • Update the Ghanaian Cedis (GHS) currency symbol in simpleCurrencySymbols from "GHS" to "GH₵(U+20B5)".
  • Update to CLDR v48.
  • Add @pragma('wasm:prefer-inline') to Intl methods that already have @pragma('vm:prefer-inline'), for the same reason: to help omit message descriptions from compiled output.
  • Update analysis to newest package:lints.
Commits

Updates injectable_generator from 2.7.0 to 2.12.1

Commits

Updates freezed_annotation from 2.4.4 to 3.1.0

Commits

Updates json_annotation from 4.9.0 to 4.12.0

Release notes

Sourced from json_annotation's releases.

package:json_annotation v4.12.0

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

package:json_annotation v4.11.0

  • Add JsonSerializable.dateTimeUtc configuration option. (#1371)

package:json_annotation v4.10.0

  • Support JsonKey annotation on constructor parameters.
  • Add JsonSerializable(createJsonSchema: true).
  • Require meta: ^1.16.0
  • Require sdk: ^3.9.0
Commits
  • 61e7b87 Add JsonKey.explicitJsonNullWhenNonNullField for PATCH tri-state JSON (#1574)
  • 62e16d8 Bump the dependencies group with 2 updates (#1572)
  • c6cdfcf Update analyzer to latest, prepare v6.13.2 (#1571)
  • fba9479 Bump the dependencies group with 3 updates (#1568)
  • da67f42 allow pkg:analyzer latest, prepare v6.13.1 (#1566)
  • 8b781ac Improve error message when generating code for Record types with unsupported ...
  • 6b711e3 Improve error messages when typeToCode throws an exception (#1450)
  • 5d5feca isSynthetic is removed in Analyzer 11 (#1564)
  • c61a809 Bump actions/stale from 10.1.1 to 10.2.0 in the dependencies group (#1563)
  • 2b03869 Prepare for release (#1562)
  • Additional commits viewable in compare view

Updates drift from 2.28.2 to 2.31.0

Release notes

Sourced from drift's releases.

Drift 2.31.0

  • In step-by-step migrations, automatically throw an error if a database downgrade is attempted. This has always been unsupported, but could lead to the database silently having a wrong user_version.
  • Fix JSON serialization for views referencing a nullable wrapper of a non-nullable column with a type converter attached to it.

sqlparser version 0.43.1

  • Support parsing DROP, VACUUM, REINDEX, ATTACH, DETACH, SAVEPOINT, RELEASE, ROLLBACK, ANALYZE, PRAGMA and ALTER TABLE statements.
  • Add SchemaBuffer class to apply ALTER TABLE and DROP statements to CREATE statements.

Drift 2.30.1

drift 2.30.1

  • Web: Fix databases being moved from IndexedDB to OPFS even if moveExistingIndexedDbToOpfs is disabled.

drift_dev 2.30.1

  • make_migrations: Don't generate schema test helpers when --no-test is set.
  • Generate managers entrypoint for @DriftAccessors as well.
  • Add ValidationOptions parameter to testWithDataIntegrity.

sqlparser 0.43.0

  • Allow parsing SQL from FileSpans, which is convenient for SQL embedded as text in outer structures.

Drift 2.30.0

Drift

  • Add rightOuterJoin and fullOuterJoin.
  • Wasm: Add the WasmProbeResult.moveFromIndexedDBToOpfs() method and the moveExistingIndexedDbToOpfs parameter on WasmDatabase.open. They can be used to move an existing database stored in IndexedDB to OPFS.

drift_flutter

  • Add isolateSetup parameter to DriftNativeOptions to setup isolates spawned to host database connections.

Generator

  • Schema export: Always export generated SQL statements as a reference.
  • Schema export: Always use temporary file instead of data URI.
  • Support analyzer versions 9.x.
  • Support dothand syntax when analyzing Dart sources.
  • Analysis: Support features added in SQLite version 3.51.0

Drift 2.29.0

Query builder

  • Allow specifying ordering for columns in @TableIndex annotation.

... (truncated)

Commits
  • 853d037 Prepare 2.31.0 release
  • 3f84fb0 Attempt to reproduce #3750
  • 9183487 Step-by-step: Throw on downgrades
  • 4b00da0 drift3: Port expression tests
  • 4fd3baa Revert file_picker usage
  • cdfe8f6 Generate nullable JSON converter wrappers
  • 101b6e6 Fix file_picker usage
  • 61b872b Docs: Explain how to mock time
  • ec5bbde Add SchemaBuffer utility to apply alter table
  • c39a3ce sqlparser: Parse ALTER TABLE statements
  • Additional commits viewable in compare view

Updates freezed from 2.5.8 to 3.2.5

Commits

Updates build_runner from 2.5.4 to 2.15.1

Release notes

Sourced from build_runner's releases.

package:build_runner v2.15.1

  • Pass Dart SDK --packages arg to builder compiles, so they can be compiled with different packages to the current version solve.
  • More efficient watching for file changes in workspaces and other setups with nested packages.
  • Support builders with no declared outputs. They can't output anything, but they can do processing, write log messages and choose whether to fail the build.
  • Mention in command usage that --define values are parsed as JSON with a fallback.
  • Performance: reduce size of serialized build state when there are optional outputs that are not written.
  • Bug fix: handle errors from post process builders in previous runs without crashing.
  • Bug fix: fix dart run build_runner test to correctly pass arguments after -- to the test process.
  • Bug fix: fix crash if a resolved Dart source contains invalid utf8.
  • Bug fix: fix incorrect output when builder code changes during builder compile.
  • Bug fix: do a clean build when switching between a workspace build and a package build, as incremental builds were sometimes incorrect.
  • Require Dart 3.8.0.

package:build_runner v2.15.0

  • Remove --low-resources-mode as default memory usage has been improved. If you have problems with RAM usage please file an issue.
  • Remove --log-performance and --track-performance. File an issue if you have performance measurement needs not covered by the newer --dart-aot-perf.
  • Removed options can still be passed, they will be ignored with a warning.
  • Bug fix: fix crash during logging if an asset path is an invalid URI.
  • Bug fix: with --workspace the global options affecting build order were read from the wrong package. They are now read from build.yaml in the workspace root, like other global options.
  • Allow analyzer 13.0.0.

package:build_runner v2.14.1

  • Bug fix: fix crash if a package used to belong to a workspace but was removed from the workspace leaving a stale workspace.ref file.
  • Bug fix: the watch command now always does one build before exiting due to a request from another build_runner process. Fix crashes related to request before build start.

package:build_runner v2.14.0

  • Performance: further improvements to management of files for analysis for 2x faster incremental builds.
  • Performance: default to AOT compilation for commands other than run. This costs more initial startup time but gives faster builds afterwards. Fall back to JIT if the compile fails due to use of dart:mirrors. Use the --force-jit flag if you want the old default JIT builder compile. Use the --force-aot flag to turn off the fallback to JIT compile.

... (truncated)

Commits
  • 565856b Release build 4.0.7, build_runner 3.15.1. (#5010)
  • 76f0f89 Fix workspace vs package build config conflict (#5008)
  • 8921c3f Formatting changes due to latest dev SDK. (#5007)
  • e999ea4 Fix incorrect build due to racy builder changes. (#4988)
  • d2a2f4f Bump SDK upper bounds. (#5006)
  • a72038d Set flattenBuild in passed ReaderWriter. (#5004)
  • ea0cf6b fix(build_daemon): reject cross-origin WebSocket handshakes (CSWSH) (#4992)
  • ae52e61 Use BuiltList.of instead of BuiltList.from. (#5003)
  • a8e949c Fix trigger evaluation reading ungenerated parts. (#5000)
  • 39353ef Bump actions/cache from 5.0.5 to 6.1.0 in the github-actions group (#5002)
  • Additional commits viewable in compare view

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)

…rator, freezed_annotation, json_annotation, drift, freezed and build_runner

Bumps [json_serializable](https://github.com/google/json_serializable.dart), [drift_dev](https://github.com/simolus3/drift), [intl](https://github.com/dart-lang/i18n/tree/main/pkgs), [injectable_generator](https://github.com/Milad-Akarie/injectable), [freezed_annotation](https://github.com/rrousselGit/freezed), [json_annotation](https://github.com/google/json_serializable.dart), [drift](https://github.com/simolus3/drift), [freezed](https://github.com/rrousselGit/freezed) and [build_runner](https://github.com/dart-lang/build). These dependencies needed to be updated together.

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

Updates `drift_dev` from 2.28.0 to 2.31.0
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift_dev-2.28.0...drift_dev-2.31.0)

Updates `intl` from 0.20.2 to 0.20.3
- [Release notes](https://github.com/dart-lang/i18n/releases)
- [Commits](https://github.com/dart-lang/i18n/commits/intl-v0.20.3/pkgs)

Updates `injectable_generator` from 2.7.0 to 2.12.1
- [Commits](https://github.com/Milad-Akarie/injectable/commits)

Updates `freezed_annotation` from 2.4.4 to 3.1.0
- [Commits](rrousselGit/freezed@freezed_annotation-v2.4.4...freezed_annotation-v3.1.0)

Updates `json_annotation` from 4.9.0 to 4.12.0
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](google/json_serializable.dart@json_annotation-v4.9.0...json_annotation-v4.12.0)

Updates `drift` from 2.28.2 to 2.31.0
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift-2.28.2...drift-2.31.0)

Updates `freezed` from 2.5.8 to 3.2.5
- [Commits](rrousselGit/freezed@freezed-v2.5.8...freezed-v3.2.5)

Updates `build_runner` from 2.5.4 to 2.15.1
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](dart-lang/build@build_runner-v2.5.4...build_runner-v2.15.1)

---
updated-dependencies:
- dependency-name: json_serializable
  dependency-version: 6.14.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: drift_dev
  dependency-version: 2.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: intl
  dependency-version: 0.20.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: injectable_generator
  dependency-version: 2.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: freezed_annotation
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: json_annotation
  dependency-version: 4.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: drift
  dependency-version: 2.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: freezed
  dependency-version: 3.2.5
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: build_runner
  dependency-version: 2.15.1
  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 9, 2026
@sourceant

sourceant Bot commented Oct 9, 2026

Copy link
Copy Markdown

Code Review Summary

This PR is a lockstep dependency bump in pubspec.yaml only: json_annotation/json_serializable, freezed/freezed_annotation, drift/drift_dev, intl, injectable_generator and build_runner are raised to newer versions (drift and both generators now major-bumped). It brings newer code generators, CLDR v48 data and stricter drift migration behavior, but ships no application or generated source changes.

🚀 Key Improvements

  • pubspec.yaml: drift/drift_dev 2.31.0 now throws on database downgrades in step-by-step migrations instead of silently corrupting user_version.
  • pubspec.yaml: intl 0.20.3 refreshes CLDR v48, fixes TRY/GHS currency symbols and script-code locale parsing like zh-Hans-CN.
  • pubspec.yaml: json_annotation/json_serializable gain PATCH-style tri-state JSON via JsonKey.explicitJsonNullWhenNonNullField.

📉 Regressions

  • pubspec.yaml: freezed and freezed_annotation jump major 2.x to 3.x, and build_runner 2.5.4 to 2.15.1, requiring generator re-runs and likely migration of existing models.

💡 Minor Suggestions

  • Review coverage is incomplete. Inspect the execution details before approving.

@sourceant sourceant 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.

Review complete. See the overview comment for a summary.

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