Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
Version 1.57.0
This version contains a big overhaul of the client libraries, with improved typing.
Libs/Go: Add
Authentication.ExpireAll
(andExpireAllWithOptions
)Libs/Go (Breaking): Excluding specific fields on the *Patch models (
ApplicationPatch
for example), allNullable{Type}
removed from the modelsLibs/Go (Breaking): All
Nullable{Type}
(for exampleNullableString
) are replaced with a new genericNullable[T]
type, the new type can be imported fromgit.luolix.top/svix/svix-webhooks/go/utils
Libs/Go (Breaking): All custom model types are now imported from
github.com/svix/svix-webhooks/go/models
instead ofgit.luolix.top/svix/svix-webhooks/go
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 inEndpoint.RecoverWithOptions
is nowEndpoint.Recover
Libs/C# and Libs/Go (Breaking): All uses of
ListOptions
/PostOptions
are removed, and renamed to{Resource}{Operation}Options
. For example inEndpoint.List
you would now useEndpointListOptions
Libs/C# (Breaking): All
IdempotencyKey
method parameters are removed, and are now part of{Resource}{Operation}Options
. For example inMessage.Create
; to the useIdempotencyKey
, simply pass it in theMessageCreateOptions
Libs/C# (Breaking): The
Throw
parameter is removed fromSvixOptions
Libs/C# (Breaking): All redundant interfaces along with the
Svix.Abstractions
namespace are removedLibs/C# (Breaking): The
Svix.Model
andSvix.Models
namespaces are now merged into a singleSvix.Models
namespaceLibs/C# (Breaking): The
Svix.Client
namespace is removed, TheSvixClient
class can now be found in theSvix
namespaceLibs/Python (Breaking):
PostOptions
andListOptions
are no longer used in methods forAuthentication
,Endpoint
,EventType
,Integration
,MessageAttempt
,Message
,Statistics
andOperationalWebhookEndpoint
resources. Instead each API call now has its own{Resource}{Operation}Options
. (Both sync and async)Libs/Python: In
Application
thedashboard_access
method is deprecated in favor ofapp_portal_access
. (Both sync and async)Libs/Python (Breaking):
EndpointStatsOptions
is renamed toEndpointGetStatsOptions
Libs/Python (Breaking):
MessageAttemptListOptions
is removed in favor of call specific{Resource}{Operation}Options
Libs/Python (Breaking): For
Statistics
in theaggregate_event_types
method thetask_id
parameter is removed, Please note that previously this parameter was ignored and had no affect (Both sync and async)Libs/Kotlin (Breaking): Mark
api
field of all API resource classes asprivate
(previouslyonly some were private, accidentally)
Libs/Kotlin (Breaking): Update
recover
to returnRecoverOut
(instead of nothing) parameters that could be set before would just get ignoredLibs/Kotlin: Fix a bug in
EventType.list
whereoptions.order
was not getting honoredLibs/Rust (Breaking): Add optional
EventTypeDeleteOptions
parameter toEventType::delete
Libs/Rust (Breaking): Add optional
options
parameters toEndpoint::recover
,Endpoint::rotate_secret
,Integration::rotate_key
andMessageAttempt::resend
Libs/Rust (Breaking): Change
rate_limit
fromi32
tou16
in several placesLibs/Rust (Breaking): Remove
settings
parameter fromEnvironmentIn::new
Libs/Rust (Breaking): Replace
PostOptions
with operation-specific options structsLibs/Rust (Breaking): Remove
Period
fromBackgroundTaskType
variant names; this was introduced by accident a few releases ago