New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump version to 0.2.0-unstable and add workspace migration #652
Conversation
Would it be helpful if I could also run this unstable version on mac? |
@spookydd I'm not sure if we are talking about the same thing ;) This PR does not add any new "real" feature, it only bumps the version number and introduces a workspace migration wizard. This wizard is shown only the first time when opening a 0.1.x workspace, so it's only the migration itself which could be tested. But yes, of course you could test that migration if you like :) |
Maybe I'll find time to do some testing on Sunday. |
Oh, sorry for not testing this, I totally forgot about the PR 🙂 I'll test it in the context of #510. |
To allow implementing file format changes, we need to bump the file format version to 0.2 and the application version to 0.2.0-unstable. But several other changes were needed in addition to just bumping the version:
Add "Initialize Workspace" wizard
If you open a workspace with LibrePCB 0.2.x the first time, a wizard now helps you to initialize/migrate the workspace to the new file format version:
When choosing a version to import from:
Or when choosing not to import any data:
Adjust first-run-wizard
Since the new wizard is now used to initialize a workspace, the "Settings" page was removed from the first-run-wizard. That wizard now only lets you choose the workspace, but does no longer initialize it.
Enable warning about unstable file format
From now on, the
master
branch must not be used for productive work since the file format is unstable. Thus the following warning now appears when starting an unstable version of LibrePCB:Make CLI fail when trying to save files from unstable version
Same as in LibrePCB, it would be dangerous if files are saved with an unstable CLI version.
Since this is a very important change, it would be helpful to get some feedback!