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

release: 0.1.0 #21

Merged
merged 2 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-beta.1"
".": "0.1.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 5
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prelude%2Fprelude-76adb3ec741cc2142bfab5258e5a81c5dddf75376e28b20d794bfc22cd66dd85.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prelude%2Fprelude-ba7ca51ae8c674c16740d0254504bc208d0c3ea5f9970e347e49e70a22dd9072.yml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0 (2025-02-05)

Full Changelog: [v0.1.0-beta.1...v0.1.0](https://github.com/prelude-so/go-sdk/compare/v0.1.0-beta.1...v0.1.0)

### Features

* **api:** update via SDK Studio ([#20](https://github.com/prelude-so/go-sdk/issues/20)) ([4753580](https://github.com/prelude-so/go-sdk/commit/47535809952acd1228a7a83d541845b6ee68009a))

## 0.1.0-beta.1 (2025-01-14)

Full Changelog: [v0.1.0-alpha.4...v0.1.0-beta.1](https://github.com/prelude-so/go-sdk/compare/v0.1.0-alpha.4...v0.1.0-beta.1)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/prelude-so/[email protected]-beta.1'
go get -u 'github.com/prelude-so/[email protected]'
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.1.0-beta.1" // x-release-please-version
const PackageVersion = "0.1.0" // x-release-please-version
5 changes: 5 additions & 0 deletions transactional.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ type TransactionalSendParams struct {
ExpiresAt param.Field[string] `json:"expires_at"`
// The Sender ID.
From param.Field[string] `json:"from"`
// A BCP-47 formatted locale string with the language the text message will be sent
// to. If there's no locale set, the language will be determined by the country
// code of the phone number. If the language specified doesn't exist, the default
// set on the template will be used.
Locale param.Field[string] `json:"locale"`
// The variables to be replaced in the template.
Variables param.Field[map[string]string] `json:"variables"`
}
Expand Down
1 change: 1 addition & 0 deletions transactional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func TestTransactionalSendWithOptionalParams(t *testing.T) {
CorrelationID: prelude.F("correlation_id"),
ExpiresAt: prelude.F("expires_at"),
From: prelude.F("from"),
Locale: prelude.F("el-GR"),
Variables: prelude.F(map[string]string{
"foo": "bar",
}),
Expand Down
3 changes: 2 additions & 1 deletion verification.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ type VerificationNewParamsOptions struct {
CodeSize param.Field[int64] `json:"code_size"`
// The custom code to use for OTP verification. This feature is only available for
// compatibility purposes and subject to Prelude’s approval. Contact us to discuss
// your use case.
// your use case. For more details, refer to
// [Multi Routing](/concepts/multi-routing).
CustomCode param.Field[string] `json:"custom_code"`
// A BCP-47 formatted locale string with the language the text message will be sent
// to. If there's no locale set, the language will be determined by the country
Expand Down