Skip to content

Conversation

saentari
Copy link

Description

This PR updates the following dependencies to their latest compatible versions:

  • freezed → 3.0.6
  • freezed_annotation → 3.0.0
  • source_gen → 2.0.0
  • dart_style → 3.0.1

Motivation

The primary motivation for this upgrade is compatibility. generator was constrained to freezed_annotation: ^2.2.0. However, another project that depends on this package requires freezed_annotation: ^3.0.0 or higher. This version mismatch caused dependency resolution conflicts, blocking integration and development efforts.

Details

  • Upgraded freezed and freezed_annotation to ensure compatibility with projects requiring version 3.x.
  • Updated source_gen and dart_style to meet the new peer dependency requirements of freezed and improve code generation stability.
  • Verified that all code generation and build_runner tasks complete successfully with the new versions.
  • Increased compatibility: This change unblocks downstream projects that require freezed_annotation v3.x.
  • Future-proofing: Staying up-to-date with the latest stable releases reduces technical debt and improves maintainability.
  • No breaking changes: All existing functionality remains intact; only dependency versions are updated.

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