Migrate to analyzer
Element2 APIs
#4053
Merged
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.
build
andbuild_resolvers
both 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_runner
andbuild_runner_core
keep a tight constraint ontobuild
andbuild_resolvers
so they now require 3.Start using tight bounds in
build_test
because it depends on build/build_runner_core/build_runner internals and this will allow refactors to not break releasedbuild_test
versions.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.