PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 21
  1. 1.2.2 16 Jun 2026
    Release notes
    • Fix changedFilesInBuild not showing newly added files.
    Open source →
  2. 1.2.1 18 May 2026
    Release notes
    • Move source to https://github.com/dart-lang/build/blob/master/builder_pkgs/scratch_space.
    • Add ScratchSpace.existing to create a scratch space from a pre-existing directory.
    Open source →
  3. 1.2.0 04 Nov 2025
    Release notes
    • Adding changedFilesInBuild, which contains all modified files encountered since the last ensureAssets call, and dispose.
    Open source →
  4. 1.1.1 02 Sep 2025
    Release notes
    • Allow build 4.0.0.
    Open source →
  5. 1.1.0 25 Jun 2025
    Release notes
    • Bump the min sdk to 3.7.0.
    • Use build_test 3.0.0.
    • Allow build 3.0.0.
    Open source →
  6. 1.0.2 12 May 2023
    Release notes
    • Added package topics to the pubspec file.
    • Require Dart >=2.18.0.
    Open source →
  7. 1.0.1 01 Oct 2021
    Release notes
    • Drop package:pedantic dependency and replace it with package:lints.
    Open source →
  8. 1.0.0 12 Mar 2021
    Release notes
    • Migrate to null-safety
    • Update to build 2.x.
    Open source →
  9. 0.0.4 30 Jul 2019
    Release notes
    • Add requireContent argument to copyOutput to allow asserting that a file produced in a scratch space is not empty.
    Open source →
  10. 0.0.4+1 08 Oct 2019
    Release notes
    • Fix ScratchSpace.fileFor on windows to normalize the paths so they dont contain mixed separators.
    Open source →
  11. 0.0.4+2 06 Jan 2020
    Release notes
    • Fix a race condition bug where ensureAssets would complete before all pending writes were completed. If the next build was scheduled before these writes finished then they would get the old result.
    Open source →
  12. 0.0.4+3 07 Jan 2021
    Release notes
    • Change returns from Future<dynamic> to Future<void>.
    • Increase min sdk constraint to >=2.7.0.
    • Allow the null safe pre-releases of all migrated deps.
    Open source →
  13. 0.0.3 22 Jun 2018
    Release notes
    • Use digests to improve ensureAssets performance.
      • Scratch spaces can now be used across builds without cleaning them up, and will check digests and update assets as needed.
    Open source →
  14. 0.0.3+1 16 Jul 2018
    Release notes
    • Increased the upper bound for the sdk to <3.0.0.
    Open source →
  15. 0.0.3+2 25 Sep 2018
    Release notes
    • Declare support for package:build version 1.x.x.
    Open source →
  16. 0.0.2 19 Mar 2018
    Release notes
    • Allow creating files at the root of the scratch space.
    Open source →
  17. 0.0.2+1 21 Apr 2018
    Release notes
    • Fix a bug where failing to read an asset in serve mode could get the build stuck.
    Open source →
  18. 0.0.1 21 Sep 2017
    Release notes
    • Initial release, adds the ScratchSpace class.
    Open source →
  19. 0.0.1+1 04 Oct 2017
    Release notes
    • 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 readAsBytes call from the wrapped AssetReader.
    Open source →
  20. 0.0.1+2 02 Nov 2017
    Release notes
    • Allow package:build 0.11.0
    Open source →
  21. 0.0.1+3 18 Jan 2018
    Release notes
    • Allow package:build 0.12.0
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive