Debian Codegraph @

CHANGELOG.md

raw
1 # Changelog
2
3 ## 0.8.0 - 2026-08-28
4
5 Adds a new -source_editing flag to the `antithesis-go-instrumentor` tool that
6 is designed to maintain compiler directives such as `//go:emed` with higher
7 fidelity to the original source.
8
9 Significant performance improvements for
10 assertions.
11
12 Clean up some inconsistencies between the initialization messages emitted by
13 the Go SDK vs. others.
14
15 Upgrade to instrumentation ABI v2 -- Go now supports coverage leases.
16
17 When used in local debug mode, the output file (`ANTITHESIS_SDK_LOCAL_OUTPUT`)
18 will no longer be truncated at initialization.
19
20 `assert.AssertRaw` takes a `column` parameter after `line`, like the raw assertion entry points of the other SDKs. The high-level assertion functions and the instrumentor's generated registrations still record column 0.
21
22 ## 0.7.2 - 2026-05-13
23
24 Fix `PathFromBaseDirectory` mispathing multi-level submodules. Its
25 `filepath.Match` pattern was `baseDir/*`, which does not cross path
26 separators — so any customer submodule nested two or more levels deep
27 had its modified `go.mod` written to `customer/<input-abspath>/...`
28 instead of `customer/<rel-path>/...`. Now uses `filepath.Rel`. Affected
29 any non-trivial Go monorepo (etcd, k8s, etc.) since the instrumented
30 output of deep submodules was non-functional. (ENG-3940)
31
32 ## 0.7.1 - 2026-05-13
33
34 Fix the instrumentor leaking the host's Go version into the notifier
35 module's `go.mod`, which caused `go mod tidy` to bump every customer
36 module's `go` directive (and drop `toolchain`) just because it now
37 required the notifier. The notifier's `go` directive is now pinned to
38 the minimum across the customer modules the instrumentor touches, and
39 `toolchain` is omitted.
40
41 ## 0.7.0 - 2026-03-20
42
43 Fix assertion cataloging for Go modules that produce multiple binaries.
44
45 ## 0.6.0 - 2026-02-12
46
47 Implementing a `rand.Source` for the Antithesis platform's randomness to integrate with `rand.Rand`.
48
49 ## 0.5.0 - 2025-08-28
50
51 Support for `error` values passed into assertion `details` fields.
52
53 ## 0.4.4 - 2025-07-03
54
55 Fix assertion scanning so it actually runs in `-assert_only` mode.
56
57 ## 0.4.3 - 2024-12-16
58
59 Fix file tree copying in the instrumentor.
60
61 Improve default behavior for instrumentation package version selection.
62
63 Instrument all `.go` files by default.
64
65 ## 0.4.2 - 2024-10-30
66
67 Cleanup and bug fixes related to the notifier module.
68
69 ## 0.4.1 - 2024-09-20
70
71 Add the notifier module to all submodules that are instrumented.
72
73 ## 0.4.0 - 2024-07-10
74
75 Adding guidance-based assertions. These are both assertions and guidance for the fuzzer to explore your program more effectively.
76
77 Improvements to `RandomChoice`
78
79 Updated `cp` command to support alpine and other distros.
80
81 ## 0.3.8 - 2024-05-17
82
83 Preventing an internal race condition.
84
85 Improvements to default message.
86
87 ## 0.3.7 - 2024-05-17
88
89 Supporting a default message in assertions if none is provided.
90
91 ## 0.3.6 - 2024-05-08
92
93 Improvements to assertion cataloging and to documentation.
94
95 ## 0.3.5 - 2024-05-02
96
97 Fixing a bug where instrumentor `cp` didn't work on MacOS.