Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 29, 2025

Bumps freezed, freezed_annotation, injectable_generator, build_runner, json_serializable and drift_dev. These dependencies needed to be updated together.
Updates freezed from 2.5.8 to 3.2.3

Commits

Updates freezed_annotation from 2.4.4 to 3.1.0

Commits

Updates injectable_generator from 2.7.0 to 2.8.1

Commits

Updates build_runner from 2.5.4 to 2.6.0

Release notes

Sourced from build_runner's releases.

package:build_runner v2.6.0

  • Remove unused deps: analyzer, build_resolvers, collection, http, js, meta, package_config, pool, web, yaml.
  • Remove unused dev_deps: http, package_config, web.
  • Testing: read build configs using AssetReader so they're easier to test.
  • Use build 3.0.0.
  • Use build_resolvers 3.0.0.

package:build_runner v2.6.0-dev.2

  • Remove unused deps: analyzer, build_resolvers, collection, http, js, meta, package_config, pool, web, yaml.
  • Remove unused dev_deps: http, package_config, web.
  • Testing: read build configs using AssetReader so they're easier to test.

package:build_runner v2.6.0-dev.1

  • Use build 3.0.0-dev.
  • Use build_resolvers 3.0.0-dev.
Commits

Updates json_serializable from 6.9.5 to 6.11.1

Release notes

Sourced from json_serializable's releases.

package:json_serializable v6.11.1

  • Allow build: '>=3.0.0 <5.0.0'.
  • Allow source_gen: '>=3.1.0 <5.0.0'.

package:json_serializable v6.11.0

  • Support JsonKey annotation on constructor parameters.
  • Require analyzer: '>=7.4.0 <9.0.0'
  • Require dart_style: ^3.0.0
  • Require meta: ^1.15.0
  • Require source_helper: ^1.3.6
  • Require source_gen: ^3.1.0, stop using deprecated TypeChecker.fromRuntime and use the new TypeChecker.typeNamed instead.

package:json_serializable v6.10.0

  • Required analyzer: ^7.4.0.
  • Switch to analyzer element2 model and build: ^3.0.0-dev.
  • Move package:collection to a dev dependency.
  • Use new null-aware element feature in generated code.
  • Require Dart 3.8

package:json_serializable v6.10.0-dev

  • Switch to analyzer element2 model and build: ^3.0.0-dev.
  • Move package:collection to a dev dependency.
  • Use new null-aware element feature in generated code.
  • Require Dart 3.8
Commits

Updates drift_dev from 2.28.0 to 2.28.3

Commits
  • b4e8c77 Prepare release
  • 02b2421 Update build dependencies
  • 35c4797 Stop depending on deprecated build packages
  • cdd6150 Fix wasm num cast in legacy web database
  • 6ac85ed Fix missing element false positive
  • 8bfe305 Also apply to non-shared implementation
  • 5c0a08d add isolateDebugLog to DriftNativeOptions
  • a981268 Document insertOnConflictUpdate issue
  • aca2cad Prepare drift_flutter release
  • 3891b66 added initializeDatabase to web options
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

…build_runner, json_serializable and drift_dev

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

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

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 `injectable_generator` from 2.7.0 to 2.8.1
- [Commits](https://github.com/Milad-Akarie/injectable/commits)

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

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

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

---
updated-dependencies:
- dependency-name: freezed
  dependency-version: 3.2.3
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: freezed_annotation
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: injectable_generator
  dependency-version: 2.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: build_runner
  dependency-version: 2.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: json_serializable
  dependency-version: 6.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: drift_dev
  dependency-version: 2.28.3
  dependency-type: direct:production
  update-type: version-update:semver-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 Sep 29, 2025
@sourceant
Copy link

sourceant bot commented Sep 29, 2025

Code Review Summary

✨ This pull request focuses on updating various package dependencies in pubspec.yaml and subsequently pubspec.lock. The changes include several minor version updates and significant major version bumps for freezed and freezed_annotation. Maintaining up-to-date dependencies is crucial for project health, security, and leveraging the latest features.

🚀 Key Improvements

  • Regularly updating dependencies ensures the project benefits from bug fixes, security patches, and performance enhancements.
  • The pubspec.lock file is appropriately updated to reflect the new resolved versions.

💡 Minor Suggestions

  • While not strictly necessary for this PR, consider periodically reviewing all dependencies for potential updates, especially for direct dependencies that are not updated here but might have newer compatible versions.

🚨 Critical Issues

  • The major version updates for freezed_annotation (from 2.x.x to 3.x.x) and freezed (from 2.x.x to 3.x.x) can introduce breaking changes. It's imperative to consult the official changelogs for these packages and ensure all necessary code migrations are performed and thoroughly tested to avoid runtime issues.

Copy link

@sourceant sourceant bot left a comment

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.

path_provider: ^2.1.5
drift_sync_core:
path: drift_sync_core/
freezed_annotation: ^2.4.4
Copy link

Choose a reason for hiding this comment

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

The freezed_annotation package has moved from a 2.x.x to a 3.x.x version. Major version changes often introduce breaking changes. It is highly recommended to review the changelog for freezed_annotation (and freezed) to understand any necessary code migrations or adaptations.

Suggested change
freezed_annotation: ^2.4.4
freezed_annotation: ^3.1.0

# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^4.0.0
Copy link

Choose a reason for hiding this comment

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

Similar to freezed_annotation, the freezed package has also undergone a major version update (from 2.x.x to 3.x.x). Please check the changelog for freezed to identify and implement any breaking changes or new patterns required by this update.

Suggested change
flutter_lints: ^4.0.0
freezed: ^3.2.3

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.

1 participant