Skip to content

Commit 6a2a9dc

Browse files
authored
Simplify public preview SDK instructions (#1604)
1 parent a89df85 commit 6a2a9dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,10 @@ you see at runtime may not match the types.
355355

356356
### Public Preview SDKs
357357

358-
Stripe has features in the [public preview phase](https://docs.stripe.com/release-phases) that can be accessed via the beta version of this package.
358+
Stripe has features in the [public preview phase](https://docs.stripe.com/release-phases) that can be accessed via versions of this package that have the `-beta.X` suffix like `11.2.0-beta.2`.
359359
We would love for you to try these as we incrementally release new features and improve them based on your feedback.
360360

361-
The public preview SDKs are a different version of the same package as the stable SDKs. These versions are appended with `-beta.X` such as `7.0.0-beta.1`. To install, choose the version that includes support for the preview feature you are interested in by reviewing the [releases page](https://github.com/stripe/stripe-ruby/releases/) and use it in the `gem install` command:
361+
To install, choose the version that includes support for the preview feature you are interested in by reviewing the [releases page](https://github.com/stripe/stripe-ruby/releases/) and use it in the `gem install` command:
362362

363363
```sh
364364
gem install stripe -v <replace-with-the-version-of-your-choice>
@@ -371,7 +371,7 @@ You can find the latest version to use in this command from the [releases page](
371371
372372
We highly recommend keeping an eye on when the beta feature you are interested in goes from beta to stable so that you can move from using a beta version of the SDK to the stable version.
373373

374-
If your beta feature requires a `Stripe-Version` header to be sent, set the `Stripe.api_version` field using `Stripe.add_beta_version` (available only in the public preview SDKs):
374+
Some preview features require a name and version to be set in the `Stripe-Version` header like `feature_beta=v3`. If your preview feature has this requirement, use the `Stripe.add_beta_version` function (available only in the public preview SDKs):
375375

376376
```python
377377
Stripe.add_beta_version("feature_beta", "v3")

0 commit comments

Comments
 (0)