Skip to content

Commit

Permalink
chore: release v1.2.4 (release.sh)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Oct 26, 2024
1 parent 0c2bbcf commit 66223d7
Show file tree
Hide file tree
Showing 41 changed files with 146 additions and 123 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
## [1.2.4](https://github.com/uptrace/bun/compare/v1.2.3...v1.2.4) (2024-10-26)


### Bug Fixes

* allow Limit() without Order() with MSSQL ([#1009](https://github.com/uptrace/bun/issues/1009)) ([1a46ddc](https://github.com/uptrace/bun/commit/1a46ddc0d3ca0bdc60ca8be5ad1886799d14c8b0))
* copy bytes in mapModel.Scan ([#1030](https://github.com/uptrace/bun/issues/1030)) ([#1032](https://github.com/uptrace/bun/issues/1032)) ([39fda4e](https://github.com/uptrace/bun/commit/39fda4e3d341e59e4955f751cb354a939e57c1b1))
* return column option back ([#1036](https://github.com/uptrace/bun/issues/1036)) ([a3ccbea](https://github.com/uptrace/bun/commit/a3ccbeab39151d3eed6cb245fe15cfb5d71ba557))
* sql.NullString mistaken as custom struct ([#1019](https://github.com/uptrace/bun/issues/1019)) ([87c77b8](https://github.com/uptrace/bun/commit/87c77b8911f2035b0ee8ea96356a2c7600b5b94d))
* typos ([#1026](https://github.com/uptrace/bun/issues/1026)) ([760de7d](https://github.com/uptrace/bun/commit/760de7d0fad15dc761475670a4dde056aef9210d))


### Features

* add transaction isolation level support to pgdriver ([#1034](https://github.com/uptrace/bun/issues/1034)) ([3ef44ce](https://github.com/uptrace/bun/commit/3ef44ce1cdd969a21b76d6c803119cf12c375cb0))


### Performance Improvements

* refactor SelectQuery.ScanAndCount to optimize performance when there is no limit and offset ([#1035](https://github.com/uptrace/bun/issues/1035)) ([8638613](https://github.com/uptrace/bun/commit/86386135897485bbada6c50ec9a2743626111433))



## [1.2.3](https://github.com/uptrace/bun/compare/v1.2.2...v1.2.3) (2024-08-31)


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

require (
github.com/uptrace/bun v1.2.3
github.com/uptrace/bun v1.2.4
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.6
replace github.com/uptrace/bun => ../..

require (
github.com/uptrace/bun v1.2.3
github.com/uptrace/bun v1.2.4
golang.org/x/mod v0.21.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.2.3"
return "1.2.4"
}
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.6
replace github.com/uptrace/bun => ../..

require (
github.com/uptrace/bun v1.2.3
github.com/uptrace/bun v1.2.4
golang.org/x/mod v0.21.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.2.3"
return "1.2.4"
}
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 @@ replace github.com/uptrace/bun => ../..

require (
github.com/stretchr/testify v1.8.1
github.com/uptrace/bun v1.2.3
github.com/uptrace/bun v1.2.4
)

require (
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.2.3"
return "1.2.4"
}
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.22

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

require github.com/uptrace/bun v1.2.3
require github.com/uptrace/bun v1.2.4

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.2.3"
return "1.2.4"
}
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.2.3
github.com/uptrace/bun v1.2.4
mellium.im/sasl v0.3.2
)

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

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

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

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

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

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

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.2.3
github.com/uptrace/bun/dialect/sqlitedialect v1.2.3
github.com/uptrace/bun/driver/sqliteshim v1.2.3
github.com/uptrace/bun/extra/bundebug v1.2.3
github.com/uptrace/bun v1.2.4
github.com/uptrace/bun/dialect/sqlitedialect v1.2.4
github.com/uptrace/bun/driver/sqliteshim v1.2.4
github.com/uptrace/bun/extra/bundebug v1.2.4
github.com/urfave/cli/v2 v2.27.5
)

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

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

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.2.3
github.com/uptrace/bun/dialect/pgdialect v1.2.3
github.com/uptrace/bun/driver/pgdriver v1.2.3
github.com/uptrace/bun/extra/bunotel v1.2.3
github.com/uptrace/bun v1.2.4
github.com/uptrace/bun/dialect/pgdialect v1.2.4
github.com/uptrace/bun/driver/pgdriver v1.2.4
github.com/uptrace/bun/extra/bunotel v1.2.4
github.com/uptrace/uptrace-go v1.31.0
go.opentelemetry.io/otel v1.31.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 @@ -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.2.3
github.com/uptrace/bun/dbfixture v1.2.3
github.com/uptrace/bun/dialect/pgdialect v1.2.3
github.com/uptrace/bun/driver/pgdriver v1.2.3
github.com/uptrace/bun/extra/bundebug v1.2.3
github.com/uptrace/bun v1.2.4
github.com/uptrace/bun/dbfixture v1.2.4
github.com/uptrace/bun/dialect/pgdialect v1.2.4
github.com/uptrace/bun/driver/pgdriver v1.2.4
github.com/uptrace/bun/extra/bundebug v1.2.4
)

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

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

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

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

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

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

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

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

require (
Expand Down
Loading

0 comments on commit 66223d7

Please sign in to comment.