Skip to content

Commit

Permalink
chore: release 0.8.2 (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
gagbo authored Oct 20, 2023
1 parent 02f531d commit 239584e
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 239584e

Please sign in to comment.