Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 2.27 KB

CHANGELOG.md

File metadata and controls

72 lines (52 loc) · 2.27 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.4.0 - 2024-04-03

Added

  • (#150) --skip-generated flag to skip running on files containing generated code.

0.3.0 - 2023-07-14

Added

  • (#112) --skip-import-processing flag to skip import processing.

0.2.0 - 2023-04-03

Added

  • (#64) --diff flag reports a diff of the changes that would be made, but does not make them.
  • (#70) --print-only prints the modified contents of all matched files to stdout in their entirety without modifying files on disk.
  • (#77) -P/--patches-file reads a list of patch files from another file on-disk.

0.1.1 - 2022-07-26

Fixed

  • (#54) Preserve top-level comments in files when updating imports.
  • Parse generics syntax introduced in Go 1.18.

Thanks to @breml for their contribution to this release.

0.1.0 - 2021-08-19

Starting this release, we will include pre-built binaries of gopatch for different systems.

Added

Changed

  • Only the --version flag now prints the version number. The -v is used for verbose logging instead.

Fixed

  • (#2): Patches with named imports now support matching and manipulating any import.
  • Fix issue where rewrites of unnamed imports would end up with duplicate entries.

0.0.2 - 2020-11-04

Fixed

  • Fixed unintended deletion of unchanged named imports.

0.0.1 - 2020-01-14

  • Initial alpha release.