Skip to content

Releases

0.13.14

Choose a tag to compare

@max-sixty max-sixty released this 24 Jul 14:41
029b9c4

0.13.14 has 80 commits from 7 contributors. Selected changes:

Features:

  • Add a PRQL-native implementation of append by:name, which aligns columns by name rather than position and works on any dialect. Columns present in one relation but not the other are filled with NULL. Supporting this added wildcard expansion of relations via their lineage, plus tuple_uniq and tuple_reverse. (@kgutwin, #6046)

Fixes:

  • Generate BETWEEN again. The optimization compared whole rq::Expr values, including their spans, so the same column referenced at two source positions never compared equal and a >= 5 && a <= 10 was left unoptimized. (@queelius, #5738)
  • Don't leak a joined branch's sort into the implicit ORDER BY that take generates. A join now retains the left side's order, as documented, rather than emitting a column that is no longer in scope once the joined branch is materialized as a CTE. (@lukapeschke, #6015)
  • Return a compile error instead of panicking when append is given relations with different numbers of columns, or with incompatible column types. (@prql-bot, #6025)
  • Set the relation type of from_text earlier in the resolver, fixing a crash in infer_type_of_special_func. (@kgutwin, #6066)
  • Give wrapper params unique names when currying through nested let-bound functions, which previously bound a curried argument to the wrong parameter. (@prql-bot, #5979)
  • Escape quotes when a string contains both quote characters and one sits at each boundary, so formatted output lexes back to the original. (@prql-bot, #5987)
  • Say "identifier" rather than "string literal" in the target error message. (@prql-bot, #6081)
  • Sync the KSyntaxHighlighting and book highlighters with the std lib, and drop a stray sub-rule that wrongly highlighted f-strings. (@prql-bot, #6028, #6095)

Documentation:

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

Integrations:

  • Sync the prqlc Python type stub with the binding signatures. (@prql-bot, #6058)
  • Correct ArgumentException constructor usage in the .NET binding. (@prql-bot, #5954)
  • Bump the Elixir NIF's rustler crate to 0.38, matching the hex library. (@prql-bot, #6078)

Internal changes:

  • Publish to crates.io with Trusted Publishing. publish-to-cargo mints a short-lived credential per run through GitHub Actions OIDC instead of reading a stored token, so no long-lived publish credential exists. (@max-sixty, #6100)
  • Update the tend (Claude-powered CI) workflows; most of this release's bot-authored fixes were filed by tend.
  • Update the Rust toolchain version. (#6073)

0.13.13

Choose a tag to compare

@max-sixty max-sixty released this 14 Jun 18:29
548dd7e

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

Choose a tag to compare

@max-sixty max-sixty released this 27 Apr 21:15
ec18eb8

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

Choose a tag to compare

@max-sixty max-sixty released this 19 Mar 18:59
ea92e66

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

Choose a tag to compare

@max-sixty max-sixty released this 16 Dec 22:22
1e320f8

0.13.10 completes the npm OIDC publishing fix from 0.13.9.

Features:

Fixes:

Internal changes:

0.13.9

Choose a tag to compare

@max-sixty max-sixty released this 16 Dec 20:23
d5e02d9

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

Internal changes:

0.13.8

Choose a tag to compare

@max-sixty max-sixty released this 12 Dec 09:13
60735c4

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

Choose a tag to compare

@max-sixty max-sixty released this 09 Nov 02:43
989d570

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

Choose a tag to compare

@max-sixty max-sixty released this 01 Nov 18:53
395f88a

0.13.6 has 40 commits from 6 contributors. Selected changes:

Features:

Fixes:

Internal changes:

0.13.5

Choose a tag to compare

@max-sixty max-sixty released this 10 Oct 14:39
047439e

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: