Skip to content

Commit 15a29ef

Browse files
committed
Bump version to 1.57.0
1 parent 20b39f7 commit 15a29ef

File tree

23 files changed

+34
-30
lines changed

23 files changed

+34
-30
lines changed

.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.56.0
1+
1.57.0

ChangeLog.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
# Changelog
22

3-
## Unreleased
3+
## Version 1.57.0
4+
This version contains a big overhaul of the client libraries, with improved typing.
5+
46
* Libs/Go: Add `Authentication.ExpireAll` (and `ExpireAllWithOptions`)
57
* Libs/Go **(Breaking)**: Excluding specific fields on the *Patch models (`ApplicationPatch` for example), all `Nullable{Type}` removed from the models
68
* 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`
79
* 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`
810
* 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+
912
* 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`
1013
* 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`
1114
* Libs/C# **(Breaking)**: The `Throw` parameter is removed from `SvixOptions`
1215
* Libs/C# **(Breaking)**: All redundant interfaces along with the `Svix.Abstractions` namespace are removed
1316
* Libs/C# **(Breaking)**: The `Svix.Model` and `Svix.Models` namespaces are now merged into a single `Svix.Models` namespace
1417
* Libs/C# **(Breaking)**: The `Svix.Client` namespace is removed, The `SvixClient` class can now be found in the `Svix` namespace
18+
1519
* 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)
1620
* Libs/Python: In `Application` the `dashboard_access` method is deprecated in favor of `app_portal_access`. (Both sync and async)
1721
* Libs/Python **(Breaking)**: `EndpointStatsOptions` is renamed to `EndpointGetStatsOptions`
1822
* Libs/Python **(Breaking)**: `MessageAttemptListOptions` is removed in favor of call specific `{Resource}{Operation}Options`
1923
* 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+
2025
* Libs/Kotlin **(Breaking)**: Mark `api` field of all API resource classes as `private` (previously
2126
only some were private, accidentally)
2227
* Libs/Kotlin **(Breaking)**: Update `recover` to return `RecoverOut` (instead of nothing)
@@ -25,8 +30,8 @@
2530
* Libs/Kotlin **(Breaking)**: Update `MessageAttempt` list methods to each have its own type for
2631
list options, since they don't all support the exact same set of parameters and some of the
2732
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
2933
* Libs/Kotlin: Fix a bug in `EventType.list` where `options.order` was not getting honored
34+
3035
* Libs/Rust **(Breaking)**: Add optional `EventTypeDeleteOptions` parameter to `EventType::delete`
3136
* Libs/Rust **(Breaking)**: Add optional `options` parameters to `Endpoint::recover`,
3237
`Endpoint::rotate_secret`, `Integration::rotate_key` and `MessageAttempt::resend`
@@ -37,8 +42,7 @@
3742
* Libs/Rust **(Breaking)**: Change `rate_limit` from `i32` to `u16` in several places
3843
* Libs/Rust **(Breaking)**: Remove `settings` parameter from `EnvironmentIn::new`
3944
* 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
4246

4347
## Version 1.56.0
4448
* Skipping versions: we had an issue with our CI that created duplicated Go

bridge/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bridge/svix-bridge/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "svix-bridge"
3-
version = "1.56.0"
3+
version = "1.57.0"
44
edition = "2021"
55
publish = false
66

csharp/Svix/Svix.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
55
<PackageId>Svix</PackageId>
6-
<Version>1.56.0</Version>
6+
<Version>1.57.0</Version>
77
<Authors>Svix</Authors>
88
<Company>Svix</Company>
99
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>

go/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package svix
22

3-
const Version = "1.56.0"
3+
const Version = "1.57.0"

java/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Add this dependency to your project's POM:
5151
<dependency>
5252
<groupId>com.svix</groupId>
5353
<artifactId>svix</artifactId>
54-
<version>1.56.0</version>
54+
<version>1.57.0</version>
5555
<scope>compile</scope>
5656
</dependency>
5757
```
@@ -61,7 +61,7 @@ Add this dependency to your project's POM:
6161
Add this dependency to your project's build file:
6262

6363
```groovy
64-
implementation "com.svix:svix:1.56.0"
64+
implementation "com.svix:svix:1.57.0"
6565
```
6666

6767
# Development

java/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=com.svix
2-
VERSION_NAME=1.56.0
2+
VERSION_NAME=1.57.0
33

44
POM_URL=https://github.com/svix/svix-webhooks
55
POM_SCM_URL[email protected]:svix/svix-webhooks.git

java/lib/src/main/java/com/svix/Svix.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import com.svix.internal.auth.HttpBearerAuth;
66

77
public final class Svix {
8-
public static final String VERSION = "1.56.0";
8+
public static final String VERSION = "1.57.0";
99
private final Application application;
1010
private final Authentication authentication;
1111
private final Endpoint endpoint;

javascript/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svix",
3-
"version": "1.56.0",
3+
"version": "1.57.0",
44
"description": "Svix webhooks API client and webhook verification library",
55
"author": "svix",
66
"repository": "https://github.com/svix/svix-libs",

javascript/src/request.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ApiException } from "./util";
33
import { HttpErrorOut, HTTPValidationError } from "./openapi";
44
import { ObjectSerializer } from "./openapi/models/ObjectSerializer";
55

6-
export const LIB_VERSION = "1.56.0";
6+
export const LIB_VERSION = "1.57.0";
77
const USER_AGENT = `svix-libs/${LIB_VERSION}/javascript`;
88

99
export enum HttpMethod {

kotlin/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Add this dependency to your project's POM:
5151
<dependency>
5252
<groupId>com.svix.kotlin</groupId>
5353
<artifactId>svix-kotlin</artifactId>
54-
<version>1.56.0</version>
54+
<version>1.57.0</version>
5555
<scope>compile</scope>
5656
</dependency>
5757
```
@@ -61,7 +61,7 @@ Add this dependency to your project's POM:
6161
Add this dependency to your project's build file:
6262

6363
```groovy
64-
implementation "com.svix.kotlin:svix-kotlin:1.56.0"
64+
implementation "com.svix.kotlin:svix-kotlin:1.57.0"
6565
```
6666

6767
# Development

kotlin/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=com.svix.kotlin
2-
VERSION_NAME=1.56.0
2+
VERSION_NAME=1.57.0
33

44
POM_URL=https://github.com/svix/svix-webhooks
55
POM_SCM_URL[email protected]:svix/svix-webhooks.git

lib-openapi.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7173,7 +7173,7 @@
71737173
"info": {
71747174
"description": "Welcome to the Svix API documentation!\n\nUseful links: [Homepage](https://www.svix.com) | [Support email](mailto:[email protected]) | [Blog](https://www.svix.com/blog/) | [Slack Community](https://www.svix.com/slack/)\n\n# Introduction\n\nThis is the reference documentation and schemas for the [Svix webhook service](https://www.svix.com) API. For tutorials and other documentation please refer to [the documentation](https://docs.svix.com).\n\n## Main concepts\n\nIn Svix you have four important entities you will be interacting with:\n\n- `messages`: these are the webhooks being sent. They can have contents and a few other properties.\n- `application`: this is where `messages` are sent to. Usually you want to create one application for each user on your platform.\n- `endpoint`: endpoints are the URLs messages will be sent to. Each application can have multiple `endpoints` and each message sent to that application will be sent to all of them (unless they are not subscribed to the sent event type).\n- `event-type`: event types are identifiers denoting the type of the message being sent. Event types are primarily used to decide which events are sent to which endpoint.\n\n\n## Authentication\n\nGet your authentication token (`AUTH_TOKEN`) from the [Svix dashboard](https://dashboard.svix.com) and use it as part of the `Authorization` header as such: `Authorization: Bearer ${AUTH_TOKEN}`. For more information on authentication, please refer to the [authentication token docs](https://docs.svix.com/api-keys).\n\n<SecurityDefinitions />\n\n\n## Code samples\n\nThe code samples assume you already have the respective libraries installed and you know how to use them. For the latest information on how to do that, please refer to [the documentation](https://docs.svix.com/).\n\n\n## Idempotency\n\nSvix supports [idempotency](https://en.wikipedia.org/wiki/Idempotence) for safely retrying requests without accidentally performing the same operation twice. This is useful when an API call is disrupted in transit and you do not receive a response.\n\nTo perform an idempotent request, pass the idempotency key in the `Idempotency-Key` header to the request. The idempotency key should be a unique value generated by the client. You can create the key in however way you like, though we suggest using UUID v4, or any other string with enough entropy to avoid collisions.\n\nSvix's idempotency works by saving the resulting status code and body of the first request made for any given idempotency key for any successful request. Subsequent requests with the same key return the same result for a period of up to 12 hours.\n\nPlease note that idempotency is only supported for `POST` requests.\n\n\n## Cross-Origin Resource Sharing\n\nThis API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/). And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.\n",
71757175
"title": "Svix API",
7176-
"version": "1.56.0",
7176+
"version": "1.57.0",
71777177
"x-logo": {
71787178
"altText": "Svix Logo",
71797179
"url": "https://www.svix.com/static/img/brand-padded.svg"

python/svix/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@
3737
"WebhookVerificationError",
3838
]
3939

40-
__version__ = "1.56.0"
40+
__version__ = "1.57.0"

ruby/Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
svix (1.56.0)
4+
svix (1.57.0)
55

66
GEM
77
remote: https://rubygems.org/

ruby/lib/svix/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Svix
4-
VERSION = "1.56.0"
4+
VERSION = "1.57.0"
55
end

rust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "svix"
3-
version = "1.56.0"
3+
version = "1.57.0"
44
authors = ["Svix Inc. <[email protected]>"]
55
edition = "2021"
66
description = "Svix webhooks API client and webhook verification library"

server/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/svix-server/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "svix-server"
3-
version = "1.56.0"
3+
version = "1.57.0"
44
description = "Svix webhooks server"
55
publish = false
66
edition.workspace = true

svix-cli/Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

svix-cli/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "svix-cli"
33
description = "A CLI to interact with the Svix API."
44
homepage = "https://www.svix.com"
55
authors = ["Svix Inc. <[email protected]>"]
6-
version = "1.56.0"
6+
version = "1.57.0"
77
edition = "2021"
88
license = "MIT"
99
keywords = ["svix", "webhooks", "diahook"]

svix-cli/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ A CLI to interact with the Svix API.
2424
Pre-built binaries are available for Linux, macOS via shell script installers.
2525

2626
```
27-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/svix/svix-webhooks/releases/download/v1.56.0/svix-cli-installer.sh | sh
27+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/svix/svix-webhooks/releases/download/v1.57.0/svix-cli-installer.sh | sh
2828
```
2929

3030
For Windows users, installation can be done via powershell:
3131

3232
```
33-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/svix-onelson/svix-webhooks/releases/download/v1.56.0/svix-cli-installer.ps1 | iex"
33+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/svix-onelson/svix-webhooks/releases/download/v1.57.0/svix-cli-installer.ps1 | iex"
3434
```
3535

3636
These scripts will install the binaries to `~/.svix/bin` and also add this directory to your `PATH` by default.

0 commit comments

Comments
 (0)