scratch_space
A tool to manage running external executables within package:build.
1.2.2
223K downloads/mo
#810 most downloaded on pub.dev
dart-lang/build
What this package is like to depend on
Last release 2 months ago
16 Jun 2026
Release timing varies
gaps range from 4 weeks to 2.1 years
Nearly every release is documented
notes for 21 of 21 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
21 releases · first in 2017
4 releases in the last 12 months
see the full history below
Release timeline
21 releases · Sep 2017 to Jun 2026
2018
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 21-
1.2.216 Jun 2026 -
1.2.118 May 2026Release notes
Open source →- Move source to https://github.com/dart-lang/build/blob/master/builder_pkgs/scratch_space.
- Add
ScratchSpace.existingto create a scratch space from a pre-existing directory.
-
1.2.004 Nov 2025Release notes
Open source →- Adding
changedFilesInBuild, which contains all modified files encountered since the lastensureAssetscall, anddispose.
- Adding
-
1.1.102 Sep 2025 -
1.1.025 Jun 2025 -
1.0.212 May 2023 -
1.0.101 Oct 2021 -
1.0.012 Mar 2021 -
0.0.430 Jul 2019Release notes
Open source →- Add
requireContentargument tocopyOutputto allow asserting that a file produced in a scratch space is not empty.
- Add
-
0.0.4+108 Oct 2019Release notes
Open source →- Fix
ScratchSpace.fileForon windows to normalize the paths so they dont contain mixed separators.
- Fix
-
0.0.4+206 Jan 2020Release notes
Open source →- Fix a race condition bug where
ensureAssetswould complete before all pending writes were completed. If the next build was scheduled before these writes finished then they would get the old result.
- Fix a race condition bug where
-
0.0.4+307 Jan 2021Release notes
Open source →- Change returns from
Future<dynamic>toFuture<void>. - Increase min sdk constraint to
>=2.7.0. - Allow the null safe pre-releases of all migrated deps.
- Change returns from
-
0.0.322 Jun 2018Release notes
Open source →- Use digests to improve
ensureAssetsperformance.- Scratch spaces can now be used across builds without cleaning them up, and will check digests and update assets as needed.
- Use digests to improve
-
0.0.3+116 Jul 2018 -
0.0.3+225 Sep 2018 -
0.0.219 Mar 2018 -
0.0.2+121 Apr 2018Release notes
Open source →- Fix a bug where failing to read an asset in serve mode could get the build stuck.
-
0.0.121 Sep 2017 -
0.0.1+104 Oct 2017Release notes
Open source →- Fix a deadlock issue around the file descriptor pool, only take control of a
resource right before actually touching disk instead of also encapsulating
the
readAsBytescall from the wrappedAssetReader.
- Fix a deadlock issue around the file descriptor pool, only take control of a
resource right before actually touching disk instead of also encapsulating
the
-
0.0.1+202 Nov 2017 -
0.0.1+318 Jan 2018