Skip to content

Commit

Permalink
Merge pull request #827 from uptrace/release/v1.1.13
Browse files Browse the repository at this point in the history
chore: release v1.1.13 (release.sh)
  • Loading branch information
vmihailenco authored May 6, 2023
2 parents 4cf12e9 + 3bf7f34 commit d2e0ef0
Show file tree
Hide file tree
Showing 40 changed files with 143 additions and 122 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## [1.1.13](https://github.com/uptrace/bun/compare/v1.1.12...v1.1.13) (2023-05-06)


### Bug Fixes

* bunbig.Int.Scan typo ([7ddabb8](https://github.com/uptrace/bun/commit/7ddabb8c667f50032bc0bb2523a287efbe0851e7))
* compare full MySQL version ([096fabe](https://github.com/uptrace/bun/commit/096fabefa114202d3601ad8e456f5e491a4e3787))
* enable delete table alias for MySQL >= 8.0.16 ([77a600b](https://github.com/uptrace/bun/commit/77a600bc060154fb91aa68e68ba6a8875e5b10fb))
* incorrect table relationship panic message [#791](https://github.com/uptrace/bun/issues/791) ([ad41888](https://github.com/uptrace/bun/commit/ad4188862eeaab30fc7c48d3224b5a786557aec5))
* should rollback if migrate using transaction and got an err (thanks [@bayshark](https://github.com/bayshark)) ([e7a119b](https://github.com/uptrace/bun/commit/e7a119b1b8911d8bf059bb271c90ad4a5f5f02be))


### Features

* add option to customize Go migration template ([f31bf73](https://github.com/uptrace/bun/commit/f31bf739b9c7a0383411b9e67cba96c858795c68))
* expose Exec(…) method for RawQuery ([11192c8](https://github.com/uptrace/bun/commit/11192c83f932eb7421ef09e06859a7f171de7803))
* prefix migration files with 1 upto 14 digits ([b74b671](https://github.com/uptrace/bun/commit/b74b6714bb6a83e470e21801c97cc40e20acfb50))
* rename option ([9353a3f](https://github.com/uptrace/bun/commit/9353a3f921c038fdf4a90665f1b0a9d0d03dc182))



## [1.1.12](https://github.com/uptrace/bun/compare/v1.1.11...v1.1.12) (2023-02-20)


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.12
github.com/uptrace/bun v1.1.13
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.12
github.com/uptrace/bun v1.1.13
golang.org/x/mod v0.10.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.12"
return "1.1.13"
}
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.12
github.com/uptrace/bun v1.1.13
golang.org/x/mod v0.10.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.12"
return "1.1.13"
}
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.12
require github.com/uptrace/bun v1.1.13

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.12"
return "1.1.13"
}
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.12
require github.com/uptrace/bun v1.1.13

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.12"
return "1.1.13"
}
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.12
github.com/uptrace/bun v1.1.13
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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dbfixture v1.1.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dbfixture v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
github.com/urfave/cli/v2 v2.25.3
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dbfixture v1.1.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dbfixture v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/pgdialect v1.1.12
github.com/uptrace/bun/driver/pgdriver v1.1.12
github.com/uptrace/bun/extra/bunotel v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/pgdialect v1.1.13
github.com/uptrace/bun/driver/pgdriver v1.1.13
github.com/uptrace/bun/extra/bunotel v1.1.13
github.com/uptrace/uptrace-go v1.15.0
go.opentelemetry.io/otel v1.15.1
)
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.12
github.com/uptrace/bun/dbfixture v1.1.12
github.com/uptrace/bun/dialect/pgdialect v1.1.12
github.com/uptrace/bun/driver/pgdriver v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dbfixture v1.1.13
github.com/uptrace/bun/dialect/pgdialect v1.1.13
github.com/uptrace/bun/driver/pgdriver v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/pgdialect v1.1.12
github.com/uptrace/bun/driver/pgdriver v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/pgdialect v1.1.13
github.com/uptrace/bun/driver/pgdriver v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dbfixture v1.1.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dbfixture v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

require (
Expand Down
8 changes: 4 additions & 4 deletions example/rel-many-to-many-self/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.12
github.com/uptrace/bun/dialect/sqlitedialect v1.1.12
github.com/uptrace/bun/driver/sqliteshim v1.1.12
github.com/uptrace/bun/extra/bundebug v1.1.12
github.com/uptrace/bun v1.1.13
github.com/uptrace/bun/dialect/sqlitedialect v1.1.13
github.com/uptrace/bun/driver/sqliteshim v1.1.13
github.com/uptrace/bun/extra/bundebug v1.1.13
)

require (
Expand Down
Loading

0 comments on commit d2e0ef0

Please sign in to comment.