Skip to content

Commit

Permalink
General version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jsinger67 committed Jul 12, 2023
1 parent 1aa7bcb commit d29261d
Show file tree
Hide file tree
Showing 16 changed files with 139 additions and 194 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions crates/parol-ls/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to the "parol-ls" extension will be documented in this file.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this
file.

## 0.14.0 - 2023-07-12

* This release is dedicated to code formatting. A lot of tests have been added to ensure a more
consistent formatting over different configuration settings.

Please file an issue against formatting if you encounter any problem or have suggestions.

In later releases I plan to refactor the whole formatting algorithm and incorporate the comment
handling provided by `[email protected]`.

## 0.13.0 - 2023-06-25

* The `Parol Language Server` now supports a single end comment.
Expand Down
8 changes: 4 additions & 4 deletions crates/parol-ls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "parol-ls"
version = "0.13.0"
version = "0.14.0"
authors = ["Jörg Singer <[email protected]>"]
description = "Language server for parol parser generator"
documentation = "https://docs.rs/parol-ls"
Expand All @@ -25,13 +25,13 @@ log = { workspace = true }
lsp-server = "0.7.2"
lsp-types = "0.94.0"
once_cell = { workspace = true }
parol = { path = "../parol", version = "0.22.0" }
parol_runtime = { path = "../parol_runtime", version = "0.17.0", features = ["auto_generation"] }
parol = { path = "../parol", version = "0.22.1" }
parol_runtime = { path = "../parol_runtime", version = "0.17.1", features = ["auto_generation"] }
parol-macros = { path = "../parol-macros", version = "0.2.0" }
regex = { workspace = true }
serde = "1.0.171"
serde_json = "1.0.100"
thiserror = { workspace = true }

[build-dependencies]
parol = { path = "../parol", version = "0.22.0" }
parol = { path = "../parol", version = "0.22.1" }
4 changes: 0 additions & 4 deletions crates/parol-ls/src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,6 @@ impl Line {
RX_DOUBLE_NEW_LINE.is_match(line)
}

// fn ends_with_nl_wo_line_comment(line: &str) -> bool {
// Self::ends_with_nl(line) && !RX_NEW_LINES_AFTER_LINE_COMMENT.is_match(line)
// }

fn ends_with_nls_after_line_comment(line: &str) -> bool {
RX_NEW_LINES_AFTER_LINE_COMMENT.is_match(line)
}
Expand Down
2 changes: 1 addition & 1 deletion crates/parol/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ new minor version numbers. Please note that this is no version handling covered

---

## 0.22.1 - Not released yet
## 0.22.1 - 2023-07-12

* Ensure deterministic state numbering after minimization of Lookahead DFAs. Before this fix the
states could be numbered differently after each generation. Although this imposed no problems on the
Expand Down
4 changes: 2 additions & 2 deletions crates/parol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "parol"
version = "0.22.0"
version = "0.22.1"
authors = ["Jörg Singer <[email protected]>"]
description = "LL(k) parser generator for Rust"
default-run = "parol"
Expand All @@ -23,7 +23,7 @@ env_logger = { workspace = true }
function_name = { workspace = true }
num_cpus = "1.16.0"
owo-colors = "3.5.0"
parol_runtime = { path = "../parol_runtime", version = "0.17.0", features = ["auto_generation"] }
parol_runtime = { path = "../parol_runtime", version = "0.17.1", features = ["auto_generation"] }
parol-macros = { path = "../parol-macros", version = "0.2.0" }
rand = "0.8.5"
regex = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/parol/src/bin/parol/tools/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const DEPENDENCIES: &[&[&str]] = &[
&["add", "[email protected]"],
&[
"add",
"[email protected].0",
"[email protected].1",
"--features",
"auto_generation",
],
Expand All @@ -110,7 +110,7 @@ const DEPENDENCIES: &[&[&str]] = &[
],
&[
"add",
"[email protected].0",
"[email protected].1",
"--features",
"auto_generation",
"--build",
Expand Down
6 changes: 3 additions & 3 deletions crates/parol/tests/snapshots/bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ edition = "2021"
[dependencies]
anyhow = "1.0"
env_logger = "0.10.0"
parol_runtime = { version = "0.17.0", features = ["auto_generation"] }
parol_runtime = { version = "0.17.1", features = ["auto_generation"] }
thiserror = "1.0"

[build-dependencies]
parol = "0.22.0"
parol_runtime = { version = "0.17.0", features = ["auto_generation"] }
parol = "0.22.1"
parol_runtime = { version = "0.17.1", features = ["auto_generation"] }

# For faster builds.
[profile.dev.build-override]
Expand Down
6 changes: 3 additions & 3 deletions crates/parol/tests/snapshots/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ edition = "2021"
[dependencies]
anyhow = "1.0"
env_logger = "0.10.0"
parol_runtime = { version = "0.17.0", features = ["auto_generation"] }
parol_runtime = { version = "0.17.1", features = ["auto_generation"] }
thiserror = "1.0"

[build-dependencies]
parol = "0.22.0"
parol_runtime = { version = "0.17.0", features = ["auto_generation"] }
parol = "0.22.1"
parol_runtime = { version = "0.17.1", features = ["auto_generation"] }

# For faster builds.
[profile.dev.build-override]
Expand Down
2 changes: 1 addition & 1 deletion crates/parol_runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Be aware that this project is still v0.y.z which means that anything can change
We defined for this project that while being on major version zero we mark incompatible changes with
new minor version numbers. Please note that this is no version handling covered by `Semver`.

## 0.17.1 - Not released yet
## 0.17.1 - 2023-07-12

* Update crate `regex-automata` to version 0.3.2

Expand Down
2 changes: 1 addition & 1 deletion crates/parol_runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "parol_runtime"
version = "0.17.0"
version = "0.17.1"
authors = ["Jörg Singer <[email protected]>"]
description = "Runtime library for parsers generated by the 'parol' parser generator."
documentation = "https://docs.rs/parol_runtime"
Expand Down
Loading

0 comments on commit d29261d

Please sign in to comment.