Skip to content

Releases

0.5.4 (2026-12-04)

Choose a tag to compare

@knope-bot knope-bot released this 04 Dec 12:36
47987a8

Fixes

  • Convergence preserves ordinary child pins when a retained package gains or loses a peer. Switching from a registry peer to an aliased local directory requires matching locked evidence. Local providers shadow inherited peers, and retained wrappers continue to expose unbound optional peers. Shared snapshots accept equivalent references and derive optionality from the final graph. When configuration is omitted, linked-peer identities use the encoding supported by the input locks.
  • Rebind peers supplied by renamed file dependencies during contextual merges, including directories with @ in their paths.
  • Reduce temporary allocations when inspect traverses workspace dependencies.
  • Exclude leftover build files when packing the npm wrapper and native binaries.
  • Reject conflicting registry routes for the same scope before fetching package metadata, regardless of declaration order.
  • Keep the original importer pin when peer resolution returns to its starting provider context during a contextual merge.

0.5.3 (2026-12-02)

Choose a tag to compare

@knope-bot knope-bot released this 02 Dec 16:09
f0d175c

Fixes

  • Guide agents through pnpm lockfile tasks with the project-local locksmith CLI and publish the matching command examples on crates.io and npm.

0.5.2 (2026-12-02)

Choose a tag to compare

@knope-bot knope-bot released this 02 Dec 12:56
0cbf5da

Features

  • Accept str::parse for DocumentKind and MergeTarget in the Rust API.

Fixes

  • Read lockfiles whose YAML document start markers share a line with the environment or project mapping.
  • Report malformed package metadata at its own key when validating a lockfile that also contains a package with the same base locator.
  • Speed up repair in workspaces where many projects inherit peer dependencies from the root.
  • Return the same exit status for text and JSON output from locksmith validate --workspace when the lockfile settings disagree with the workspace.
  • Read and repair lockfiles with an explicit %YAML 1.2 version directive, including two-document locks. Lockfiles that declare document-local tag handles with %TAG remain unsupported.

0.5.1 (2026-12-02)

Choose a tag to compare

@knope-bot knope-bot released this 02 Dec 01:13
8b2fe9f

Features

  • Run supported pnpmfile hooks in an embedded JavaScript runtime when the CLI reads a workspace or Git revision, including TypeScript helpers with erasable types when Node.js on PATH provides module.stripTypeScriptTypes.
  • Add --context FILE to repair (and RepairInput::apply_effective / Node effectiveManifests) to supply effective manifests after pnpmfile hooks, with an explicit rootless mode for workspaces without a root manifest. Node callers can also mark registry manifests processed by the target workspace with effectiveRegistryManifests.
  • Add a global --workspace-root <DIR> flag so validate --workspace, repair, and converge support cross-directory workspace layouts (such as Rush subspaces without a sibling root package.json) while keeping parent-directory traversal bounded to the declared root.

Fixes

  • Keep Git merge conflicts in driver run when an active pnpmfile could account for a dependency declaration not supported by any source lockfile.
  • Preserve an explicitly recorded registry tarball URL when merging peer instances of the same release with matching integrity.
  • Check the pnpmfile checksum recorded in each source lock before reusing its package graph in a contextual merge or repair. Carry the verified checksum into the merged lock.
  • Preserve locked versions for unchanged npm: alias declarations using release tags such as latest in repair.
  • Repair missing peer snapshots offline when an existing instance witnesses the same artifact and the workspace determines the exact peer bindings.
  • Reuse published package records across unrelated edits in Git-based repair and lockfile merges when the same local CommonJS hook derives dependency changes solely from each package manifest.
  • Match catalog tarballs by their declared URL and package version during validation, repair, and merge. Accept normalized URLs and redirected HTTP(S) downloads with recorded integrity.

0.5.0 (2026-11-29)

Choose a tag to compare

@knope-bot knope-bot released this 29 Nov 12:00
6ecc492

Breaking Changes

Add canonical lockfile formatting and orphan checks

Use --canonical to format or validate pnpm 9–12 lockfiles while preserving override order. Use --no-orphans to prune unreachable snapshots and packages in converge and repair, or report them in validate. Node.js callers can use the corresponding canonical and noOrphans options.

Rust callers must now pass ValidateOptions to Lockfile::validate and Lockfile::validate_workspace, and FormatOptions to Lockfile::to_yaml. Pass Default::default() to keep the previous defaults. Set no_orphans: false in RepairContext struct literals to preserve orphan handling. The Node.js LockfileError type no longer includes the UNMET_PEERS variant.

0.4.0 (2026-11-28)

Choose a tag to compare

@knope-bot knope-bot released this 28 Nov 14:36
7ebd8a6

Breaking Changes

  • Move the Git merge driver to driver run (existing clones must update merge.locksmith.driver), add driver setup, completions, man, -o/--write/--diff/--check, validate --json, and global -C/--color/-q/-v options with improved diagnostics.

0.3.11 (2026-11-28)

Choose a tag to compare

@knope-bot knope-bot released this 28 Nov 09:39
35cbaf2

Fixes

  • Organize core modules into a layered DAG and add architecture diagrams.

0.3.10 (2026-11-28)

Choose a tag to compare

@knope-bot knope-bot released this 28 Nov 03:25
23deb0d

Features

  • Replace converge_with_patches and converge_with_recorded_baselines with converge and ConvergeOptions::patches or ConvergeOptions::recorded_baselines, respectively. Rename PeerVersionMatching::ReleaseCompatible to Pnpm10, add #[non_exhaustive], #[must_use], Display, and standard Rust traits, and declare the default export and CLI_FAILED error variant in npm/index.d.ts.

Fixes

  • Fix YAML scalar/float quoting, verifier non-finite float matching, peer diagnostics, reconcile/repair/CLI/npm edge cases, and optimize YAML emission and registry packument fetching.

0.3.9 (2026-11-27)

Choose a tag to compare

@knope-bot knope-bot released this 27 Nov 09:44
c2899b3

Fixes

  • Select compatible recorded settings in contextual merges and report a mismatch when no source reflects the final pnpm workspace.
  • Allow merge --context to omit patches when the workspace has no configured patches.
  • Reject pnpm 12 lockfiles whose recorded resolution settings or integrity target disagree with the workspace in validate --workspace.
  • Read the pnpm 9 peer suffix limit from .npmrc and accept inline comments on peers-suffix-max-length.
  • Check pnpmfileChecksum in Rust workspace validation when the caller supplies effective manifests.
  • Accept comments after whitespace on YAML document markers in two-document pnpm lockfiles.

0.3.8 (2026-11-26)

Choose a tag to compare

@knope-bot knope-bot released this 27 Nov 00:40
0a89952

Fixes

  • Keep the final workspace’s configuration dependencies and package-manager pin when merging or converging bootstrap locks. The Git driver, CLI, and Node API interpret the final settings with the pnpm version from the selected bootstrap graph when the manifest leaves a range or omits the version. Repair checks each parent using its recorded pnpm version when recovering missing records. Repair and workspace validation honor devEngines.packageManager, packageManager, and pmOnFail, including when a frozen install requires a bootstrap pin.
  • Resolve linked workspace members and manifests against the selected Git revision, including relative targets containing . and ... On Git 2.38 and later, blobless clones with one promisor remote fetch the selected missing manifests in a single batch. Convergence checks working directory links against the installed lockfile. A conflict in a linked manifest keeps the lockfile unmerged, including when its target filename contains non-UTF-8 bytes.
  • Ignore unrelated non-UTF-8 filenames when discovering Git workspace members and dependency conflicts.
  • Read peer provider manifests inside the workspace even when their directories are not workspace members.
  • Report invalid lockfile setting types and compare quoted booleans under the selected pnpm version.
  • Resolve the installed npm README’s links to type declarations and repository documentation.
  • Validate the patch hash selected for each locked package version.
  • Use the same default pnpm version policy for the Node inspect and inspectPeers APIs.
  • Converge minor and patch pnpm upgrades using the final resolver configuration.
  • Batch independent missing workspace and transitive dependency versions during contextual merges with registry access. Reuse a compatible dependency or alias before requesting an auto-installed peer.
  • Preserve unreachable package extension records during repair.