Kat Marchán
876a4276bd
chore: Release kdl version 6.0.0-alpha.4
2024-12-04 13:06:28 -08:00
Kat Marchán
6cbdca7262
docs: update changelog
2024-12-04 13:05:20 -08:00
Kat Marchán
4d4ef75954
feat(draft): 2.0.0-draft.6 support ( #92 )
...
This just adds support for the new multiline string syntax. There's no other necessary changes to support draft.6.
2024-12-04 13:04:16 -08:00
Kat Marchán
71bd07b57d
zellij example
2024-12-03 20:35:51 -08:00
Kat Marchán
887a5438d3
docs: update readme
2024-12-03 00:27:19 -08:00
Kat Marchán
b874023a69
chore: Release kdl version 6.0.0-alpha.3
2024-12-03 00:02:16 -08:00
Kat Marchán
e56c15ebfb
docs: update changelog
2024-12-03 00:01:45 -08:00
Kat Marchán
2802578ba0
feat(parser): update to 2.0.0-draft.5 ( #90 )
2024-12-02 23:26:40 -08:00
Kat Marchán
fb7c92b59f
refactor(parser): refactor number parsing to support generic number types
2024-11-30 20:36:56 -08:00
Kat Marchán
0940bb1608
chore: Release kdl version 6.0.0-alpha.2
2024-11-30 11:15:07 -08:00
Kat Marchán
21632011f9
docs: update changelog
2024-11-30 11:14:26 -08:00
Ryan Goodfellow
0595955850
feat(value,entry): i128 for integers, autoformat safe KdlEntryFormat ( #91 )
2024-11-29 18:50:14 -08:00
Kenichi Kamiya
11e119263d
fix(fmt): fix formatting error in CI ( #88 )
2024-11-27 13:28:50 -08:00
Kenichi Kamiya
cc2995d72b
doc(license): fix format of license file ( #87 )
...
This commit follows 0dbf75c78e
Making possible to be detected by tools.
For example, currently GitHub does not detect this
repository as an Apache-2.0 project.
New LICENSE file has been obtained with
```bash
curl -L https://www.apache.org/licenses/LICENSE-2.0.txt -o LICENSE
```
Added the NOTICE file as written in the following links
https://www.apache.org/legal/apply-license.html
https://infra.apache.org/licensing-howto.html
Finally checked the result with
https://github.com/licensee/licensee/tree/v9.18.0
Before
---
```plaintext
License: NOASSERTION
Matched files: LICENSE, README.md, Cargo.toml
LICENSE:
Content hash: 6836f6084c5e24bf671db6bf35b3442c5f604b93
License: NOASSERTION
Closest non-matching licenses:
ECL-2.0 similarity: 82.54%
Apache-2.0 similarity: 70.61%
OSL-3.0 similarity: 51.56%
README.md:
Content hash: 1a017b26702ef2ed885dcdacfc41f29c8893ee57
Confidence: 90.00%
Matcher: Licensee::Matchers::Reference
License: Apache-2.0
Closest non-matching licenses:
0BSD similarity: 8.51%
ISC similarity: 6.67%
WTFPL similarity: 6.11%
Cargo.toml:
Confidence: 90.00%
Matcher: Licensee::Matchers::Cargo
License: Apache-2.0
```
After
---
```plaintext
License: Apache-2.0
Matched files: LICENSE, README.md, Cargo.toml
LICENSE:
Content hash: bec905d850e7f5dc2e2db78a950d4a9db560a0b8
Confidence: 100.00%
Matcher: Licensee::Matchers::Exact
License: Apache-2.0
README.md:
Content hash: 1a017b26702ef2ed885dcdacfc41f29c8893ee57
Confidence: 90.00%
Matcher: Licensee::Matchers::Reference
License: Apache-2.0
Closest non-matching licenses:
0BSD similarity: 8.51%
ISC similarity: 6.67%
WTFPL similarity: 6.11%
Cargo.toml:
Confidence: 90.00%
Matcher: Licensee::Matchers::Cargo
License: Apache-2.0
```
2024-11-27 09:34:05 -08:00
Kenichi Kamiya
880fa12d34
chore: update link to license file ( #86 )
...
the file has been renamed in 0dbf75c78e
2024-11-27 09:31:19 -08:00
Kat Marchán
d013ece76a
fix(deps): remove nom
2024-10-08 22:48:10 -07:00
Kat Marchán
a641995293
refactor(parser): refactor try_parse to be lift more weight
2024-10-08 22:37:43 -07:00
Kat Marchán
5eb9442297
chore: Release kdl version 6.0.0-alpha.1
2024-10-05 21:04:58 -07:00
Kat Marchán
f67e3d2998
docs: update changelog
2024-10-05 21:04:31 -07:00
Kat Marchán
c9898cdbd2
feat(parser): v2 parser ( #70 )
...
This is a major rewrite of kdl-rs to comply with the KDL v2 spec.
2024-10-05 20:51:09 -07:00
jaxter184
6044ef9776
fix: Change numerical key `insert` behavior
2023-04-25 20:44:57 -07:00
jaxter184
f527490d81
fix: Panic when using `remove` with bad positional index
2023-04-25 20:44:57 -07:00
jaxter184
be0dc1708d
fix(api): Fix `insert` and `remove` behavior for `KdlNode`
2023-04-25 20:44:57 -07:00
Kat Marchán
85b65eefc3
misc: clippy fixes
2023-03-31 22:21:49 -07:00
Kat Marchán
7cdeb98dd7
misc: set msrv
2023-03-31 22:13:12 -07:00
Kat Marchán
498d2ec4bd
chore: Release kdl version 5.0.0-alpha.1
2023-03-31 17:45:02 -07:00
Kat Marchán
4778e701a7
docs: update changelog
2023-03-31 17:44:41 -07:00
Kat Marchán
db0a395fb4
feat(deps): bump miette and thiserror
2023-03-31 17:38:30 -07:00
Kat Marchán
8c028e5ea1
(cargo-release) version 5.0.0-alpha.0
2022-12-04 19:46:37 -08:00
Kat Marchán
4973f01460
docs: add some details about the query engine
2022-12-04 19:43:33 -08:00
Kat Marchán
9ef529983d
docs: update changelog for alpha release
2022-12-04 19:25:09 -08:00
Kat Marchán
6d1a516eb9
feat(kql): implement KQL query engine ( #61 )
...
Fixes: https://github.com/kdl-org/kdl-rs/issues/32
This implements a proposed draft of a KQL engine,
allowing CSS selector-style querying of KDL documents (and nodes)
in a variety of different ways.
2022-12-04 19:22:10 -08:00
Aria Beingessner
04471a537e
feat(spans): rework the span API to be strictly by-val ( #60 )
...
BREAKING CHANGE: this removes all the `.span_mut()` methods and changes the signature for `.span()`.
2022-12-04 10:19:58 -08:00
Kat Marchán
3d8778a610
feat(api): Improve .get()/.entry() APIs to be more consistent with Rust conventions
...
BREAKING CHANGE: KdlNode::get* are now KdlNode::entry*. Additionally, KdlDocument::get_dash_vals has been renamed to KdlDocument::get_dash_args.
2022-11-29 23:10:25 -08:00
Kat Marchán
c7b6b823e9
(cargo-release) start next development iteration 4.6.1-alpha.0
2022-10-09 12:10:49 -07:00
Kat Marchán
232d253cbf
(cargo-release) version 4.6.0
2022-10-09 12:10:17 -07:00
Kat Marchán
9ad7eda2e0
update changelog
2022-10-09 12:09:58 -07:00
Aria Beingessner
3ddbfec80e
feat(errors): Add better diagnostics for errant plain identifiers in nodes ( #59 )
...
Fixes: https://github.com/kdl-org/kdl-rs/issues/58
2022-10-09 12:00:32 -07:00
Kat Marchán
ae5705c388
(cargo-release) start next development iteration 4.5.1-alpha.0
2022-08-30 20:26:33 -07:00
Kat Marchán
6315cd550a
(cargo-release) version 4.5.0
2022-08-30 20:26:08 -07:00
Kat Marchán
da85a39a26
docs: update changelog
2022-08-30 20:25:55 -07:00
Aria Beingessner
b17ef8e2c6
feat(spans): add spans to most elements ( #57 )
...
This necessitates passing the input around through all the sub-parsers so they
can compute their own sub-spans, which in turn necessitates making most of the
subparsers into nom-style 'function builders' by wrapping them in closures and
returning the closures.
The current impl hides this functionality behind an on-by-default "span" feature.
Some fallout of this change:
There is now a private parser::KdlParser type that must be constructed with the
full input for all span computation. The parser::parser method has been moved to
a method of this to make sure the full_input used for span computation is the
same one passed to parsing. In doing this a bug where the span of errors would
be incorrectly computed for non-ascii strings has been fixed.
Types now manually implement PartialEq and Hash to avoid incorporating the span
of the item into those computations.
All parser combinators must first have the KdlParser applied before using them,
making their signatures far more complex. Unfortunately KdlParser::parse can't
apply that for you because I don't think it's possible to express that complex
of a signature and not have the lifetimes get messed up.
2022-08-30 20:24:06 -07:00
Kat Marchán
bbd011512a
(cargo-release) start next development iteration 4.4.1-alpha.0
2022-08-18 12:40:20 -07:00
Kat Marchán
857089dcae
(cargo-release) version 4.4.0
2022-08-18 12:39:55 -07:00
Kat Marchán
204460bf1b
update changelog
2022-08-18 12:39:21 -07:00
Kat Marchán
8d0f36ceb1
feat(deps): bump miette
2022-08-18 12:27:59 -07:00
Christopher Durham
2e9c0447f9
fix(formatting): Fix formatting when decoration is not present ( #56 )
2022-08-18 12:22:15 -07:00
Cliff L. Biffle
bbc5e4e6a6
fix(fmt): Indent trailing brace of nested nodes. ( #49 )
...
In 4.3.0, the Display output for nested nodes always puts the trailing
braces on the left margin:
a {
b {
c {
}
}
}
This commit indents the trailing brace to match the node name, at least
when explicit trailing text is not provided.
2022-07-22 08:00:54 -07:00
Dimitri Merejkowsky
901fe3fd7b
docs: add some examples ( #47 )
2022-07-22 07:58:50 -07:00
Kat Marchán
6d32700b95
(cargo-release) start next development iteration 4.3.1-alpha.0
2022-06-10 17:08:20 -07:00