Skip to content

Commit

Permalink
Bump version to 1.57.0
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-lucho committed Feb 13, 2025
1 parent e12d7ba commit 9589acd
Show file tree
Hide file tree
Showing 23 changed files with 34 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.56.0
1.57.0
12 changes: 8 additions & 4 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
# Changelog

## Unreleased
## 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)
Expand All @@ -25,8 +30,8 @@
* 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 the parameter names of `Endpoint.get` - `appId` and `endpointId` were swapped
* 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`
Expand All @@ -37,8 +42,7 @@
* 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
* Libs/Rust **(Breaking)**: Remove `Period` from `BackgroundTaskType` variant names; this was introduced by accident a few releases ago

## Version 1.56.0
* Skipping versions: we had an issue with our CI that created duplicated Go
Expand Down
2 changes: 1 addition & 1 deletion bridge/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bridge/svix-bridge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "svix-bridge"
version = "1.56.0"
version = "1.57.0"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion csharp/Svix/Svix.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<PackageId>Svix</PackageId>
<Version>1.56.0</Version>
<Version>1.57.0</Version>
<Authors>Svix</Authors>
<Company>Svix</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand Down
2 changes: 1 addition & 1 deletion go/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package svix

const Version = "1.56.0"
const Version = "1.57.0"
4 changes: 2 additions & 2 deletions java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.svix</groupId>
<artifactId>svix</artifactId>
<version>1.56.0</version>
<version>1.57.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -61,7 +61,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
implementation "com.svix:svix:1.56.0"
implementation "com.svix:svix:1.57.0"
```

# Development
Expand Down
2 changes: 1 addition & 1 deletion java/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.svix
VERSION_NAME=1.56.0
VERSION_NAME=1.57.0

POM_URL=https://github.com/svix/svix-webhooks
POM_SCM_URL[email protected]:svix/svix-webhooks.git
Expand Down
2 changes: 1 addition & 1 deletion java/lib/src/main/java/com/svix/Svix.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import com.svix.internal.auth.HttpBearerAuth;

public final class Svix {
public static final String VERSION = "1.56.0";
public static final String VERSION = "1.57.0";
private final Application application;
private final Authentication authentication;
private final Endpoint endpoint;
Expand Down
2 changes: 1 addition & 1 deletion javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svix",
"version": "1.56.0",
"version": "1.57.0",
"description": "Svix webhooks API client and webhook verification library",
"author": "svix",
"repository": "https://github.com/svix/svix-libs",
Expand Down
2 changes: 1 addition & 1 deletion javascript/src/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ApiException } from "./util";
import { HttpErrorOut, HTTPValidationError } from "./openapi";
import { ObjectSerializer } from "./openapi/models/ObjectSerializer";

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

export enum HttpMethod {
Expand Down
4 changes: 2 additions & 2 deletions kotlin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.svix.kotlin</groupId>
<artifactId>svix-kotlin</artifactId>
<version>1.56.0</version>
<version>1.57.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -61,7 +61,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
implementation "com.svix.kotlin:svix-kotlin:1.56.0"
implementation "com.svix.kotlin:svix-kotlin:1.57.0"
```

# Development
Expand Down
2 changes: 1 addition & 1 deletion kotlin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.svix.kotlin
VERSION_NAME=1.56.0
VERSION_NAME=1.57.0

POM_URL=https://github.com/svix/svix-webhooks
POM_SCM_URL[email protected]:svix/svix-webhooks.git
Expand Down
2 changes: 1 addition & 1 deletion lib-openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -7173,7 +7173,7 @@
"info": {
"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",
"title": "Svix API",
"version": "1.56.0",
"version": "1.57.0",
"x-logo": {
"altText": "Svix Logo",
"url": "https://www.svix.com/static/img/brand-padded.svg"
Expand Down
2 changes: 1 addition & 1 deletion python/svix/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
"WebhookVerificationError",
]

__version__ = "1.56.0"
__version__ = "1.57.0"
2 changes: 1 addition & 1 deletion ruby/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
svix (1.56.0)
svix (1.57.0)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion ruby/lib/svix/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Svix
VERSION = "1.56.0"
VERSION = "1.57.0"
end
2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "svix"
version = "1.56.0"
version = "1.57.0"
authors = ["Svix Inc. <[email protected]>"]
edition = "2021"
description = "Svix webhooks API client and webhook verification library"
Expand Down
2 changes: 1 addition & 1 deletion server/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/svix-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "svix-server"
version = "1.56.0"
version = "1.57.0"
description = "Svix webhooks server"
publish = false
edition.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions svix-cli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion svix-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "svix-cli"
description = "A CLI to interact with the Svix API."
homepage = "https://www.svix.com"
authors = ["Svix Inc. <[email protected]>"]
version = "1.56.0"
version = "1.57.0"
edition = "2021"
license = "MIT"
keywords = ["svix", "webhooks", "diahook"]
Expand Down
4 changes: 2 additions & 2 deletions svix-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ A CLI to interact with the Svix API.
Pre-built binaries are available for Linux, macOS via shell script installers.

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

For Windows users, installation can be done via powershell:

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

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

0 comments on commit 9589acd

Please sign in to comment.