older version of docs
# support-questions
h
Hey @rp , I was working on implementing the anonymous/guest session feature in my application using the Supertokens library. Specifically, I was using version 0.12.6 of the Supertokens-Python SDK. While referring to the user guide on transferring data to a logged-in session, I noticed that we need to use override functions, particularly for overriding the original implementation of create_new_session. However, in the documentation, the reference to create_new_session is based on version 0.14.x of the library (https://supertokens.com/docs/python/recipe/session/recipe_implementation.html#supertokens_python.recipe.session.recipe_implementation.RecipeImplementation.create_new_session). Since I'm using version 0.12.6, the override function for create_new_session should be specific to that version (https://supertokens.com/docs/python/0.12.X/recipe/session/recipe_implementation.html#supertokens_python.recipe.session.recipe_implementation.RecipeImplementation.create_new_session). The issue I encountered was that the implementation of create_new_session differs between the two links. Unfortunately, the user guide does not mention the requirement of using a specific version (particularly 0.14.x). I only discovered this after exploring the Supertokens SDK reference documentation. It would be better to clarify the appropriate version-specific instructions for overriding the create_new_session function in the user guide. This would help ensure that developers using different versions of the Supertokens library can easily implement the anonymous/guest session feature without confusion.
r
hey @HimanshuKukreja we agree with you. It's an open issue on our end. The fundamental problem is that the guides docs space across multiple sdks, each with their own versions - so what does that entail in terms of docs versions?
h
So it means that the code that you are mentioning in your user guides will always be according to the latest SDK at the time of publishing?
r
At the moment, yes.
3 Views