From 1ff4582ba5c8f25d2218ed3fa1d9fc64ab6388ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20Sm=C3=B3=C5=82ka?= Date: Fri, 18 Oct 2024 16:02:40 +0200 Subject: [PATCH] Bump amqp to v3 (#503) --- _examples/basic/5-cqrs-protobuf/go.mod | 4 ++-- _examples/basic/5-cqrs-protobuf/go.sum | 12 ++++++------ _examples/basic/5-cqrs-protobuf/main.go | 2 +- _examples/pubsubs/amqp/go.mod | 4 ++-- _examples/pubsubs/amqp/go.sum | 12 ++++++------ _examples/pubsubs/amqp/main.go | 2 +- docs/content/pubsubs/amqp.md | 2 +- tools/mill/cmd/amqp.go | 2 +- tools/mill/go.mod | 4 ++-- tools/mill/go.sum | 8 ++++---- 10 files changed, 26 insertions(+), 26 deletions(-) diff --git a/_examples/basic/5-cqrs-protobuf/go.mod b/_examples/basic/5-cqrs-protobuf/go.mod index 75fe18a74..406956feb 100644 --- a/_examples/basic/5-cqrs-protobuf/go.mod +++ b/_examples/basic/5-cqrs-protobuf/go.mod @@ -1,8 +1,8 @@ module main.go require ( - github.com/ThreeDotsLabs/watermill v1.3.5 - github.com/ThreeDotsLabs/watermill-amqp/v2 v2.1.2 + github.com/ThreeDotsLabs/watermill v1.3.7 + github.com/ThreeDotsLabs/watermill-amqp/v3 v3.0.0 github.com/golang/protobuf v1.5.4 ) diff --git a/_examples/basic/5-cqrs-protobuf/go.sum b/_examples/basic/5-cqrs-protobuf/go.sum index 21916e2df..8b9e98ea5 100644 --- a/_examples/basic/5-cqrs-protobuf/go.sum +++ b/_examples/basic/5-cqrs-protobuf/go.sum @@ -1,7 +1,7 @@ -github.com/ThreeDotsLabs/watermill v1.3.5 h1:50JEPEhMGZQMh08ct0tfO1PsgMOAOhV3zxK2WofkbXg= -github.com/ThreeDotsLabs/watermill v1.3.5/go.mod h1:O/u/Ptyrk5MPTxSeWM5vzTtZcZfxXfO9PK9eXTYiFZY= -github.com/ThreeDotsLabs/watermill-amqp/v2 v2.1.2 h1:80CPTETpNm2BYaxK0Ru0Go6MNokhiioYYstxeVWJoJI= -github.com/ThreeDotsLabs/watermill-amqp/v2 v2.1.2/go.mod h1:MCNoh0HUg4w0bY64on9BnhUodHeimz8+vMfXrzyuWN8= +github.com/ThreeDotsLabs/watermill v1.3.7 h1:NV0PSTmuACVEOV4dMxRnmGXrmbz8U83LENOvpHekN7o= +github.com/ThreeDotsLabs/watermill v1.3.7/go.mod h1:lBnrLbxOjeMRgcJbv+UiZr8Ylz8RkJ4m6i/VN/Nk+to= +github.com/ThreeDotsLabs/watermill-amqp/v3 v3.0.0 h1:r5idq2qkd3M345iv3C3zAX+lFlEu7iW8QESNnuuv4eY= +github.com/ThreeDotsLabs/watermill-amqp/v3 v3.0.0/go.mod h1:+8tCh6VCuBcQWhfETCwzRINKQ1uyeg9moH3h7jMKxQk= github.com/cenkalti/backoff/v3 v3.2.2 h1:cfUAAO3yvKMYKPrvhDuHSwQnhZNk/RMHKdZqKTxfm6M= github.com/cenkalti/backoff/v3 v3.2.2/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -37,8 +37,8 @@ github.com/sony/gobreaker v1.0.0 h1:feX5fGGXSl3dYd4aHZItw+FpHLvvoaqkawKjVNiFMNQ= github.com/sony/gobreaker v1.0.0/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= diff --git a/_examples/basic/5-cqrs-protobuf/main.go b/_examples/basic/5-cqrs-protobuf/main.go index 69613a375..78bd49026 100644 --- a/_examples/basic/5-cqrs-protobuf/main.go +++ b/_examples/basic/5-cqrs-protobuf/main.go @@ -11,7 +11,7 @@ import ( "github.com/golang/protobuf/ptypes" "github.com/ThreeDotsLabs/watermill" - "github.com/ThreeDotsLabs/watermill-amqp/v2/pkg/amqp" + "github.com/ThreeDotsLabs/watermill-amqp/v3/pkg/amqp" "github.com/ThreeDotsLabs/watermill/components/cqrs" "github.com/ThreeDotsLabs/watermill/message" "github.com/ThreeDotsLabs/watermill/message/router/middleware" diff --git a/_examples/pubsubs/amqp/go.mod b/_examples/pubsubs/amqp/go.mod index e90881dff..399727f26 100644 --- a/_examples/pubsubs/amqp/go.mod +++ b/_examples/pubsubs/amqp/go.mod @@ -1,8 +1,8 @@ module main.go require ( - github.com/ThreeDotsLabs/watermill v1.3.5 - github.com/ThreeDotsLabs/watermill-amqp/v2 v2.1.2 + github.com/ThreeDotsLabs/watermill v1.3.7 + github.com/ThreeDotsLabs/watermill-amqp/v3 v3.0.0 ) require ( diff --git a/_examples/pubsubs/amqp/go.sum b/_examples/pubsubs/amqp/go.sum index 5c93c19bb..cb8936d1d 100644 --- a/_examples/pubsubs/amqp/go.sum +++ b/_examples/pubsubs/amqp/go.sum @@ -1,7 +1,7 @@ -github.com/ThreeDotsLabs/watermill v1.3.5 h1:50JEPEhMGZQMh08ct0tfO1PsgMOAOhV3zxK2WofkbXg= -github.com/ThreeDotsLabs/watermill v1.3.5/go.mod h1:O/u/Ptyrk5MPTxSeWM5vzTtZcZfxXfO9PK9eXTYiFZY= -github.com/ThreeDotsLabs/watermill-amqp/v2 v2.1.2 h1:80CPTETpNm2BYaxK0Ru0Go6MNokhiioYYstxeVWJoJI= -github.com/ThreeDotsLabs/watermill-amqp/v2 v2.1.2/go.mod h1:MCNoh0HUg4w0bY64on9BnhUodHeimz8+vMfXrzyuWN8= +github.com/ThreeDotsLabs/watermill v1.3.7 h1:NV0PSTmuACVEOV4dMxRnmGXrmbz8U83LENOvpHekN7o= +github.com/ThreeDotsLabs/watermill v1.3.7/go.mod h1:lBnrLbxOjeMRgcJbv+UiZr8Ylz8RkJ4m6i/VN/Nk+to= +github.com/ThreeDotsLabs/watermill-amqp/v3 v3.0.0 h1:r5idq2qkd3M345iv3C3zAX+lFlEu7iW8QESNnuuv4eY= +github.com/ThreeDotsLabs/watermill-amqp/v3 v3.0.0/go.mod h1:+8tCh6VCuBcQWhfETCwzRINKQ1uyeg9moH3h7jMKxQk= github.com/cenkalti/backoff/v3 v3.2.2 h1:cfUAAO3yvKMYKPrvhDuHSwQnhZNk/RMHKdZqKTxfm6M= github.com/cenkalti/backoff/v3 v3.2.2/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -24,8 +24,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rabbitmq/amqp091-go v1.10.0 h1:STpn5XsHlHGcecLmMFCtg7mqq0RnD+zFr4uzukfVhBw= github.com/rabbitmq/amqp091-go v1.10.0/go.mod h1:Hy4jKW5kQART1u+JkDTF9YYOQUHXqMuhrgxOEeS7G4o= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/_examples/pubsubs/amqp/main.go b/_examples/pubsubs/amqp/main.go index 4d04e170f..222bea25a 100644 --- a/_examples/pubsubs/amqp/main.go +++ b/_examples/pubsubs/amqp/main.go @@ -7,7 +7,7 @@ import ( "time" "github.com/ThreeDotsLabs/watermill" - "github.com/ThreeDotsLabs/watermill-amqp/v2/pkg/amqp" + "github.com/ThreeDotsLabs/watermill-amqp/v3/pkg/amqp" "github.com/ThreeDotsLabs/watermill/message" ) diff --git a/docs/content/pubsubs/amqp.md b/docs/content/pubsubs/amqp.md index 0849386b7..819a30aeb 100644 --- a/docs/content/pubsubs/amqp.md +++ b/docs/content/pubsubs/amqp.md @@ -15,7 +15,7 @@ We are providing Pub/Sub implementation based on [github.com/rabbitmq/amqp091-go ### Installation ```bash -go get github.com/ThreeDotsLabs/watermill-amqp/v2 +go get github.com/ThreeDotsLabs/watermill-amqp/v3 ``` #### Characteristics diff --git a/tools/mill/cmd/amqp.go b/tools/mill/cmd/amqp.go index 117f2344f..7465bf254 100644 --- a/tools/mill/cmd/amqp.go +++ b/tools/mill/cmd/amqp.go @@ -4,7 +4,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/ThreeDotsLabs/watermill-amqp/v2/pkg/amqp" + "github.com/ThreeDotsLabs/watermill-amqp/v3/pkg/amqp" ) var amqpCmd = &cobra.Command{ diff --git a/tools/mill/go.mod b/tools/mill/go.mod index 4326c4e8e..1dbf8cea7 100644 --- a/tools/mill/go.mod +++ b/tools/mill/go.mod @@ -7,8 +7,8 @@ toolchain go1.23.0 require ( cloud.google.com/go/pubsub v1.42.0 github.com/IBM/sarama v1.43.3 - github.com/ThreeDotsLabs/watermill v1.3.5 - github.com/ThreeDotsLabs/watermill-amqp/v2 v2.1.2 + github.com/ThreeDotsLabs/watermill v1.3.7 + github.com/ThreeDotsLabs/watermill-amqp/v3 v3.0.0 github.com/ThreeDotsLabs/watermill-googlecloud v1.2.0 github.com/ThreeDotsLabs/watermill-io v1.1.0 github.com/ThreeDotsLabs/watermill-kafka/v3 v3.0.1 diff --git a/tools/mill/go.sum b/tools/mill/go.sum index c55d94715..3bca5421a 100644 --- a/tools/mill/go.sum +++ b/tools/mill/go.sum @@ -18,10 +18,10 @@ cloud.google.com/go/pubsub v1.42.0/go.mod h1:KADJ6s4MbTwhXmse/50SebEhE4SmUwHi48z github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/IBM/sarama v1.43.3 h1:Yj6L2IaNvb2mRBop39N7mmJAHBVY3dTPncr3qGVkxPA= github.com/IBM/sarama v1.43.3/go.mod h1:FVIRaLrhK3Cla/9FfRF5X9Zua2KpS3SYIXxhac1H+FQ= -github.com/ThreeDotsLabs/watermill v1.3.5 h1:50JEPEhMGZQMh08ct0tfO1PsgMOAOhV3zxK2WofkbXg= -github.com/ThreeDotsLabs/watermill v1.3.5/go.mod h1:O/u/Ptyrk5MPTxSeWM5vzTtZcZfxXfO9PK9eXTYiFZY= -github.com/ThreeDotsLabs/watermill-amqp/v2 v2.1.2 h1:80CPTETpNm2BYaxK0Ru0Go6MNokhiioYYstxeVWJoJI= -github.com/ThreeDotsLabs/watermill-amqp/v2 v2.1.2/go.mod h1:MCNoh0HUg4w0bY64on9BnhUodHeimz8+vMfXrzyuWN8= +github.com/ThreeDotsLabs/watermill v1.3.7 h1:NV0PSTmuACVEOV4dMxRnmGXrmbz8U83LENOvpHekN7o= +github.com/ThreeDotsLabs/watermill v1.3.7/go.mod h1:lBnrLbxOjeMRgcJbv+UiZr8Ylz8RkJ4m6i/VN/Nk+to= +github.com/ThreeDotsLabs/watermill-amqp/v3 v3.0.0 h1:r5idq2qkd3M345iv3C3zAX+lFlEu7iW8QESNnuuv4eY= +github.com/ThreeDotsLabs/watermill-amqp/v3 v3.0.0/go.mod h1:+8tCh6VCuBcQWhfETCwzRINKQ1uyeg9moH3h7jMKxQk= github.com/ThreeDotsLabs/watermill-googlecloud v1.2.0 h1:HEpoDiIU4K/wGVADVkuIcAUZSjvtAWS3lqiyk+LVt3E= github.com/ThreeDotsLabs/watermill-googlecloud v1.2.0/go.mod h1:cLifbk8zyGZ4MEqCmjE5vyTQOnTmy0kZUlrMzoixBBk= github.com/ThreeDotsLabs/watermill-io v1.1.0 h1:EDJCDI3S6LV9iRmUxoz939dbESrGATSGaquC8vECfCA=