5 Commits

Author SHA1 Message Date
Jagandeep Brar
21b8409d31 release: v10.1.1
[skip ci]
2022-08-21 17:06:42 -04:00
Jagandeep Brar
cf3d9bbc17 fix(indexer): remove LunaIndexerIcon from model definition 2022-08-21 16:45:38 -04:00
Jagandeep Brar
bbb8dbc3b3 chore(version): bump to 10.1.1 2022-08-21 16:21:35 -04:00
Jagandeep Brar
b02fe81df6 fix(config): log restoration error after resetting the database to default 2022-08-21 16:19:48 -04:00
Jagandeep Brar
52fd7fca0c feat(changelog): do not show changelog on first boot of new installs
[skip ci]
2022-08-21 11:52:25 -04:00
9 changed files with 24 additions and 15 deletions

View File

@@ -2,6 +2,19 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [10.1.1](https://github.com/JagandeepBrar/LunaSea/compare/v10.1.0...v10.1.1) (2022-08-21)
### Features
* **changelog:** do not show changelog on first boot of new installs ([52fd7fc](https://github.com/JagandeepBrar/LunaSea/commit/52fd7fca0c5076b4b98458d449a4b1f581726a52))
### Bug Fixes
* **config:** log restoration error after resetting the database to default ([b02fe81](https://github.com/JagandeepBrar/LunaSea/commit/b02fe81df697066be6172a7d423768490639593e))
* **indexer:** remove LunaIndexerIcon from model definition ([cf3d9bb](https://github.com/JagandeepBrar/LunaSea/commit/cf3d9bbc17cd67f0c5e8be22b9450563046a2127))
## [10.1.0](https://github.com/JagandeepBrar/LunaSea/compare/v10.0.3...v10.1.0) (2022-08-21)

View File

@@ -21,12 +21,12 @@ class LunaConfig {
LunaSeaDatabase.ENABLED_PROFILE.update(LunaProfile.list[0]);
}
} catch (error, stack) {
await LunaDatabase().bootstrap(databaseCorruption: true);
LunaLogger().error(
'Failed to import configuration, resetting to default',
error,
stack,
);
LunaDatabase().bootstrap(databaseCorruption: true);
}
LunaState.reset(context);

View File

@@ -22,16 +22,11 @@ class LunaIndexer extends HiveObject {
@HiveField(3, defaultValue: <String, String>{})
Map<String, String> headers;
@JsonKey()
@HiveField(4)
LunaIndexerIcon? icon;
LunaIndexer({
this.displayName = '',
this.host = '',
this.apiKey = '',
this.headers = const {},
this.icon,
});
@override

View File

@@ -132,13 +132,14 @@ class _State extends State<LunaOS> {
Future<void> _healthCheck() async {
final isLatest = LunaBuild().isLatestBuildVersion();
final firstBoot = BIOSDatabase.FIRST_BOOT.read();
if (BIOSDatabase.DATABASE_CORRUPTION.read()) {
DatabaseCorruptionSheet().show();
BIOSDatabase.DATABASE_CORRUPTION.update(false);
}
if (!isLatest.item1) {
if (!firstBoot && !isLatest.item1) {
ChangelogSheet().show();
}
}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "lunasea",
"version": "10.1.0",
"version": "10.1.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "lunasea",
"version": "10.1.0",
"version": "10.1.1",
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",

View File

@@ -1,7 +1,7 @@
{
"name": "lunasea",
"description": "Self-Hosted Controller",
"version": "10.1.0",
"version": "10.1.1",
"private": true,
"scripts": {
"build:android": "flutter clean && flutter build apk --bundle-sksl-path shaders/android_sksl.json --release",
@@ -51,4 +51,4 @@
"husky": "^8.0.1",
"standard-version": "^9.5.0"
}
}
}

View File

@@ -1,6 +1,6 @@
name: lunasea
description: Self-Hosted Controller
version: 10.1.0+1
version: 10.1.1+1
publish_to: 'none'
environment:
sdk: '>=2.17.0 <3.0.0'

View File

@@ -1,5 +1,5 @@
name: lunasea
version: 10.1.0
version: 10.1.1
confinement: strict
base: core18

View File

@@ -63,13 +63,13 @@ IDI_APP_ICON ICON "resources\\app_icon.ico"
#ifdef FLUTTER_BUILD_NUMBER
#define VERSION_AS_NUMBER FLUTTER_BUILD_NUMBER
#else
#define VERSION_AS_NUMBER 10,1,0
#define VERSION_AS_NUMBER 10,1,1
#endif
#ifdef FLUTTER_BUILD_NAME
#define VERSION_AS_STRING #FLUTTER_BUILD_NAME
#else
#define VERSION_AS_STRING "10.1.0"
#define VERSION_AS_STRING "10.1.1"
#endif
VS_VERSION_INFO VERSIONINFO