From 6e0fc976a441d293a2ccc0bc678f22097c06739e Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Tue, 5 Oct 2021 09:47:26 +0300 Subject: [PATCH] chore: release v1.0.10 (release.sh) --- CHANGELOG.md | 17 +++++++++++++++++ dbfixture/go.mod | 2 +- dialect/mysqldialect/go.mod | 2 +- dialect/pgdialect/go.mod | 2 +- dialect/sqlitedialect/go.mod | 2 +- driver/pgdriver/go.mod | 2 +- example/basic/go.mod | 10 +++++----- example/belongs-to/go.mod | 8 ++++---- example/create-table-index/go.mod | 8 ++++---- example/fixture/go.mod | 10 +++++----- example/has-many/go.mod | 8 ++++---- example/has-one/go.mod | 8 ++++---- example/many-to-many/go.mod | 8 ++++---- example/migrate/go.mod | 8 ++++---- example/model-hooks/go.mod | 10 +++++----- example/opentelemetry/go.mod | 8 ++++---- example/pg-faceted-search/go.mod | 10 +++++----- example/placeholders/go.mod | 8 ++++---- example/trivial/go.mod | 14 +++++++------- example/tx-composition/go.mod | 8 ++++---- extra/bundebug/go.mod | 2 +- extra/bunotel/go.mod | 2 +- internal/dbtest/go.mod | 16 ++++++++-------- package.json | 2 +- version.go | 2 +- 25 files changed, 97 insertions(+), 80 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0221c225..adb0ba576 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +## [1.0.10](https://github.com/uptrace/bun/compare/v1.0.9...v1.0.10) (2021-10-05) + + +### Bug Fixes + +* add UpdateQuery.OmitZero ([2294db6](https://github.com/uptrace/bun/commit/2294db61d228711435fff1075409a30086b37555)) +* make ExcludeColumn work with many-to-many queries ([300e12b](https://github.com/uptrace/bun/commit/300e12b993554ff839ec4fa6bbea97e16aca1b55)) +* **mysqldialect:** append time in local timezone ([e763cc8](https://github.com/uptrace/bun/commit/e763cc81eac4b11fff4e074ad3ff6cd970a71697)) +* **tagparser:** improve parsing options with brackets ([0daa61e](https://github.com/uptrace/bun/commit/0daa61edc3c4d927ed260332b99ee09f4bb6b42f)) + + +### Features + +* add timetz parsing ([6e415c4](https://github.com/uptrace/bun/commit/6e415c4c5fa2c8caf4bb4aed4e5897fe5676f5a5)) + + + ## [1.0.9](https://github.com/uptrace/bun/compare/v1.0.8...v1.0.9) (2021-09-27) diff --git a/dbfixture/go.mod b/dbfixture/go.mod index f7f69a68c..ecf75a4c7 100644 --- a/dbfixture/go.mod +++ b/dbfixture/go.mod @@ -5,6 +5,6 @@ go 1.16 replace github.com/uptrace/bun => ../ require ( - github.com/uptrace/bun v1.0.9 + github.com/uptrace/bun v1.0.10 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b ) diff --git a/dialect/mysqldialect/go.mod b/dialect/mysqldialect/go.mod index f128e46da..8af39fbe9 100644 --- a/dialect/mysqldialect/go.mod +++ b/dialect/mysqldialect/go.mod @@ -5,6 +5,6 @@ go 1.16 replace github.com/uptrace/bun => ../.. require ( - github.com/uptrace/bun v1.0.9 + github.com/uptrace/bun v1.0.10 golang.org/x/mod v0.5.1 ) diff --git a/dialect/pgdialect/go.mod b/dialect/pgdialect/go.mod index 1a21c89af..841ea9d9d 100644 --- a/dialect/pgdialect/go.mod +++ b/dialect/pgdialect/go.mod @@ -4,4 +4,4 @@ go 1.16 replace github.com/uptrace/bun => ../.. -require github.com/uptrace/bun v1.0.9 +require github.com/uptrace/bun v1.0.10 diff --git a/dialect/sqlitedialect/go.mod b/dialect/sqlitedialect/go.mod index 7a4c56b3b..b7b5371ba 100644 --- a/dialect/sqlitedialect/go.mod +++ b/dialect/sqlitedialect/go.mod @@ -4,4 +4,4 @@ go 1.16 replace github.com/uptrace/bun => ../.. -require github.com/uptrace/bun v1.0.9 +require github.com/uptrace/bun v1.0.10 diff --git a/driver/pgdriver/go.mod b/driver/pgdriver/go.mod index 245511fc5..84ac0b32b 100644 --- a/driver/pgdriver/go.mod +++ b/driver/pgdriver/go.mod @@ -6,7 +6,7 @@ replace github.com/uptrace/bun => ../.. require ( github.com/stretchr/testify v1.7.0 - github.com/uptrace/bun v1.0.9 + github.com/uptrace/bun v1.0.10 golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect mellium.im/sasl v0.2.1 ) diff --git a/example/basic/go.mod b/example/basic/go.mod index cb4b724f8..e79f5365e 100644 --- a/example/basic/go.mod +++ b/example/basic/go.mod @@ -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.9 - github.com/uptrace/bun/dbfixture v1.0.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dbfixture v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/example/belongs-to/go.mod b/example/belongs-to/go.mod index e3219e48d..3de2b61e3 100644 --- a/example/belongs-to/go.mod +++ b/example/belongs-to/go.mod @@ -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.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/example/create-table-index/go.mod b/example/create-table-index/go.mod index 5818e3d10..c0948e7b6 100644 --- a/example/create-table-index/go.mod +++ b/example/create-table-index/go.mod @@ -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.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/example/fixture/go.mod b/example/fixture/go.mod index 0dc54dd1f..f5748985e 100644 --- a/example/fixture/go.mod +++ b/example/fixture/go.mod @@ -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.9 - github.com/uptrace/bun/dbfixture v1.0.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dbfixture v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/example/has-many/go.mod b/example/has-many/go.mod index 4a0721c01..aedd5586c 100644 --- a/example/has-many/go.mod +++ b/example/has-many/go.mod @@ -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.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/example/has-one/go.mod b/example/has-one/go.mod index e186befa6..c29400ee6 100644 --- a/example/has-one/go.mod +++ b/example/has-one/go.mod @@ -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.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/example/many-to-many/go.mod b/example/many-to-many/go.mod index e186befa6..c29400ee6 100644 --- a/example/many-to-many/go.mod +++ b/example/many-to-many/go.mod @@ -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.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/example/migrate/go.mod b/example/migrate/go.mod index 8c5036034..c2990c60c 100644 --- a/example/migrate/go.mod +++ b/example/migrate/go.mod @@ -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.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 github.com/urfave/cli/v2 v2.3.0 ) diff --git a/example/model-hooks/go.mod b/example/model-hooks/go.mod index 7e6f82536..ae372fbe5 100644 --- a/example/model-hooks/go.mod +++ b/example/model-hooks/go.mod @@ -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.9 - github.com/uptrace/bun/dbfixture v1.0.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dbfixture v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/example/opentelemetry/go.mod b/example/opentelemetry/go.mod index b927f970a..2c2a9acae 100644 --- a/example/opentelemetry/go.mod +++ b/example/opentelemetry/go.mod @@ -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.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bunotel v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bunotel v1.0.10 go.opentelemetry.io/otel v1.0.0 go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.0.0 go.opentelemetry.io/otel/sdk v1.0.0 diff --git a/example/pg-faceted-search/go.mod b/example/pg-faceted-search/go.mod index f9a60cab4..7b4b71a22 100644 --- a/example/pg-faceted-search/go.mod +++ b/example/pg-faceted-search/go.mod @@ -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.9 - github.com/uptrace/bun/dbfixture v1.0.9 - github.com/uptrace/bun/dialect/pgdialect v1.0.9 - github.com/uptrace/bun/driver/pgdriver v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dbfixture v1.0.10 + github.com/uptrace/bun/dialect/pgdialect v1.0.10 + github.com/uptrace/bun/driver/pgdriver v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/example/placeholders/go.mod b/example/placeholders/go.mod index 4a4facd75..dd8025394 100644 --- a/example/placeholders/go.mod +++ b/example/placeholders/go.mod @@ -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.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect ) diff --git a/example/trivial/go.mod b/example/trivial/go.mod index 4c31ec502..bc65d3ad4 100644 --- a/example/trivial/go.mod +++ b/example/trivial/go.mod @@ -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.9 - github.com/uptrace/bun/dialect/mysqldialect v1.0.9 - github.com/uptrace/bun/dialect/pgdialect v1.0.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/pgdriver v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dialect/mysqldialect v1.0.10 + github.com/uptrace/bun/dialect/pgdialect v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/pgdriver v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/example/tx-composition/go.mod b/example/tx-composition/go.mod index fc21a3ea1..86c7bcd42 100644 --- a/example/tx-composition/go.mod +++ b/example/tx-composition/go.mod @@ -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.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect ) diff --git a/extra/bundebug/go.mod b/extra/bundebug/go.mod index c891eff87..2b6b72e00 100644 --- a/extra/bundebug/go.mod +++ b/extra/bundebug/go.mod @@ -7,5 +7,5 @@ replace github.com/uptrace/bun => ../.. require ( github.com/fatih/color v1.13.0 github.com/mattn/go-colorable v0.1.10 // indirect - github.com/uptrace/bun v1.0.9 + github.com/uptrace/bun v1.0.10 ) diff --git a/extra/bunotel/go.mod b/extra/bunotel/go.mod index b74bc01af..f56b84c9a 100644 --- a/extra/bunotel/go.mod +++ b/extra/bunotel/go.mod @@ -5,7 +5,7 @@ go 1.16 replace github.com/uptrace/bun => ../.. require ( - github.com/uptrace/bun v1.0.9 + github.com/uptrace/bun v1.0.10 go.opentelemetry.io/otel v1.0.0 go.opentelemetry.io/otel/metric v0.23.0 go.opentelemetry.io/otel/trace v1.0.0 diff --git a/internal/dbtest/go.mod b/internal/dbtest/go.mod index d412c7de8..e651516cd 100644 --- a/internal/dbtest/go.mod +++ b/internal/dbtest/go.mod @@ -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.9 - github.com/uptrace/bun/dbfixture v1.0.9 - github.com/uptrace/bun/dialect/mysqldialect v1.0.9 - github.com/uptrace/bun/dialect/pgdialect v1.0.9 - github.com/uptrace/bun/dialect/sqlitedialect v1.0.9 - github.com/uptrace/bun/driver/pgdriver v1.0.9 - github.com/uptrace/bun/driver/sqliteshim v1.0.9 - github.com/uptrace/bun/extra/bundebug v1.0.9 + github.com/uptrace/bun v1.0.10 + github.com/uptrace/bun/dbfixture v1.0.10 + github.com/uptrace/bun/dialect/mysqldialect v1.0.10 + github.com/uptrace/bun/dialect/pgdialect v1.0.10 + github.com/uptrace/bun/dialect/sqlitedialect v1.0.10 + github.com/uptrace/bun/driver/pgdriver v1.0.10 + github.com/uptrace/bun/driver/sqliteshim v1.0.10 + github.com/uptrace/bun/extra/bundebug v1.0.10 ) diff --git a/package.json b/package.json index 2dab4c4be..496b81359 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bun", - "version": "1.0.9", + "version": "1.0.10", "main": "index.js", "repository": "git@github.com:uptrace/bun.git", "author": "Vladimir Mihailenco ", diff --git a/version.go b/version.go index 9e4962e2c..ff3a3a6fc 100644 --- a/version.go +++ b/version.go @@ -2,5 +2,5 @@ package bun // Version is the current release version. func Version() string { - return "1.0.9" + return "1.0.10" }