Skip to content

Commit

Permalink
chore: release v1.2.0 (release.sh) (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco authored Apr 2, 2024
1 parent 1b51688 commit b1b67b7
Show file tree
Hide file tree
Showing 41 changed files with 141 additions and 123 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# [1.2.0](https://github.com/uptrace/bun/compare/v1.1.17...v1.2.0) (2024-04-02)


### Bug Fixes

* embedding of scanonly fields ([ed6ed74](https://github.com/uptrace/bun/commit/ed6ed74d5379ea6badb09cc37709211a51f5792b))
* **table:** allow alt annotation ([#956](https://github.com/uptrace/bun/issues/956)) ([8a0397b](https://github.com/uptrace/bun/commit/8a0397b6e2219909d6b00d258eb7934170058edd))
* transactional migration file extension ([#959](https://github.com/uptrace/bun/issues/959)) ([921b15b](https://github.com/uptrace/bun/commit/921b15b80110d28251a9210c77397d29924ffbc5))


### Features

* Allow overiding of Warn and Deprecated loggers ([#952](https://github.com/uptrace/bun/issues/952)) ([0e9d737](https://github.com/uptrace/bun/commit/0e9d737e4ca2deb86930237ee32a39cf3f7e8157))
* enable SNI ([#953](https://github.com/uptrace/bun/issues/953)) ([4071ffb](https://github.com/uptrace/bun/commit/4071ffb5bcb1b233cda239c92504d8139dcf1d2f))
* **idb:** add NewMerge method to IDB ([#966](https://github.com/uptrace/bun/issues/966)) ([664e2f1](https://github.com/uptrace/bun/commit/664e2f154f1153d2a80cd062a5074f1692edaee7))



## [1.1.17](https://github.com/uptrace/bun/compare/v1.1.16...v1.1.17) (2024-01-11)


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

require (
github.com/uptrace/bun v1.1.17
github.com/uptrace/bun v1.2.0
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 @@ -7,7 +7,7 @@ toolchain go1.22.1
replace github.com/uptrace/bun => ../..

require (
github.com/uptrace/bun v1.1.17
github.com/uptrace/bun v1.2.0
golang.org/x/mod v0.16.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.17"
return "1.2.0"
}
2 changes: 1 addition & 1 deletion dialect/mysqldialect/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.22.1
replace github.com/uptrace/bun => ../..

require (
github.com/uptrace/bun v1.1.17
github.com/uptrace/bun v1.2.0
golang.org/x/mod v0.16.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.17"
return "1.2.0"
}
2 changes: 1 addition & 1 deletion dialect/pgdialect/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.22.1

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

require github.com/uptrace/bun v1.1.17
require github.com/uptrace/bun v1.2.0

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.17"
return "1.2.0"
}
2 changes: 1 addition & 1 deletion dialect/sqlitedialect/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.22.1

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

require github.com/uptrace/bun v1.1.17
require github.com/uptrace/bun v1.2.0

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.17"
return "1.2.0"
}
2 changes: 1 addition & 1 deletion driver/pgdriver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ replace github.com/uptrace/bun => ../..

require (
github.com/stretchr/testify v1.8.1
github.com/uptrace/bun v1.1.17
github.com/uptrace/bun v1.2.0
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 @@ -15,10 +15,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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -15,11 +15,11 @@ replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim
replace github.com/uptrace/bun/dbfixture => ../../dbfixture

require (
github.com/uptrace/bun v1.1.17
github.com/uptrace/bun/dbfixture v1.1.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dbfixture v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -15,9 +15,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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
)

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 @@ -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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
github.com/urfave/cli/v2 v2.27.1
)

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 @@ -16,10 +16,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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -16,11 +16,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.17
github.com/uptrace/bun/dbfixture v1.1.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dbfixture v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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

require (
github.com/brianvoe/gofakeit/v5 v5.11.2
github.com/uptrace/bun v1.1.17
github.com/uptrace/bun/dialect/pgdialect v1.1.17
github.com/uptrace/bun/driver/pgdriver v1.1.17
github.com/uptrace/bun/extra/bunotel v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/pgdialect v1.2.0
github.com/uptrace/bun/driver/pgdriver v1.2.0
github.com/uptrace/bun/extra/bunotel v1.2.0
github.com/uptrace/uptrace-go v1.24.0
go.opentelemetry.io/otel v1.24.0
)
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 @@ -16,11 +16,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.17
github.com/uptrace/bun/dbfixture v1.1.17
github.com/uptrace/bun/dialect/pgdialect v1.1.17
github.com/uptrace/bun/driver/pgdriver v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dbfixture v1.2.0
github.com/uptrace/bun/dialect/pgdialect v1.2.0
github.com/uptrace/bun/driver/pgdriver v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -13,10 +13,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.17
github.com/uptrace/bun/dialect/pgdialect v1.1.17
github.com/uptrace/bun/driver/pgdriver v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/pgdialect v1.2.0
github.com/uptrace/bun/driver/pgdriver v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -16,11 +16,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.17
github.com/uptrace/bun/dbfixture v1.1.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dbfixture v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

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 @@ -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.17
github.com/uptrace/bun/dialect/sqlitedialect v1.1.17
github.com/uptrace/bun/driver/sqliteshim v1.1.17
github.com/uptrace/bun/extra/bundebug v1.1.17
github.com/uptrace/bun v1.2.0
github.com/uptrace/bun/dialect/sqlitedialect v1.2.0
github.com/uptrace/bun/driver/sqliteshim v1.2.0
github.com/uptrace/bun/extra/bundebug v1.2.0
)

require (
Expand Down
Loading

0 comments on commit b1b67b7

Please sign in to comment.