W
Wasp-lang•2mo ago
Hastur

What is the best way to update from 0.14.0 to 0.14.2?

Hello, I would like to know what is the best way to update to 0.14.2? Is the best way creating a new wasp app and just copy/paste my /app/src/ folder in it? Thank you!
5 Replies
kapa.ai
kapa.ai•2mo ago
Hi @Hastur. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The knowledge sources provided do not contain specific information about updating from version 0.14.0 to 0.14.2. However, they do provide some general advice on updating Wasp. For instance, when updating Wasp, you typically install the new version on your development machine and then update your app's codebase to work with the new version of Wasp. For significant breaking changes, detailed instructions and scripts are usually provided to assist with the migration process source (https://discord.com/channels/686873244791210014/1210312601158946826). Also, when you make updates and need to redeploy, you would typically run wasp build to rebuild your app and then run railway up in the .wasp/build directory for the server and repeat all the steps in the .wasp/build/web-app directory for the client source (https://wasp-lang.dev/docs/advanced/deployment/manually#updates--redeploying). However, these are general guidelines and may not apply to your specific case of updating from 0.14.0 to 0.14.2. I would recommend checking the official Wasp documentation or reaching out to the Wasp community for more specific guidance. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Hastur, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
miho
miho•2mo ago
IMHO, update Wasp and see what happens 😄 There shouldn't be any breaking changes: only one small API adjustment related to auth hooks which is technically a breaking change but to update is really simple. Check out the release logs: https://github.com/wasp-lang/wasp/releases
GitHub
Releases · wasp-lang/wasp
The fastest way to develop full-stack web apps with React & Node.js. - wasp-lang/wasp
Sergio Visinoni
Sergio Visinoni•2mo ago
Follow up question here: is it enough to change the version string in my main.wasp file or do I need to go through more steps when upgrading from 0.14.0 to 0.14.2?
miho
miho•2mo ago
Upgrading to a new Wasp version means installing it with curl again like: curl -sSL https://get.wasp-lang.dev/installer.sh | sh and then you check with wasp version which version you have. The string in your Wasp file doesn't really need to be updated since ^0.14.0 has the ^ symbol which means: I'm okay with the last digit changing (0.14.0, 0.14.2, 0.14.5 ... is okay)
Sergio Visinoni
Sergio Visinoni•2mo ago
Thanks @miho !
Want results from more Discord servers?
Add your server