Upgrading supertokens
# support-questions
e
Hello, context : I've been using supertoken for session management some time with no trouble and wanted to take the time to finally update my dependency. I was using supertoken-website 4.4.1 and my frontend was configured to use supertokenAxios instead of globalAxios when sending request. I updated to the latest version 16.0.3 and now have the following message : Failed to resolve import SuperTokensRequest from 'supertokens-website/axios'; questions : I saw on your website that the official way to handle sessionManagement was now via supertoken-web-js but it seems that supertokens-website was updated 10 days ago. Is there another setup where I can use it directly to keep the changes to a minimum ? On the other hand, if I change my setup to use the new one, will I need to update my backend ? I'm using Kotlin/Javalin (import io.supertokens.javalin.SuperTokens) and it isn't among the supported frameworks. Is there another doc I can refer to ? Or would you say I better change to another tool before the old lib stop being supported ? Thank you 🙂
r
Hey @Erica Delagnier
e
Hello
r
I wouldn’t recommend you to update supertokens given that we don’t support the javalin backend officially anymore. You could contribute the updates to it based on the changes in the nodejs SDK’s session recipe and then use the supertokens-web-js on the frontend
e
thank you, so I can update the frontend and just keep the backend as is for now ?
r
I’m afraid not. There have been quite a few changes over time. It will most likely require a backend and frontend update.
e
ok, since I'm alone and working on a small app, I sadly won't be able to contribute to maintain the backend so I guess I better migrate before it breaks. In any case thank you for the quality of the support, it was really helpful when I set it up a few years ago and still very reactive now
r
Great! I would really recommend just sticking to the version you were using. It’s stable. Most of the changes later on are related to other non session based features being added and it’s effect on session management
e
thanks, the current version is now in conflict with another tool but I will try and see if an intermediary update will work
r
I see. Fair enough.
2 Views