Skip to content

Conversation

@FrankenApps
Copy link
Contributor

@FrankenApps FrankenApps commented Oct 9, 2025

Allow

  build: '>=3.0.0 <5.0.0'
  source_gen: '>=3.1.0 <5.0.0'

This change is once again inspired by a PR made to json_serializable.

I've had to silence some occurrences of the deprecated_member_use lint in order to maintain compatibility with build version 3.x and source_gen version 3.x. Once we are ready to force downstream users to use versions 4.x, the deprecated members can be replaced by their actual replacements (for example Element2 back to Element as outlined in the element model migration guide of the analyzer package).

As far as I can tell, this shouldn't be a breaking change, therefore bumping the version to 1.6.1 would be enough in case only this PR would be included in the next release.

Let's hope that the dust around these build_runner related major version changes settles soon, so I don't have to continue making these PRs ;)

@FrankenApps FrankenApps marked this pull request as draft October 9, 2025 17:49
@FrankenApps FrankenApps force-pushed the loosen-deps-constraints branch from 2373fdf to 36cdb94 Compare October 9, 2025 18:07
@FrankenApps FrankenApps marked this pull request as ready for review October 9, 2025 18:16
@fujidaiti fujidaiti self-requested a review October 13, 2025 02:16
Copy link
Owner

@fujidaiti fujidaiti left a comment

Choose a reason for hiding this comment

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

Thank you again for your contribution!

As far as I can tell, this shouldn't be a breaking change, therefore bumping the version to 1.6.1 would be enough in case only this PR would be included in the next release.

Yes, I will release this patch as v1.6.1.

@fujidaiti fujidaiti merged commit fce7654 into fujidaiti:master Oct 13, 2025
1 check passed
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.

2 participants