Skip to content

Migrate to analyzer Element2 APIs #4053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025
Merged

Conversation

davidmorgan
Copy link
Contributor

@davidmorgan davidmorgan commented Jun 18, 2025

Migrate to element2 APIs, prepare as a prerelease.

build and build_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 and build_runner_core keep a tight constraint onto build and build_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 released build_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.

Copy link

github-actions bot commented Jun 18, 2025

PR Health

@davidmorgan davidmorgan force-pushed the element2 branch 5 times, most recently from edd094a to f3c94b8 Compare June 20, 2025 09:08
@davidmorgan davidmorgan changed the title Element2 Migrate to Element2 APIs Jun 20, 2025
@davidmorgan davidmorgan changed the title Migrate to Element2 APIs Migrate to analyzer Element2 APIs Jun 20, 2025
@davidmorgan davidmorgan force-pushed the element2 branch 4 times, most recently from 1fa46b8 to 8cd4038 Compare June 24, 2025 10:38
@davidmorgan davidmorgan added the publish-ignore-warnings Ignore warnings in the publish check bot label Jun 24, 2025
Copy link

Package publishing

Package Version Status Publish tag (post-merge)
package:build 3.0.0-dev.1 ready to publish build-v3.0.0-dev.1
package:build_config 1.1.3-wip WIP (no publish necessary)
package:build_daemon 4.0.5-wip WIP (no publish necessary)
package:build_modules 5.0.15 ready to publish build_modules-v5.0.15
package:build_resolvers 3.0.0-dev.1 ready to publish build_resolvers-v3.0.0-dev.1
package:build_runner 2.6.0-dev.1 ready to publish build_runner-v2.6.0-dev.1
package:build_runner_core 9.2.0-dev.1 ready to publish build_runner_core-v9.2.0-dev.1
package:build_test 3.3.0-dev.1 ready to publish build_test-v3.3.0-dev.1
package:build_web_compilers 4.2.0 ready to publish build_web_compilers-v4.2.0
package:scratch_space 1.1.0 ready to publish scratch_space-v1.1.0

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

@davidmorgan davidmorgan requested a review from jensjoha June 24, 2025 11:43
@davidmorgan davidmorgan marked this pull request as ready for review June 24, 2025 11:45
@davidmorgan davidmorgan merged commit 8accf7f into dart-lang:master Jun 24, 2025
82 of 84 checks passed
@davidmorgan davidmorgan deleted the element2 branch June 24, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
publish-ignore-warnings Ignore warnings in the publish check bot skip-changelog-check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants