-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1f528a
commit 13dae16
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# UPGRADE FROM 0.2.x to 0.3 | ||
|
||
# `watermill/message` | ||
|
||
- `message.Message.Ack` and `message.Message.Nack` now return `bool` instead of `error` | ||
- `message.Subscriber.Subscribe` now accepts `context.Context` as the first argument | ||
- `message.Subscriber.Subscribe` now returns `<-chan *Message` instead of `chan *Message` | ||
- `message.Router.AddHandler` and `message.Router.AddNoPublisherHandler` now panic, instead of returning error | ||
|
||
# `watermill/message/infrastructure` | ||
|
||
- updated all Pub/Subs to new `message.Subscriber` interface | ||
- `gochannel.NewGoChannel` now accepts `gochannel.Config`, instead of positional parameters | ||
- `http.NewSubscriber` now accepts `http.SubscriberConfig`, instead of positional parameters | ||
|
||
# `watermill/message/router/middleware` | ||
|
||
- `metrics.NewMetrics` is removed, please use the [metrics](components/metrics) component instead | ||
|
||
# `watermill` | ||
|
||
- `watermill.LoggerAdapter` interface now requires a `With(fields LogFields) LoggerAdapter` method |