Migrate to analyzer Element2 APIs#4053
Merged
Merged
Conversation
PR Health |
davidmorgan
force-pushed
the
element2
branch
5 times, most recently
from
June 20, 2025 09:08
edd094a to
f3c94b8
Compare
analyzer Element2 APIs
davidmorgan
force-pushed
the
element2
branch
4 times, most recently
from
June 24, 2025 10:38
1fa46b8 to
8cd4038
Compare
Package publishing
Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. |
davidmorgan
marked this pull request as ready for review
June 24, 2025 11:45
jensjoha
approved these changes
Jun 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate to element2 APIs, prepare as a prerelease.
buildandbuild_resolversboth get a major version bump to version 3. Other packages that do not depend on the changes increase their version range to include 3.build_runnerandbuild_runner_corekeep a tight constraint ontobuildandbuild_resolversso they now require 3.Start using tight bounds in
build_testbecause it depends on build/build_runner_core/build_runner internals and this will allow refactors to not break releasedbuild_testversions.The plan is to release this as a dev release to allow generator authors to try it before the full release. It already works e2e with source_gen and built_value
dart-lang/source_gen#763
google/built_value.dart#1369
--there will need to be a dev release of source_gen next, to allow generators that use source_gen to try it.