Skip to content

Commit 87c9e8a

Browse files
committed
Raise minimum Go to v1.23
1 parent 03f1089 commit 87c9e8a

File tree

19 files changed

+23
-51
lines changed

19 files changed

+23
-51
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": ["local>pangeacyber/.github:renovate-config"],
4-
"ignorePaths": ["**/pangea-sdk/v2/**"]
4+
"ignorePaths": []
55
}

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ jobs:
3434
- name: Setup Go
3535
uses: actions/[email protected]
3636
with:
37-
go-version: "1.22"
37+
go-version: "1.23"
3838
cache-dependency-path: "**/*.sum"
3939

4040
test-unit:
4141
needs: [prefetch]
4242
runs-on: ubuntu-latest
4343
strategy:
4444
matrix:
45-
go-version: ["1.22", "1.23"]
45+
go-version: ["1.23", "1.24"]
4646
defaults:
4747
run:
4848
working-directory: ./pangea-sdk
@@ -86,7 +86,7 @@ jobs:
8686
- name: Setup Go
8787
uses: actions/[email protected]
8888
with:
89-
go-version: "1.22"
89+
go-version: "1.23"
9090
cache-dependency-path: ./examples/${{ matrix.example }}/go.sum
9191

9292
# TODO: reorganize each individual example into their own directory to

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default:
2-
image: golang:1.22-bullseye@sha256:c89d51959c480f13e7830a33fa0174480227c8a027d0e18066e79a03cde174c4
2+
image: golang:1.23-bullseye@sha256:8731dcb40a7b879ccb493fa4fa38e83d9f33ca24ab60bec02e98d5af7e962cac
33
tags:
44
- pangea-internal
55

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Redact: `Unredact()` method on service interface.
1313
- Redact: `FPEContext` on `RedactResult` and `StructuredResult`.
1414

15+
### Changed
16+
17+
- Minimum supported Go version is now v1.23
18+
1519
### Removed
1620

1721
- AI Guard: `LlmInfo` and `LlmInput`.

examples/.examples-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ go-sdk-examples:
33
retry: 2
44
parallel:
55
matrix:
6-
- GO_VERSION: ["1.22", "1.23"]
6+
- GO_VERSION: ["1.23", "1.24"]
77
EXAMPLE_FOLDER:
88
- audit
99
- authn

examples/audit/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module examples/audit
22

3-
go 1.22
3+
go 1.23
44

55
require github.com/pangeacyber/pangea-go/pangea-sdk/v4 v4.4.0
66

examples/authn/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module examples/authn
22

3-
go 1.22
3+
go 1.23
44

55
require github.com/pangeacyber/pangea-go/pangea-sdk/v4 v4.4.0
66

examples/authz/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module examples/authz
22

3-
go 1.22
3+
go 1.23
44

55
require github.com/pangeacyber/pangea-go/pangea-sdk/v4 v4.4.0
66

examples/embargo/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module examples/embargo
22

3-
go 1.22
3+
go 1.23
44

55
require github.com/pangeacyber/pangea-go/pangea-sdk/v4 v4.4.0
66

examples/file_scan/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module examples/file_scan
22

3-
go 1.22
3+
go 1.23
44

55
require github.com/pangeacyber/pangea-go/pangea-sdk/v4 v4.4.0
66

examples/intel/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module examples/intel
22

3-
go 1.22
3+
go 1.23
44

55
require github.com/pangeacyber/pangea-go/pangea-sdk/v4 v4.4.0
66

examples/redact/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module examples/redact
22

3-
go 1.22
3+
go 1.23
44

55
require github.com/pangeacyber/pangea-go/pangea-sdk/v4 v4.4.0
66

examples/sanitize/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module examples/sanitize
22

3-
go 1.22
3+
go 1.23
44

55
require github.com/pangeacyber/pangea-go/pangea-sdk/v4 v4.4.0
66

examples/share/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module examples/share
22

3-
go 1.22
3+
go 1.23
44

55
require (
66
github.com/pangeacyber/pangea-go/pangea-sdk/v4 v4.4.0

examples/vault/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module examples/vault
22

3-
go 1.22
3+
go 1.23
44

55
require github.com/pangeacyber/pangea-go/pangea-sdk/v4 v4.4.0
66

go.work

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
go 1.22
1+
go 1.23
22

33
use (
44
./examples/audit

go.work.sum

-32
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,3 @@
1-
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2-
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
3-
github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ=
4-
github.com/hashicorp/go-retryablehttp v0.7.5/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8=
5-
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
6-
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
7-
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
8-
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
9-
github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss=
10-
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
111
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
12-
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
13-
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
14-
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
152
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
16-
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
17-
golang.org/x/sync v0.9.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
18-
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
19-
golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
20-
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
21-
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
22-
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
23-
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
24-
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
25-
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
26-
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
27-
golang.org/x/term v0.26.0/go.mod h1:Si5m1o57C5nBNQo5z1iq+XDijt21BDBDp2bK0QI8e3E=
28-
golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM=
29-
golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek=
30-
golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s=
31-
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
32-
golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4=
33-
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
343
golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=
35-
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=

pangea-sdk/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# Pangea Go SDK
1111

12-
A Go SDK for integrating with Pangea services. Supports Go v1.22 and above.
12+
A Go SDK for integrating with Pangea services. Supports Go v1.23 and above.
1313

1414
## Installation
1515

pangea-sdk/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/pangeacyber/pangea-go/pangea-sdk/v4
22

3-
go 1.22
3+
go 1.23
44

55
require (
66
github.com/hashicorp/go-retryablehttp v0.7.7

0 commit comments

Comments
 (0)