mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-25 14:44:28 +00:00
Previously, some settings migrations only operated on root-level keys and missed settings nested under platform keys (`macos`, `linux`, etc.), channel keys (`nightly`, `stable`, etc.), or profile blocks. This fixes migrations to recurse into those nested locations. Also fixes `m_2026_02_02` to gracefully skip when `edit_predictions` is not an object (e.g. `true`) instead of bailing and aborting the entire migration chain. Release Notes: - Fixed settings migrations to correctly handle settings nested under platform, channel, or profile keys.
30 lines
628 B
TOML
30 lines
628 B
TOML
[package]
|
|
name = "migrator"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/migrator.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
collections.workspace = true
|
|
convert_case.workspace = true
|
|
log.workspace = true
|
|
streaming-iterator.workspace = true
|
|
tree-sitter-json.workspace = true
|
|
tree-sitter.workspace = true
|
|
serde_json_lenient.workspace = true
|
|
serde_json.workspace = true
|
|
settings_content.workspace = true
|
|
settings_json.workspace = true
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions.workspace = true
|
|
unindent.workspace = true
|