mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Replace viper with koanf (#4845)
* Migrate to koanf * Use temp logger for crashes before config is initialised * Remove snake case hacks * Add migration for config file keys * Add migration note for new migration * Renamed viper functions * Remove front-end viper workaround * Correctly default scan options
This commit is contained in:
1
ui/v2.5/src/docs/en/MigrationNotes/58.md
Normal file
1
ui/v2.5/src/docs/en/MigrationNotes/58.md
Normal file
@@ -0,0 +1 @@
|
||||
This migration corrects the plugin and UI settings in `config.yml` to use `camelCase` instead of `snake_case`. As a result, the migrated file will not be compatible with previous versions of stash. A backup of the current `config.yml` will be created in the same directory with the name `config.yml.57.<date and time>`. The exact filename is written to the log.
|
||||
@@ -1,9 +1,11 @@
|
||||
import migration32 from "./32.md";
|
||||
import migration39 from "./39.md";
|
||||
import migration48 from "./48.md";
|
||||
import migration58 from "./58.md";
|
||||
|
||||
export const migrationNotes: Record<number, string> = {
|
||||
32: migration32,
|
||||
39: migration39,
|
||||
48: migration48,
|
||||
58: migration58,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user