|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## Unreleased |
| 3 | +## Version 1.57.0 |
| 4 | +This version contains a big overhaul of the client libraries, with improved typing. |
| 5 | + |
4 | 6 | * Libs/Go: Add `Authentication.ExpireAll` (and `ExpireAllWithOptions`)
|
5 | 7 | * Libs/Go **(Breaking)**: Excluding specific fields on the *Patch models (`ApplicationPatch` for example), all `Nullable{Type}` removed from the models
|
6 | 8 | * Libs/Go **(Breaking)**: All `Nullable{Type}` (for example `NullableString`) are replaced with a new generic `Nullable[T]` type, the new type can be imported from `github.com/svix/svix-webhooks/go/utils`
|
7 | 9 | * Libs/Go **(Breaking)**: All custom model types are now imported from `github.com/svix/svix-webhooks/go/models` instead of `github.com/svix/svix-webhooks/go`
|
8 | 10 | * Libs/Go **(Breaking)**: All `-WithOptions` methods are now removed. Their regular counterparts now take a pointer to an Options type which can be nil when not needed. For example in `Endpoint.RecoverWithOptions` is now `Endpoint.Recover`
|
| 11 | + |
9 | 12 | * Libs/C# and Libs/Go **(Breaking)**: All uses of `ListOptions`/`PostOptions` are removed, and renamed to `{Resource}{Operation}Options`. For example in `Endpoint.List` you would now use `EndpointListOptions`
|
10 | 13 | * Libs/C# **(Breaking)**: All `IdempotencyKey` method parameters are removed, and are now part of `{Resource}{Operation}Options`. For example in `Message.Create`; to the use `IdempotencyKey`, simply pass it in the `MessageCreateOptions`
|
11 | 14 | * Libs/C# **(Breaking)**: The `Throw` parameter is removed from `SvixOptions`
|
12 | 15 | * Libs/C# **(Breaking)**: All redundant interfaces along with the `Svix.Abstractions` namespace are removed
|
13 | 16 | * Libs/C# **(Breaking)**: The `Svix.Model` and `Svix.Models` namespaces are now merged into a single `Svix.Models` namespace
|
14 | 17 | * Libs/C# **(Breaking)**: The `Svix.Client` namespace is removed, The `SvixClient` class can now be found in the `Svix` namespace
|
| 18 | + |
15 | 19 | * Libs/Python **(Breaking)**: `PostOptions` and `ListOptions` are no longer used in methods for `Authentication`,`Endpoint`,`EventType`,`Integration`,`MessageAttempt`,`Message`, `Statistics` and `OperationalWebhookEndpoint` resources. Instead each API call now has its own `{Resource}{Operation}Options`. (Both sync and async)
|
16 | 20 | * Libs/Python: In `Application` the `dashboard_access` method is deprecated in favor of `app_portal_access`. (Both sync and async)
|
17 | 21 | * Libs/Python **(Breaking)**: `EndpointStatsOptions` is renamed to `EndpointGetStatsOptions`
|
18 | 22 | * Libs/Python **(Breaking)**: `MessageAttemptListOptions` is removed in favor of call specific `{Resource}{Operation}Options`
|
19 | 23 | * Libs/Python **(Breaking)**: For `Statistics` in the `aggregate_event_types` method the `task_id` parameter is removed, Please note that previously this parameter was ignored and had no affect (Both sync and async)
|
| 24 | + |
20 | 25 | * Libs/Kotlin **(Breaking)**: Mark `api` field of all API resource classes as `private` (previously
|
21 | 26 | only some were private, accidentally)
|
22 | 27 | * Libs/Kotlin **(Breaking)**: Update `recover` to return `RecoverOut` (instead of nothing)
|
|
25 | 30 | * Libs/Kotlin **(Breaking)**: Update `MessageAttempt` list methods to each have its own type for
|
26 | 31 | list options, since they don't all support the exact same set of parameters and some of the
|
27 | 32 | parameters that could be set before would just get ignored
|
28 |
| -* Libs/Kotlin: Fix the parameter names of `Endpoint.get` - `appId` and `endpointId` were swapped |
29 | 33 | * Libs/Kotlin: Fix a bug in `EventType.list` where `options.order` was not getting honored
|
| 34 | + |
30 | 35 | * Libs/Rust **(Breaking)**: Add optional `EventTypeDeleteOptions` parameter to `EventType::delete`
|
31 | 36 | * Libs/Rust **(Breaking)**: Add optional `options` parameters to `Endpoint::recover`,
|
32 | 37 | `Endpoint::rotate_secret`, `Integration::rotate_key` and `MessageAttempt::resend`
|
|
37 | 42 | * Libs/Rust **(Breaking)**: Change `rate_limit` from `i32` to `u16` in several places
|
38 | 43 | * Libs/Rust **(Breaking)**: Remove `settings` parameter from `EnvironmentIn::new`
|
39 | 44 | * Libs/Rust **(Breaking)**: Replace `PostOptions` with operation-specific options structs
|
40 |
| -* Libs/Rust **(Breaking)**: Remove `Period` from `BackgroundTaskType` variant names; this was |
41 |
| - introduced by accident a few releases ago |
| 45 | +* Libs/Rust **(Breaking)**: Remove `Period` from `BackgroundTaskType` variant names; this was introduced by accident a few releases ago |
42 | 46 |
|
43 | 47 | ## Version 1.56.0
|
44 | 48 | * Skipping versions: we had an issue with our CI that created duplicated Go
|
|
0 commit comments