Releases: ThreeDotsLabs/watermill-googlecloud
Releases · ThreeDotsLabs/watermill-googlecloud
v2.0.0
What's Changed
Full Changelog: v1.2.6...v2.0.0
Major version bump (v2)
Breaking changes & Upgrade instructions
SubscriberConfig no longer exposes the SubscriptionConfig field. Instead, use GenerateSubscription function.
The function returns *pubsubpb.Subscription which mostly maps 1:1 with the old SubscriptionConfig.
googlecloud.SubscriberConfig{
ProjectID: "tests",
GenerateSubscriptionName: subscriptionName,
- SubscriptionConfig: pubsub.SubscriptionConfig{
- RetainAckedMessages: false,
- EnableMessageOrdering: enableMessageOrdering,
+ GenerateSubscription: func(params googlecloud.GenerateSubscriptionParams) *pubsubpb.Subscription {
+ return &pubsubpb.Subscription{
+ RetainAckedMessages: false,
+ EnableMessageOrdering: enableMessageOrdering,
+ }
},
Unmarshaler: unmarshaler,
},SDK update details: https://github.com/googleapis/google-cloud-go/blob/main/pubsub/MIGRATING.md
v1.2.6
v1.2.5
What's Changed
- Bump golang.org/x/oauth2 from 0.22.0 to 0.27.0 by @dependabot[bot] in #41
- Adding a configuration option for topic-subscription validation. by @matdurand in #29
New Contributors
- @dependabot[bot] made their first contribution in #41
- @matdurand made their first contribution in #29
Full Changelog: v1.2.4...v1.2.5
v1.2.4
v1.2.3
v1.2.2
What's Changed
- Adds pubsub.ClientConfig to the configuration by @rjfonseca in #35
New Contributors
- @rjfonseca made their first contribution in #35
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
- feature: skip topic check by @diegofrata in #32
- Bump testify and Go version by @m110 in #30
- Bump watermill and fix races in tests by @m110 in #33
New Contributors
- @diegofrata made their first contribution in #32
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
- Adding Server-Generated Message ID To Received Message Attributes by @arthurspa in #31
New Contributors
- @arthurspa made their first contribution in #31
Full Changelog: v1.1.0...v1.2.0