Added opt-in ability to validate private fields in PR, thanks @nikolaianohyn via the new WithPrivateFieldValidation option when initializing validator.
Release 10.18.0
What Changed?
Updated all dependencies to address dependant alerts, #1205 and #1220
Release 10.17.0
What's new
Add translation of requiredXXX and excludedXXX in English/Chinese/Chinese Taiwan.
What's fixed
Fix errors translation to work properly for aliases.
Add fmt.Stringer interface support to uuid validations allowing most UUID validation libraries which implement it to work transparently now. TY @JoshGlazebrook for the PR
Added new omitnil similar to omitempty but for pointers. this is mainly for code generation ease. TY @tarampampam for the PR
The module prometheus/common v0.48.0 introduced an incompatibility when used together with client_golang (See prometheus/client_golang#1448 for more details). If your project uses client_golang and you want to use prometheus/common v0.48.0 or higher, please update client_golang to v1.19.0.
[CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #1445#1449
[FEATURE] collectors: Add version collector. #1422#1427
The module prometheus/common v0.48.0 introduced an incompatibility when used together with client_golang (See prometheus/client_golang#1448 for more details). If your project uses client_golang and you want to use prometheus/common v0.48.0 or higher, please update client_golang to v1.19.0.
[CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #1445#1449
[FEATURE] collectors: Add version collector. #1422#1427
1.18.0 / 2023-12-22
[FEATURE] promlint: Allow creation of custom metric validations. #1311
[FEATURE] Go programs using client_golang can be built in wasip1 OS. #1350
[BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. #1367
[BUGFIX] testutil: Fix comparison of metrics with empty Help strings. #1378
[ENHANCEMENT] Improved performance of MetricVec.WithLabelValues(...). #1360
The MongoDB Go Driver Team is pleased to release version 1.15.0 of the official Go driver.
Release Notes
This release adds a feature that can prevent "connection churn" caused by operation timeouts.
Prevent "Connection Churn" Caused by Timeouts
Previously, the Go Driver would close the in-use connection when an operation timed out. However, closing the in-use connection can cause significant additional application and database load if many timeouts happen quickly, potentially causing "connection churn" that can exacerbate latency issues. The Go Driver now offers a new feature that waits (for a maximum of 1 second) for the connection to be reusable after an operation times out instead of closing it.
To enable the new feature, set a Client-wide timeout by using SetTimeout or by specifing the timeoutMS connection string option. Use SetTimeout(0) or timeoutMS=0 to enable the new feature without adding new timeouts. See SetTimeout for more information about the Client-wide timeout configuration.
For a full list of tickets included in this release, please see the links below:
Bumps the gomod-deps group with 13 updates in the / directory:
10.15.5
10.19.0
1.5.0
1.5.1
7.0.63
7.0.69
1.17.0
1.19.0
1.8.4
1.9.0
1.12.1
1.15.0
0.13.0
0.15.0
0.148.0
0.175.0
1.41.3
1.43.1
2.2.9+incompatible
3.0.2+incompatible
9.2.1
9.5.1
0.7.45
0.7.47
1.7.0
1.8.0
Updates
github.com/go-playground/validator/v10
from 10.15.5 to 10.19.0Release notes
Sourced from github.com/go-playground/validator/v10's releases.
Commits
a0f74b0
update ci actions versionsad59377
add go 1.22 to ci build tests364672b
update private field opt-in commentcec504f
Resolving "Validating unexported fields #417" (#1234)b328f72
Update README.md01120ee
Update all library dependencies (#1222)55313db
Update README.md37a1071
Add translation of requiredXXX and excludedXXX in English/Chinese/Chinese Tai...add493f
Update errors.go (#975)84254ae
update READMEUpdates
github.com/gorilla/websocket
from 1.5.0 to 1.5.1Release notes
Sourced from github.com/gorilla/websocket's releases.
Commits
ac0789b
update GitHub workflows (#857)78c3487
update golang.org/x/net (#856)666c197
Update go version & add verification/testing tools (#840)8039329
Correct way to save memory using write buffer pool and freeing net.http defau...8983b96
Merge pull request #839 from gorilla/coreydaley-patch-1931041c
Update README.md76ecc29
archive modeaf47554
check error before GotConn for tracebc7ce89
Check for and report bad protocol in TLSClientConfig.NextProtos (#788)27d91a9
drop the versions of go that are no longer supported + add 1.18 to ciUpdates
github.com/minio/minio-go/v7
from 7.0.63 to 7.0.69Release notes
Sourced from github.com/minio/minio-go/v7's releases.
... (truncated)
Commits
bf1b772
update vulncheck go-version0dacc4a
Addedx-minio-replication-actual-object-size
to allowed headers (#1946)f823450
add Client.SetS3EnableDualstack (#1945)4a223cc
update CREDITS after removed depse2c82fe
add support for authentication with EKS Pod Identities (#1944)0fe4c20
Update version to next release0046134
Drop more seeding in tests (#1942)baec12a
x-minio-replication-encrypted-multipart as allowed header (#1943)a0865af
Added valid allowed internal headers (#1939)de3d492
Fix CVE-2022-28948 (#1938)Updates
github.com/prometheus/client_golang
from 1.17.0 to 1.19.0Release notes
Sourced from github.com/prometheus/client_golang's releases.
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
Commits
77d4003
Add 1.19.0 changelog (#1451)14259fa
Merge pull request #1448 from ywwg/owilliams/content-negotiation6d03920
deps: bump prometheus/common version353395b
Remove support for go 1.19 (#1449)9dd5d2a
Merge pull request #1445 from kavu/add_go122_metrics_testc906a5e
Add support for Go 1.227ac9036
Merge pull request #1440 from prometheus/dependabot/github_actions/github-act...8c7e30f
Merge pull request #1441 from prometheus/dependabot/go_modules/tutorial/whats...08769f8
Bump github.com/prometheus/common in /tutorial/whatsup83d5940
Bump the github-actions group with 2 updatesUpdates
github.com/stretchr/testify
from 1.8.4 to 1.9.0Release notes
Sourced from github.com/stretchr/testify's releases.
... (truncated)
Commits
bb548d0
Merge pull request #1552 from stretchr/dependabot/go_modules/github.com/stret...814075f
build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2e045612
Merge pull request #1339 from bogdandrutu/uintptr5b6926d
Merge pull request #1385 from hslatman/not-implements9f97d67
Merge pull request #1550 from stretchr/release-notesbcb0d3f
Include the auto-release notes in releasesfb770f8
Merge pull request #1247 from ccoVeille/typos85d8bb6
fix typos in comments, tests and github templatese2741fa
Merge pull request #1548 from arjunmahishi/msgAndArgs6e59f20
http_assertions: assert that the msgAndArgs actually works in testsUpdates
go.mongodb.org/mongo-driver
from 1.12.1 to 1.15.0Release notes
Sourced from go.mongodb.org/mongo-driver's releases.
... (truncated)
Commits
7a495f2
Update version to v1.15.064d6ed0
Fix version to prepare for the v1.15.0 release. (#1604)86cb647
GODRIVER-3145 Don't retry on context timeout or cancellation. (#1598)e9a633c
GODRIVER-3137 Skip failing transaction tests (#1599)b605d09
GODRIVER-3172 Read response in the background after an op timeout. (#1589)722a2f2
GODRIVER-3123 Skip test until QE Range Protocol V2 is Implemented (#1600)94dfdff
GODRIVER-2910 Add durations to connection pool events. (#1590)b693b75
GODRIVER-3161 Resync the fle2v2-Range-* tests and skip prose test 22 (#1591)d41a7cc
Fix typo within WriteConcern docs (#1579)d90de95
GODRIVER-3158 Invoke all Drivers Evergreen Tools Scripts with Bash (#1580)Updates
golang.org/x/image
from 0.13.0 to 0.15.0Commits
9e190ae
webp: disallow multiple VP8X chunks445ab0e
go.mod: update golang.org/x dependencies240a51a
font/sfnt: support early version 0 OS/2 tablesUpdates
google.golang.org/api
from 0.148.0 to 0.175.0Release notes
Sourced from google.golang.org/api's releases.
... (truncated)
Changelog
Sourced from google.golang.org/api's changelog.
Superseded by #49.