From b0fb54c4cff0554019632cef2e8c7d0d45344c34 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Sat, 26 Oct 2024 11:56:19 +0300 Subject: [PATCH] chore: release v1.2.5 (release.sh) (#1040) --- CHANGELOG.md | 25 +++++++++++++++++++++++++ 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, 148 insertions(+), 123 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b1f45846..ded6f1f40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +## [1.2.5](https://github.com/uptrace/bun/compare/v1.2.3...v1.2.5) (2024-10-26) + + +### Bug Fixes + +* allow Limit() without Order() with MSSQL ([#1009](https://github.com/uptrace/bun/issues/1009)) ([1a46ddc](https://github.com/uptrace/bun/commit/1a46ddc0d3ca0bdc60ca8be5ad1886799d14c8b0)) +* copy bytes in mapModel.Scan ([#1030](https://github.com/uptrace/bun/issues/1030)) ([#1032](https://github.com/uptrace/bun/issues/1032)) ([39fda4e](https://github.com/uptrace/bun/commit/39fda4e3d341e59e4955f751cb354a939e57c1b1)) +* fix issue with has-many join and pointer fields ([#950](https://github.com/uptrace/bun/issues/950)) ([#983](https://github.com/uptrace/bun/issues/983)) ([cbc5177](https://github.com/uptrace/bun/commit/cbc517792ba6cdcef1828f3699d3d4dfe3c5e0eb)) +* restore explicit column: name override ([#984](https://github.com/uptrace/bun/issues/984)) ([169f258](https://github.com/uptrace/bun/commit/169f258a9460cad451f3025d2ef8df1bbd42a003)) +* return column option back ([#1036](https://github.com/uptrace/bun/issues/1036)) ([a3ccbea](https://github.com/uptrace/bun/commit/a3ccbeab39151d3eed6cb245fe15cfb5d71ba557)) +* sql.NullString mistaken as custom struct ([#1019](https://github.com/uptrace/bun/issues/1019)) ([87c77b8](https://github.com/uptrace/bun/commit/87c77b8911f2035b0ee8ea96356a2c7600b5b94d)) +* typos ([#1026](https://github.com/uptrace/bun/issues/1026)) ([760de7d](https://github.com/uptrace/bun/commit/760de7d0fad15dc761475670a4dde056aef9210d)) + + +### Features + +* add transaction isolation level support to pgdriver ([#1034](https://github.com/uptrace/bun/issues/1034)) ([3ef44ce](https://github.com/uptrace/bun/commit/3ef44ce1cdd969a21b76d6c803119cf12c375cb0)) + + +### Performance Improvements + +* refactor SelectQuery.ScanAndCount to optimize performance when there is no limit and offset ([#1035](https://github.com/uptrace/bun/issues/1035)) ([8638613](https://github.com/uptrace/bun/commit/86386135897485bbada6c50ec9a2743626111433)) + + + ## [1.2.4](https://github.com/uptrace/bun/compare/v1.2.3...v1.2.4) (2024-10-26) diff --git a/dbfixture/go.mod b/dbfixture/go.mod index c0b9b447c..df1dd1727 100644 --- a/dbfixture/go.mod +++ b/dbfixture/go.mod @@ -5,7 +5,7 @@ go 1.22 replace github.com/uptrace/bun => ../ require ( - github.com/uptrace/bun v1.2.4 + github.com/uptrace/bun v1.2.5 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/dialect/mssqldialect/go.mod b/dialect/mssqldialect/go.mod index dbe974563..99840a1e4 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.4 + github.com/uptrace/bun v1.2.5 golang.org/x/mod v0.21.0 ) diff --git a/dialect/mssqldialect/version.go b/dialect/mssqldialect/version.go index 7f5c33f9e..e591d9f28 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.4" + return "1.2.5" } diff --git a/dialect/mysqldialect/go.mod b/dialect/mysqldialect/go.mod index db03b6b45..b82b43208 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.4 + github.com/uptrace/bun v1.2.5 golang.org/x/mod v0.21.0 ) diff --git a/dialect/mysqldialect/version.go b/dialect/mysqldialect/version.go index c81398772..849cbbcfe 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.4" + return "1.2.5" } diff --git a/dialect/pgdialect/go.mod b/dialect/pgdialect/go.mod index 7322e4073..29e6e67d7 100644 --- a/dialect/pgdialect/go.mod +++ b/dialect/pgdialect/go.mod @@ -6,7 +6,7 @@ replace github.com/uptrace/bun => ../.. require ( github.com/stretchr/testify v1.8.1 - github.com/uptrace/bun v1.2.4 + github.com/uptrace/bun v1.2.5 ) require ( diff --git a/dialect/pgdialect/version.go b/dialect/pgdialect/version.go index 994eea55c..c06043647 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.4" + return "1.2.5" } diff --git a/dialect/sqlitedialect/go.mod b/dialect/sqlitedialect/go.mod index 2a8861232..7787aedac 100644 --- a/dialect/sqlitedialect/go.mod +++ b/dialect/sqlitedialect/go.mod @@ -4,7 +4,7 @@ go 1.22 replace github.com/uptrace/bun => ../.. -require github.com/uptrace/bun v1.2.4 +require github.com/uptrace/bun v1.2.5 require ( github.com/jinzhu/inflection v1.0.0 // indirect diff --git a/dialect/sqlitedialect/version.go b/dialect/sqlitedialect/version.go index 26edbed75..e3cceaa77 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.4" + return "1.2.5" } diff --git a/driver/pgdriver/go.mod b/driver/pgdriver/go.mod index a0a2aac7e..27c2eb57b 100644 --- a/driver/pgdriver/go.mod +++ b/driver/pgdriver/go.mod @@ -6,7 +6,7 @@ replace github.com/uptrace/bun => ../.. require ( github.com/stretchr/testify v1.8.1 - github.com/uptrace/bun v1.2.4 + github.com/uptrace/bun v1.2.5 mellium.im/sasl v0.3.2 ) diff --git a/example/basic/go.mod b/example/basic/go.mod index e8f5f1bae..13aa001d9 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/create-table-index/go.mod b/example/create-table-index/go.mod index d36ac772f..242eee241 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/cursor-pagination/go.mod b/example/cursor-pagination/go.mod index ec430e48a..a4d5d32d6 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/custom-type/go.mod b/example/custom-type/go.mod index 388c6e1af..c642cb5b1 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/fixture/go.mod b/example/fixture/go.mod index 601f098b1..9c201208c 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.4 - github.com/uptrace/bun/dbfixture v1.2.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dbfixture v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/get-where-fields/go.mod b/example/get-where-fields/go.mod index f992bccb3..5cae0913e 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 ) require ( diff --git a/example/migrate/go.mod b/example/migrate/go.mod index 633d53bf0..1c51ac929 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 github.com/urfave/cli/v2 v2.27.5 ) diff --git a/example/model-hooks/go.mod b/example/model-hooks/go.mod index ff5c9a608..c9996a7c1 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/multi-tenant/go.mod b/example/multi-tenant/go.mod index f3b8bec8e..5fd893454 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.4 - github.com/uptrace/bun/dbfixture v1.2.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dbfixture v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/opentelemetry/go.mod b/example/opentelemetry/go.mod index fb4ade92e..33e52782a 100644 --- a/example/opentelemetry/go.mod +++ b/example/opentelemetry/go.mod @@ -16,10 +16,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.4 - github.com/uptrace/bun/dialect/pgdialect v1.2.4 - github.com/uptrace/bun/driver/pgdriver v1.2.4 - github.com/uptrace/bun/extra/bunotel v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/pgdialect v1.2.5 + github.com/uptrace/bun/driver/pgdriver v1.2.5 + github.com/uptrace/bun/extra/bunotel v1.2.5 github.com/uptrace/uptrace-go v1.31.0 go.opentelemetry.io/otel v1.31.0 ) diff --git a/example/pg-faceted-search/go.mod b/example/pg-faceted-search/go.mod index dd005e831..09239f3d2 100644 --- a/example/pg-faceted-search/go.mod +++ b/example/pg-faceted-search/go.mod @@ -14,11 +14,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.4 - github.com/uptrace/bun/dbfixture v1.2.4 - github.com/uptrace/bun/dialect/pgdialect v1.2.4 - github.com/uptrace/bun/driver/pgdriver v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dbfixture v1.2.5 + github.com/uptrace/bun/dialect/pgdialect v1.2.5 + github.com/uptrace/bun/driver/pgdriver v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/pg-listen/go.mod b/example/pg-listen/go.mod index 69a440222..26579666e 100644 --- a/example/pg-listen/go.mod +++ b/example/pg-listen/go.mod @@ -11,10 +11,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.4 - github.com/uptrace/bun/dialect/pgdialect v1.2.4 - github.com/uptrace/bun/driver/pgdriver v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/pgdialect v1.2.5 + github.com/uptrace/bun/driver/pgdriver v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/placeholders/go.mod b/example/placeholders/go.mod index 13782780f..d27c020ae 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/rel-belongs-to/go.mod b/example/rel-belongs-to/go.mod index 0f8e1958a..e86ce3447 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/rel-has-many-polymorphic/go.mod b/example/rel-has-many-polymorphic/go.mod index a8ca1d277..9cbb09aae 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.4 - github.com/uptrace/bun/dbfixture v1.2.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dbfixture v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/rel-has-many/go.mod b/example/rel-has-many/go.mod index ad3734954..3faef2988 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/rel-has-one/go.mod b/example/rel-has-one/go.mod index eecd45da2..388fb2fed 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/rel-join-condition/go.mod b/example/rel-join-condition/go.mod index 122bcad13..c44c670d4 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/rel-many-to-many-self/go.mod b/example/rel-many-to-many-self/go.mod index 9b04b05c1..e4b76a95f 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/rel-many-to-many/go.mod b/example/rel-many-to-many/go.mod index 6c7e3968b..c3519ef11 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/string-representation/go.mod b/example/string-representation/go.mod index d3ad48138..73ca62592 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 ) require ( diff --git a/example/trivial/go.mod b/example/trivial/go.mod index cddfec34d..408d52e54 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.4 - github.com/uptrace/bun/dialect/mssqldialect v1.2.4 - github.com/uptrace/bun/dialect/mysqldialect v1.2.4 - github.com/uptrace/bun/dialect/pgdialect v1.2.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/pgdriver v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/mssqldialect v1.2.5 + github.com/uptrace/bun/dialect/mysqldialect v1.2.5 + github.com/uptrace/bun/dialect/pgdialect v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/pgdriver v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/example/tx-composition/go.mod b/example/tx-composition/go.mod index d1b32660d..91ad19129 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.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/extra/bundebug/go.mod b/extra/bundebug/go.mod index 031b2b780..e8ae70399 100644 --- a/extra/bundebug/go.mod +++ b/extra/bundebug/go.mod @@ -6,7 +6,7 @@ replace github.com/uptrace/bun => ../.. require ( github.com/fatih/color v1.18.0 - github.com/uptrace/bun v1.2.4 + github.com/uptrace/bun v1.2.5 ) require ( diff --git a/extra/bunotel/go.mod b/extra/bunotel/go.mod index 153e2ad1a..a902d51ca 100644 --- a/extra/bunotel/go.mod +++ b/extra/bunotel/go.mod @@ -5,7 +5,7 @@ go 1.22 replace github.com/uptrace/bun => ../.. require ( - github.com/uptrace/bun v1.2.4 + github.com/uptrace/bun v1.2.5 github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2 go.opentelemetry.io/otel v1.31.0 go.opentelemetry.io/otel/metric v1.31.0 diff --git a/extra/bunrelic/go.mod b/extra/bunrelic/go.mod index 709988923..70a59ae9b 100644 --- a/extra/bunrelic/go.mod +++ b/extra/bunrelic/go.mod @@ -6,7 +6,7 @@ replace github.com/uptrace/bun => ../.. require ( github.com/newrelic/go-agent/v3 v3.35.1 - github.com/uptrace/bun v1.2.4 + github.com/uptrace/bun v1.2.5 ) require ( diff --git a/extra/bunslog/go.mod b/extra/bunslog/go.mod index b1b0c9fd5..685da67a1 100644 --- a/extra/bunslog/go.mod +++ b/extra/bunslog/go.mod @@ -4,7 +4,7 @@ go 1.22 replace github.com/uptrace/bun => ../.. -require github.com/uptrace/bun v1.2.4 +require github.com/uptrace/bun v1.2.5 require ( github.com/jinzhu/inflection v1.0.0 // indirect diff --git a/internal/dbtest/go.mod b/internal/dbtest/go.mod index a066c6698..f205f3fd2 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.4 - github.com/uptrace/bun/dbfixture v1.2.4 - github.com/uptrace/bun/dialect/mssqldialect v1.2.4 - github.com/uptrace/bun/dialect/mysqldialect v1.2.4 - github.com/uptrace/bun/dialect/pgdialect v1.2.4 - github.com/uptrace/bun/dialect/sqlitedialect v1.2.4 - github.com/uptrace/bun/driver/pgdriver v1.2.4 - github.com/uptrace/bun/driver/sqliteshim v1.2.4 - github.com/uptrace/bun/extra/bundebug v1.2.4 + github.com/uptrace/bun v1.2.5 + github.com/uptrace/bun/dbfixture v1.2.5 + github.com/uptrace/bun/dialect/mssqldialect v1.2.5 + github.com/uptrace/bun/dialect/mysqldialect v1.2.5 + github.com/uptrace/bun/dialect/pgdialect v1.2.5 + github.com/uptrace/bun/dialect/sqlitedialect v1.2.5 + github.com/uptrace/bun/driver/pgdriver v1.2.5 + github.com/uptrace/bun/driver/sqliteshim v1.2.5 + github.com/uptrace/bun/extra/bundebug v1.2.5 ) require ( diff --git a/package.json b/package.json index d539c7caa..6a8d7082e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gobun", - "version": "1.2.4", + "version": "1.2.5", "main": "index.js", "repository": "git@github.com:uptrace/bun.git", "author": "Vladimir Mihailenco ", diff --git a/version.go b/version.go index 74286e2c3..7f23c12c3 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.4" + return "1.2.5" }