From bce00adc25696cc87008ccc4daf10f6350bbdae8 Mon Sep 17 00:00:00 2001 From: Elliot Courant Date: Sat, 14 Dec 2024 16:28:06 -0600 Subject: [PATCH] Release v10.14.0 (release.sh) (#2016) --- .github/workflows/build.yml | 2 +- CHANGELOG.md | 8 ++++++++ extra/pgdebug/go.mod | 6 +++--- extra/pgdebug/go.sum | 10 +++++----- extra/pgotel/example/go.mod | 8 ++++---- extra/pgotel/example/go.sum | 10 +++++----- extra/pgotel/go.mod | 2 +- extra/pgsegment/go.mod | 2 +- version.go | 2 +- 9 files changed, 29 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d6d6065..5cc7dda5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [1.19.x, 1.20.x, 1.21.x] + go-version: [1.21.x, 1.22.x, 1.23.x] services: postgres: diff --git a/CHANGELOG.md b/CHANGELOG.md index 558d0fa5..90b99a7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,14 @@ but works with PostgreSQL, MySQL, and SQLite. # Changelog +## v10.14.0 + +- Added support for comments on ORM generated queries ([#2011](https://github.com/go-pg/pg/pull/2011)) +- Make reader and writer buffers configurable ([#2014](https://github.com/go-pg/pg/pull/2014)) +- Bumped golang.org/x/crypto from 0.21.0 to 0.31.0 ([#2013](https://github.com/go-pg/pg/pull/2013), [#2015](https://github.com/go-pg/pg/pull/2015)) + +Thank you [@wwoytenko](https://github.com/wwoytenko) and [@tony2001](https://github.com/tony2001) + ## v10.13.0 - Removed references to deprecated `io/ioutil` ([#2001](https://github.com/go-pg/pg/pull/2001)) diff --git a/extra/pgdebug/go.mod b/extra/pgdebug/go.mod index 86cf1f58..baf80f82 100644 --- a/extra/pgdebug/go.mod +++ b/extra/pgdebug/go.mod @@ -4,7 +4,7 @@ go 1.19 replace github.com/go-pg/pg/v10 => ../.. -require github.com/go-pg/pg/v10 v10.13.0 +require github.com/go-pg/pg/v10 v10.14.0 require ( github.com/go-pg/zerochecker v0.2.0 // indirect @@ -14,7 +14,7 @@ require ( github.com/vmihailenco/msgpack/v5 v5.3.4 // indirect github.com/vmihailenco/tagparser v0.1.2 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect - golang.org/x/crypto v0.21.0 // indirect - golang.org/x/sys v0.18.0 // indirect + golang.org/x/crypto v0.31.0 // indirect + golang.org/x/sys v0.28.0 // indirect mellium.im/sasl v0.3.1 // indirect ) diff --git a/extra/pgdebug/go.sum b/extra/pgdebug/go.sum index b0c5d05f..e2139b3e 100644 --- a/extra/pgdebug/go.sum +++ b/extra/pgdebug/go.sum @@ -29,12 +29,12 @@ github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vb github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= -golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= -golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= +golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= +golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= +golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/extra/pgotel/example/go.mod b/extra/pgotel/example/go.mod index 9d2984f6..142ea763 100644 --- a/extra/pgotel/example/go.mod +++ b/extra/pgotel/example/go.mod @@ -7,8 +7,8 @@ replace github.com/go-pg/pg/v10 => ../../.. replace github.com/go-pg/pg/extra/pgotel/v10 => ../ require ( - github.com/go-pg/pg/extra/pgotel/v10 v10.13.0 - github.com/go-pg/pg/v10 v10.13.0 + github.com/go-pg/pg/extra/pgotel/v10 v10.14.0 + github.com/go-pg/pg/v10 v10.14.0 go.opentelemetry.io/otel v1.0.0 go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.0.0 go.opentelemetry.io/otel/sdk v1.0.0 @@ -23,7 +23,7 @@ require ( github.com/vmihailenco/tagparser v0.1.2 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect go.opentelemetry.io/otel/trace v1.0.0 // indirect - golang.org/x/crypto v0.21.0 // indirect - golang.org/x/sys v0.18.0 // indirect + golang.org/x/crypto v0.31.0 // indirect + golang.org/x/sys v0.28.0 // indirect mellium.im/sasl v0.3.1 // indirect ) diff --git a/extra/pgotel/example/go.sum b/extra/pgotel/example/go.sum index 876e95b3..1ad895a0 100644 --- a/extra/pgotel/example/go.sum +++ b/extra/pgotel/example/go.sum @@ -40,13 +40,13 @@ go.opentelemetry.io/otel/sdk v1.0.0 h1:BNPMYUONPNbLneMttKSjQhOTlFLOD9U22HNG1KrIN go.opentelemetry.io/otel/sdk v1.0.0/go.mod h1:PCrDHlSy5x1kjezSdL37PhbFUMjrsLRshJ2zCzeXwbM= go.opentelemetry.io/otel/trace v1.0.0 h1:TSBr8GTEtKevYMG/2d21M989r5WJYVimhTHBKVEZuh4= go.opentelemetry.io/otel/trace v1.0.0/go.mod h1:PXTWqayeFUlJV1YDNhsJYB184+IvAH814St6o6ajzIs= -golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= -golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= +golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= +golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= +golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/extra/pgotel/go.mod b/extra/pgotel/go.mod index f3cd9669..e3820333 100644 --- a/extra/pgotel/go.mod +++ b/extra/pgotel/go.mod @@ -5,7 +5,7 @@ go 1.19 replace github.com/go-pg/pg/v10 => ../.. require ( - github.com/go-pg/pg/v10 v10.13.0 + github.com/go-pg/pg/v10 v10.14.0 go.opentelemetry.io/otel v1.0.0 go.opentelemetry.io/otel/trace v1.0.0 ) diff --git a/extra/pgsegment/go.mod b/extra/pgsegment/go.mod index f451d583..a2d1f8fa 100644 --- a/extra/pgsegment/go.mod +++ b/extra/pgsegment/go.mod @@ -5,7 +5,7 @@ go 1.19 replace github.com/go-pg/pg/v10 => ../.. require ( - github.com/go-pg/pg/v10 v10.13.0 + github.com/go-pg/pg/v10 v10.14.0 github.com/segmentio/encoding v0.2.21 ) diff --git a/version.go b/version.go index 94f10bb6..7ec7067c 100644 --- a/version.go +++ b/version.go @@ -2,5 +2,5 @@ package pg // Version is the current release version. func Version() string { - return "10.13.0" + return "10.14.0" }