Redwood: Update the framework

Created on 26 Jun 2020  路  5Comments  路  Source: redwoodjs/redwood

Hello team, I would like to know if there is any command to update my project.
I started it in version 0.10 and I see that 0.11 is already released. Is there a command to update me.

Thank you.

kinquestion cli

Most helpful comment

@thedavidprice
Thank you very much for your great work 馃嵒.
Effectively I worked the update manually, I will try to be more attentive to the update notes.

All 5 comments

@christianvargasforero Hey, there is indeed:

yarn rw upgrade

If you're coming from an earlier version, sometimes you can't just use this command, but the release notes for v0.11.0 say that for v0.10.0 --> v0.11.0, yarn rw upgrade is all you need.

But v0.12.0 is actually out now (here's the release notes). So the upgrade command will probably ask you if you want to upgrade to v0.12.0 instead of v0.11.0. This should still work though, as neither say that upgrading from v0.10.0 will break anything.

@jtoar

There appears to be incompatibility between versions. Although my application is small, I could rebuild it in the new version, but there is a solution to this problem.

Captura de Pantalla 2020-06-26 a la(s) 10 50 19 a 聽m

@christianvargasforero I don't think anything will break necessarily, but those are pretty famous last words. :sweat_smile:

Backward-incompatible just means that there's features in v0.12.0 that won't work in earlier versions, not that the earlier stuff will break (we'd specify that in the release notes if we knew in advance).

I'll tag @thedavidprice to get a second opinion though.

Thanks @jtoar

And hi @christianvargasforero! Excited you're diving into the Redwood waters with us.

That output screen you see is just the standard yarn upgrade output and I believe it's simply based on server. If you haven't already, you should definitely save the current state (e.g. commit) and backup DB if/as needed. Redwood works, but things can break between versions right now.

That said, it's best to keep up when/if possible. Personally, when things are changing quickly, I find it easier to make the minor changes across a few releases versus waiting a long time and try to figure out _all_ the things that changed over the course of a month or more.

In your case, I'd recommend:

Make sense?

@thedavidprice
Thank you very much for your great work 馃嵒.
Effectively I worked the update manually, I will try to be more attentive to the update notes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

balaji-balu picture balaji-balu  路  3Comments

jtoar picture jtoar  路  4Comments

jeliasson picture jeliasson  路  3Comments

wispyco picture wispyco  路  3Comments

Tobbe picture Tobbe  路  4Comments