Skip to content

Commit

Permalink
Merge pull request #210 from uptrace/release/v1.0.8
Browse files Browse the repository at this point in the history
chore: release v1.0.8 (release.sh)
  • Loading branch information
vmihailenco authored Sep 18, 2021
2 parents 27c477c + 9f53c4d commit 7daf77c
Show file tree
Hide file tree
Showing 24 changed files with 87 additions and 75 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## [1.0.8](https://github.com/uptrace/bun/compare/v1.0.7...v1.0.8) (2021-09-18)


### Bug Fixes

* don't append soft delete where for insert queries with on conflict clause ([27c477c](https://github.com/uptrace/bun/commit/27c477ce071d4c49c99a2531d638ed9f20e33461))
* improve bun.NullTime to accept string ([73ad6f5](https://github.com/uptrace/bun/commit/73ad6f5640a0a9b09f8df2bc4ab9cb510021c50c))
* make allowzero work with auto-detected primary keys ([82ca87c](https://github.com/uptrace/bun/commit/82ca87c7c49797d507b31fdaacf8343716d4feff))
* support soft deletes on nil model ([0556e3c](https://github.com/uptrace/bun/commit/0556e3c63692a7f4e48659d52b55ffd9cca0202a))



## [1.0.7](https://github.com/uptrace/bun/compare/v1.0.6...v1.0.7) (2021-09-15)


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.7
github.com/uptrace/bun v1.0.8
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.7
github.com/uptrace/bun v1.0.8
golang.org/x/mod v0.4.2
)
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.7
require github.com/uptrace/bun v1.0.8
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.7
require github.com/uptrace/bun v1.0.8
2 changes: 1 addition & 1 deletion driver/pgdriver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ replace github.com/uptrace/bun => ../..

require (
github.com/stretchr/testify v1.7.0
github.com/uptrace/bun v1.0.7
github.com/uptrace/bun v1.0.8
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.7
github.com/uptrace/bun/dbfixture v1.0.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dbfixture v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
)
8 changes: 4 additions & 4 deletions example/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.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
)
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.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
)
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.7
github.com/uptrace/bun/dbfixture v1.0.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dbfixture v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
)
8 changes: 4 additions & 4 deletions example/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.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
)
8 changes: 4 additions & 4 deletions example/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.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
)
8 changes: 4 additions & 4 deletions example/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.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
)
8 changes: 4 additions & 4 deletions example/migrate/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
require (
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/uptrace/bun v1.0.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
github.com/urfave/cli/v2 v2.3.0
)
10 changes: 5 additions & 5 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.7
github.com/uptrace/bun/dbfixture v1.0.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dbfixture v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
)
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.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bunotel v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bunotel v1.0.8
go.opentelemetry.io/otel v1.0.0-RC3
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.0.0-RC3
go.opentelemetry.io/otel/sdk v1.0.0-RC3
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,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.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
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.7
github.com/uptrace/bun/dialect/mysqldialect v1.0.7
github.com/uptrace/bun/dialect/pgdialect v1.0.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/pgdriver v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dialect/mysqldialect v1.0.8
github.com/uptrace/bun/dialect/pgdialect v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/pgdriver v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
)
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.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
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 @@ -6,5 +6,5 @@ replace github.com/uptrace/bun => ../..

require (
github.com/fatih/color v1.10.0
github.com/uptrace/bun v1.0.7
github.com/uptrace/bun v1.0.8
)
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.7
github.com/uptrace/bun v1.0.8
go.opentelemetry.io/otel v1.0.0-RC1
go.opentelemetry.io/otel/trace v1.0.0-RC1
)
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.7
github.com/uptrace/bun/dbfixture v1.0.7
github.com/uptrace/bun/dialect/mysqldialect v1.0.7
github.com/uptrace/bun/dialect/pgdialect v1.0.7
github.com/uptrace/bun/dialect/sqlitedialect v1.0.7
github.com/uptrace/bun/driver/pgdriver v1.0.7
github.com/uptrace/bun/driver/sqliteshim v1.0.7
github.com/uptrace/bun/extra/bundebug v1.0.7
github.com/uptrace/bun v1.0.8
github.com/uptrace/bun/dbfixture v1.0.8
github.com/uptrace/bun/dialect/mysqldialect v1.0.8
github.com/uptrace/bun/dialect/pgdialect v1.0.8
github.com/uptrace/bun/dialect/sqlitedialect v1.0.8
github.com/uptrace/bun/driver/pgdriver v1.0.8
github.com/uptrace/bun/driver/sqliteshim v1.0.8
github.com/uptrace/bun/extra/bundebug v1.0.8
)
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.7",
"version": "1.0.8",
"main": "index.js",
"repository": "git@github.com:uptrace/bun.git",
"author": "Vladimir Mihailenco <vladimir.webdev@gmail.com>",
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.7"
return "1.0.8"
}

0 comments on commit 7daf77c

Please sign in to comment.