From ad999b597a7559565ed106a2111b53b0ca4015af Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Thu, 29 Aug 2024 16:54:52 +0300 Subject: [PATCH] chore: release v1.2.2 (release.sh) (#1016) --- CHANGELOG.md | 15 +++++++++++++++ dbfixture/go.mod | 2 +- dialect/mssqldialect/go.mod | 2 +- dialect/mssqldialect/version.go | 2 +- dialect/mysqldialect/go.mod | 2 +- dialect/mysqldialect/version.go | 2 +- dialect/pgdialect/go.mod | 2 +- dialect/pgdialect/version.go | 2 +- dialect/sqlitedialect/go.mod | 2 +- dialect/sqlitedialect/version.go | 2 +- driver/pgdriver/go.mod | 2 +- example/basic/go.mod | 8 ++++---- example/create-table-index/go.mod | 8 ++++---- example/cursor-pagination/go.mod | 8 ++++---- example/custom-type/go.mod | 8 ++++---- example/fixture/go.mod | 10 +++++----- example/get-where-fields/go.mod | 6 +++--- example/migrate/go.mod | 8 ++++---- example/model-hooks/go.mod | 8 ++++---- example/multi-tenant/go.mod | 10 +++++----- example/opentelemetry/go.mod | 8 ++++---- example/pg-faceted-search/go.mod | 10 +++++----- example/pg-listen/go.mod | 8 ++++---- example/placeholders/go.mod | 8 ++++---- example/rel-belongs-to/go.mod | 8 ++++---- example/rel-has-many-polymorphic/go.mod | 10 +++++----- example/rel-has-many/go.mod | 8 ++++---- example/rel-has-one/go.mod | 8 ++++---- example/rel-join-condition/go.mod | 8 ++++---- example/rel-many-to-many-self/go.mod | 8 ++++---- example/rel-many-to-many/go.mod | 8 ++++---- example/string-representation/go.mod | 6 +++--- example/trivial/go.mod | 16 ++++++++-------- example/tx-composition/go.mod | 8 ++++---- extra/bundebug/go.mod | 2 +- extra/bunotel/go.mod | 2 +- extra/bunrelic/go.mod | 2 +- extra/bunslog/go.mod | 2 +- internal/dbtest/go.mod | 18 +++++++++--------- package.json | 2 +- version.go | 2 +- 41 files changed, 138 insertions(+), 123 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5ae7761a..f4ce32ba1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## [1.2.2](https://github.com/uptrace/bun/compare/v1.2.1...v1.2.2) (2024-08-29) + + +### Bug Fixes + +* gracefully handle empty hstore in pgdialect ([#1010](https://github.com/uptrace/bun/issues/1010)) ([2f73d8a](https://github.com/uptrace/bun/commit/2f73d8a8e16c8718ebfc956036d9c9a01a0888bc)) +* number each unit test ([#974](https://github.com/uptrace/bun/issues/974)) ([b005dc2](https://github.com/uptrace/bun/commit/b005dc2a9034715c6f59dcfc8e76aa3b85df38ab)) + + +### Features + +* add ModelTableExpr to TruncateTableQuery ([#969](https://github.com/uptrace/bun/issues/969)) ([7bc330f](https://github.com/uptrace/bun/commit/7bc330f152cf0d9dc30956478e2731ea5816f012)) + + + ## [1.2.1](https://github.com/uptrace/bun/compare/v1.2.0...v1.2.1) (2024-04-02) diff --git a/dbfixture/go.mod b/dbfixture/go.mod index 5087c81d7..6a4b78fbe 100644 --- a/dbfixture/go.mod +++ b/dbfixture/go.mod @@ -7,7 +7,7 @@ toolchain go1.22.6 replace github.com/uptrace/bun => ../ require ( - github.com/uptrace/bun v1.2.1 + github.com/uptrace/bun v1.2.2 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/dialect/mssqldialect/go.mod b/dialect/mssqldialect/go.mod index d3c621898..d5d3c3113 100755 --- a/dialect/mssqldialect/go.mod +++ b/dialect/mssqldialect/go.mod @@ -7,7 +7,7 @@ toolchain go1.22.6 replace github.com/uptrace/bun => ../.. require ( - github.com/uptrace/bun v1.2.1 + github.com/uptrace/bun v1.2.2 golang.org/x/mod v0.20.0 ) diff --git a/dialect/mssqldialect/version.go b/dialect/mssqldialect/version.go index 262f1e2eb..9eb115f18 100644 --- a/dialect/mssqldialect/version.go +++ b/dialect/mssqldialect/version.go @@ -2,5 +2,5 @@ package mssqldialect // Version is the current release version. func Version() string { - return "1.2.1" + return "1.2.2" } diff --git a/dialect/mysqldialect/go.mod b/dialect/mysqldialect/go.mod index 4c2dea74f..52a42be8c 100644 --- a/dialect/mysqldialect/go.mod +++ b/dialect/mysqldialect/go.mod @@ -7,7 +7,7 @@ toolchain go1.22.6 replace github.com/uptrace/bun => ../.. require ( - github.com/uptrace/bun v1.2.1 + github.com/uptrace/bun v1.2.2 golang.org/x/mod v0.20.0 ) diff --git a/dialect/mysqldialect/version.go b/dialect/mysqldialect/version.go index 8dba00788..4e5357820 100644 --- a/dialect/mysqldialect/version.go +++ b/dialect/mysqldialect/version.go @@ -2,5 +2,5 @@ package mysqldialect // Version is the current release version. func Version() string { - return "1.2.1" + return "1.2.2" } diff --git a/dialect/pgdialect/go.mod b/dialect/pgdialect/go.mod index 7ff2aa340..18f068643 100644 --- a/dialect/pgdialect/go.mod +++ b/dialect/pgdialect/go.mod @@ -8,7 +8,7 @@ replace github.com/uptrace/bun => ../.. require ( github.com/stretchr/testify v1.8.1 - github.com/uptrace/bun v1.2.1 + github.com/uptrace/bun v1.2.2 ) require ( diff --git a/dialect/pgdialect/version.go b/dialect/pgdialect/version.go index b5e5e3cb0..ee8ef6171 100644 --- a/dialect/pgdialect/version.go +++ b/dialect/pgdialect/version.go @@ -2,5 +2,5 @@ package pgdialect // Version is the current release version. func Version() string { - return "1.2.1" + return "1.2.2" } diff --git a/dialect/sqlitedialect/go.mod b/dialect/sqlitedialect/go.mod index cc0ab4f10..1d8c2c97d 100644 --- a/dialect/sqlitedialect/go.mod +++ b/dialect/sqlitedialect/go.mod @@ -6,7 +6,7 @@ toolchain go1.22.6 replace github.com/uptrace/bun => ../.. -require github.com/uptrace/bun v1.2.1 +require github.com/uptrace/bun v1.2.2 require ( github.com/jinzhu/inflection v1.0.0 // indirect diff --git a/dialect/sqlitedialect/version.go b/dialect/sqlitedialect/version.go index 06e5bb1a4..85c5cc1da 100644 --- a/dialect/sqlitedialect/version.go +++ b/dialect/sqlitedialect/version.go @@ -2,5 +2,5 @@ package sqlitedialect // Version is the current release version. func Version() string { - return "1.2.1" + return "1.2.2" } diff --git a/driver/pgdriver/go.mod b/driver/pgdriver/go.mod index 3e209cfeb..3926847e6 100644 --- a/driver/pgdriver/go.mod +++ b/driver/pgdriver/go.mod @@ -8,7 +8,7 @@ replace github.com/uptrace/bun => ../.. require ( github.com/stretchr/testify v1.8.1 - github.com/uptrace/bun v1.2.1 + github.com/uptrace/bun v1.2.2 mellium.im/sasl v0.3.1 ) diff --git a/example/basic/go.mod b/example/basic/go.mod index cc31979a6..8f05252e9 100644 --- a/example/basic/go.mod +++ b/example/basic/go.mod @@ -15,10 +15,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/create-table-index/go.mod b/example/create-table-index/go.mod index 26b16c191..85e612ba5 100644 --- a/example/create-table-index/go.mod +++ b/example/create-table-index/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/cursor-pagination/go.mod b/example/cursor-pagination/go.mod index facaab0a6..1c77dc010 100644 --- a/example/cursor-pagination/go.mod +++ b/example/cursor-pagination/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/custom-type/go.mod b/example/custom-type/go.mod index c11f70a03..1a0bda4a5 100644 --- a/example/custom-type/go.mod +++ b/example/custom-type/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/fixture/go.mod b/example/fixture/go.mod index 47cab9b74..a873d5e43 100644 --- a/example/fixture/go.mod +++ b/example/fixture/go.mod @@ -15,11 +15,11 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim replace github.com/uptrace/bun/dbfixture => ../../dbfixture require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dbfixture v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dbfixture v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/get-where-fields/go.mod b/example/get-where-fields/go.mod index d83648ee9..36570ca24 100644 --- a/example/get-where-fields/go.mod +++ b/example/get-where-fields/go.mod @@ -15,9 +15,9 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 ) require ( diff --git a/example/migrate/go.mod b/example/migrate/go.mod index c0f74d2f5..735f9a713 100644 --- a/example/migrate/go.mod +++ b/example/migrate/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 github.com/urfave/cli/v2 v2.27.4 ) diff --git a/example/model-hooks/go.mod b/example/model-hooks/go.mod index d485977ed..e73a1383f 100644 --- a/example/model-hooks/go.mod +++ b/example/model-hooks/go.mod @@ -16,10 +16,10 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/davecgh/go-spew v1.1.1 - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/multi-tenant/go.mod b/example/multi-tenant/go.mod index 223d0453c..0633e6513 100644 --- a/example/multi-tenant/go.mod +++ b/example/multi-tenant/go.mod @@ -16,11 +16,11 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/davecgh/go-spew v1.1.1 - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dbfixture v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dbfixture v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/opentelemetry/go.mod b/example/opentelemetry/go.mod index 050f2a987..5bf3f5788 100644 --- a/example/opentelemetry/go.mod +++ b/example/opentelemetry/go.mod @@ -18,10 +18,10 @@ replace github.com/uptrace/bun/driver/pgdriver => ../../driver/pgdriver require ( github.com/brianvoe/gofakeit/v5 v5.11.2 - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/pgdialect v1.2.1 - github.com/uptrace/bun/driver/pgdriver v1.2.1 - github.com/uptrace/bun/extra/bunotel v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/pgdialect v1.2.2 + github.com/uptrace/bun/driver/pgdriver v1.2.2 + github.com/uptrace/bun/extra/bunotel v1.2.2 github.com/uptrace/uptrace-go v1.29.0 go.opentelemetry.io/otel v1.29.0 ) diff --git a/example/pg-faceted-search/go.mod b/example/pg-faceted-search/go.mod index 7544ee0c3..3fbfcfad4 100644 --- a/example/pg-faceted-search/go.mod +++ b/example/pg-faceted-search/go.mod @@ -16,11 +16,11 @@ replace github.com/uptrace/bun/dialect/pgdialect => ../../dialect/pgdialect require ( github.com/davecgh/go-spew v1.1.1 - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dbfixture v1.2.1 - github.com/uptrace/bun/dialect/pgdialect v1.2.1 - github.com/uptrace/bun/driver/pgdriver v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dbfixture v1.2.2 + github.com/uptrace/bun/dialect/pgdialect v1.2.2 + github.com/uptrace/bun/driver/pgdriver v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/pg-listen/go.mod b/example/pg-listen/go.mod index c5fc49315..af788919a 100644 --- a/example/pg-listen/go.mod +++ b/example/pg-listen/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/driver/pgdriver => ../../driver/pgdriver replace github.com/uptrace/bun/dialect/pgdialect => ../../dialect/pgdialect require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/pgdialect v1.2.1 - github.com/uptrace/bun/driver/pgdriver v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/pgdialect v1.2.2 + github.com/uptrace/bun/driver/pgdriver v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/placeholders/go.mod b/example/placeholders/go.mod index 2b74dd711..713d4dbf8 100644 --- a/example/placeholders/go.mod +++ b/example/placeholders/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/rel-belongs-to/go.mod b/example/rel-belongs-to/go.mod index c48eb9e10..bb83942c6 100644 --- a/example/rel-belongs-to/go.mod +++ b/example/rel-belongs-to/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/rel-has-many-polymorphic/go.mod b/example/rel-has-many-polymorphic/go.mod index ab819c979..9d193380a 100644 --- a/example/rel-has-many-polymorphic/go.mod +++ b/example/rel-has-many-polymorphic/go.mod @@ -16,11 +16,11 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/davecgh/go-spew v1.1.1 - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dbfixture v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dbfixture v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/rel-has-many/go.mod b/example/rel-has-many/go.mod index b29efc2a5..5034fb4c1 100644 --- a/example/rel-has-many/go.mod +++ b/example/rel-has-many/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/rel-has-one/go.mod b/example/rel-has-one/go.mod index 1e23f0936..31aa658cd 100644 --- a/example/rel-has-one/go.mod +++ b/example/rel-has-one/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/rel-join-condition/go.mod b/example/rel-join-condition/go.mod index f3295b67b..4923497b0 100644 --- a/example/rel-join-condition/go.mod +++ b/example/rel-join-condition/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/rel-many-to-many-self/go.mod b/example/rel-many-to-many-self/go.mod index 334cdd2fe..3df32db34 100644 --- a/example/rel-many-to-many-self/go.mod +++ b/example/rel-many-to-many-self/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/rel-many-to-many/go.mod b/example/rel-many-to-many/go.mod index 80ebec69f..c5618876f 100644 --- a/example/rel-many-to-many/go.mod +++ b/example/rel-many-to-many/go.mod @@ -13,10 +13,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/string-representation/go.mod b/example/string-representation/go.mod index 2570af7ec..a21335044 100644 --- a/example/string-representation/go.mod +++ b/example/string-representation/go.mod @@ -13,9 +13,9 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 ) require ( diff --git a/example/trivial/go.mod b/example/trivial/go.mod index 5ad74164d..37bd376d3 100644 --- a/example/trivial/go.mod +++ b/example/trivial/go.mod @@ -23,14 +23,14 @@ replace github.com/uptrace/bun/dialect/mssqldialect => ../../dialect/mssqldialec require ( github.com/denisenkom/go-mssqldb v0.12.3 github.com/go-sql-driver/mysql v1.8.1 - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/mssqldialect v1.2.1 - github.com/uptrace/bun/dialect/mysqldialect v1.2.1 - github.com/uptrace/bun/dialect/pgdialect v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/pgdriver v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/mssqldialect v1.2.2 + github.com/uptrace/bun/dialect/mysqldialect v1.2.2 + github.com/uptrace/bun/dialect/pgdialect v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/pgdriver v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/example/tx-composition/go.mod b/example/tx-composition/go.mod index be8bf7a52..53ad4f1d0 100644 --- a/example/tx-composition/go.mod +++ b/example/tx-composition/go.mod @@ -15,10 +15,10 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/extra/bundebug/go.mod b/extra/bundebug/go.mod index 2d8523e5a..f459db74c 100644 --- a/extra/bundebug/go.mod +++ b/extra/bundebug/go.mod @@ -8,7 +8,7 @@ replace github.com/uptrace/bun => ../.. require ( github.com/fatih/color v1.17.0 - github.com/uptrace/bun v1.2.1 + github.com/uptrace/bun v1.2.2 ) require ( diff --git a/extra/bunotel/go.mod b/extra/bunotel/go.mod index 3f8f82e19..592bb6cb5 100644 --- a/extra/bunotel/go.mod +++ b/extra/bunotel/go.mod @@ -7,7 +7,7 @@ toolchain go1.22.6 replace github.com/uptrace/bun => ../.. require ( - github.com/uptrace/bun v1.2.1 + github.com/uptrace/bun v1.2.2 github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.1 go.opentelemetry.io/otel v1.29.0 go.opentelemetry.io/otel/metric v1.29.0 diff --git a/extra/bunrelic/go.mod b/extra/bunrelic/go.mod index 5701e2945..b1413a790 100644 --- a/extra/bunrelic/go.mod +++ b/extra/bunrelic/go.mod @@ -8,7 +8,7 @@ replace github.com/uptrace/bun => ../.. require ( github.com/newrelic/go-agent/v3 v3.34.0 - github.com/uptrace/bun v1.2.1 + github.com/uptrace/bun v1.2.2 ) require ( diff --git a/extra/bunslog/go.mod b/extra/bunslog/go.mod index 64667dbd6..7adb45e54 100644 --- a/extra/bunslog/go.mod +++ b/extra/bunslog/go.mod @@ -6,7 +6,7 @@ toolchain go1.22.6 replace github.com/uptrace/bun => ../.. -require github.com/uptrace/bun v1.2.1 +require github.com/uptrace/bun v1.2.2 require ( github.com/jinzhu/inflection v1.0.0 // indirect diff --git a/internal/dbtest/go.mod b/internal/dbtest/go.mod index c76bb0020..13e99fa83 100644 --- a/internal/dbtest/go.mod +++ b/internal/dbtest/go.mod @@ -30,15 +30,15 @@ require ( github.com/google/uuid v1.6.0 github.com/jackc/pgx/v4 v4.11.0 github.com/stretchr/testify v1.8.1 - github.com/uptrace/bun v1.2.1 - github.com/uptrace/bun/dbfixture v1.2.1 - github.com/uptrace/bun/dialect/mssqldialect v1.2.1 - github.com/uptrace/bun/dialect/mysqldialect v1.2.1 - github.com/uptrace/bun/dialect/pgdialect v1.2.1 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.1 - github.com/uptrace/bun/driver/pgdriver v1.2.1 - github.com/uptrace/bun/driver/sqliteshim v1.2.1 - github.com/uptrace/bun/extra/bundebug v1.2.1 + github.com/uptrace/bun v1.2.2 + github.com/uptrace/bun/dbfixture v1.2.2 + github.com/uptrace/bun/dialect/mssqldialect v1.2.2 + github.com/uptrace/bun/dialect/mysqldialect v1.2.2 + github.com/uptrace/bun/dialect/pgdialect v1.2.2 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.2 + github.com/uptrace/bun/driver/pgdriver v1.2.2 + github.com/uptrace/bun/driver/sqliteshim v1.2.2 + github.com/uptrace/bun/extra/bundebug v1.2.2 ) require ( diff --git a/package.json b/package.json index 331e4be8b..2a1af7280 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gobun", - "version": "1.2.1", + "version": "1.2.2", "main": "index.js", "repository": "git@github.com:uptrace/bun.git", "author": "Vladimir Mihailenco ", diff --git a/version.go b/version.go index be6c67f30..d4e002252 100644 --- a/version.go +++ b/version.go @@ -2,5 +2,5 @@ package bun // Version is the current release version. func Version() string { - return "1.2.1" + return "1.2.2" }