Skip to content

Commit

Permalink
Merge pull request #756 from uptrace/release/v1.1.10
Browse files Browse the repository at this point in the history
chore: release v1.1.10 (release.sh)
  • Loading branch information
vmihailenco authored Jan 16, 2023
2 parents 233f364 + 443cca2 commit 635592d
Show file tree
Hide file tree
Showing 40 changed files with 148 additions and 122 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
2 changes: 1 addition & 1 deletion dbfixture/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion dialect/mssqldialect/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion dialect/mssqldialect/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package mssqldialect

// Version is the current release version.
func Version() string {
return "1.1.9"
return "1.1.10"
}
2 changes: 1 addition & 1 deletion dialect/mysqldialect/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion dialect/mysqldialect/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package mysqldialect

// Version is the current release version.
func Version() string {
return "1.1.9"
return "1.1.10"
}
2 changes: 1 addition & 1 deletion dialect/pgdialect/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dialect/pgdialect/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package pgdialect

// Version is the current release version.
func Version() string {
return "1.1.9"
return "1.1.10"
}
2 changes: 1 addition & 1 deletion dialect/sqlitedialect/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dialect/sqlitedialect/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package sqlitedialect

// Version is the current release version.
func Version() string {
return "1.1.9"
return "1.1.10"
}
2 changes: 1 addition & 1 deletion driver/pgdriver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
8 changes: 4 additions & 4 deletions example/basic/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/create-table-index/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/cursor-pagination/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/custom-type/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
10 changes: 5 additions & 5 deletions example/fixture/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
6 changes: 3 additions & 3 deletions example/get-where-fields/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/migrate/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
8 changes: 4 additions & 4 deletions example/model-hooks/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
10 changes: 5 additions & 5 deletions example/multi-tenant/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/opentelemetry/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
10 changes: 5 additions & 5 deletions example/pg-faceted-search/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/pg-listen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/placeholders/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/rel-belongs-to/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
10 changes: 5 additions & 5 deletions example/rel-has-many-polymorphic/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/rel-has-many/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/rel-has-one/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions example/rel-join-condition/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
Loading

0 comments on commit 635592d

Please sign in to comment.