Skip to contents

prqlr 0.8.0

CRAN release: 2024-02-14

Breaking changes

  • Switch from extendr to savvy. (Thanks @yutannihilation, #252)
    • The error message has been completely changed.
    • prql_compile()’s target option does not accept NA as "sql.any" anymore.

New features

Miscellaneous

prqlr 0.7.0

CRAN release: 2024-01-08

Breaking changes

prqlr 0.6.0

CRAN release: 2023-11-14

Breaking changes

prqlr 0.5.4

CRAN release: 2023-10-07

New features

  • prqlr can now be installed with “R source package with Rust library binary”, inspired by the arrow package, the string2path package, and the polars package. Available on all currently supported platforms (amd64 and arm64 Linux or macOS, and amd64 Windows).

    When NOT_CRAN=ture or LIBPRQLR_BUILD=false is set, the script tools/prep-lib.R will search the Internet for the available binary.

    
    Sys.setenv(NOT_CRAN = "true")
    install.packages("prqlr")

    The URL and SHA256 hash of the available binaries are recorded in tools/lib-sums.tsv. (#187, #189, #190, #191)

prqlr 0.5.3

CRAN release: 2023-09-21

New features

Miscellaneous

  • prql knitr engine requires knitr 1.44 or later. (#175)

prqlr 0.5.2

CRAN release: 2023-09-11

From this version, CRAN releases include vendored dependent Rust crates source code.

Miscellaneous

  • Update the Authors field of the DESCRIPTION file and the inst/AUTHORS file’s format. (#169, #172)

prqlr 0.5.1

CRAN release: 2023-08-30

Bug fixes

prqlr 0.5.0

CRAN release: 2023-08-13

Breaking changes

Bug fixes

Miscellaneous

  • Some updates for adopting the (new) CRAN policy. (#148)
    • This package now includes the inst/AUTHORS file. (#150, #154, #160)
    • Set SystemRequirements: Cargo (Rust's package manager), rustc in the DESCRIPTION file. (#153)
    • This package now includes the configure and configure.win scripts to check the cargo command. (#149)
    • Set CARGO_BUILD_JOBS=2 if not NOT_CRAN=true during installation. (#151)
    • Supports dependent Rust crates vendoring. (#152, #159)
    • Update the LICENSE.note file for Rust crates vendoring. (#156)

prqlr 0.4.0

CRAN release: 2023-04-30

Breaking changes

New features

Bug fixes

  • prql knitr engine respect the eval chunk option. (#123)

Internal changes

  • knitr engine tests were updated for adapt to the new knitr version. (Thanks @yihui, #122)

prqlr 0.3.0

CRAN release: 2023-03-16

Breaking changes

New features

  • A new compile target "sql.any" can be specified in prql_compile()’s target option. This is the same as the traditional unspecified (NULL) target with respect to using the target specified in the header of the query as the target. (#97)
  • An experimental new engine option use_glue of prql engine on knitr documents powered by the glue package. See the vignette vignette("knitr", "prqlr") for details. (#103)

Bug fixes

  • prql knitr engine compatibility with Quarto CLI 1.3 pre-release version. (Thanks @cderv, #110)

prqlr 0.2.1

CRAN release: 2023-02-28

Bug fixes

  • Thanks to new version of extendr and libR-sys, prqlr can now be installed on arm64 Linux. (#90)
  • Now buildable with Rust version 1.60 again (#94)

prqlr 0.2.0

CRAN release: 2023-02-18

Breaking changes

  • Based on prql-compiler 0.5.1 (#71, #77, #86)
  • The option name of prql_compile() for specifying the compile target has been changed from dialect to target. The following two changes have also been made as a result of this change.
    • SQL dialects must be specified with the sql. prefix if they are to be targeted (e.g. "duckdb" -> "sql.duckdb"). (#71)
    • prql_available_dialects() is renamed to prql_get_targets(). (#85)

New features

Other improvements

prqlr 0.1.0

CRAN release: 2023-01-20

Breaking changes

  • Based on prql-compiler 0.4.1
  • prql_compile() is implemented and prql_to_sql() is deprecated.
  • json_to_prql() and prql_to_json() are removed.

Other improvements

  • Changes to the installation process
    • CARGO_HOME is now set to the temporary directory during installation if the environment variable NOT_CRAN is not set to true to avoid writing in HOME. (#25, #27, #29)

prqlr 0.0.4

Enhancements

  • Changes to the installation process
    • Change Rust toolchain for Windows from GNU to MSVC. (#22)

prqlr 0.0.3

Breaking changes

  • Based on prql-compiler 0.3.1
  • The format_prql() function is removed.

prqlr 0.0.2

Enhancements

prqlr 0.0.1