Skip to content

v1.12.0 — unified hash() for directories and env maps

Choose a tag to compare

@github-actions github-actions released this 02 Jun 23:45
· 134 commits to main since this release

Merges hashDirectory and the env-fingerprint helper into a single overloaded hash().

Highlights

  • hash(directory) → synchronous string digest of a source tree (build/VCS dirs skipped).
  • hash(env) → a single non-secret Output<string> digest of an env map.
  • Building deploy triggers from hash(env) instead of spreading raw secret Outputs keeps secrets out of dynamic-resource state, avoiding the Pulumi #16041 serialization race — deploys are safe to (re)create at full parallelism, no --parallel 1.

Breaking

  • hashDirectory is renamed to hash (same directory behavior — pass a string path). Update import { hashDirectory }import { hash }.

Full Changelog: v1.11.0...v1.12.0