Skip to content

Commit b3917f4

Browse files
committed
chore: bump version to 0.8.5
- update mq-lang, mq-markdown to 0.8.5 - adapt to Shared<Node>/Shared<String> in RuntimeValue::Markdown/String
1 parent 7ea239d commit b3917f4

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ name = "mq-python"
1010
publish = false
1111
readme = "README.md"
1212
repository = "https://github.com/harehare/mq"
13-
version = "0.8.4"
13+
version = "0.8.5"
1414

1515
[lib]
1616
crate-type = ["cdylib"]
1717
name = "mq"
1818

1919
[dependencies]
20-
mq-lang = "0.8.4"
21-
mq-markdown = "0.8.4"
20+
mq-lang = "0.8.5"
21+
mq-markdown = "0.8.5"
2222
pyo3 = {version = "0.29.0", features = ["extension-module", "abi3-py39"]}
2323

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ license = {text = "MIT"}
1313
name = "markdown-query"
1414
readme = "README.md"
1515
requires-python = ">=3.10"
16-
version = "0.8.4"
16+
version = "0.8.5"
1717

1818
[tool.maturin]
1919
module-name = "mq.mq"

src/value.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ impl From<mq_lang::RuntimeValue> for MQValue {
112112
},
113113
mq_lang::RuntimeValue::Markdown(node, _) => MQValue::Markdown {
114114
value: node.to_string(),
115-
markdown_type: (*node).into(),
115+
markdown_type: (*node).clone().into(),
116116
},
117117
mq_lang::RuntimeValue::String(s) => MQValue::Markdown {
118-
value: s,
118+
value: s.to_string(),
119119
markdown_type: MarkdownType::Text,
120120
},
121121
mq_lang::RuntimeValue::Symbol(i) => MQValue::Markdown {

uv.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.

0 commit comments

Comments
 (0)