diff --git a/CHANGELOG.md b/CHANGELOG.md index fb1f4ee6d..bfb01565a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +## [1.1.10](https://github.com/uptrace/bun/compare/v1.1.9...v1.1.10) (2023-01-16) + + +### Bug Fixes + +* allow QueryEvent to better detect operations in raw queries ([8e44735](https://github.com/uptrace/bun/commit/8e4473538364bae6562055d35e94c3e9c0b77691)) +* append default VARCHAR length instead of hardcoding it in the type definition ([e5079c7](https://github.com/uptrace/bun/commit/e5079c70343ba8c8b410aed23ac1d1ae5a2c9ff6)) +* prevent panic when use pg array with custom database type ([67e4412](https://github.com/uptrace/bun/commit/67e4412a972a9ed5f3a1d07c66957beedbc8a8a3)) +* properly return sql.ErrNoRows when scanning []byte ([996fead](https://github.com/uptrace/bun/commit/996fead2595fbcaff4878b77befe6709a54b3a4d)) + + +### Features + +* mssql output support for update or delete query ([#718](https://github.com/uptrace/bun/issues/718)) ([08876b4](https://github.com/uptrace/bun/commit/08876b4d420e761cbfa658aa6bb89b3f7c62c240)) +* add Err method to query builder ([c722c90](https://github.com/uptrace/bun/commit/c722c90f3dce2642ca4f4c2ab3f9a35cd496b557)) +* add support for time.Time array in Postgres ([3dd6f3b](https://github.com/uptrace/bun/commit/3dd6f3b2ac1bfbcda08240dc1676647b61715a9c)) +* mssql and pg merge query ([#723](https://github.com/uptrace/bun/issues/723)) ([deea764](https://github.com/uptrace/bun/commit/deea764d9380b16aad34228aa32717d10f2a4bab)) +* setError on attempt to set non-positive .Varchar() ([3335e0b](https://github.com/uptrace/bun/commit/3335e0b9d6d3f424145e1f715223a0fffe773d9a)) + + +### Reverts + +* go 1.18 ([67a4488](https://github.com/uptrace/bun/commit/67a448897eaaf1ebc54d629dfd3b2509b35da352)) + + + ## [1.1.9](https://github.com/uptrace/bun/compare/v1.1.8...v1.1.9) (2022-11-23) diff --git a/dbfixture/go.mod b/dbfixture/go.mod index 618fba748..eefcef2dd 100644 --- a/dbfixture/go.mod +++ b/dbfixture/go.mod @@ -5,7 +5,7 @@ go 1.18 replace github.com/uptrace/bun => ../ require ( - github.com/uptrace/bun v1.1.9 + github.com/uptrace/bun v1.1.10 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/dialect/mssqldialect/go.mod b/dialect/mssqldialect/go.mod index d35866342..67cebe474 100755 --- a/dialect/mssqldialect/go.mod +++ b/dialect/mssqldialect/go.mod @@ -5,7 +5,7 @@ go 1.18 replace github.com/uptrace/bun => ../.. require ( - github.com/uptrace/bun v1.1.9 + github.com/uptrace/bun v1.1.10 golang.org/x/mod v0.7.0 ) diff --git a/dialect/mssqldialect/version.go b/dialect/mssqldialect/version.go index 163fc24bc..d30cd3c9b 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.1.9" + return "1.1.10" } diff --git a/dialect/mysqldialect/go.mod b/dialect/mysqldialect/go.mod index 526ba6d83..018787fe7 100644 --- a/dialect/mysqldialect/go.mod +++ b/dialect/mysqldialect/go.mod @@ -5,7 +5,7 @@ go 1.18 replace github.com/uptrace/bun => ../.. require ( - github.com/uptrace/bun v1.1.9 + github.com/uptrace/bun v1.1.10 golang.org/x/mod v0.7.0 ) diff --git a/dialect/mysqldialect/version.go b/dialect/mysqldialect/version.go index eb6fa7aa3..e264c8eff 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.1.9" + return "1.1.10" } diff --git a/dialect/pgdialect/go.mod b/dialect/pgdialect/go.mod index 4f742e8dc..4837fa886 100644 --- a/dialect/pgdialect/go.mod +++ b/dialect/pgdialect/go.mod @@ -4,7 +4,7 @@ go 1.18 replace github.com/uptrace/bun => ../.. -require github.com/uptrace/bun v1.1.9 +require github.com/uptrace/bun v1.1.10 require ( github.com/jinzhu/inflection v1.0.0 // indirect diff --git a/dialect/pgdialect/version.go b/dialect/pgdialect/version.go index 0be479664..b7f683df3 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.1.9" + return "1.1.10" } diff --git a/dialect/sqlitedialect/go.mod b/dialect/sqlitedialect/go.mod index 595231408..407191bf2 100644 --- a/dialect/sqlitedialect/go.mod +++ b/dialect/sqlitedialect/go.mod @@ -4,7 +4,7 @@ go 1.18 replace github.com/uptrace/bun => ../.. -require github.com/uptrace/bun v1.1.9 +require github.com/uptrace/bun v1.1.10 require ( github.com/jinzhu/inflection v1.0.0 // indirect diff --git a/dialect/sqlitedialect/version.go b/dialect/sqlitedialect/version.go index b566ef6ec..0bdf81315 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.1.9" + return "1.1.10" } diff --git a/driver/pgdriver/go.mod b/driver/pgdriver/go.mod index fcfcea5b6..de384bebe 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.1.9 + github.com/uptrace/bun v1.1.10 mellium.im/sasl v0.3.1 ) diff --git a/example/basic/go.mod b/example/basic/go.mod index ac1539953..f561bc5e1 100644 --- a/example/basic/go.mod +++ b/example/basic/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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/create-table-index/go.mod b/example/create-table-index/go.mod index b2e7d0c26..b849a7cbc 100644 --- a/example/create-table-index/go.mod +++ b/example/create-table-index/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/cursor-pagination/go.mod b/example/cursor-pagination/go.mod index 5a885aded..ef49359a0 100644 --- a/example/cursor-pagination/go.mod +++ b/example/cursor-pagination/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/custom-type/go.mod b/example/custom-type/go.mod index 24d1338c8..42e16cb2e 100644 --- a/example/custom-type/go.mod +++ b/example/custom-type/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/fixture/go.mod b/example/fixture/go.mod index 5bf68a805..5133ca421 100644 --- a/example/fixture/go.mod +++ b/example/fixture/go.mod @@ -13,11 +13,11 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim replace github.com/uptrace/bun/dbfixture => ../../dbfixture require ( - github.com/uptrace/bun v1.1.9 - github.com/uptrace/bun/dbfixture v1.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dbfixture v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/get-where-fields/go.mod b/example/get-where-fields/go.mod index 56964dd47..0b29fbcc6 100644 --- a/example/get-where-fields/go.mod +++ b/example/get-where-fields/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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 ) require ( diff --git a/example/migrate/go.mod b/example/migrate/go.mod index f58c1c507..8ca3013cf 100644 --- a/example/migrate/go.mod +++ b/example/migrate/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 github.com/urfave/cli/v2 v2.23.7 ) diff --git a/example/model-hooks/go.mod b/example/model-hooks/go.mod index e9fa508c5..2234ad7ae 100644 --- a/example/model-hooks/go.mod +++ b/example/model-hooks/go.mod @@ -14,10 +14,10 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/davecgh/go-spew v1.1.1 - github.com/uptrace/bun v1.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/multi-tenant/go.mod b/example/multi-tenant/go.mod index 914bfd652..ca633bf9c 100644 --- a/example/multi-tenant/go.mod +++ b/example/multi-tenant/go.mod @@ -14,11 +14,11 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/davecgh/go-spew v1.1.1 - github.com/uptrace/bun v1.1.9 - github.com/uptrace/bun/dbfixture v1.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dbfixture v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/opentelemetry/go.mod b/example/opentelemetry/go.mod index 41f06b38a..87822af76 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.1.9 - github.com/uptrace/bun/dialect/pgdialect v1.1.9 - github.com/uptrace/bun/driver/pgdriver v1.1.9 - github.com/uptrace/bun/extra/bunotel v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/pgdialect v1.1.10 + github.com/uptrace/bun/driver/pgdriver v1.1.10 + github.com/uptrace/bun/extra/bunotel v1.1.10 github.com/uptrace/uptrace-go v1.11.8 go.opentelemetry.io/otel v1.11.2 ) diff --git a/example/pg-faceted-search/go.mod b/example/pg-faceted-search/go.mod index 50cceabd7..0f41ae3da 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.1.9 - github.com/uptrace/bun/dbfixture v1.1.9 - github.com/uptrace/bun/dialect/pgdialect v1.1.9 - github.com/uptrace/bun/driver/pgdriver v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dbfixture v1.1.10 + github.com/uptrace/bun/dialect/pgdialect v1.1.10 + github.com/uptrace/bun/driver/pgdriver v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/pg-listen/go.mod b/example/pg-listen/go.mod index 728c09964..81b26b8df 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.1.9 - github.com/uptrace/bun/dialect/pgdialect v1.1.9 - github.com/uptrace/bun/driver/pgdriver v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/pgdialect v1.1.10 + github.com/uptrace/bun/driver/pgdriver v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/placeholders/go.mod b/example/placeholders/go.mod index 6444ad8f1..4256d2472 100644 --- a/example/placeholders/go.mod +++ b/example/placeholders/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-belongs-to/go.mod b/example/rel-belongs-to/go.mod index 9baf2e3d2..1d5223ec9 100644 --- a/example/rel-belongs-to/go.mod +++ b/example/rel-belongs-to/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-has-many-polymorphic/go.mod b/example/rel-has-many-polymorphic/go.mod index 18d2e60c1..4317b2361 100644 --- a/example/rel-has-many-polymorphic/go.mod +++ b/example/rel-has-many-polymorphic/go.mod @@ -14,11 +14,11 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/davecgh/go-spew v1.1.1 - github.com/uptrace/bun v1.1.9 - github.com/uptrace/bun/dbfixture v1.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dbfixture v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-has-many/go.mod b/example/rel-has-many/go.mod index 99c2b1ebc..985a58f50 100644 --- a/example/rel-has-many/go.mod +++ b/example/rel-has-many/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-has-one/go.mod b/example/rel-has-one/go.mod index 8f70822fb..bf9d8e9da 100644 --- a/example/rel-has-one/go.mod +++ b/example/rel-has-one/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-join-condition/go.mod b/example/rel-join-condition/go.mod index aa15910f4..b9b6f3567 100644 --- a/example/rel-join-condition/go.mod +++ b/example/rel-join-condition/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-many-to-many-self/go.mod b/example/rel-many-to-many-self/go.mod index 6375f146d..56d729572 100644 --- a/example/rel-many-to-many-self/go.mod +++ b/example/rel-many-to-many-self/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-many-to-many/go.mod b/example/rel-many-to-many/go.mod index ad840ae31..8d1472a5d 100644 --- a/example/rel-many-to-many/go.mod +++ b/example/rel-many-to-many/go.mod @@ -11,10 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/string-representation/go.mod b/example/string-representation/go.mod index 4e2594ee9..983c827fa 100644 --- a/example/string-representation/go.mod +++ b/example/string-representation/go.mod @@ -11,9 +11,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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 ) require ( diff --git a/example/trivial/go.mod b/example/trivial/go.mod index cb30ae457..450d6ac8d 100644 --- a/example/trivial/go.mod +++ b/example/trivial/go.mod @@ -21,14 +21,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.7.0 - github.com/uptrace/bun v1.1.9 - github.com/uptrace/bun/dialect/mssqldialect v1.1.9 - github.com/uptrace/bun/dialect/mysqldialect v1.1.9 - github.com/uptrace/bun/dialect/pgdialect v1.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/pgdriver v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/mssqldialect v1.1.10 + github.com/uptrace/bun/dialect/mysqldialect v1.1.10 + github.com/uptrace/bun/dialect/pgdialect v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/pgdriver v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/tx-composition/go.mod b/example/tx-composition/go.mod index 89651408f..9bf0ba141 100644 --- a/example/tx-composition/go.mod +++ b/example/tx-composition/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.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/extra/bundebug/go.mod b/extra/bundebug/go.mod index 1e0c04338..7a2fb3b24 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.13.0 - github.com/uptrace/bun v1.1.9 + github.com/uptrace/bun v1.1.10 ) require ( diff --git a/extra/bunotel/go.mod b/extra/bunotel/go.mod index cbb715dc6..afe57ca0f 100644 --- a/extra/bunotel/go.mod +++ b/extra/bunotel/go.mod @@ -5,7 +5,7 @@ go 1.18 replace github.com/uptrace/bun => ../.. require ( - github.com/uptrace/bun v1.1.9 + github.com/uptrace/bun v1.1.10 github.com/uptrace/opentelemetry-go-extra/otelsql v0.1.18 go.opentelemetry.io/otel v1.11.2 go.opentelemetry.io/otel/metric v0.34.0 diff --git a/extra/bunrelic/go.mod b/extra/bunrelic/go.mod index f8d54309a..2bf888996 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.20.2 - github.com/uptrace/bun v1.1.9 + github.com/uptrace/bun v1.1.10 ) require ( diff --git a/internal/dbtest/go.mod b/internal/dbtest/go.mod index 83805708d..28b885b78 100644 --- a/internal/dbtest/go.mod +++ b/internal/dbtest/go.mod @@ -28,15 +28,15 @@ require ( github.com/google/uuid v1.3.0 github.com/jackc/pgx/v4 v4.11.0 github.com/stretchr/testify v1.8.1 - github.com/uptrace/bun v1.1.9 - github.com/uptrace/bun/dbfixture v1.1.9 - github.com/uptrace/bun/dialect/mssqldialect v1.1.9 - github.com/uptrace/bun/dialect/mysqldialect v1.1.9 - github.com/uptrace/bun/dialect/pgdialect v1.1.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.9 - github.com/uptrace/bun/driver/pgdriver v1.1.9 - github.com/uptrace/bun/driver/sqliteshim v1.1.9 - github.com/uptrace/bun/extra/bundebug v1.1.9 + github.com/uptrace/bun v1.1.10 + github.com/uptrace/bun/dbfixture v1.1.10 + github.com/uptrace/bun/dialect/mssqldialect v1.1.10 + github.com/uptrace/bun/dialect/mysqldialect v1.1.10 + github.com/uptrace/bun/dialect/pgdialect v1.1.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 + github.com/uptrace/bun/driver/pgdriver v1.1.10 + github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/uptrace/bun/extra/bundebug v1.1.10 ) require ( diff --git a/package.json b/package.json index 3634b56ab..7c25b6e46 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gobun", - "version": "1.1.9", + "version": "1.1.10", "main": "index.js", "repository": "git@github.com:uptrace/bun.git", "author": "Vladimir Mihailenco ", diff --git a/version.go b/version.go index 3be066d3d..14a4ddbca 100644 --- a/version.go +++ b/version.go @@ -2,5 +2,5 @@ package bun // Version is the current release version. func Version() string { - return "1.1.9" + return "1.1.10" }