Skip to content

Commit 8160911

Browse files
authored
docs: add info about potential breaking change in 0.8.0 (#107)
1 parent 30301be commit 8160911

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,22 @@ This version moves Cloud PubSub from Tesla to Finch, so read the notes below and
149149
]
150150
```
151151

152+
### Changed
153+
154+
- **Possible breaking change:** due to the fact that we've switched from Tesla to Finch,
155+
it's not longer sufficient to replace `:base_url` in `:google_api_pub_sub` config.
156+
157+
If your app is using the emulator, instead of setting in the `config/dev.exs`:
158+
159+
```elixir
160+
producer: [
161+
module:
162+
{BroadwayCloudPubSub.Producer,
163+
subscription: "projects/<your-project-id>/subscriptions/<your-subscription-id>",
164+
base_url: System.get_env("PUBSUB_EMULATOR_HOST")}
165+
]
166+
```
167+
152168
## [0.7.1] - 2022-05-09
153169

154170
### Added

0 commit comments

Comments
 (0)