diff --git a/CHANGELOG.md b/CHANGELOG.md index 700428a..730dc20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,20 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Go module versioning](https://go.dev/doc/modules/version-numbers). -## [Unreleased](https://github.com/autometrics-dev/autometrics-go/compare/v0.8.1...main) +## [Unreleased](https://github.com/autometrics-dev/autometrics-go/compare/v0.8.2...main) ### Added -- [All] `autometrics` the go-generator binary accepts an `--instrument-all` flag, to process all - functions in the file even if they do not have any annotation -- [All] `autometrics` the go-generator binary accepts a `--rm-all` flag (that overrides the `--instrument-all` flag) - to remove autometrics from all annotated functions. This is useful to offboard autometrics after trying it: - ```bash - AM_RM_ALL=true go generate ./... # Will remove all godoc and instrumentation calls - sed -i '/\/\/.*autometrics/d' **/*.go # A similar sed command will remove all comments containing 'autometrics' - # A go linter/formatter of your choice can then clean up all unused imports to remove the automatically added ones. - ``` - ### Changed ### Deprecated @@ -30,6 +20,20 @@ versioning](https://go.dev/doc/modules/version-numbers). ### Security +## [0.8.2](https://github.com/autometrics-dev/autometrics-go/releases/tag/v0.8.2) 2023-10-20 + +### Added + +- [All] `autometrics` the go-generator binary accepts an `--instrument-all` flag, to process all + functions in the file even if they do not have any annotation +- [All] `autometrics` the go-generator binary accepts a `--rm-all` flag (that overrides the `--instrument-all` flag) + to remove autometrics from all annotated functions. This is useful to offboard autometrics after trying it: + ```bash + AM_RM_ALL=true go generate ./... # Will remove all godoc and instrumentation calls + sed -i '/\/\/.*autometrics/d' **/*.go # A similar sed command will remove all comments containing 'autometrics' + # A go linter/formatter of your choice can then clean up all unused imports to remove the automatically added ones. + ``` + ## [0.8.1](https://github.com/autometrics-dev/autometrics-go/releases/tag/v0.8.1) 2023-10-13 ### Changed