Skip to content

Commit

Permalink
Merge pull request #502 from uptrace/release/v1.1.3
Browse files Browse the repository at this point in the history
chore: release v1.1.3 (release.sh)
  • Loading branch information
vmihailenco authored Mar 29, 2022
2 parents 036c376 + b419ac7 commit 7c2207e
Show file tree
Hide file tree
Showing 36 changed files with 126 additions and 111 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# [](https://github.com/uptrace/bun/compare/v1.1.2...v) (2022-03-29)


### Bug Fixes

* fix panic message when has-many encounter an error ([cfd2747](https://github.com/uptrace/bun/commit/cfd27475fac89a1c8cf798bfa64898bd77bbba79))
* **migrate:** change rollback to match migrate behavior ([df5af9c](https://github.com/uptrace/bun/commit/df5af9c9cbdf54ce243e037bbb2c7b154f8422b3))


### Features

* added QueryBuilder interface for SelectQuery, UpdateQuery, DeleteQuery ([#499](https://github.com/uptrace/bun/issues/499)) ([59fef48](https://github.com/uptrace/bun/commit/59fef48f6b3ec7f32bdda779b6693c333ff1dfdb))



# [1.1.2](https://github.com/uptrace/bun/compare/v1.1.2...v) (2022-03-22)

### Bug Fixes
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.17
replace github.com/uptrace/bun => ../

require (
github.com/uptrace/bun v1.1.2
github.com/uptrace/bun v1.1.3
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
)

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.17
replace github.com/uptrace/bun => ../..

require (
github.com/uptrace/bun v1.1.2
github.com/uptrace/bun v1.1.3
golang.org/x/mod v0.5.1
)

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.2"
return "1.1.3"
}
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.17
replace github.com/uptrace/bun => ../..

require (
github.com/uptrace/bun v1.1.2
github.com/uptrace/bun v1.1.3
golang.org/x/mod v0.5.1
)

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.2"
return "1.1.3"
}
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.17

replace github.com/uptrace/bun => ../..

require github.com/uptrace/bun v1.1.2
require github.com/uptrace/bun v1.1.3

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.2"
return "1.1.3"
}
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.17

replace github.com/uptrace/bun => ../..

require github.com/uptrace/bun v1.1.2
require github.com/uptrace/bun v1.1.3

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.2"
return "1.1.3"
}
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.7.0
github.com/uptrace/bun v1.1.2
github.com/uptrace/bun v1.1.3
mellium.im/sasl v0.2.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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dbfixture v1.1.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dbfixture v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
github.com/urfave/cli/v2 v2.4.0
)

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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dbfixture v1.1.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dbfixture v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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 @@ -18,10 +18,10 @@ exclude go.opentelemetry.io/proto/otlp v0.15.0

require (
github.com/brianvoe/gofakeit/v5 v5.11.2
github.com/uptrace/bun v1.1.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bunotel v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bunotel v1.1.3
github.com/uptrace/opentelemetry-go-extra/otelplay v0.1.11
go.opentelemetry.io/otel v1.6.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.2
github.com/uptrace/bun/dbfixture v1.1.2
github.com/uptrace/bun/dialect/pgdialect v1.1.2
github.com/uptrace/bun/driver/pgdriver v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dbfixture v1.1.3
github.com/uptrace/bun/dialect/pgdialect v1.1.3
github.com/uptrace/bun/driver/pgdriver v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dialect/pgdialect v1.1.2
github.com/uptrace/bun/driver/pgdriver v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/pgdialect v1.1.3
github.com/uptrace/bun/driver/pgdriver v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dbfixture v1.1.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dbfixture v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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.2
github.com/uptrace/bun/dialect/sqlitedialect v1.1.2
github.com/uptrace/bun/driver/sqliteshim v1.1.2
github.com/uptrace/bun/extra/bundebug v1.1.2
github.com/uptrace/bun v1.1.3
github.com/uptrace/bun/dialect/sqlitedialect v1.1.3
github.com/uptrace/bun/driver/sqliteshim v1.1.3
github.com/uptrace/bun/extra/bundebug v1.1.3
)

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

require (
Expand Down
Loading

0 comments on commit 7c2207e

Please sign in to comment.