#Khalil - Orders API + Node

1 messages · Page 1 of 1 (latest)

dusky mason
#

Hello, good question, I am checking in to this. We are less familiar with betas on this server so I may have to refer you to another team if I can't find something on this in the next couple minutes

frozen needle
#

sounds good - thanks for checking pompey

dusky mason
#

So you will need to upgrade to at least a 9.x.x version to use Stripe's library for this

frozen needle
#

sounds good! this is helpful thanks @dusky mason

dusky mason
#

Of course, just let us know if you have any more questions

frozen needle
#

Quick follow up, I am assuming versions are backward compatible?

dusky mason
#

Largely yes though the major version change implies that some things aren't backwards compatible. The ⚠️ sign in our changelog is for the breaking changes. So if you are coming from an 8.x.x version, the changes to look out for are how closed connection errors are handled and that you can't access the legacy Orders API anymore

frozen needle
#

Where can I find the changelog?

dusky mason
#

You can get to it as CHANGELOG.md from our GitHub page

frozen needle
#

It seems like the most recent version is requiring me to use 2022-08-01 API version, most the documentation is based on 2020-08-27

#

I am assuming that's fine?

dusky mason
#

You can still use 2020-08-27 but our typescript functionality at the moment is geared towards 2022-08-01. For betas like this we actually typically reccommend using // @ts-ignore if you are using a beta feature that uses classes beyond the library's type definitions. https://github.com/stripe/stripe-node#usage-with-typescript