diff --git a/CHANGELOG.md b/CHANGELOG.md index 6492cdf..a064f42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# [4.0.0-beta.4](https://github.com/vmihailenco/taskq/compare/v4.0.0-beta.3...v4.0.0-beta.4) (2023-05-10) + + +### Features + +* add oteltaskq ([7cee441](https://github.com/vmihailenco/taskq/commit/7cee441630ccff79f22a292e6b564a9e9c7bcd84)) + + + # [4.0.0-beta.3](https://github.com/vmihailenco/taskq/compare/v4.0.0-beta.2...v4.0.0-beta.3) (2023-04-04) diff --git a/example/redisexample/go.mod b/example/redisexample/go.mod index c0354a8..f1e6ad8 100644 --- a/example/redisexample/go.mod +++ b/example/redisexample/go.mod @@ -12,8 +12,8 @@ replace github.com/vmihailenco/taskq/taskqtest/v4 => ../../taskqtest require ( github.com/redis/go-redis/v9 v9.0.3 - github.com/vmihailenco/taskq/redisq/v4 v4.0.0-beta.3 - github.com/vmihailenco/taskq/v4 v4.0.0-beta.3 + github.com/vmihailenco/taskq/redisq/v4 v4.0.0-beta.4 + github.com/vmihailenco/taskq/v4 v4.0.0-beta.4 ) require ( @@ -21,6 +21,8 @@ require ( github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect + github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/stdr v1.2.2 // indirect github.com/go-redis/redis_rate/v10 v10.0.1 // indirect github.com/google/uuid v1.3.0 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect diff --git a/example/redisexample/go.sum b/example/redisexample/go.sum index c66c522..382c021 100644 --- a/example/redisexample/go.sum +++ b/example/redisexample/go.sum @@ -10,6 +10,11 @@ github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WA github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-redis/redis_rate/v10 v10.0.1 h1:calPxi7tVlxojKunJwQ72kwfozdy25RjA0bCj1h0MUo= github.com/go-redis/redis_rate/v10 v10.0.1/go.mod h1:EMiuO9+cjRkR7UvdvwMO7vbgqJkltQHtwbdIQvaBKIU= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= diff --git a/extra/oteltaskq/go.mod b/extra/oteltaskq/go.mod index 2875ca7..7e13a8b 100644 --- a/extra/oteltaskq/go.mod +++ b/extra/oteltaskq/go.mod @@ -7,7 +7,7 @@ replace github.com/vmihailenco/taskq/v4 => ../.. replace github.com/vmihailenco/taskq/memqueue/v4 => ../../memqueue require ( - github.com/vmihailenco/taskq/v4 v4.0.0-beta.3 + github.com/vmihailenco/taskq/v4 v4.0.0-beta.4 go.opentelemetry.io/otel v1.15.1 go.opentelemetry.io/otel/trace v1.15.1 diff --git a/go.mod b/go.mod index 91b722f..ceb785b 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/klauspost/compress v1.16.3 github.com/redis/go-redis/v9 v9.0.3 github.com/vmihailenco/msgpack/v5 v5.3.5 - github.com/vmihailenco/taskq/memqueue/v4 v4.0.0-beta.3 + github.com/vmihailenco/taskq/memqueue/v4 v4.0.0-beta.4 ) require ( diff --git a/memqueue/go.mod b/memqueue/go.mod index 095efe8..eb7c837 100644 --- a/memqueue/go.mod +++ b/memqueue/go.mod @@ -11,7 +11,7 @@ require ( github.com/onsi/gomega v1.27.6 github.com/redis/go-redis/v9 v9.0.3 github.com/satori/go.uuid v1.2.0 - github.com/vmihailenco/taskq/v4 v4.0.0-beta.3 + github.com/vmihailenco/taskq/v4 v4.0.0-beta.4 ) require ( @@ -19,6 +19,8 @@ require ( github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/fsnotify/fsnotify v1.4.9 // indirect + github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/stdr v1.2.2 // indirect github.com/go-redis/redis_rate/v10 v10.0.1 // indirect github.com/google/go-cmp v0.5.9 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect diff --git a/memqueue/go.sum b/memqueue/go.sum index 5b99510..d4a8f1d 100644 --- a/memqueue/go.sum +++ b/memqueue/go.sum @@ -12,7 +12,11 @@ github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cu github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-redis/redis_rate/v10 v10.0.1 h1:calPxi7tVlxojKunJwQ72kwfozdy25RjA0bCj1h0MUo= github.com/go-redis/redis_rate/v10 v10.0.1/go.mod h1:EMiuO9+cjRkR7UvdvwMO7vbgqJkltQHtwbdIQvaBKIU= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= diff --git a/package.json b/package.json index b17ff31..a9a0658 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,4 @@ { "name": "taskq", - "version": "4.0.0-beta.3" + "version": "4.0.0-beta.4" } diff --git a/pgq/go.mod b/pgq/go.mod index 2edaae6..8cf1beb 100644 --- a/pgq/go.mod +++ b/pgq/go.mod @@ -15,8 +15,8 @@ require ( github.com/uptrace/bun/dialect/pgdialect v1.1.12 github.com/uptrace/bun/driver/pgdriver v1.1.12 github.com/uptrace/bun/extra/bundebug v1.1.12 - github.com/vmihailenco/taskq/taskqtest/v4 v4.0.0-beta.3 - github.com/vmihailenco/taskq/v4 v4.0.0-beta.3 + github.com/vmihailenco/taskq/taskqtest/v4 v4.0.0-beta.4 + github.com/vmihailenco/taskq/v4 v4.0.0-beta.4 ) require ( @@ -25,6 +25,8 @@ require ( github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/fatih/color v1.14.1 // indirect + github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/stdr v1.2.2 // indirect github.com/go-redis/redis_rate/v10 v10.0.1 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/jinzhu/inflection v1.0.0 // indirect diff --git a/pgq/go.sum b/pgq/go.sum index a4905d6..d9d2abb 100644 --- a/pgq/go.sum +++ b/pgq/go.sum @@ -11,6 +11,11 @@ github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/r github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= github.com/fatih/color v1.14.1 h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w= github.com/fatih/color v1.14.1/go.mod h1:2oHN61fhTpgcxD3TSWCgKDiH1+x4OiDVVGH8WlgGZGg= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-redis/redis_rate/v10 v10.0.1 h1:calPxi7tVlxojKunJwQ72kwfozdy25RjA0bCj1h0MUo= github.com/go-redis/redis_rate/v10 v10.0.1/go.mod h1:EMiuO9+cjRkR7UvdvwMO7vbgqJkltQHtwbdIQvaBKIU= github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= diff --git a/redisq/go.mod b/redisq/go.mod index feef1e4..7086fbc 100644 --- a/redisq/go.mod +++ b/redisq/go.mod @@ -14,8 +14,8 @@ require ( github.com/oklog/ulid/v2 v2.1.0 github.com/redis/go-redis/v9 v9.0.3 github.com/stretchr/testify v1.8.2 - github.com/vmihailenco/taskq/taskqtest/v4 v4.0.0-beta.3 - github.com/vmihailenco/taskq/v4 v4.0.0-beta.3 + github.com/vmihailenco/taskq/taskqtest/v4 v4.0.0-beta.4 + github.com/vmihailenco/taskq/v4 v4.0.0-beta.4 ) require ( @@ -23,6 +23,8 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect + github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/stdr v1.2.2 // indirect github.com/go-redis/redis_rate/v10 v10.0.1 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/klauspost/compress v1.16.3 // indirect diff --git a/redisq/go.sum b/redisq/go.sum index 85d6ea7..b1e4ef7 100644 --- a/redisq/go.sum +++ b/redisq/go.sum @@ -11,6 +11,11 @@ github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WA github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-redis/redis_rate/v10 v10.0.1 h1:calPxi7tVlxojKunJwQ72kwfozdy25RjA0bCj1h0MUo= github.com/go-redis/redis_rate/v10 v10.0.1/go.mod h1:EMiuO9+cjRkR7UvdvwMO7vbgqJkltQHtwbdIQvaBKIU= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= diff --git a/taskqtest/go.mod b/taskqtest/go.mod index fb7b49d..bc47628 100644 --- a/taskqtest/go.mod +++ b/taskqtest/go.mod @@ -10,13 +10,15 @@ require ( github.com/go-redis/redis_rate/v10 v10.0.1 github.com/redis/go-redis/v9 v9.0.3 github.com/stretchr/testify v1.8.2 - github.com/vmihailenco/taskq/v4 v4.0.0-beta.3 + github.com/vmihailenco/taskq/v4 v4.0.0-beta.4 ) require ( github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect + github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/stdr v1.2.2 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/klauspost/compress v1.16.3 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect diff --git a/taskqtest/go.sum b/taskqtest/go.sum index 6f93cf4..d7c4d8f 100644 --- a/taskqtest/go.sum +++ b/taskqtest/go.sum @@ -8,6 +8,11 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WAFKLNi6ZS0675eEUC9y3AlwSbQu1Y= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-redis/redis_rate/v10 v10.0.1 h1:calPxi7tVlxojKunJwQ72kwfozdy25RjA0bCj1h0MUo= github.com/go-redis/redis_rate/v10 v10.0.1/go.mod h1:EMiuO9+cjRkR7UvdvwMO7vbgqJkltQHtwbdIQvaBKIU= github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= diff --git a/version.go b/version.go index fb6aa92..68b3c62 100644 --- a/version.go +++ b/version.go @@ -2,5 +2,5 @@ package taskq // Version is the current release version. func Version() string { - return "4.0.0-beta.3" + return "4.0.0-beta.4" }