Skip to content

Commit

Permalink
Upgrade go to 1.22 (#376)
Browse files Browse the repository at this point in the history
* upgrade go to 1.22

* update mod/work vendor command

* changelogs

* version bump
  • Loading branch information
patrickcping authored Sep 26, 2024
1 parent c836d65 commit fc1a14d
Show file tree
Hide file tree
Showing 49 changed files with 92 additions and 41 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Release (Unreleased)

* `github.com/patrickcping/pingone-go-sdk-v2` : v0.12.4
* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)
* `github.com/patrickcping/pingone-go-sdk-v2/agreementmanagement` : [v0.3.3](./agreementmanagement/CHANGELOG.md)
* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)
* `github.com/patrickcping/pingone-go-sdk-v2/authorize` : [v0.6.1](./authorize/CHANGELOG.md)
* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)
* `github.com/patrickcping/pingone-go-sdk-v2/credentials` : [v0.9.1](./credentials/CHANGELOG.md)
* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)
* `github.com/patrickcping/pingone-go-sdk-v2/management` : [v0.43.1](./management/CHANGELOG.md)
* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)
* `github.com/patrickcping/pingone-go-sdk-v2/mfa` : [v0.20.1](./mfa/CHANGELOG.md)
* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)
* `github.com/patrickcping/pingone-go-sdk-v2/risk` : [v0.16.1](./risk/CHANGELOG.md)
* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)
* `github.com/patrickcping/pingone-go-sdk-v2/verify` : [v0.7.1](./verify/CHANGELOG.md)
* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)

# Release (2024-07-22)

* `github.com/patrickcping/pingone-go-sdk-v2` : v0.12.3
Expand Down
4 changes: 2 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TEST?=$$(go list ./...)
OWNER=patrickcping
REPO=pingone-go-sdk-v2
VERSION=0.12.3
VERSION=0.12.4

default: build

Expand All @@ -11,7 +11,7 @@ tools:

build: fmtcheck
@go mod tidy
@go mod vendor
@go work vendor
@go build ./...
@./scripts/build-all.sh

Expand Down
2 changes: 1 addition & 1 deletion agreementmanagement/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.2
0.3.3
4 changes: 4 additions & 0 deletions agreementmanagement/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.3.3 (Unreleased)

* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)

# v0.3.2 (2024-06-07)

* **MODULE RETRACTION** The API endpoint in this module suffers major loss of function. The module has been retracted but is retained in the source repo for the purpose of retration. [#352](https://github.com/patrickcping/pingone-go-sdk-v2/pull/352)
Expand Down
2 changes: 1 addition & 1 deletion agreementmanagement/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/patrickcping/pingone-go-sdk-v2/agreementmanagement

go 1.21
go 1.22.7

retract (
v0.1.0 // Major loss of function
Expand Down
2 changes: 1 addition & 1 deletion authorize/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.0
0.6.1
4 changes: 4 additions & 0 deletions authorize/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.6.1 (Unreleased)

* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)

# v0.6.0 (2024-07-04)

* **Breaking change** `Links` objects changed from `LinksHATEOAS` object to `map[string]LinksHATEOASValue` type. [#366](https://github.com/patrickcping/pingone-go-sdk-v2/pull/366)
Expand Down
2 changes: 1 addition & 1 deletion authorize/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default: build

build: fmtcheck
@go mod tidy
@go mod vendor
@go work vendor
@go build ./...

test: fmtcheck
Expand Down
2 changes: 1 addition & 1 deletion authorize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Authorize service
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023-06-29
- Package version: 0.6.0
- Package version: 0.6.1
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
2 changes: 1 addition & 1 deletion authorize/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion authorize/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/patrickcping/pingone-go-sdk-v2/authorize

go 1.21
go 1.22.7
2 changes: 1 addition & 1 deletion credentials/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.0
0.9.1
4 changes: 4 additions & 0 deletions credentials/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.9.1 (Unreleased)

* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)

# v0.9.0 (2024-07-04)

* **Breaking change** `Links` objects changed from `LinksHATEOAS` object to `map[string]LinksHATEOASValue` type. [#366](https://github.com/patrickcping/pingone-go-sdk-v2/pull/366)
Expand Down
2 changes: 1 addition & 1 deletion credentials/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default: build

build: fmtcheck
@go mod tidy
@go mod vendor
@go work vendor
@go build ./...

test: fmtcheck
Expand Down
2 changes: 1 addition & 1 deletion credentials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Credentials service
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023-06-29
- Package version: 0.9.0
- Package version: 0.9.1
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
2 changes: 1 addition & 1 deletion credentials/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion credentials/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/patrickcping/pingone-go-sdk-v2/credentials

go 1.21
go 1.22.7
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/patrickcping/pingone-go-sdk-v2

go 1.21
go 1.22.7

require (
github.com/patrickcping/pingone-go-sdk-v2/authorize v0.6.0
Expand Down
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.21
go 1.22.7

use (
./
Expand Down
2 changes: 1 addition & 1 deletion management/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.43.0
0.43.1
4 changes: 4 additions & 0 deletions management/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.43.1 (Unreleased)

* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)

# v0.43.0 (2024-07-22)

* **Breaking change** API name change for Integration Catalog [#370](https://github.com/patrickcping/pingone-go-sdk-v2/pull/370)
Expand Down
2 changes: 1 addition & 1 deletion management/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default: build

build: fmtcheck
@go mod tidy
@go mod vendor
@go work vendor
@go build ./...

test: fmtcheck
Expand Down
2 changes: 1 addition & 1 deletion management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the base and SSO services (otherwise known as
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023-06-29
- Package version: 0.43.0
- Package version: 0.43.1
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
2 changes: 1 addition & 1 deletion management/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion management/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/patrickcping/pingone-go-sdk-v2/management

go 1.21
go 1.22.7
2 changes: 1 addition & 1 deletion mfa/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.20.0
0.20.1
4 changes: 4 additions & 0 deletions mfa/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.20.1 (Unreleased)

* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)

# v0.20.0 (2024-07-04)

* **Breaking change** `Links` objects changed from `LinksHATEOAS` object to `map[string]LinksHATEOASValue` type. [#366](https://github.com/patrickcping/pingone-go-sdk-v2/pull/366)
Expand Down
2 changes: 1 addition & 1 deletion mfa/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default: build

build: fmtcheck
@go mod tidy
@go mod vendor
@go work vendor
@go build ./...

test: fmtcheck
Expand Down
2 changes: 1 addition & 1 deletion mfa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne MFA service
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023-06-29
- Package version: 0.20.0
- Package version: 0.20.1
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
2 changes: 1 addition & 1 deletion mfa/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mfa/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/patrickcping/pingone-go-sdk-v2/mfa

go 1.21
go 1.22.7
4 changes: 4 additions & 0 deletions pingone-go.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"name": "module-verify",
"path": "verify"
},
{
"name": "tools",
"path": "tools"
},
],
"settings": {
"files.exclude": {
Expand Down
2 changes: 1 addition & 1 deletion pingone/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Client struct {
Region model.RegionMapping
}

var version = "0.12.3"
var version = "0.12.4"

func (c *Config) APIClient(ctx context.Context) (*Client, error) {

Expand Down
2 changes: 1 addition & 1 deletion risk/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.16.0
0.16.1
4 changes: 4 additions & 0 deletions risk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.16.1 (Unreleased)

* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)

# v0.16.0 (2024-07-04)

* **Breaking change** `Links` objects changed from `LinksHATEOAS` object to `map[string]LinksHATEOASValue` type. [#366](https://github.com/patrickcping/pingone-go-sdk-v2/pull/366)
Expand Down
2 changes: 1 addition & 1 deletion risk/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default: build

build: fmtcheck
@go mod tidy
@go mod vendor
@go work vendor
@go build ./...

test: fmtcheck
Expand Down
2 changes: 1 addition & 1 deletion risk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Risk service
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023-06-29
- Package version: 0.16.0
- Package version: 0.16.1
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
2 changes: 1 addition & 1 deletion risk/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion risk/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/patrickcping/pingone-go-sdk-v2/risk

go 1.21
go 1.22.7
2 changes: 1 addition & 1 deletion scripts/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ do
pushd $i
go mod download
go mod tidy
go mod vendor
go work vendor
make build
make depscheck
popd
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ else

go get -u ./...
go mod tidy
go mod vendor
go work vendor

else \
echo "pingone-$3.yml missing. Skipping"; \
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-replace-regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var (
{
fileSelectPattern: "go.mod",
pattern: `go 1.18`,
repl: `go 1.21`,
repl: `go 1.22.7`,
},

/////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/patrickcping/pingone-go-sdk-v2/tools

go 1.21
go 1.22.7

require (
github.com/golangci/golangci-lint v1.55.1
Expand Down
2 changes: 1 addition & 1 deletion verify/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.0
0.7.1
4 changes: 4 additions & 0 deletions verify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.7.1 (Unreleased)

* **Note** Upgraded go version to 1.22 to align with the go [release policy](https://go.dev/doc/devel/release#policy). [#376](https://github.com/patrickcping/pingone-go-sdk-v2/pull/376)

# v0.7.0 (2024-07-22)

* **Enhancement** Added `Retry` field to the `LivenessConfiguration` model. [#369](https://github.com/patrickcping/pingone-go-sdk-v2/pull/369)
Expand Down
2 changes: 1 addition & 1 deletion verify/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default: build

build: fmtcheck
@go mod tidy
@go mod vendor
@go work vendor
@go build ./...

test: fmtcheck
Expand Down
2 changes: 1 addition & 1 deletion verify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Verify service
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023-07-20
- Package version: 0.7.0
- Package version: 0.7.1
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
2 changes: 1 addition & 1 deletion verify/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fc1a14d

Please sign in to comment.