Skip to content

Commit 4bb1360

Browse files
committed
Prep for release
1 parent 118b577 commit 4bb1360

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Golang Module Release Notes
22

3-
## 1.12.2 2023-06-26
3+
## 1.13.0 2023-07-06
44

5-
* Added `ExtendContentTypes` config option to send request body of any content-type to agent for inspection
5+
* Added new module configuration option for more granular inspection
66

77
## 1.12.1 2023-02-24
88

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The MIT License (MIT)
44

5-
Copyright (c) 2019-2022 Signal Sciences Corp.
5+
Copyright (c) 2019-2023 Signal Sciences Corp.
66

77
Permission is hereby granted, free of charge, to any person obtaining a copy
88
of this software and associated documentation files (the "Software"), to deal

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.12.2
1+
1.13.0

module.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,10 @@ func shouldReadBody(req *http.Request, m *Module) bool {
375375
}
376376
}
377377

378+
if m.config.extendContentTypes {
379+
return true
380+
}
381+
378382
// only read certain types of content
379383
if inspectableContentType(req.Header.Get("Content-Type")) {
380384
return true
@@ -385,10 +389,6 @@ func shouldReadBody(req *http.Request, m *Module) bool {
385389
return true
386390
}
387391

388-
if m.config.extendContentTypes {
389-
return true
390-
}
391-
392392
// read the body if there are multiple Content-Type headers
393393
if len(req.Header.Values("Content-Type")) > 1 {
394394
return true

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package sigsci
22

3-
const version = "1.12.2"
3+
const version = "1.13.0"

0 commit comments

Comments
 (0)