Skip to content

Commit

Permalink
fix: Fix intra-prql crate dependency specification (#4561)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
max-sixty and pre-commit-ci[bot] committed Jun 8, 2024
1 parent f718695 commit 5571c65
Show file tree
Hide file tree
Showing 17 changed files with 39 additions and 34 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# PRQL Changelog

## 0.12.1 — 2024-06-09

0.12.1 is a tiny hotfix release which fixes how intra-prql crate dependencies
were specified.

## 0.12.0 — 2024-06-08

0.12.0 contains a few months of smaller features. Our focus has been on
Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repository = "https://github.com/PRQL/prql"
# This isn't tested since `cargo-msrv` doesn't support workspaces; instead we
# test `metadata.msrv` in `prqlc`
rust-version = "1.70.0"
version = "0.12.0"
version = "0.12.1"

[profile.release]
# Optimize for binary size in releases of all crates,
Expand Down
2 changes: 1 addition & 1 deletion lutra/lutra/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ connector_arrow = {version = "0.4.1", features = ["src_sqlite"]}
env_logger = "0.10.2"
itertools = {workspace = true}
log = {workspace = true}
prqlc = {path = "../../prqlc/prqlc", version = "0.12.0", default-features = false}
prqlc = {path = "../../prqlc/prqlc", version = "0.12.1", default-features = false}
rusqlite = {version = "0.31.0", features = ["bundled"]}
walkdir = "2.5.0"

Expand Down
2 changes: 1 addition & 1 deletion prqlc/bindings/elixir/native/prql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ doc = false

# See Readme for details on Mac
[target.'cfg(not(any(target_family="wasm", target_os = "macos")))'.dependencies]
prqlc = {path = "../../../../prqlc", default-features = false, version = "0.12.0" }
prqlc = {path = "../../../../prqlc", default-features = false, version = "0.12.1" }
rustler = "0.32.1"
4 changes: 2 additions & 2 deletions prqlc/bindings/js/package-lock.json

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

2 changes: 1 addition & 1 deletion prqlc/bindings/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
"test": "mocha tests"
},
"types": "dist/node/prql_js.d.ts",
"version": "0.12.0"
"version": "0.12.1"
}
2 changes: 1 addition & 1 deletion prqlc/prql-compiler-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ proc_macro = true
test = false

[dependencies]
prqlc = {path = "../prqlc", default-features = false, version = "0.12.0" }
prqlc = {path = "../prqlc", default-features = false, version = "0.12.1" }
syn = "2.0.66"

[package.metadata.release]
Expand Down
2 changes: 1 addition & 1 deletion prqlc/prql-compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version.workspace = true
metadata.msrv = "1.70.0"

[dependencies]
prqlc = {path = "../prqlc", version = "0.12.0", default-features = false}
prqlc = {path = "../prqlc", version = "0.12.1", default-features = false}

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion prqlc/prqlc-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ version.workspace = true
doctest = false

[dependencies]
prqlc-ast = {path = "../prqlc-ast", version = "0.12.0" }
prqlc-ast = {path = "../prqlc-ast", version = "0.12.1" }
serde = {workspace = true}
serde_yaml = {workspace = true, optional = true}
semver = {version = "1.0.23", features = ["serde"]}
Expand Down
4 changes: 2 additions & 2 deletions prqlc/prqlc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ test-dbs = ["anyhow", "duckdb", "glob", "rusqlite", "tokio"]
test-dbs-external = ["anyhow", "duckdb", "glob", "mysql", "pg_bigdecimal", "postgres", "rusqlite", "tiberius", "tokio", "tokio-util"]

[dependencies]
prqlc-parser = {path = "../prqlc-parser"}
prqlc-ast = {path = "../prqlc-ast"}
prqlc-ast = {path = "../prqlc-ast", version = "0.12.1"}
prqlc-parser = {path = "../prqlc-parser", version = "0.12.1"}

anstream = {version = "0.6.14", features = ["auto"]}
ariadne = "0.4.1"
Expand Down
2 changes: 1 addition & 1 deletion prqlc/prqlc/src/cli/docs_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ mod tests {
Generated with [prqlc](https://prql-lang.org/) 0.12.0.
Generated with [prqlc](https://prql-lang.org/) 0.12.1.
----- stderr -----
"###);
Expand Down
4 changes: 2 additions & 2 deletions prqlc/prqlc/tests/integration/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4336,7 +4336,7 @@ fn prql_version() {
"#).unwrap(),@r###"
SELECT
*,
'0.12.0' AS y
'0.12.1' AS y
FROM
x
"###);
Expand All @@ -4348,7 +4348,7 @@ fn shortest_prql_version() {
assert_snapshot!(compile(r#"[{version = prql.version}]"#).unwrap(),@r###"
WITH table_0 AS (
SELECT
'0.12.0' AS version
'0.12.1' AS version
)
SELECT
version
Expand Down
2 changes: 1 addition & 1 deletion web/book/src/project/target.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ echo 'prql target:sql.generic
PRQL allows specifying a version of the language in the PRQL header, like:

```prql
prql version:"0.12.0"
prql version:"0.12.1"
from employees
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ expression: "[{version = prql.version}]\n"
---
WITH table_0 AS (
SELECT
'0.12.0' AS version
'0.12.1' AS version
)
SELECT
version
Expand Down
6 changes: 3 additions & 3 deletions web/playground/package-lock.json

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

2 changes: 1 addition & 1 deletion web/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@
"prepare": "rsync -ai --checksum --delete ../../prqlc/prqlc/tests/integration/data/ public/data/ && node generateBook.cjs",
"preview": "vite preview"
},
"version": "0.12.0"
"version": "0.12.1"
}

0 comments on commit 5571c65

Please sign in to comment.