Releases: nginx/nginx-plus-go-client
Releases · nginx/nginx-plus-go-client
v0.11.0
What's Changed
🚀 Features
- Added version 9 of API and new worker metrics by @oliveromahony in #143
🔨 Maintenance
- Fix release step by @lucacome in #115
- Remove deprecated go linters by @lucacome in #117
- Remove dependency on a deprecated package by @jjngx in #119
- Update Slack announce channel by @lucacome in #116
- Remove unneeded Plus version by @lucacome in #123
- Update GitHub Actions runners to Ubuntu 22.04 by @lucacome in #125
- Add CODEOWNERS by @lucacome in #132
- Add OpenSSF Scorecard by @lucacome in #141
- Add pre-commit and fix issues by @lucacome in #142
- Update workflows by @lucacome in #140
- Use Docker Compose for tests by @lucacome in #152
- Skip running OpenSSF check on forks by @Dean-Coakley in #156
📝 Documentation
- Create SECURITY.md by @lucacome in #120
- Add Issue Lifecycle and update Contributing by @lucacome in #131
- Fix api support range in readme by @Dean-Coakley in #154
- Release 0.11.0 by @lucacome in #158
⬆️ Dependencies
- Bump actions/stale from 5 to 6 by @dependabot in #118
- Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in #121
- Bump Go to 1.19 by @lucacome in #122
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in #126
- Bump goreleaser/goreleaser-action from 3 to 4 by @dependabot in #127
- Bump actions/stale from 6 to 7 by @dependabot in #128
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #129
- Bump docker/build-push-action from 3 to 4 by @dependabot in #130
- Bump actions/setup-go from 3 to 4 by @dependabot in #133
- Bump actions/stale from 7 to 8 by @dependabot in #134
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #135
- Bump NGINX Plus to R29 by @lucacome in #136
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.0 by @dependabot in #137
- Bump dependabot/fetch-metadata from 1.5.0 to 1.5.1 by @dependabot in #138
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #139
- Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 by @dependabot in #146
- Bump actions/setup-go from 4.0.1 to 4.1.0 by @dependabot in #145
- Bump actions/dependency-review-action from 3.0.6 to 3.0.7 by @dependabot in #144
- Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by @dependabot in #149
- Bump actions/dependency-review-action from 3.0.7 to 3.0.8 by @dependabot in #150
- Bump NGINX Plus to R30 by @lucacome in #148
- Bump Debian to 12 by @lucacome in #151
- Bump docker/setup-buildx-action from 2.9.1 to 2.10.0 by @dependabot in #157
New Contributors
- @oliveromahony made their first contribution in #143
Full Changelog: v0.10.0...v0.11.0
v0.10.0
New in NGINX Plus Go Client v0.10.0
🚀 Features
- Add support for API version 8 (#112) @lucacome
- Add support for API version 7 (#110) @lucacome
- Add support for API version 6 (#108) @lucacome
🐛 Bug Fixes
- Fix nightly run with test repo (#92) @lucacome
- Fix virtual package error (#86) @ciarams87
📝 Documentation
- Release 0.10.0 (#114) @lucacome
- Update contacts (#113) @lucacome
- Add support for API version 8 (#112) @lucacome
- Add support for API version 7 (#110) @lucacome
- Add support for API version 6 (#108) @lucacome
- Update link to PR template (#102) @jjngx
- Rename main branch (#91) @lucacome
🔨 Maintenance
- Release 0.10.0 (#114) @lucacome
- Add workflow to enable auto-merge for dependabot (#95) @lucacome
- Update Slack notification (#94) @lucacome
- Fix nightly run with test repo (#92) @lucacome
- Use here-documents style in Dockerfile (#90) @lucacome
- Rename main branch (#91) @lucacome
⬆️ Dependencies
- Bump dependabot/fetch-metadata from 1.3.1 to 1.3.3 (#104) @dependabot
- Bump NGINX Plus to R27 (#105) @lucacome
- Update Go to 1.18 (#93) @lucacome
- Bump docker/build-push-action from 2 to 3 (#101) @dependabot
- Bump docker/setup-buildx-action from 1 to 2 (#100) @dependabot
- Bump dependabot/fetch-metadata from 1.3.0 to 1.3.1 (#99) @dependabot
- Bump github/codeql-action from 1 to 2 (#98) @dependabot
- Bump actions/stale from 4 to 5 (#97) @dependabot
- Bump actions/setup-go from 2 to 3 (#96) @dependabot
- Bump NGINX Plus to R26, Debian to Bullseye (#87) @lucacome
- Bump actions/checkout from 2 to 3 (#89) @dependabot
- Bump golangci/golangci-lint-action from 2 to 3 (#88) @dependabot
v0.9.0
New in NGINX Plus Go Client v0.9.0
🚀 Features
🐛 Bug Fixes
📝 Documentation
- User Docker Build action in CI (#78) @lucacome
- Update badge for Fossa (#68) @lucacome
- Add workflow for Fossa (#66) @lucacome
🔨 Maintenance
- Update NGINX Plus to R25 (#85) @lucacome
- Sed replacement in wrong line (#83) @lucacome
- Remove correct line in nightly (#82) @lucacome
- Fix nightly (#81) @lucacome
- Disable nightly for now (#80) @ciarams87
- User Docker Build action in CI (#78) @lucacome
- Add revive linter with recommended config (#77) @lucacome
- chore: build client and test on scheduled runs (#74) @ciarams87
- Add golangci-lint config (#73) @lucacome
- Update path for NGINX cert and key (#72) @lucacome
- Update Dockerfile, NGINX and golangci-lint versions (#70) @lucacome
- Update workflows (#71) @lucacome
- Update badge for Fossa (#68) @lucacome
- Add go.mod (#67) @lucacome
- Add workflow for Fossa (#66) @lucacome
- Create codeql-analysis.yml (#65) @lucacome
- Add GitHub workflow to check for stale PRs and issues (#62) @lucacome
- Remove unused labels (#61) @lucacome
- Add release-drafter (#59) @lucacome
- Change dependabot interval to weekly (#58) @lucacome
- Fix Dockerfile location in dependabot config (#56) @lucacome
- Add dependabot (#55) @lucacome
⬆️ Dependencies
- Update Go version to 1.17 (#84) @lucacome
- Bump actions/stale from 3 to 4 (#79) @dependabot
- Update Dockerfile, NGINX and golangci-lint versions (#70) @lucacome
- Add go.mod (#67) @lucacome
- Bump golangci/golangci-lint-action from v2.5.1 to v2.5.2 (#64) @dependabot
- Update containers and NGINX Plus version (#63) @lucacome
- Bump golangci/golangci-lint-action from v2.4.0 to v2.5.1 (#60) @dependabot
- Bump golangci/golangci-lint-action from v2 to v2.4.0 (#57) @dependabot
0.8.0
FEATURES:
- 54: Add support of N+ API version 4. The client now supports multiple versions of API (4 and 5) for compatibility with older N+ releases.
- New public method
NewNginxClientWithVersion
creates a client with a given version. - New public error variable -
ErrUnsupportedVer
.
CHANGES:
- The version of Go was changed to 1.15.
0.7.0
FEATURES:
- 38: Support for /slabs API endpoint. The client now supports retrieving shared memory zone usage info.
- 41: Support for /processes API endpoint. The client now supports retrieving processes info.
CHANGES:
- The version of NGINX Plus for e2e testing was changed to R22.
- The version of Go was changed to 1.14
0.6.0
FEATURES:
- 34: Support for updating upstream servers parameters. The client now supports updating upstream parameters of servers that already exist in NGINX Plus.
CHANGES:
- Public methods
UpdateHTTPServers
andUpdateStreamServers
now return a third slice that includes the updated servers -- i.e. the servers that were already present in NGINX Plus but were updated with different parameters. - Client will assume port
80
in addresses of updated servers ofUpdateHTTPServers
andUpdateStreamServers
if port is not explicitly set. - The version of Go was changed to 1.13
0.5.0
FEATURES:
- 30: Support additional upstream server parameters.
The client now supports configuringroute
,backup
,down
,drain
,weight
andservice
parameters for http upstreams andbackup
,down
,weight
andservice
parameters for stream upstreams. - 31: Support location zones and resolver metrics.
BUGFIXES:
- 29: Fix max_fails parameter in upstream servers. Previously, if the MaxFails field was not explicitly set, the client would incorrectly configure an upstream with the value
0
instead of the correct value1
.
CHANGES:
- The version of NGINX Plus for e2e testing was changed to R19.
- The version of the API was changed to 5.
0.4.0
0.3.1
0.3
FEATURES:
- 20: Support for stream zone sync metrics. The client
GetStats
method now additionally returns stream zone sync metrics. - 13: Support for key-value endpoints. The client implements a set of methods to create/modify/delete key-val pairs for both http and stream contexts.
- 12 Support for NGINX status info. The client
GetStats
method now additionally returns NGINX status metrics. Thanks to jthurman42.
CHANGES:
- The repository was renamed to
nginx-plus-go-client
instead ofnginx-plus-go-sdk
. If the client is used as a dependency, this name needs to be changed in the import section (import "github.com/nginxinc/nginx-plus-go-client/client"
). - The version of the API was changed to 4.
- The version of NGINX Plus for e2e testing was changed to R18.