Skip to content

v1.3.0

Latest

Choose a tag to compare

@AndyGerlicher AndyGerlicher released this 04 Dec 19:43
9763859

Breaking change

ProjectPredictionReporter is renamed to ProjectPredictionContext (#159). Custom predictors need to change the parameter type of PredictInputsAndOutputs; nothing else changes. The context also exposes FileSystem: predictors should use it instead of System.IO so hosts that pass ProjectPredictionOptions.FileSystem can observe or virtualize every file access.

Highlights

  • Predictors can access the file system through a host-provided MSBuildFileSystemBase (ProjectPredictionOptions.FileSystem), including Exists() checks in conditions that predictors evaluate (#159, #160).
  • Faster predictions on large graphs: shared imports reported once per node (#153), target hooks expanded once per project in CopyTaskPredictor (#158), and the most expensive projects start first (#161).

What's Changed

New Contributors

Full Changelog: v1.2.48...v1.3.0