Skip to content

Releases: svix/svix-webhooks

v1.57.0

14 Feb 18:49
Compare
Choose a tag to compare

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)

  • Libs/Kotlin (Breaking): Update replayMissing to return ReplayOut (instead of nothing)

  • Libs/Kotlin (Breaking): Update sendExample to return MessageOut (instead of nothing)

  • Libs/Kotlin (Breaking): Update MessageAttempt list methods to each have its own type for
    list options, since they don't all support the exact same set of parameters and some of the
    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): Remove model files that were not referenced by any operations available
    through the Svix object

  • Libs/Rust (Breaking): Switch Patch struct fields from Option<Option<T>> to
    js_option::JsOption<T>

  • 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

  • Server: Fix Docker image tagging

v1.56.0

03 Jan 23:07
3c76055
Compare
Choose a tag to compare

Skipping versions: we had an issue with our CI that created duplicated Go library releases and forced us to bump the version across the libs and the server. Apologies for any inconvenience caused.

What's Changed

Full Changelog: v1.45.1...v1.56.0

v1.45.1

03 Jan 14:23
573eb32
Compare
Choose a tag to compare

What's Changed

  • CLI: Rename the binary back from svix-cli to svix
  • Libs/Java: Stop sharing one ApiClient between all Svix instances. Fixes a bug where multiple
    independently instantiated Svix instances would always use the same base path and auth token.

Version 1.45.0

03 Jan 00:39
v1.45.0
a86633c
Compare
Choose a tag to compare

Highlights

  • CLI (New): New Rust-based CLI with support for all recent Svix functionality.
  • Libs/Rust (Breaking): Add api::MessageAttemptListAttemptedMessagesOptions and use it for
    MessageAttempt::list_attempted_messages, replacing MessageAttemptListOptions which contained
    some extra parameters never used with this method / endpoint (#1568)
  • Libs/JavaScript (Breaking): Add more precise type annotations for options parameters on
    MessageAttempt.list, MessageAttempt.listByMsg, MessageAttempt.listAttemptedMessages and
    MessageAttempt.listAttemptedDestinations (#1571)
  • Libs/JavaScript (Breaking): Rename EndpointStatsOptions interface to
    EndpointGetStatsOptions (#1585)
  • Libs/Kotlin (Breaking): Remove ListOptions class. Usage of classes that were inheriting
    from it should not change though (#1587)
  • Libs/Rust: Add api::Authentication::expire_all (#1584)
  • Libs/Rust: Rename some Options types. The old names remain as deprecated type aliases (#1584)
  • Server: Fix Dockerfile exposed port to be 8071 (#1596)

Full changelog

New Contributors

Full Changelog: v1.44.0...v1.45.0

Version 1.44.0

12 Dec 23:41
67b5237
Compare
Choose a tag to compare

Highlights

  • Libs/JavaScript: Revert packaging-related change because it broke for some users (#1556)
  • Libs/Rust: Remove unused optional PostOptions parameters from non-POST methods (#1557)

What's Changed

Full Changelog: v1.43.0...v1.44.0

Version 1.43.0

06 Dec 19:05
efff8b0
Compare
Choose a tag to compare

What's changed

  • Libs/Go: Add convenient construction of messages with pre-serialized payload (#1538)
  • Libs/Go: Reduce the use of NullableX types to where they actually have a use (#1543)
  • Libs/JavaScript: Add convenient construction of messages with pre-serialized payload (#1539)
  • Libs/Java: Add convenient construction of messages with pre-serialized payload (#1544)
  • Libs/C#: Bump .NET target to 8.0 (#1546)
  • Libs/C#: Add convenient construction of messages with pre-serialized payload (#1545)
  • Libs/Python: Add convenient construction of messages with pre-serialized payload (#1540)
  • Libs/Ruby: Add convenient construction of messages with pre-serialized payload (#1541)
  • Libs/JavaScript: Compile svix package for ESM and CommonJS, reducing bundle sizes (#1549)

Version 1.42.0

28 Nov 14:24
152134b
Compare
Choose a tag to compare

What's Changed

  • Server: Return 413 on large payloads (#1530)
  • Libs/Python: Fix sync / async mismatch for op-webhook-endpoint API (#1535)
  • Libs/Rust: Fix types of iterator fields (#1534)
  • Libs/Kotlin: Add convenient construction of messages with pre-serialized payload (#1531)
  • Libs/Rust: Add convenient construction of messages with pre-serialized payload (#1533)

Version 1.41.0

20 Nov 18:30
4870406
Compare
Choose a tag to compare

What's Changed

  • Libs/JS: Allow iterator and date parameters on list endpoints to be null (in addition to undefined)
  • Libs/JS: Fix serialization of message status query parameters
  • Libs/Rust: Revert many pointless type changes from Option<T> to Option<Option<T>> that came with 1.39.0
  • Server: Improve error messages for configuration loading

Version 1.40.0

11 Nov 20:47
20f3737
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.39.0...v1.40.0

Version 1.39.0

06 Nov 20:17
Compare
Choose a tag to compare

Highlights

  • Libs: Add operational webhook endpoint API
  • Libs/Rust: [Breaking] Models for PATCH endpoints now have Option<Option<T>> fields to allow explicitly sending nulls to unset those fields.
  • Libs/Go: [Breaking] Nullable arrays are once again represented by []T instead of *[]T. Serialization handles the empty case correctly.
  • Libs: Upgrade openapi-generator to 7.9.0, with dependency upgrades and internal changes in the SDKs.
  • Server: Redis Sentinel support
  • Server: OTEL metrics for Redis queues
  • Server: Redis DLQ support
  • Server: Several dependency upgrades and CI improvements

What's Changed

New Contributors

Full Changelog: v1.38.0...v1.39.0