diff --git a/CHANGELOG.md b/CHANGELOG.md index df5e07c..35d853a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.6.1-dev.1](https://github.com/MorpheApp/morphe-cli/compare/v1.6.0...v1.6.1-dev.1) (2026-03-22) + + +### Bug Fixes + +* Update to Patcher 1.3.1 ([39bdd44](https://github.com/MorpheApp/morphe-cli/commit/39bdd44d13cf99b855d4e8501a47283f0681cbe7)) + # [1.6.0](https://github.com/MorpheApp/morphe-cli/compare/v1.5.0...v1.6.0) (2026-03-22) diff --git a/gradle.properties b/gradle.properties index fd7d063..e6d7e1e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.parallel = true org.gradle.caching = true kotlin.code.style = official -version = 1.6.0 +version = 1.6.1-dev.1 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9ab4504..de43b0b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -7,7 +7,7 @@ kotlin = "2.3.0" # CLI picocli = "4.7.7" arsclib = "9696ffecda" -morphe-patcher = "1.3.0" +morphe-patcher = "1.3.1" morphe-library = "1.3.0" # Compose Desktop diff --git a/src/test/kotlin/app/morphe/cli/command/PatchOptionsFileTest.kt b/src/test/kotlin/app/morphe/cli/command/PatchOptionsFileTest.kt index 1eea68f..edb34da 100644 --- a/src/test/kotlin/app/morphe/cli/command/PatchOptionsFileTest.kt +++ b/src/test/kotlin/app/morphe/cli/command/PatchOptionsFileTest.kt @@ -96,7 +96,7 @@ class PatchOptionsFileTest { @Test fun `mergeWithBundle preserves existing settings`(){ // New patch from .mpp files comes with this default (enabled + light) - val patch = rawResourcePatch(name = "Theme", description = "Change Theme", use = true){ + val patch = rawResourcePatch(name = "Theme", description = "Change Theme", default = true){ option(key = "colorScheme", default = "light") } @@ -120,9 +120,9 @@ class PatchOptionsFileTest { @Test fun `mergeWithBundle adds new Patch that didn't exist with default settings`(){ // We add new Patch that didn't exist with default values - val themePatch = rawResourcePatch(name = "Theme", description = "Change Theme", use = true) {} + val themePatch = rawResourcePatch(name = "Theme", description = "Change Theme", default = true) {} - val adBlockPatch = rawResourcePatch(name = "AdBlocker", description = "Block Ads", use = true) {} + val adBlockPatch = rawResourcePatch(name = "AdBlocker", description = "Block Ads", default = true) {} val userBundle = PatchBundle( meta = PatchBundleMeta(), @@ -137,7 +137,7 @@ class PatchOptionsFileTest { @Test fun `mergeWithBundle removes an old patch that no longer exists`(){ // We remove an old patch that no longer exists - val themePatch = rawResourcePatch(name = "Theme", description = "Change Theme", use = true) {} + val themePatch = rawResourcePatch(name = "Theme", description = "Change Theme", default = true) {} val userBundle = PatchBundle( meta = PatchBundleMeta(),