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

Supporting latest version of @shopify/shopify-api (version 6) #14

Open
brendenpalmer opened this issue Dec 29, 2022 · 13 comments
Open

Supporting latest version of @shopify/shopify-api (version 6) #14

brendenpalmer opened this issue Dec 29, 2022 · 13 comments

Comments

@brendenpalmer
Copy link

brendenpalmer commented Dec 29, 2022

Are there plans to update simple-koa-shopify-auth to support the latest version of @shopify/shopify-api (version 6)? There have been quite a few breaking changes as part of this upgrade: https://github.com/Shopify/shopify-api-js/blob/main/docs/migrating-to-v6.md.

@TheSecurityDev
Copy link
Owner

TheSecurityDev commented Dec 29, 2022

Not in the immediate future unfortunately due to all the breaking changes. I may try if more people are interested, though.

@axmachina
Copy link

Indeed, it's a substantive amount of changes. I'm looking for ways to fix.

@matthewattanasio
Copy link

I would be very interested in this update!

@matthewattanasio
Copy link

From what I understand, Shopify will be depreciating Shopify API version 5 around October 2023.

Is there going to be an update to support Shopify API 6+ or will I have move on the Nodejs / Koa / Next monolith

@TheSecurityDev
Copy link
Owner

From what I understand, Shopify will be depreciating Shopify API version 5 around October 2023.

Is there going to be an update to support Shopify API 6+ or will I have move on the Nodejs / Koa / Next monolith

I'm fairly certain it will be updated before then. If not, just keep nagging me about it 😅. I may try to work on this soon.

@tolgap
Copy link

tolgap commented May 4, 2023

It would be great to see v6 and v7 supported. I've built our app back in 2019 using shopify-koa-auth and am in no way able to migrate away from Koa to Express.

@TheSecurityDev
Copy link
Owner

From what I understand, Shopify will be depreciating Shopify API version 5 around October 2023.

Is there going to be an update to support Shopify API 6+ or will I have move on the Nodejs / Koa / Next monolith

I'm not sure exactly what you mean by it being deprecated. Are you referring to the API versions that are available, like 2023-04? Because you can specify any version as a string without using the ApiVersion enum from the library. Since this is a library, there's really no reason it should stop working unless something else changes.

@matthewattanasio
Copy link

Thank you for getting back to me @TheSecurityDev, so based on this resource https://shopify.dev/docs/api/usage/versioning, the way I understand it is our apps using your package can only go up to version 2022-10, which means it will be supported until 2023-10.

However afterwards, if nothing changes, our apps will receive a depreciated notice for live apps and there stores wont be able to install and our app will be delisted on the shop store. https://shopify.dev/docs/api/usage/versioning#deprecation-practices

It would be amazing if this package could support the latest v7 of the shopify API ( not much has changed since v6, but v6 is a major change). because going from v5 to v6 is going to require a lot of work and testing on all of our behalfs due to amount of changes introduce, so its always better to do this earlier then later.

Keen to hear your thoughts mate.

@TheSecurityDev
Copy link
Owner

TheSecurityDev commented May 7, 2023

the way I understand it is our apps using your package can only go up to version 2022-10.

@matthewattanasio Can you explain why this is the case? As I stated earlier, you don't have to rely on the ApiVersion constants that the @shopify/shopify-api library provides. You can use any string you want and specify the version yourself. I'm successfully using the latest version (2023-04) with my app. Unless there's some change in the library I don't know about, it should work still.

@matthewattanasio
Copy link

Very interesting to hear @TheSecurityDev I didnt know this was possible.

So really, until Shopify introduces a change in the API that breaks "@shopify/shopify-api": "5.3.0" then we don't have to worry about updating to version 6 or higher?

@TheSecurityDev
Copy link
Owner

@matthewattanasio That's correct.

@brian-matuszak
Copy link

@TheSecurityDev Are there still any plans for @shopify/shopify-api v6+ support? Or has that been abandoned?

@TheSecurityDev
Copy link
Owner

@TheSecurityDev Are there still any plans for @shopify/shopify-api v6+ support? Or has that been abandoned?

Sorry, it's just not really a priority for me :( I've been getting along with the old API and don't really plan to update right now. I would have to update my app in order to be able to make sure the update would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants