Skip to content

Conversation

@davidmorgan
Copy link
Contributor

@davidmorgan davidmorgan commented Sep 2, 2025

Deprecate things that look unused and will be removed shortly in 4.0.0:

  • AssetWriterSpy is obsoleted by comprehensive testing support in build_test TestReaderWriter.
  • MultiplexingBuilder looks like a remnant of a long-gone era; the only use of it on pub is in build_barback, barback was from before build.
  • To match how BuildStep works, move PostProcessBuildStep implementation to build_runner_core, leaving just the API. Constructing a PostProcessBuildStep was package private (under src/, not exported), so this is non breaking.
  • Move StageTracker to build_runner_core since it's only used in APIs that will move there. Re-export it for now.

@github-actions
Copy link

github-actions bot commented Sep 2, 2025

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

This check can be disabled by tagging the PR with skip-changelog-check.

@davidmorgan davidmorgan marked this pull request as ready for review September 2, 2025 08:07
@davidmorgan davidmorgan merged commit 56248e0 into dart-lang:master Sep 2, 2025
74 checks passed
@davidmorgan davidmorgan deleted the build-deprecations branch September 2, 2025 08:07
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