Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Golang Module Release Notes

## 1.14.1 2025-03-17
* Run `scripts/build.sh` in a Docker image (in `make build`) so that it works on MacOS.

## 1.14.0 2024-11-18

* Allow the agent to edit application response headers
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
build: ## build and lint locally
./scripts/build.sh
docker run --rm -v "$(CURDIR):/temp" -w /temp golang:1.23 ./scripts/build.sh

# clean up each time to make sure nothing is cached between runs
#
Expand Down
2 changes: 2 additions & 0 deletions responsewriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ func (w *responseRecorder) WriteHeader(status int) {
w.base.WriteHeader(status)
}

// Merge in our header modifications using the appropriate functions in
// the Header type in net/http
func (w *responseRecorder) mergeHeader() {
hdr := w.base.Header()
for _, a := range w.actions {
Expand Down