Skip to content

lockfile-affected-v2.0.0

Choose a tag to compare

@github-actions github-actions released this 31 Mar 06:32
· 33 commits to main since this release
Immutable release. Only release title and notes can be modified.

2.0.0 (2026-03-31)

  • feat!: use hierarchical lockfile snapshots for per-context detection (b92ce3f)

Features

  • yarn: migrate to Yarn Berry format, drop v1 support (93468ab)

BREAKING CHANGES

  • LockfileSnapshot type changed from Map<name, version>
    to Map<context, Map<name, version>> to preserve per-importer/package
    resolution. This enables detecting changes in specific workspace
    packages even when the same package exists elsewhere with a different
    version.
  • Core types updated with new LockfileSnapshot and LockfileDiff formats
  • Diff logic updated to compare per-context
  • Affected resolution updated for new diff format
  • Parsers updated: pnpm (YAML), bun (JSONC), npm (direct JSON)
  • npm parser now extracts per-workspace dependencies
  • Added E2E tests for all 4 package managers
  • Added per-importer detection test
  • pnpm parser now properly handles multiple importers