Commit Graph

71 Commits

Author SHA1 Message Date
Kat Marchán 268f3a2d00
chore: Release 2025-09-11 15:17:05 -07:00
Kat Marchán e1727e7c28
feat(msrv): bump msrv 2025-09-11 15:14:02 -07:00
Kat Marchán fb9d725b06
chore: Release 2025-09-11 14:13:08 -07:00
Brooks Rady 439aa63bfc
feat(deps): Absolve `kdl-rs` of `syn` (#125)
This completes the removal of `syn` from `kdl-rs`s dependency tree!
2025-04-28 11:26:09 -07:00
Kat Marchán ce27425905
fix(v1-fallback): actually fall back. lol (#119) 2025-02-17 15:34:39 -08:00
Kat Marchán b7cf2ec6fd
chore: Release 2025-01-25 12:16:52 -08:00
Kat Marchán acd7ccf800
fix(deps): bump winnow version to pull in new type
Fixes: https://github.com/kdl-org/kdl-rs/issues/117
2025-01-25 11:52:44 -08:00
Kat Marchán 2072c66f51
chore: Release 2025-01-16 19:49:06 -08:00
Kat Marchán 2e273f9314
chore: Release 2025-01-16 19:45:42 -08:00
Kat Marchán 266b462a19
feat(msrv): bump msrv to 1.71.1 2025-01-16 19:44:35 -08:00
Kat Marchán b6b67f62fa
feat(lsp): add LSP server (#115)
Fixes: https://github.com/kdl-org/kdl-rs/issues/113
2025-01-16 18:54:34 -08:00
Kat Marchán 50926ee6df
chore: Release kdl version 6.2.2 2025-01-02 16:35:05 -08:00
Kat Marchán d697e45d05
chore: Release kdl version 6.2.1 2025-01-01 17:47:18 -08:00
Kat Marchán f1e3c15663
chore: Release kdl version 6.2.0 2025-01-01 15:39:55 -08:00
Kat Marchán 4fee6b8b7b
chore: Release kdl version 6.1.0 2024-12-22 12:53:27 -08:00
Kat Marchán 99dec9fa2c
feat(api): unflagged ensure_v2 fns, and docsrs improvements 2024-12-22 12:40:13 -08:00
Kat Marchán 5aa81f8e15
chore: Release kdl version 6.0.0 2024-12-21 18:49:11 -08:00
Kat Marchán fef7c58b02
fix(v1): sigh. forgot to remove v1 from default features again 2024-12-21 17:49:08 -08:00
Kat Marchán b332eed4a0
feat(v1): add v2 -> v1 translation and fix translations to not autoformat 2024-12-21 17:37:01 -08:00
Kat Marchán 3e5d7a33af
fix(v1): remove v1 from default features 2024-12-19 23:20:52 -08:00
Kat Marchán 6a7248c405
feat(v1): add rudimentary, optional, KDL v1 parsing (#104)
This is kinda rough right now, since it involves actually pulling in the old kdl v1. Not ideal, but workable as a stepping stone while a real v1 parser gets written.
2024-12-19 23:15:24 -08:00
Kat Marchán 413b0ecb55
chore: Release kdl version 6.0.0-alpha.5 2024-12-15 18:21:45 -08:00
Kat Marchán 876a4276bd
chore: Release kdl version 6.0.0-alpha.4 2024-12-04 13:06:28 -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 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 d013ece76a
fix(deps): remove nom 2024-10-08 22:48:10 -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 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
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 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 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
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 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
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 8d0f36ceb1
feat(deps): bump miette 2022-08-18 12:27:59 -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
Kat Marchán 58a60f9a30
(cargo-release) version 4.3.0 2022-06-10 17:07:50 -07:00
Kat Marchán 5ef8eeef52
(cargo-release) start next development iteration 4.2.1-alpha.0 2022-05-11 08:29:48 -07:00
Kat Marchán 0bf6f953ff
(cargo-release) version 4.2.0 2022-05-11 08:29:27 -07:00
Kat Marchán ac3ca5773f
(cargo-release) start next development iteration 4.1.2-alpha.0 2022-04-27 23:28:33 -07:00
Kat Marchán f21bf8b49e
(cargo-release) version 4.1.1 2022-04-27 23:28:13 -07:00
Kat Marchán 71df712c0c
(cargo-release) start next development iteration 4.1.1-alpha.0 2022-04-23 22:37:03 -07:00
Kat Marchán 6577a10c85
(cargo-release) version 4.1.0 2022-04-23 22:36:44 -07:00