Skip to content

Commit 239584e

Browse files
authored
chore: release 0.8.2 (#74)
1 parent 02f531d commit 239584e

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

CHANGELOG.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Go module
77
versioning](https://go.dev/doc/modules/version-numbers).
88

9-
## [Unreleased](https://github.com/autometrics-dev/autometrics-go/compare/v0.8.1...main)
9+
## [Unreleased](https://github.com/autometrics-dev/autometrics-go/compare/v0.8.2...main)
1010

1111
### Added
1212

13-
- [All] `autometrics` the go-generator binary accepts an `--instrument-all` flag, to process all
14-
functions in the file even if they do not have any annotation
15-
- [All] `autometrics` the go-generator binary accepts a `--rm-all` flag (that overrides the `--instrument-all` flag)
16-
to remove autometrics from all annotated functions. This is useful to offboard autometrics after trying it:
17-
```bash
18-
AM_RM_ALL=true go generate ./... # Will remove all godoc and instrumentation calls
19-
sed -i '/\/\/.*autometrics/d' **/*.go # A similar sed command will remove all comments containing 'autometrics'
20-
# A go linter/formatter of your choice can then clean up all unused imports to remove the automatically added ones.
21-
```
22-
2313
### Changed
2414

2515
### Deprecated
@@ -30,6 +20,20 @@ versioning](https://go.dev/doc/modules/version-numbers).
3020

3121
### Security
3222

23+
## [0.8.2](https://github.com/autometrics-dev/autometrics-go/releases/tag/v0.8.2) 2023-10-20
24+
25+
### Added
26+
27+
- [All] `autometrics` the go-generator binary accepts an `--instrument-all` flag, to process all
28+
functions in the file even if they do not have any annotation
29+
- [All] `autometrics` the go-generator binary accepts a `--rm-all` flag (that overrides the `--instrument-all` flag)
30+
to remove autometrics from all annotated functions. This is useful to offboard autometrics after trying it:
31+
```bash
32+
AM_RM_ALL=true go generate ./... # Will remove all godoc and instrumentation calls
33+
sed -i '/\/\/.*autometrics/d' **/*.go # A similar sed command will remove all comments containing 'autometrics'
34+
# A go linter/formatter of your choice can then clean up all unused imports to remove the automatically added ones.
35+
```
36+
3337
## [0.8.1](https://github.com/autometrics-dev/autometrics-go/releases/tag/v0.8.1) 2023-10-13
3438

3539
### Changed

0 commit comments

Comments
 (0)