Skip to content

Commit e72057b

Browse files
[aznamespaces] Event Grid, now using full TypeSpec generation! (Azure#22962)
* Event Grid, now using full TypeSpec generation! * Removing BinaryMode. It might come as a future feature
1 parent 61e8af4 commit e72057b

34 files changed

+2954
-1666
lines changed

eng/config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@
101101
"Name": "messaging/azeventhubs",
102102
"CoverageGoal": 0.60
103103
},
104+
{
105+
"Name": "messaging/eventgrid/aznamespaces",
106+
"CoverageGoal": 0.00
107+
},
104108
{
105109
"Name": "messaging/internal",
106110
"CoverageGoal": 0.40

sdk/messaging/eventgrid/aznamespaces/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@
44

55
### Features Added
66

7-
- Added in "binary mode" support, which can improve efficiency when sending a single event (PR#22582)
7+
- Supports API version `2024-06-01`, including support for release with delay.
88

99
### Breaking Changes
1010

11+
- Sending and receiving operations have been moved to separate clients (SenderClient and ReceiverClient).
12+
- Method names have been changed, removing `CloudEvent`.
13+
- Topic and subscription name are now set at the Client level, as part of `NewSenderClient` or `NewReceiverClient`.
14+
1115
### Bugs Fixed
1216

1317
### Other Changes

sdk/messaging/eventgrid/aznamespaces/autorest.md

Lines changed: 0 additions & 221 deletions
This file was deleted.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License. See License.txt in the project root for license information.
33

4-
//go:generate autorest ./autorest.md
4+
//go:generate pwsh ./testdata/gen.ps1
5+
//go:generate goimports -w .
6+
//go:generate go run ./internal/generate
57
//go:generate goimports -w .
68

79
package aznamespaces

0 commit comments

Comments
 (0)