|
1 | 1 | # Release History
|
2 | 2 |
|
3 |
| -## 1.0.0 (2023-04-11) |
| 3 | +## 1.0.0 (2023-05-09) |
4 | 4 |
|
5 | 5 | ### Features Added
|
6 | 6 |
|
|
13 | 13 | - Recovery now includes internal timeouts and also handles restarting a connection if AMQP primitives aren't closed cleanly.
|
14 | 14 | - Potential leaks for $cbs and $management when there was a partial failure. (PR#20564)
|
15 | 15 | - Latest go-amqp changes have been merged in with fixes for robustness.
|
| 16 | +- Sending a message to an entity that is full will no longer retry. (PR#20722) |
16 | 17 |
|
17 | 18 | ## 0.6.0 (2023-03-07)
|
18 | 19 |
|
19 | 20 | ### Features Added
|
20 | 21 |
|
21 |
| -- Added the `ConsumerClientOptions.InstanceID` field. This optional field can enhance error messages from |
22 |
| - Event Hubs. For example, error messages related to ownership changes for a partition will contain the |
| 22 | +- Added the `ConsumerClientOptions.InstanceID` field. This optional field can enhance error messages from |
| 23 | + Event Hubs. For example, error messages related to ownership changes for a partition will contain the |
23 | 24 | name of the link that has taken ownership, which can help with traceability.
|
24 | 25 |
|
25 | 26 | ### Breaking Changes
|
|
41 | 42 | ### Breaking Changes
|
42 | 43 |
|
43 | 44 | - ProcessorOptions.OwnerLevel has been removed. The Processor uses 0 as the owner level.
|
44 |
| -- Uses the public release of `github.com/Azure/azure-sdk-for-go/sdk/storage/azblob` package rather than using an internal copy. |
| 45 | +- Uses the public release of `github.com/Azure/azure-sdk-for-go/sdk/storage/azblob` package rather than using an internal copy. |
45 | 46 | For an example, see [example_consuming_with_checkpoints_test.go](https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/messaging/azeventhubs/example_consuming_with_checkpoints_test.go).
|
46 | 47 |
|
47 | 48 | ## 0.4.0 (2023-01-10)
|
48 | 49 |
|
49 | 50 | ### Bugs Fixed
|
50 | 51 |
|
51 | 52 | - User-Agent was incorrectly formatted in our AMQP-based clients. (PR#19712)
|
52 |
| -- Connection recovery has been improved, removing some unnecessasry retries as well as adding a bound around |
| 53 | +- Connection recovery has been improved, removing some unnecessasry retries as well as adding a bound around |
53 | 54 | some operations (Close) that could potentially block recovery for a long time. (PR#19683)
|
54 | 55 |
|
55 | 56 | ## 0.3.0 (2022-11-10)
|
|
78 | 79 | - NewWebSocketConnArgs renamed to WebSocketConnParams
|
79 | 80 | - Code renamed to ErrorCode, including associated constants like `ErrorCodeOwnershipLost`.
|
80 | 81 | - OwnershipData, CheckpointData, and CheckpointStoreAddress have been folded into their individual structs: Ownership and Checkpoint.
|
81 |
| -- StartPosition and OwnerLevel were erroneously included in the ConsumerClientOptions struct - they've been removed. These can be |
| 82 | +- StartPosition and OwnerLevel were erroneously included in the ConsumerClientOptions struct - they've been removed. These can be |
82 | 83 | configured in the PartitionClientOptions.
|
83 | 84 |
|
84 | 85 | ### Bugs Fixed
|
|
90 | 91 |
|
91 | 92 | ### Features Added
|
92 | 93 |
|
93 |
| -- Adding in the new Processor type, which can be used to do distributed (and load balanced) consumption of events, using a |
94 |
| - CheckpointStore. The built-in checkpoints.BlobStore uses Azure Blob Storage for persistence. A full example is |
| 94 | +- Adding in the new Processor type, which can be used to do distributed (and load balanced) consumption of events, using a |
| 95 | + CheckpointStore. The built-in checkpoints.BlobStore uses Azure Blob Storage for persistence. A full example is |
95 | 96 | in [example_consuming_with_checkpoints_test.go](https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/messaging/azeventhubs/example_consuming_with_checkpoints_test.go).
|
96 | 97 |
|
97 | 98 | ### Breaking Changes
|
|
101 | 102 | instances (using ConsumerClient.NewPartitionClient), which allows you to share the same AMQP connection and receive from multiple
|
102 | 103 | partitions simultaneously.
|
103 | 104 | - Changes to EventData/ReceivedEventData:
|
| 105 | + |
104 | 106 | - ReceivedEventData now embeds EventData for fields common between the two, making it easier to change and resend.
|
105 | 107 | - `ApplicationProperties` renamed to `Properties`.
|
106 | 108 | - `PartitionKey` removed from `EventData`. To send events using a PartitionKey you must set it in the options
|
107 | 109 | when creating the EventDataBatch:
|
108 | 110 |
|
109 | 111 | ```go
|
110 | 112 | batch, err := producerClient.NewEventDataBatch(context.TODO(), &azeventhubs.NewEventDataBatchOptions{
|
111 |
| - PartitionKey: to.Ptr("partition key"), |
112 |
| - }) |
| 113 | + PartitionKey: to.Ptr("partition key"), |
| 114 | + }) |
113 | 115 | ```
|
114 | 116 |
|
115 | 117 | ### Bugs Fixed
|
|
120 | 122 |
|
121 | 123 | ## 0.1.0 (2022-08-11)
|
122 | 124 |
|
123 |
| -- Initial preview for the new version of the Azure Event Hubs Go SDK. |
| 125 | +- Initial preview for the new version of the Azure Event Hubs Go SDK. |
0 commit comments