patchwork 0.2.0 copy "patchwork: ^0.2.0" to clipboard
patchwork: ^0.2.0 copied to clipboard

Patch management for Dart projects, starting with reviewable dependency patches for pub packages.

Changelog #

0.2.0 - 2026-06-17 #

  • Rebuilt Patchwork around a library-first programmable model with CLI commands as thin adapters.
  • Replaced patch sessions, baselines, stores, manifests, and target syntax with the v0.2 paths: .patchwork/<pkg>@<version>/, patches/<pkg>@<version>.patch, and .dart_tool/patchwork/<pkg>@<version>/.
  • Added patchwork commit [pkg] and removed patchwork patch --commit.
  • Added patchwork undo <pkg> for safe removal of lock-owned pubspec_overrides.yaml entries and generated applied directories.
  • Added patchwork patch <pkg> [--continue [version]] for explicit patch carry-forward across dependency upgrades.
  • Reworked patchwork.lock into a v2 lockfile with source sha256, patch.commit-sha256, and applied.patch-sha256 records.
  • Added patch history commit-sha256 records so --continue <version> can safely reuse older patch files after a dependency upgrade.
  • Removed obsolete historical patch files when an unchanged fresh edit proves the upgraded dependency source already contains the fix.
  • Added source records for hosted, custom hosted, path, and git dependencies.

0.1.1 - 2026-06-15 #

  • Added clearer dart pub get next-step guidance after successful patchwork apply.
  • Hardened project-visible writes for patchwork.lock, committed patch files, and pubspec_overrides.yaml.
  • Added CI release gates for dart pub publish --dry-run and an example smoke test from a clean archive copy.
  • Updated the package README to position Patchwork as reviewable Dart pub dependency patches without .pub-cache edits.
  • Rejected root packages as patch targets to avoid confusing self-patches.

0.1.0 - 2026-06-13 #

  • Added the pub package Patchwork MVP.
  • Added patch, patch --commit, apply, status, and doctor commands.
  • Added committed patchwork.lock metadata and patches/*.patch files.
  • Added generated pubspec_overrides.yaml support for applying patches through pub path overrides.
  • Added end-to-end fixtures for the patch workflow.
4
likes
0
points
673
downloads

Publisher

verified publishermedz.dev

Weekly Downloads

Patch management for Dart projects, starting with reviewable dependency patches for pub packages.

Repository (GitHub)
View/report issues

Topics

#cli #dependencies #patch #pub

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

crypto, path, yaml

More

Packages that depend on patchwork