Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1129 from Calciumdibromid/develop
Browse files Browse the repository at this point in the history
Bugfixrelease v0.5.1
  • Loading branch information
crapStone authored Feb 2, 2022
2 parents 94c3fea + 604df60 commit 571d66f
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [v0.5.1](https://github.com/Calciumdibromid/CaBr2/releases/tag/v0.5.1) - 2022-02-02

* BUGFIXES
* Add migration of config in local storage (#1127)

## [v0.5.0](https://github.com/Calciumdibromid/CaBr2/releases/tag/v0.5.0) - 2022-02-02

* FEATURES
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cabr2",
"version": "0.5.0",
"version": "0.5.1",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cabr2"
version = "0.5.0"
version = "0.5.1"
description = 'Generate "experiment wise safety sheets" in compliance to European law.'
authors = [
"Epsilon_02 <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src-wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/src-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cabr2_wasm_lib"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
description = 'Wasm implementation for CaBr2.'
authors = [
Expand Down
8 changes: 8 additions & 0 deletions frontend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ if (environment.production) {
enableProdMode();
}

// TODO(#1126) remove after some time
const config = localStorage.getItem('config');
if (config?.startsWith('{"config":{')) {
logger.warning('migrating local storage config');
const newConfig = config.slice(10, config.length - 1);
localStorage.setItem('config', newConfig);
}

platformBrowserDynamic()
.bootstrapModule(AppModule)
.catch((err) => logger.error(err));
2 changes: 1 addition & 1 deletion webserver/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webserver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "webserver"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
description = 'CaBr2 backend as webserver.'
authors = [
Expand Down

0 comments on commit 571d66f

Please sign in to comment.