Skip to content

Commit

Permalink
docs: 0.13.0 Changelog (#4785)
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>
Co-authored-by: Jonathan <[email protected]>
  • Loading branch information
3 people authored Jul 25, 2024
1 parent 10e2a83 commit 4c1ccb7
Show file tree
Hide file tree
Showing 16 changed files with 44 additions and 35 deletions.
19 changes: 14 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# PRQL Changelog

## [unreleased]
## 0.13.0 — 2024-07-25

0.13.0 brings a new debug logging framework, a big refactor of the parser, a new
highlighter, a few bug fixes, and lots of other changes. It has 153 commits from
11 contributors.

Our work continues on rewriting the resolver and completing `prqlc fmt`.

Selected changes:

**Language**:

Expand All @@ -20,6 +28,8 @@

**Features**:

- `prqlc compile --debug-log=log.html` will generate an HTML file with a
detailed log of the compilation process. (@aljazerzen, #4646)
- Added `prqlc debug json-schema` command to auto-generate JSON Schema
representations of commonly exposed IR types such as PL and RQ. (@kgutwin,
#4698)
Expand All @@ -34,12 +44,11 @@
constant `false` condition instead of an `expr IN ()`, which is syntactically
invalid in some SQL dialects (@Globidev, #4598)

**Documentation**:

**Web**:

**Integrations**:

- The Snap package previously released on the edge channel is now released on
the stable channel. (@vanillajonathan, #4784)

**Internal changes**:

- Major reorganization of `prqlc-parser``prqlc-ast` is merged into
Expand Down
24 changes: 12 additions & 12 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 @@ -23,7 +23,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.3"
version = "0.13.0"

[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 @@ -32,7 +32,7 @@ connector_arrow = {version = "0.4.2", features = ["src_sqlite"]}
env_logger = "0.10.2"
itertools = {workspace = true}
log = {workspace = true}
prqlc = {path = "../../prqlc/prqlc", version = "0.12.3", default-features = false}
prqlc = {path = "../../prqlc/prqlc", version = "0.13.0", 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 @@ -21,5 +21,5 @@ test = 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.3"}
prqlc = {path = "../../../../prqlc", default-features = false, version = "0.13.0" }
rustler = "0.34.0"
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/prqlc_js.d.ts",
"version": "0.12.3"
"version": "0.13.0"
}
2 changes: 1 addition & 1 deletion prqlc/packages/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: prqlc
title: PRQL Compiler
base: core22
version: "0.12.2"
version: "0.13.0"
summary: CLI for PRQL, a modern language for transforming data
description: |
prqlc is the CLI for the PRQL compiler. It compiles PRQL to SQL, and offers various diagnostics.
Expand Down
2 changes: 1 addition & 1 deletion prqlc/prqlc-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ proc-macro = true
test = false

[dependencies]
prqlc = {path = "../prqlc", default-features = false, version = "0.12.3"}
prqlc = {path = "../prqlc", default-features = false, version = "0.13.0" }
syn = "2.0.72"

[package.metadata.release]
Expand Down
2 changes: 1 addition & 1 deletion prqlc/prqlc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test-dbs = ["anyhow", "duckdb", "rusqlite", "tokio"]
test-dbs-external = ["mysql", "pg_bigdecimal", "postgres", "test-dbs", "tiberius", "tokio-util"]

[dependencies]
prqlc-parser = {path = "../prqlc-parser", version = "0.12.3"}
prqlc-parser = {path = "../prqlc-parser", version = "0.13.0" }

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 @@ -406,7 +406,7 @@ mod tests {
Generated with [prqlc](https://prql-lang.org/) 0.12.3.
Generated with [prqlc](https://prql-lang.org/) 0.13.0.
----- 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 @@ -4453,7 +4453,7 @@ fn prql_version() {
"#).unwrap(),@r###"
SELECT
*,
'0.12.3' AS y
'0.13.0' AS y
FROM
x
"###);
Expand All @@ -4464,7 +4464,7 @@ fn shortest_prql_version() {
assert_snapshot!(compile(r#"[{version = prql.version}]"#).unwrap(),@r###"
WITH table_0 AS (
SELECT
'0.12.3' AS version
'0.13.0' 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.3"
prql version:"0.13.0"
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.3' AS version
'0.13.0' 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.3"
"version": "0.13.0"
}

0 comments on commit 4c1ccb7

Please sign in to comment.