#Medusa version management, CLI and upgrade

2 messages · Page 1 of 1 (latest)

bright niche
#

Hi folks! I've got few questions:

  • When upgrading Medusa, are we supposed to upgrade to each and every version, or jumping to the latest is recommended? For example, I have a store at v1.7.0 and would like to upgrade to the latest 1.7.8. Should this store hop on each version or directly going to 1.7.8 works?

  • A follow up question to the above is: are the TypeORM variables such as TYPEORM_ENTITIES, TYPEORM_CONNECTION, temporary during the upgrade or should they be put into the server permanently?

  • Medusa CLI currently creates new stores that are way back in v1.6.1 IIRC. Any functionality to make it start new stores with the latest Medusa version?

supple nebula
#
  1. I think you can go straight to the latest, but you would need to run all the upgrade guide scripts.
  2. You can leave them for future upgrade scripts 🙂
  3. I think CLI just installs https://github.com/medusajs/medusa-starter-default, so that needs updating