Skip to content

Commit

Permalink
Merge pull request #282 from uptrace/release/v1.0.15
Browse files Browse the repository at this point in the history
chore: release v1.0.15 (release.sh)
  • Loading branch information
vmihailenco authored Oct 29, 2021
2 parents 074e00b + e5cf9b1 commit 51f99f5
Show file tree
Hide file tree
Showing 27 changed files with 104 additions and 88 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## [1.0.15](https://github.com/uptrace/bun/compare/v1.0.14...v1.0.15) (2021-10-29)


### Bug Fixes

* fixed bug creating table when model has no columns ([042c50b](https://github.com/uptrace/bun/commit/042c50bfe41caaa6e279e02c887c3a84a3acd84f))
* init table with dialect once ([9a1ce1e](https://github.com/uptrace/bun/commit/9a1ce1e492602742bb2f587e9ed24e50d7d07cad))


### Features

* accept columns in WherePK ([b3e7035](https://github.com/uptrace/bun/commit/b3e70356db1aa4891115a10902316090fccbc8bf))
* support ADD COLUMN IF NOT EXISTS ([ca7357c](https://github.com/uptrace/bun/commit/ca7357cdfe283e2f0b94eb638372e18401c486e9))



## [1.0.14](https://github.com/uptrace/bun/compare/v1.0.13...v1.0.14) (2021-10-24)


Expand Down
2 changes: 1 addition & 1 deletion dbfixture/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.16
replace github.com/uptrace/bun => ../

require (
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun v1.0.15
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
)
2 changes: 1 addition & 1 deletion dialect/mysqldialect/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.16
replace github.com/uptrace/bun => ../..

require (
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun v1.0.15
golang.org/x/mod v0.5.1
)
2 changes: 1 addition & 1 deletion dialect/pgdialect/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ go 1.16

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

require github.com/uptrace/bun v1.0.14
require github.com/uptrace/bun v1.0.15
2 changes: 1 addition & 1 deletion dialect/sqlitedialect/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ go 1.16

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

require github.com/uptrace/bun v1.0.14
require github.com/uptrace/bun v1.0.15
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.0.14
github.com/uptrace/bun v1.0.15
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
mellium.im/sasl v0.2.1
)
10 changes: 5 additions & 5 deletions example/basic/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.0.14
github.com/uptrace/bun/dbfixture v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dbfixture v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
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,8 +11,8 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial
replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim

require (
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
10 changes: 5 additions & 5 deletions example/fixture/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim
replace github.com/uptrace/bun/dbfixture => ../../dbfixture

require (
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dbfixture v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dbfixture v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
8 changes: 4 additions & 4 deletions example/migrate/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim

require (
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
github.com/urfave/cli/v2 v2.3.0
)
8 changes: 4 additions & 4 deletions example/model-hooks/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim

require (
github.com/davecgh/go-spew v1.1.1
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
10 changes: 5 additions & 5 deletions example/multi-tenant/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim

require (
github.com/davecgh/go-spew v1.1.1
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dbfixture v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dbfixture v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
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/sqliteshim => ../../driver/sqliteshim

require (
github.com/brianvoe/gofakeit/v5 v5.11.2
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bunotel v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bunotel v1.0.15
go.opentelemetry.io/otel v1.0.1
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.0.1
go.opentelemetry.io/otel/sdk v1.0.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,9 +14,9 @@ replace github.com/uptrace/bun/dialect/pgdialect => ../../dialect/pgdialect

require (
github.com/davecgh/go-spew v1.1.1
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dbfixture v1.0.14
github.com/uptrace/bun/dialect/pgdialect v1.0.14
github.com/uptrace/bun/driver/pgdriver v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dbfixture v1.0.15
github.com/uptrace/bun/dialect/pgdialect v1.0.15
github.com/uptrace/bun/driver/pgdriver v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
8 changes: 4 additions & 4 deletions example/placeholders/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
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,8 +11,8 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial
replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim

require (
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
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,8 +11,8 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial
replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim

require (
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
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,8 +11,8 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial
replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim

require (
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
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,8 +11,8 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial
replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim

require (
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
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,8 +11,8 @@ replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedial
replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim

require (
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
14 changes: 7 additions & 7 deletions example/trivial/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ replace github.com/uptrace/bun/dialect/mysqldialect => ../../dialect/mysqldialec

require (
github.com/go-sql-driver/mysql v1.6.0
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dialect/mysqldialect v1.0.14
github.com/uptrace/bun/dialect/pgdialect v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/pgdriver v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/mysqldialect v1.0.15
github.com/uptrace/bun/dialect/pgdialect v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/pgdriver v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
8 changes: 4 additions & 4 deletions example/tx-composition/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.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
2 changes: 1 addition & 1 deletion extra/bundebug/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ replace github.com/uptrace/bun => ../..
require (
github.com/fatih/color v1.13.0
github.com/mattn/go-colorable v0.1.11 // indirect
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun v1.0.15
)
2 changes: 1 addition & 1 deletion extra/bunotel/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.16
replace github.com/uptrace/bun => ../..

require (
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun v1.0.15
go.opentelemetry.io/otel v1.0.1
go.opentelemetry.io/otel/metric v0.24.0
go.opentelemetry.io/otel/trace v1.0.1
Expand Down
16 changes: 8 additions & 8 deletions internal/dbtest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ require (
github.com/google/uuid v1.0.0
github.com/jackc/pgx/v4 v4.11.0
github.com/stretchr/testify v1.7.0
github.com/uptrace/bun v1.0.14
github.com/uptrace/bun/dbfixture v1.0.14
github.com/uptrace/bun/dialect/mysqldialect v1.0.14
github.com/uptrace/bun/dialect/pgdialect v1.0.14
github.com/uptrace/bun/dialect/sqlitedialect v1.0.14
github.com/uptrace/bun/driver/pgdriver v1.0.14
github.com/uptrace/bun/driver/sqliteshim v1.0.14
github.com/uptrace/bun/extra/bundebug v1.0.14
github.com/uptrace/bun v1.0.15
github.com/uptrace/bun/dbfixture v1.0.15
github.com/uptrace/bun/dialect/mysqldialect v1.0.15
github.com/uptrace/bun/dialect/pgdialect v1.0.15
github.com/uptrace/bun/dialect/sqlitedialect v1.0.15
github.com/uptrace/bun/driver/pgdriver v1.0.15
github.com/uptrace/bun/driver/sqliteshim v1.0.15
github.com/uptrace/bun/extra/bundebug v1.0.15
)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bun",
"version": "1.0.14",
"version": "1.0.15",
"main": "index.js",
"repository": "[email protected]:uptrace/bun.git",
"author": "Vladimir Mihailenco <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package bun

// Version is the current release version.
func Version() string {
return "1.0.14"
return "1.0.15"
}

0 comments on commit 51f99f5

Please sign in to comment.