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

Commit 571d66f

Browse files
authored
Merge pull request #1129 from Calciumdibromid/develop
Bugfixrelease v0.5.1
2 parents 94c3fea + 604df60 commit 571d66f

File tree

9 files changed

+20
-7
lines changed

9 files changed

+20
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [v0.5.1](https://github.com/Calciumdibromid/CaBr2/releases/tag/v0.5.1) - 2022-02-02
2+
3+
* BUGFIXES
4+
* Add migration of config in local storage (#1127)
5+
16
## [v0.5.0](https://github.com/Calciumdibromid/CaBr2/releases/tag/v0.5.0) - 2022-02-02
27

38
* FEATURES

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cabr2",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",

frontend/src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cabr2"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
description = 'Generate "experiment wise safety sheets" in compliance to European law.'
55
authors = [
66
"Epsilon_02 <epsilon_02@mailbox.org>",

frontend/src-wasm/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src-wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cabr2_wasm_lib"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
edition = "2021"
55
description = 'Wasm implementation for CaBr2.'
66
authors = [

frontend/src/main.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ if (environment.production) {
1414
enableProdMode();
1515
}
1616

17+
// TODO(#1126) remove after some time
18+
const config = localStorage.getItem('config');
19+
if (config?.startsWith('{"config":{')) {
20+
logger.warning('migrating local storage config');
21+
const newConfig = config.slice(10, config.length - 1);
22+
localStorage.setItem('config', newConfig);
23+
}
24+
1725
platformBrowserDynamic()
1826
.bootstrapModule(AppModule)
1927
.catch((err) => logger.error(err));

webserver/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webserver/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "webserver"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
edition = "2021"
55
description = 'CaBr2 backend as webserver.'
66
authors = [

0 commit comments

Comments
 (0)