Skip to content

Commit

Permalink
docs: 0.11.0 changelog (#3966)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Dec 20, 2023
1 parent da98acd commit 7f9b5df
Show file tree
Hide file tree
Showing 15 changed files with 42 additions and 35 deletions.
15 changes: 11 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
# PRQL Changelog

## [unreleased]
## 0.11.0 — 2023-12-19

0.11.0 introduces new `date`, `string` & `math` modules with lots of standard
functions, including a new `date.to_text` function. It contains a few bugs
fixes, and lots of internal improvements to the compiler.

This release has 119 commits from 9 contributors. Selected changes:

**Language**:

- _Breaking_: Exclude `group`'s `by` columns from the partition. See #3490
- _Breaking_: `group`'s `by` columns are now excluded from the partition.
(#3490)
- _Breaking_: `round` is now in the `math` module and needs to be called via
`math.round`. See #3928
`math.round`. (#3928)
- _Breaking_: `lower` and `upper` are now in the `text` module and need to be
called via `text.lower` and `text.upper`. See #3913, #3973
called via `text.lower` and `text.upper`. (#3913, #3973)

**Features**:

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 @@ -21,7 +21,7 @@ edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/PRQL/prql"
rust-version = "1.70.0"
version = "0.10.2"
version = "0.11.0"

[profile.release]
# Optimize for binary size in releases of all crates,
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 @@ -19,5 +19,5 @@ test = false

# See Readme for details on Mac
[target.'cfg(not(any(target_family="wasm", target_os = "macos", tarpaulin)))'.dependencies]
prql-compiler = {path = "../../../../prql-compiler", default-features = false, version = "0.10.2" }
prql-compiler = {path = "../../../../prql-compiler", default-features = false, version = "0.11.0" }
rustler = "0.30.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/prql_js.d.ts",
"version": "0.10.2"
"version": "0.11.0"
}
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]
prql-compiler = {path = "../prql-compiler", default-features = false, version = "0.10.2" }
prql-compiler = {path = "../prql-compiler", default-features = false, version = "0.11.0" }
syn = "2.0.41"

[package.metadata.release]
Expand Down
4 changes: 2 additions & 2 deletions prqlc/prql-compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ test-dbs = ["duckdb", "glob", "rusqlite", "tokio"]
test-dbs-external = ["duckdb", "glob", "mysql", "pg_bigdecimal", "postgres", "rusqlite", "tiberius", "tokio", "tokio-util"]

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

anstream = {version = "0.6.5", features = ["auto"]}
anyhow = {version = "1.0.75", features = ["backtrace"]}
Expand Down
4 changes: 2 additions & 2 deletions prqlc/prql-compiler/tests/integration/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3920,7 +3920,7 @@ fn prql_version() {
"#).unwrap(),@r###"
SELECT
*,
'0.10.2' AS y
'0.11.0' AS y
FROM
x
"###);
Expand All @@ -3932,7 +3932,7 @@ fn shortest_prql_version() {
assert_display_snapshot!(compile(r#"[{version = prql_version}]"#).unwrap(),@r###"
WITH table_0 AS (
SELECT
'0.10.2' AS version
'0.11.0' AS version
)
SELECT
version
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 @@ -13,7 +13,7 @@ doctest = false

[dependencies]
itertools = "0.12.0"
prqlc-ast = {path = "../prqlc-ast", version = "0.10.2" }
prqlc-ast = {path = "../prqlc-ast", version = "0.11.0" }
semver = {version = "1.0.20"}

# Chumsky's default features have issues when running in wasm (though we only
Expand Down
4 changes: 2 additions & 2 deletions prqlc/prqlc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ colorchoice-clap = "1.0.0"
env_logger = {version = "0.10.1", features = ["color"]}
itertools = "0.12.0"
notify = "6.1.1"
prql-compiler = {path = '../prql-compiler', features = ["serde_yaml"], version = "0.10.2"}
prqlc-ast = {path = '../prqlc-ast', version = "0.10.2"}
prql-compiler = {path = '../prql-compiler', features = ["serde_yaml"], version = "0.11.0"}
prqlc-ast = {path = '../prqlc-ast', version = "0.11.0"}
regex = {version = "1.10.2", features = ["std", "unicode"]}
serde = "1"
serde_json = "1.0.108"
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.10.2"
prql version:"0.11.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.10.2' AS version
'0.11.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/prql-compiler/tests/integration/data/ public/data/ && node generateBook.cjs",
"preview": "vite preview"
},
"version": "0.10.2"
"version": "0.11.0"
}

0 comments on commit 7f9b5df

Please sign in to comment.