Skip to content

Releases: PRQL/prql

0.13.7

09 Nov 02:43
989d570

Choose a tag to compare

0.13.7 has 8 commits from 6 contributors. Selected changes:

Fixes:

Web:

  • Bump vite from 7.1.11 to 7.2.0 in playground (#5547)

0.13.6

01 Nov 18:53
395f88a

Choose a tag to compare

0.13.6 has 40 commits from 6 contributors. Selected changes:

Features:

Fixes:

Internal changes:

0.13.5

10 Oct 14:39
047439e

Choose a tag to compare

0.13.5 has 237 commits from 14 contributors. Selected changes:

Features:

  • Support for SQL arrays as s[...] syntax (@robert Valek, #5312)
  • Extract SQL column names from s-string tables when possible (@lukapeschke, #5310)

Fixes:

Documentation:

Integrations:

Internal changes:

  • Upgrade parser and lexer to chumsky 0.11, providing a 7x performance improvement (#5223, #5476, #5477)
  • Set Rust linker on win64, fix build crash (@kgutwin, #5345)
  • Integration tests compile all dialects and diff (@kgutwin, #5344)

New Contributors:

0.13.4

26 Mar 17:48
8f99baf

Choose a tag to compare

0.13.4 is a small bugfix release.

It has 57 commits from 10 contributors. Thanks to @lovasoa & @nsiregar for their first contributions to PRQL

0.13.3

25 Jan 22:55
c5cda25

Choose a tag to compare

0.13.3 is a small release containing a few bug fixes and improvements. It has 86 commits from 10 contributors. Selected changes:

Fixes:

  • Sort steps in sub-pipelines no longer cause a column lookup error (@lukapeschke, #5066)
  • Dereferencing of sort columns when rendering SQL now done in context of main pipeline (@kgutwin, #5098)

New Contributors:

0.13.2

11 Oct 23:20
d86211d

Choose a tag to compare

0.13.2 is a tiny release to fix an issue publishing 0.13.1 to Crates.io

0.13.1

11 Oct 16:40
c8d0025

Choose a tag to compare

0.13.1 is a small release containing a few bug fixes and improvements. Velocity has slowed down a bit in recent months, we're still hoping to finish the new resolver and the new formatter in the near future.

It has 97 commits from 10 contributors. Selected changes:

Features:

  • Add a option to the experimental documentation generator to output the docs in HTML format. The option is given using the --format=html option. (@vanillajonathan, 4791)

  • The version of the library is now read from git describe. This doesn't affect libraries built on git tags (such as our releases), only those built when developing. When reporting bugs, this helps identify the exact version. (@max-sixty & @m-span, #4804)

Fixes:

  • Raw strings (r"...") are retained through prqlc fmt (@max-sixty, #4848)

  • Strings containing an odd contiguous number of quotes are now delimited by an odd number of quotes when being formatted. The previous implementation would use an even number, which is invalid PRQL. (@max-sixty, #4850)

  • A few more keywords are quoted, such as user, which is a reserved keyword in PostgreSQL. (@max-sixty)

0.13.0

25 Jul 17:27
4c1ccb7

Choose a tag to compare

0.13.0 brings a new debug logging framework, a big refactor of the parser, a new highlighter, an ** operator for exponentiation, 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:

  • Parentheses are always required around pipelines, even within tuples. For example:

    from artists
    # These parentheses are now required
    derive {a=(b | math.abs)}
    # No change — doesn't affect expressions or function calls without pipelines
    derive {x = 3 + 4}
    

    This is a small breaking change. The new behavior matches the existing documentation. (@max-sixty, #4775)

  • A new ** operator for exponentiation. (@aljazerzen & @max-sixty, #4125)

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)
  • Add documentation comments to the output of the documentation generator. (@vanillajonathan, #4729)
  • Add CLI syntax highlighting to prqlc. You can try it as prqlc experimental highlight example.prql. (@vanillajonathan, #4755)

Fixes:

  • Using in with an empty array pattern (e.g. expr | in []) will now output a constant false condition instead of an expr IN (), which is syntactically invalid in some SQL dialects (@Globidev, #4598)

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-parserprqlc-ast is merged into prqlc-parser, and prqlc-parser's files are rearranged, including its exports. This is part of an effort to modularize the compiler by stage, reducing the amount of context that's required to understand a single stage. There will likely be some further changes (more detail in the PR description). (@m-span, #4634)

    • This is a breaking change for any libraries that depend on prqlc-parser (which should be fairly rare).
  • Renamed prql-compiler-macros to prqlc-macros for consistency with other crates (@max-sixty, #4565)

  • prql-compiler, the old name for prqlc, is removed as a facade to prqlc. It had been deprecated for a few versions and will no longer be updated. (@max-sixty)

  • New benchmarks (@max-sixty, #4654)

New Contributors:

0.12.2

10 Jun 06:31
f283f9d

Choose a tag to compare

0.12.2 is a very small release which renames prql-js to prqlc-js to match our standard naming scheme. Within node the package is imported as prqlc.

It also fixes a mistake in the prqlc-python release pipeline.

0.12.1

09 Jun 01:03
f439a8f

Choose a tag to compare

0.12.1 is a tiny hotfix release which fixes how intra-prql crate dependencies were specified.