Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 1.57.0 #1714

Merged
merged 1 commit into from
Feb 14, 2025
Merged

Bump version to 1.57.0 #1714

merged 1 commit into from
Feb 14, 2025

Conversation

svix-lucho
Copy link
Contributor

@svix-lucho svix-lucho commented Feb 13, 2025

Changelog

Version 1.57.0

This version contains a big overhaul of the client libraries, with improved typing.

  • Libs/Go: Add Authentication.ExpireAll (and ExpireAllWithOptions)

  • Libs/Go (Breaking): Excluding specific fields on the *Patch models (ApplicationPatch for example), all Nullable{Type} removed from the models

  • 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

  • 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

  • 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

  • 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

  • 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

  • Libs/C# (Breaking): The Throw parameter is removed from SvixOptions

  • Libs/C# (Breaking): All redundant interfaces along with the Svix.Abstractions namespace are removed

  • Libs/C# (Breaking): The Svix.Model and Svix.Models namespaces are now merged into a single Svix.Models namespace

  • Libs/C# (Breaking): The Svix.Client namespace is removed, The SvixClient class can now be found in the Svix namespace

  • 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)

  • Libs/Python: In Application the dashboard_access method is deprecated in favor of app_portal_access. (Both sync and async)

  • Libs/Python (Breaking): EndpointStatsOptions is renamed to EndpointGetStatsOptions

  • Libs/Python (Breaking): MessageAttemptListOptions is removed in favor of call specific {Resource}{Operation}Options

  • 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)

  • Libs/Kotlin (Breaking): Mark api field of all API resource classes as private (previously
    only some were private, accidentally)

  • Libs/Kotlin (Breaking): Update recover to return RecoverOut (instead of nothing) parameters that could be set before would just get ignored

  • Libs/Kotlin: Fix a bug in EventType.list where options.order was not getting honored

  • Libs/Rust (Breaking): Add optional EventTypeDeleteOptions parameter to EventType::delete

  • Libs/Rust (Breaking): Add optional options parameters to Endpoint::recover, Endpoint::rotate_secret, Integration::rotate_key and MessageAttempt::resend

  • Libs/Rust (Breaking): Change rate_limit from i32 to u16 in several places

  • Libs/Rust (Breaking): Remove settings parameter from EnvironmentIn::new

  • Libs/Rust (Breaking): Replace PostOptions with operation-specific options structs

  • Libs/Rust (Breaking): Remove Period from BackgroundTaskType variant names; this was introduced by accident a few releases ago

@svix-lucho svix-lucho marked this pull request as ready for review February 13, 2025 17:16
@svix-lucho svix-lucho requested a review from a team as a code owner February 13, 2025 17:16
@svix-mman
Copy link
Contributor

svix-mman commented Feb 13, 2025

@svix-lucho wait for this to merge
#1715

  • edit: good to go ✔️

@svix-lucho svix-lucho merged commit 15a29ef into main Feb 14, 2025
32 checks passed
@svix-lucho svix-lucho deleted the lucho/v1.57.0 branch February 14, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants