Skip to content

Commit dc7deb1

Browse files
authored
DXE-2321 Merge pull request #184 from akamai/release/v5.0.0
DXE-2321 Release/v5.0.0
2 parents 11cc46d + 95e7787 commit dc7deb1

File tree

203 files changed

+1339
-1697
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+1339
-1697
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- v1
99
- v2
1010
- v3
11+
- v4
1112
- master
1213
jobs:
1314
test:

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# EDGEGRID GOLANG RELEASE NOTES
22

3+
## 5.0.0 (March 28, 2023)
4+
5+
### FEATURES/ENHANCEMENTS:
6+
7+
* APPSEC
8+
* Add `AdvancedSettingsRequestBody` interface to support configuring request size inspection limit
9+
10+
* EDGEKV
11+
* [ListGroupsWithinNamespace](https://techdocs.akamai.com/edgekv/reference/get-groups)
12+
13+
* Image and Video Manager
14+
* Add possible value `avif` for `forcedFormats` and `allowedFormats`
15+
16+
* PAPI
17+
* Add `complianceRecord` field to `Activation` struct for PAPI activation
18+
19+
#### BREAKING CHANGES:
20+
21+
* APPSEC
22+
* Remove deprecated `EvalHost` and `EvalProtectHost` interfaces. (Use the `WAPSelectedHostnames` interface instead.)
23+
* Remove deprecated `BypassNetworkList` interface. (Use the `WAPBypassNetworkList` interface instead.)
24+
325
## 4.1.0 (Feb 27, 2023)
426

527
### FEATURES/ENHANCEMENTS:

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# Akamai OPEN EdgeGrid for GoLang v4
1+
# Akamai OPEN EdgeGrid for GoLang v5
22

33
![Build Status](https://github.com/akamai/akamaiOPEN-edgegrid-golang/actions/workflows/checks.yml/badge.svg)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/akamai/akamaiOPEN-edgegrid-golang/v4)](https://goreportcard.com/report/github.com/akamai/akamaiOPEN-edgegrid-golang/v4)
4+
[![Go Report Card](https://goreportcard.com/badge/github.com/akamai/akamaiOPEN-edgegrid-golang/v5)](https://goreportcard.com/report/github.com/akamai/akamaiOPEN-edgegrid-golang/v5)
55
![GitHub release (latest by date)](https://img.shields.io/github/v/release/akamai/akamaiOPEN-edgegrid-golang)
66
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
7-
[![GoDoc](https://pkg.go.dev/badge/github.com/akamai/akamaiOPEN-edgegrid-golang?utm_source=godoc)](https://pkg.go.dev/github.com/akamai/AkamaiOPEN-edgegrid-golang/v4)
7+
[![GoDoc](https://pkg.go.dev/badge/github.com/akamai/akamaiOPEN-edgegrid-golang?utm_source=godoc)](https://pkg.go.dev/github.com/akamai/AkamaiOPEN-edgegrid-golang/v5)
88

99
This module is presently in active development and provides Akamai REST API support for the Akamai Terraform Provider.
1010

1111
## Backward Compatibility
1212

1313
This module is not backward compatible with the version `v1`.
1414

15-
Originally branch `master` was representing version `v1`. Now it is representing the latest version `v4` and
15+
Originally branch `master` was representing version `v1`. Now it is representing the latest version `v5` and
1616
version `v1`
1717
was moved to dedicated `v1` branch.
1818

@@ -23,6 +23,6 @@ The packages of library can be imported alongside the `v1` library versions with
2323
```
2424
import (
2525
"github.com/akamai/AkamaiOPEN-edgegrid-golang/papi-v1"
26-
papiv4 "github.com/akamai/AkamaiOPEN-edgegrid-golang/v4/pkg/papi"
26+
papiv5 "github.com/akamai/AkamaiOPEN-edgegrid-golang/v5/pkg/papi"
2727
)
2828
```

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/akamai/AkamaiOPEN-edgegrid-golang/v4
1+
module github.com/akamai/AkamaiOPEN-edgegrid-golang/v5
22

33
go 1.18
44

@@ -10,10 +10,12 @@ require (
1010
github.com/spf13/cast v1.3.1
1111
github.com/stretchr/testify v1.6.1
1212
github.com/tj/assert v0.0.3
13+
go.uber.org/ratelimit v0.2.0
1314
gopkg.in/ini.v1 v1.51.1
1415
)
1516

1617
require (
18+
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 // indirect
1719
github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496 // indirect
1820
github.com/davecgh/go-spew v1.1.1 // indirect
1921
github.com/kr/text v0.2.0 // indirect

go.sum

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 h1:MzBOUgng9orim59UnfUTLRjMpd09C5uEVQ6RPGeCaVI=
2+
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129/go.mod h1:rFgpPQZYZ8vdbc+48xibu8ALc3yeyd64IhHS+PU6Yyg=
13
github.com/apex/log v1.9.0 h1:FHtw/xuaM8AgmvDDTI9fiwoAL25Sq2cxojnZICUU8l0=
24
github.com/apex/log v1.9.0/go.mod h1:m82fZlWIuiWzWP04XCTXmnX0xRkYYbCdYn8jbJeLBEA=
35
github.com/apex/logs v1.0.0/go.mod h1:XzxuLZ5myVHDy9SAmYpamKKRNApGj54PfYLcFrXqDwo=
@@ -74,6 +76,10 @@ github.com/tj/go-buffer v1.1.0/go.mod h1:iyiJpfFcR2B9sXu7KvjbT9fpM4mOelRSDTbntVj
7476
github.com/tj/go-elastic v0.0.0-20171221160941-36157cbbebc2/go.mod h1:WjeM0Oo1eNAjXGDx2yma7uG2XoyRZTq1uv3M/o7imD0=
7577
github.com/tj/go-kinesis v0.0.0-20171128231115-08b17f58cb1b/go.mod h1:/yhzCV0xPfx6jb1bBgRFjl5lytqVqZXEaeqWP8lTEao=
7678
github.com/tj/go-spin v1.1.0/go.mod h1:Mg1mzmePZm4dva8Qz60H2lHwmJ2loum4VIrLgVnKwh4=
79+
go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
80+
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
81+
go.uber.org/ratelimit v0.2.0 h1:UQE2Bgi7p2B85uP5dC2bbRtig0C+OeNRnNEafLjsLPA=
82+
go.uber.org/ratelimit v0.2.0/go.mod h1:YYBV4e4naJvhpitQrWJu1vCpgB7CboMe0qhltKt6mUg=
7783
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
7884
golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
7985
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=

pkg/appsec/activations_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http/httptest"
99
"testing"
1010

11-
"github.com/akamai/AkamaiOPEN-edgegrid-golang/v4/pkg/session"
11+
"github.com/akamai/AkamaiOPEN-edgegrid-golang/v5/pkg/session"
1212
"github.com/stretchr/testify/assert"
1313
"github.com/stretchr/testify/require"
1414
)

pkg/appsec/advanced_settings_attack_payload_logging.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"fmt"
77
"net/http"
88

9-
"github.com/akamai/AkamaiOPEN-edgegrid-golang/v4/pkg/edgegriderr"
9+
"github.com/akamai/AkamaiOPEN-edgegrid-golang/v5/pkg/edgegriderr"
1010
validation "github.com/go-ozzo/ozzo-validation/v4"
1111
)
1212

pkg/appsec/advanced_settings_attack_payload_logging_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http/httptest"
99
"testing"
1010

11-
"github.com/akamai/AkamaiOPEN-edgegrid-golang/v4/pkg/session"
11+
"github.com/akamai/AkamaiOPEN-edgegrid-golang/v5/pkg/session"
1212
"github.com/stretchr/testify/assert"
1313
"github.com/stretchr/testify/require"
1414
)

pkg/appsec/advanced_settings_evasive_path_match_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http/httptest"
99
"testing"
1010

11-
"github.com/akamai/AkamaiOPEN-edgegrid-golang/v4/pkg/session"
11+
"github.com/akamai/AkamaiOPEN-edgegrid-golang/v5/pkg/session"
1212
"github.com/stretchr/testify/assert"
1313
"github.com/stretchr/testify/require"
1414
)

pkg/appsec/advanced_settings_logging_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http/httptest"
99
"testing"
1010

11-
"github.com/akamai/AkamaiOPEN-edgegrid-golang/v4/pkg/session"
11+
"github.com/akamai/AkamaiOPEN-edgegrid-golang/v5/pkg/session"
1212
"github.com/stretchr/testify/assert"
1313
"github.com/stretchr/testify/require"
1414
)

0 commit comments

Comments
 (0)