Skip to content

Commit 7f9b5df

Browse files
authored
docs: 0.11.0 changelog (#3966)
1 parent da98acd commit 7f9b5df

File tree

15 files changed

+42
-35
lines changed

15 files changed

+42
-35
lines changed

CHANGELOG.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
# PRQL Changelog
22

3-
## [unreleased]
3+
## 0.11.0 — 2023-12-19
4+
5+
0.11.0 introduces new `date`, `string` & `math` modules with lots of standard
6+
functions, including a new `date.to_text` function. It contains a few bugs
7+
fixes, and lots of internal improvements to the compiler.
8+
9+
This release has 119 commits from 9 contributors. Selected changes:
410

511
**Language**:
612

7-
- _Breaking_: Exclude `group`'s `by` columns from the partition. See #3490
13+
- _Breaking_: `group`'s `by` columns are now excluded from the partition.
14+
(#3490)
815
- _Breaking_: `round` is now in the `math` module and needs to be called via
9-
`math.round`. See #3928
16+
`math.round`. (#3928)
1017
- _Breaking_: `lower` and `upper` are now in the `text` module and need to be
11-
called via `text.lower` and `text.upper`. See #3913, #3973
18+
called via `text.lower` and `text.upper`. (#3913, #3973)
1219

1320
**Features**:
1421

Cargo.lock

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ edition = "2021"
2121
license = "Apache-2.0"
2222
repository = "https://github.com/PRQL/prql"
2323
rust-version = "1.70.0"
24-
version = "0.10.2"
24+
version = "0.11.0"
2525

2626
[profile.release]
2727
# Optimize for binary size in releases of all crates,

prqlc/bindings/elixir/native/prql/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ test = false
1919

2020
# See Readme for details on Mac
2121
[target.'cfg(not(any(target_family="wasm", target_os = "macos", tarpaulin)))'.dependencies]
22-
prql-compiler = {path = "../../../../prql-compiler", default-features = false, version = "0.10.2" }
22+
prql-compiler = {path = "../../../../prql-compiler", default-features = false, version = "0.11.0" }
2323
rustler = "0.30.0"

prqlc/bindings/js/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prqlc/bindings/js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
"test": "mocha tests"
3636
},
3737
"types": "dist/node/prql_js.d.ts",
38-
"version": "0.10.2"
38+
"version": "0.11.0"
3939
}

prqlc/prql-compiler-macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ proc_macro = true
1414
test = false
1515

1616
[dependencies]
17-
prql-compiler = {path = "../prql-compiler", default-features = false, version = "0.10.2" }
17+
prql-compiler = {path = "../prql-compiler", default-features = false, version = "0.11.0" }
1818
syn = "2.0.41"
1919

2020
[package.metadata.release]

prqlc/prql-compiler/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ test-dbs = ["duckdb", "glob", "rusqlite", "tokio"]
1919
test-dbs-external = ["duckdb", "glob", "mysql", "pg_bigdecimal", "postgres", "rusqlite", "tiberius", "tokio", "tokio-util"]
2020

2121
[dependencies]
22-
prqlc-ast = {path = "../prqlc-ast", version = "0.10.2"}
23-
prqlc-parser = {path = "../prqlc-parser", version = "0.10.2"}
22+
prqlc-ast = {path = "../prqlc-ast", version = "0.11.0" }
23+
prqlc-parser = {path = "../prqlc-parser", version = "0.11.0" }
2424

2525
anstream = {version = "0.6.5", features = ["auto"]}
2626
anyhow = {version = "1.0.75", features = ["backtrace"]}

prqlc/prql-compiler/tests/integration/sql.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3920,7 +3920,7 @@ fn prql_version() {
39203920
"#).unwrap(),@r###"
39213921
SELECT
39223922
*,
3923-
'0.10.2' AS y
3923+
'0.11.0' AS y
39243924
FROM
39253925
x
39263926
"###);
@@ -3932,7 +3932,7 @@ fn shortest_prql_version() {
39323932
assert_display_snapshot!(compile(r#"[{version = prql_version}]"#).unwrap(),@r###"
39333933
WITH table_0 AS (
39343934
SELECT
3935-
'0.10.2' AS version
3935+
'0.11.0' AS version
39363936
)
39373937
SELECT
39383938
version

prqlc/prqlc-parser/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ doctest = false
1313

1414
[dependencies]
1515
itertools = "0.12.0"
16-
prqlc-ast = {path = "../prqlc-ast", version = "0.10.2" }
16+
prqlc-ast = {path = "../prqlc-ast", version = "0.11.0" }
1717
semver = {version = "1.0.20"}
1818

1919
# Chumsky's default features have issues when running in wasm (though we only

prqlc/prqlc/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ colorchoice-clap = "1.0.0"
2828
env_logger = {version = "0.10.1", features = ["color"]}
2929
itertools = "0.12.0"
3030
notify = "6.1.1"
31-
prql-compiler = {path = '../prql-compiler', features = ["serde_yaml"], version = "0.10.2"}
32-
prqlc-ast = {path = '../prqlc-ast', version = "0.10.2"}
31+
prql-compiler = {path = '../prql-compiler', features = ["serde_yaml"], version = "0.11.0"}
32+
prqlc-ast = {path = '../prqlc-ast', version = "0.11.0"}
3333
regex = {version = "1.10.2", features = ["std", "unicode"]}
3434
serde = "1"
3535
serde_json = "1.0.108"

web/book/src/project/target.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ echo 'prql target:sql.generic
8080
PRQL allows specifying a version of the language in the PRQL header, like:
8181

8282
```prql
83-
prql version:"0.10.2"
83+
prql version:"0.11.0"
8484
8585
from employees
8686
```

web/book/tests/documentation/snapshots/documentation__book__project__target__version__1.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ expression: "[{version = prql_version}]\n"
44
---
55
WITH table_0 AS (
66
SELECT
7-
'0.10.2' AS version
7+
'0.11.0' AS version
88
)
99
SELECT
1010
version

web/playground/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/playground/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@
4747
"prepare": "rsync -ai --checksum --delete ../../prqlc/prql-compiler/tests/integration/data/ public/data/ && node generateBook.cjs",
4848
"preview": "vite preview"
4949
},
50-
"version": "0.10.2"
50+
"version": "0.11.0"
5151
}

0 commit comments

Comments
 (0)