Skip to content

Releases: PRQL/prql

0.13.13

14 Jun 18:29
548dd7e

Choose a tag to compare

0.13.13 has 127 commits from 5 contributors. Selected changes:

Fixes:

  • Correctly resolve wildcards on this and carry column aliases through natural joins, by fixing how the compiler's internal tuple_map applies redirects, folds expressions, and propagates aliases. (@kgutwin, #5875, #5877, #5980)
  • Resolve identifiers up the parent module chain. (@prql-bot, #5976)
  • Return a compiler error instead of panicking in lookup_cid. (@prql-bot, #5938)
  • Catch a panic in the CLI's compile path so the debug log is still written. (@kgutwin, #5869)
  • Set the minimum chrono version to 0.4.40 for compatibility with arrow-arith. (@prql-bot, #5841)

Documentation:

  • Numerous typo, grammar, and stale-content fixes across the book, tutorials, bindings docs, and code comments.

Integrations:

  • Fix several FFI defects in the .NET binding that prevented it from working correctly on 64-bit platforms or returning more than one diagnostic: map size_t as UIntPtr (was int), advance the pointer when iterating the messages array, dereference indirect string fields and Span / Location pointers, call result_destroy to free native memory, and tighten exception types and doc references. Also guard result_destroy in prqlc-c against a null messages pointer, which is set on the success path. (@prql-bot, #5848)
  • Modernize the .NET binding to net10.0 using LibraryImport source generators. (@prql-bot, #5850)
  • Throw a Java exception instead of panicking in the JNI bindings. (@prql-bot, #5934)
  • Exit the LSP server only on the exit notification, matching the LSP spec. (@prql-bot, #6001)

Internal changes:

  • Update the tend (Claude-powered CI) workflows; most of this release's bot-authored fixes were filed by tend.
  • Scope release secrets to a protected GitHub environment. (@max-sixty, #5910)
  • Replace the internal tuple_every helper with a more general tuple_reduce. (@kgutwin, #5878)
  • Update the Rust toolchain version. (#5966)

0.13.12

27 Apr 21:15
ec18eb8

Choose a tag to compare

0.13.12 has 81 commits from 10 contributors. Selected changes:

Language:

  • Remove the deprecated std.prql_version function. Use prql.version instead, which has been the supported replacement since 0.11.1. (@prql-bot, #5806)

Features:

  • Add a very early sql.oracle dialect. It currently only forces identifier quoting to accommodate Oracle's case-folding rules; most other features fall back to generic SQL. (@julien-pinchelimouroux, #5821)
  • Add date.trunc function for date truncation. (@happyso, #5729)
  • Add date.now function for current timestamp. (@happyso, #5721)
  • Add date.diff function for date differences. (@happyso, #5726)
  • Add DuckDB target to the Elixir bindings. (@prql-bot, #5817)

Fixes:

  • Loosen the chrono constraint from 0.4.44 to 0.4 to avoid version conflicts with downstream crates such as polars. (@lukapeschke, #5834)
  • Correct the SQLite div_i formula so integer division returns the right result when |dividend| < |divisor| (e.g., 1 // 2 now returns 0 instead of -1). (@queelius, #5736)
  • Return an error rather than emitting invalid SQL when date.trunc is used against SQLite. (@prql-bot, #5733)
  • Sync :duckdb into the Elixir PRQL.Native.CompileOptions target typespec so target: :duckdb actually reaches the DuckDB dialect. (@prql-bot, #5823)
  • Correct the Vec::from_raw_parts element type in prqlc-c to fix undefined behavior in result_destroy. (@prql-bot, #5732)
  • Prevent panic in prqlc-macros by correcting a stale macro name in the panic message. (@prql-bot, #5811)
  • Align Emacs grammar keywords and regex with the lexer. (@prql-bot, #5795)
  • Correct the playground's decimal regex and transforms list in syntax highlighting. (@prql-bot, #5788)
  • Correct the aarch64 target path in the Java cross-compilation script. (@prql-bot, #5781)

Documentation:

  • Numerous typo, grammar, and stale-content fixes across the book, tutorials, bindings docs, and code comments.

Integrations:

Internal changes:

  • Add tend (Claude-powered CI) workflows for autonomous PR review, issue triage, CI-failure fixes, and a nightly code-quality sweep. Most of this release's bot-authored fixes were filed by tend. (#5727)
  • Update the Rust toolchain version. (#5807)
  • Switch from mypy to ty for Python type checking. (#5761)

New Contributors:

0.13.11

19 Mar 18:59
ea92e66

Choose a tag to compare

0.13.11 has 75 commits from 7 contributors. Selected changes:

Features:

  • Add support for date.to_text for BigQuery (@segv, #5712)

Fixes:

Documentation:

Integrations:

Internal changes:

  • Use chumsky 0.12.0 for all targets (#5659)
  • Update rust toolchain version (#5673)
  • Fix mdbook admonition syntax for mdBook 0.5 native support (#5649)

New Contributors:

0.13.10

16 Dec 22:22
1e320f8

Choose a tag to compare

0.13.10 completes the npm OIDC publishing fix from 0.13.9.

Features:

Fixes:

Internal changes:

0.13.9

16 Dec 20:23
d5e02d9

Choose a tag to compare

0.13.9 is a re-release of 0.13.8 with fixed npm publishing.

Internal changes:

0.13.8

12 Dec 09:13
60735c4

Choose a tag to compare

0.13.8 has 47 commits from 6 contributors. Selected changes:

Features:

Fixes:

Documentation:

Integrations:

Internal changes:

  • Upgrade mdbook to 0.5.0 (#5568)
  • Update macOS runners to version 15 (#5596)
  • Remove 2nd person from error messages (#5567)

New Contributors:

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