diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index ee997e2..312c6a4 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.9.0 -Date: 2024-09-19 15:14:05 UTC -SHA: 9bcc6ef530582844da1e8c8b5e3faa8477a5ecd2 +Version: 0.10.0 +Date: 2025-01-28 15:12:31 UTC +SHA: 09c7b87e0eabd77e0b7f2c74995fa79e27f2a176 diff --git a/DESCRIPTION b/DESCRIPTION index e97da65..e4d7b2c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -4,7 +4,7 @@ Description: Provides a function to convert 'PRQL' strings to 'SQL' strings. Combined with other R functions that take 'SQL' as an argument, 'PRQL' can be used on R. -Version: 0.9.0.9000 +Version: 0.10.0.9000 Authors@R: c(person("Tatsuya", "Shima", email = "ts1s1andn@gmail.com", role = c("aut", "cre")), person("Authors of the dependency Rust crates", role = "aut", diff --git a/NEWS.md b/NEWS.md index 429814a..685a860 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # prqlr (development version) +# prqlr 0.10.0 + ## Breaking changes - For the `prql_compile()` funtion, arguments `format` and `singnature_comment` should be named arguments. (#317) @@ -7,6 +9,7 @@ ## New features - New experimental argument `display` of `prql_compile()` function to colorize the error message from prqlc. (#317) +- Based on [`prqlc`](https://github.com/prql/prql) 0.13.3 (#336) # prqlr 0.9.0 diff --git a/tests/testthat/_snaps/compile.md b/tests/testthat/_snaps/compile.md index efb73e4..ee1b18f 100644 --- a/tests/testthat/_snaps/compile.md +++ b/tests/testthat/_snaps/compile.md @@ -32,7 +32,7 @@ -- Generated by PRQL compiler version:0.13.3 target:sql.duckdb (https://prql-lang.org) -# Syntax error query=Mississippi has four S’s and four I’s., .interpret_glue=FALSE +# Syntax error query=Mississippi has four S’s and four I’s. Code cat(prql_compile(query, "sql.any", format = TRUE, signature_comment = FALSE)) @@ -60,7 +60,7 @@ │ ╰─ Expected * or an identifier, but didn't find anything before the end. ───╯ -# Syntax error query=from a | select [b], .interpret_glue=FALSE +# Syntax error query=from a | select [b] Code cat(prql_compile(query, "sql.any", format = TRUE, signature_comment = FALSE)) @@ -74,7 +74,7 @@ │ ╰─── unexpected array of values (not supported here) ───╯ -# Syntax error query=from a | select {{{b, .interpret_glue=FALSE +# Syntax error query=from a | select {{{b Code cat(prql_compile(query, "sql.any", format = TRUE, signature_comment = FALSE))