diff --git a/CHANGELOG.md b/CHANGELOG.md index ebd7a57..a85cee0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,10 @@ If you were at `firehose-core` version `1.0.0` and are bumping to `1.1.0`, you s ## Unreleased -* Added API Key authentication to `NewFirehoseFetchClient`. +* Added API Key authentication to `client.NewFirehoseFetchClient` and `client.NewFirehoseClient`. + + > [!NOTE] + > If you were using `github.com/streamingfast/firehose-core/firehose/client.NewFirehoseFetchClient` or `github.com/streamingfast/firehose-core/firehose/client.NewFirehoseStreamClient`, this will be a minor breaking change, refer to [upgrade notes](./UPDATE.md#v125) for details if it affects you. * Fixed `tools check merged-blocks` examples using block range (range should be specified as `[]?:[]`). diff --git a/UPDATE.md b/UPDATE.md index 5910382..e2bb681 100644 --- a/UPDATE.md +++ b/UPDATE.md @@ -1,5 +1,13 @@ # Update +## v1.2.5 + +If you were using `github.com/streamingfast/firehose-core/firehose/client.NewFirehoseFetchClient` or `github.com/streamingfast/firehose-core/firehose/client.NewFirehoseClient`, this will be a minor breaking change, the constructor now returns `callOpts` which should be passed to all request you make, see usage in [resp, err := firehoseClient.Block(ctx, req, requestInfo.GRPCCallOpts...)](https://github.com/streamingfast/firehose-core/blob/6c20f33f74be1abe58fbded1c178223702dcd6dd/cmd/tools/firehose/single_block_client.go#L74-L75) and populating `requestInfo.GRPCCallOpts` from `NewFirehoseFetchClient` function returns can be seen [here](https://github.com/streamingfast/firehose-core/blob/develop/cmd/tools/firehose/firehose.go#L71). + +## v1.0.0 + +No changes was required. + ## v0.2.0 This includes changes that are needed to upgrade to version v0.2.0.