File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,24 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ## Unreleased
8+ ## v0.2.0 - 2023-11-30
9+
10+ This release contains minor improvements to the errtrace code transformer
11+ allowing it to fit more use cases.
12+
913### Added
10- - cmd/errtrace: Add -l flag to print files that would be changed
11- without changing them.
12- - cmd/errtrace: Support opt-out for specific lines
13- with a ` //errtrace:skip ` comment.
14+ - cmd/errtrace:
15+ Add -l flag to print files that would be changed without changing them.
16+ You can use this to build a check to verify that your code is instrumented.
17+ - cmd/errtrace: Support opt-out on lines with a ` //errtrace:skip ` comment.
18+ Optionally, a reason may be specified alongside the comment.
19+ The command will print a warning for any unused ` //errtrace:skip ` comments.
20+
21+ ``` go
22+ if err != nil {
23+ return io.EOF // errtrace:skip(io.Reader expects io.EOF)
24+ }
25+ ```
1426
1527## v0.1.1 - 2023-11-28
1628### Changed
You can’t perform that action at this time.
0 commit comments