diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e613b81..3d2ac0b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-beta.1" + ".": "0.1.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 2f6bd11..f7be301 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index b749370..a412063 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/README.md b/README.md index a98f6e5..43fd18d 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Or to pin the version: ```sh -go get -u 'github.com/prelude-so/go-sdk@v0.1.0-beta.1' +go get -u 'github.com/prelude-so/go-sdk@v0.1.0' ``` diff --git a/internal/version.go b/internal/version.go index 323c46f..02eac73 100644 --- a/internal/version.go +++ b/internal/version.go @@ -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 diff --git a/transactional.go b/transactional.go index 3fedabc..5d24c51 100644 --- a/transactional.go +++ b/transactional.go @@ -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"` } diff --git a/transactional_test.go b/transactional_test.go index 6f837d2..3bde984 100644 --- a/transactional_test.go +++ b/transactional_test.go @@ -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", }), diff --git a/verification.go b/verification.go index eba478d..6572397 100644 --- a/verification.go +++ b/verification.go @@ -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