Repository navigation
Releases
0.13.14
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, plustuple_uniqandtuple_reverse. (@kgutwin, #6046)
Fixes:
- Generate
BETWEENagain. The optimization compared wholerq::Exprvalues, including their spans, so the same column referenced at two source positions never compared equal anda >= 5 && a <= 10was left unoptimized. (@queelius, #5738) - Don't leak a joined branch's sort into the implicit
ORDER BYthattakegenerates. 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
appendis given relations with different numbers of columns, or with incompatible column types. (@prql-bot, #6025) - Set the relation type of
from_textearlier in the resolver, fixing a crash ininfer_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
targeterror 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
prqlcPython type stub with the binding signatures. (@prql-bot, #6058) - Correct
ArgumentExceptionconstructor usage in the .NET binding. (@prql-bot, #5954) - Bump the Elixir NIF's
rustlercrate to 0.38, matching the hex library. (@prql-bot, #6078)
Internal changes:
- Publish to crates.io with Trusted Publishing.
publish-to-cargomints 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
0.13.13 has 127 commits from 5 contributors. Selected changes:
Fixes:
- Correctly resolve wildcards on
thisand carry column aliases through natural joins, by fixing how the compiler's internaltuple_mapapplies 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
chronoversion to0.4.40for compatibility witharrow-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_tasUIntPtr(wasint), advance the pointer when iterating the messages array, dereference indirect string fields andSpan/Locationpointers, callresult_destroyto free native memory, and tighten exception types and doc references. Also guardresult_destroyinprqlc-cagainst a nullmessagespointer, which is set on the success path. (@prql-bot, #5848) - Modernize the .NET binding to net10.0 using
LibraryImportsource 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
exitnotification, 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_everyhelper with a more generaltuple_reduce. (@kgutwin, #5878) - Update the Rust toolchain version. (#5966)
0.13.12
0.13.12 has 81 commits from 10 contributors. Selected changes:
Language:
- Remove the deprecated
std.prql_versionfunction. Useprql.versioninstead, which has been the supported replacement since 0.11.1. (@prql-bot, #5806)
Features:
- Add a very early
sql.oracledialect. 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.truncfunction for date truncation. (@happyso, #5729) - Add
date.nowfunction for current timestamp. (@happyso, #5721) - Add
date.difffunction for date differences. (@happyso, #5726) - Add DuckDB target to the Elixir bindings. (@prql-bot, #5817)
Fixes:
- Loosen the
chronoconstraint from0.4.44to0.4to avoid version conflicts with downstream crates such as polars. (@lukapeschke, #5834) - Correct the SQLite
div_iformula so integer division returns the right result when|dividend| < |divisor|(e.g.,1 // 2now returns0instead of-1). (@queelius, #5736) - Return an error rather than emitting invalid SQL when
date.truncis used against SQLite. (@prql-bot, #5733) - Sync
:duckdbinto the ElixirPRQL.Native.CompileOptionstarget typespec sotarget: :duckdbactually reaches the DuckDB dialect. (@prql-bot, #5823) - Correct the
Vec::from_raw_partselement type inprqlc-cto fix undefined behavior inresult_destroy. (@prql-bot, #5732) - Prevent panic in
prqlc-macrosby 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
aarch64target 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:
- Kakoune 2026.04.12 has syntax highlighting for PRQL. (@vanillajonathan)
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
0.13.11 has 75 commits from 7 contributors. Selected changes:
Features:
Fixes:
- Prevent panic on bare
*inselect(@max-sixty, #5696) - Handle partial application of transforms in user-defined functions (@max-sixty, #5663; reported by @Rafferty97)
- Keep Computes with Aggregate when Filter follows (@max-sixty, #5639; reported by @matiastoro)
- Preserve sort before take in CTE (@max-sixty, #5638; reported by @lukapeschke)
- Preserve sort with empty group
{}(@max-sixty, #5635) - Return proper error for bare lambda expressions (@max-sixty, #5634)
- Prevent DISTINCT ON internal sorting from leaking past joins (@max-sixty, #5633; reported by @annashmatko)
- Fix invalid MSSQL SQL when DISTINCT and FETCH are combined (@max-sixty, #5630)
Documentation:
- Editorial tweaks (@richb-hanover, #5645)
Integrations:
- micro 2.0.15 has syntax highlighting for PRQL. (@vanillajonathan)
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
0.13.10 completes the npm OIDC publishing fix from 0.13.9.
Features:
- Add
read_jsonsupport for DuckDB and ClickHouse (@adamnemecek, #5608)
Fixes:
- Fix
text.lengthon Snowflake (@priithaamer, #5614)
Internal changes:
- Fix npm OIDC publishing by upgrading to Node 24 (@max-sixty, #5619)
- Fix push-web-branch workflow permissions (@max-sixty, #5620)
0.13.9
0.13.8
0.13.8 has 47 commits from 6 contributors. Selected changes:
Features:
- Add named parameter support for DuckDB read_parquet (@max-sixty, #5563)
Fixes:
- Snowflake interval quoting style (@priithaamer, #5604)
- Return error instead of panicking when window rows/range is not a range (@max-sixty, #5603)
- Add ORDER BY fallback for Snowflake window functions (@max-sixty, #5583)
- DISTINCT ON to include wildcard when projection is empty (@max-sixty, #5562)
- Lineage traces through CTEs to source tables (@nightscape, #5581)
- Lineage works with unions (@nightscape, #5550)
- Handle lineage correctly when group pipeline simplifies to non-TransformCall (@max-sixty, #5584)
- Return error for join referencing inaccessible table (@max-sixty, #5587)
- Error when table variable used in scalar context (@max-sixty, #5585)
- Improve error messages for missing main pipeline (@max-sixty, #5565)
- Provide clear error for empty tuple/array in from (@max-sixty, #5564)
- Improve error message for negative numbers in transforms (@max-sixty, #5566)
Documentation:
- Close HTML comment in sort.md documentation (@max-sixty, #5597)
Integrations:
- Add grammar file for Raku (@vanillajonathan, #5576)
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:
- @nightscape made their first contribution in #5550
0.13.7
0.13.7 has 8 commits from 6 contributors. Selected changes:
Fixes:
- Fix INTERVAL quoting in Redshift (@lukapeschke, #5545)
- Fix support for text.contains in sql.redshift target (@dimtion, #5549)
- Fix division in Redshift produces float (@priithaamer, #5546)
- Use || operator over CONCAT for std.concat in Redshift (@lukapeschke, #5540)
Web:
- Bump vite from 7.1.11 to 7.2.0 in playground (#5547)
0.13.6
0.13.6 has 40 commits from 6 contributors. Selected changes:
Features:
- Add support for Redshift dialect (@priithaamer, #5537)
Fixes:
- Fix append regression in 0.13.5 (@priithaamer, #5495)
- Fix s-string escaping (@priithaamer, #5497)
- Filter out attestation manifests in platform verification (@max-sixty, #5509)
Internal changes:
- Migrate devcontainer build from QEMU to native ARM64 runners (@max-sixty, #5506)
- Migrate from markdown-link-check to lychee (@max-sixty, #5519)
- Use zero-copy slice for binary/hex/octal number parsing (perf improvement, @max-sixty, #5488)
- Update rust toolchain version (#5536)
- Do not allow incompatible rust-version dependencies (@eitsupi, #5493)
- Pin typos to v1.37.2 (@max-sixty, #5510)
0.13.5
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:
- Sort step before an aggregate step no longer requires its columns to avoid a group by clause error (@julien-pinchelimouroux, #5347)
- Always add quotes on identifiers for Snowflake dialect (@julien-pinchelimouroux, #5461)
- Join with table containing column named "source" now works correctly (@priit Haamer, #5468)
- Columns required by sorting are properly redirected (@lukapeschke, #5464)
- Ensure sorts are done on columns of the right table (@lukapeschke, #5338)
- Deduplicate selected items in gen_projection (@lukapeschke, #5305)
- Handle complex append cases (@Elouan Poupard-Cosquer, #5366)
- Improve requirement logic (@Elouan Poupard-Cosquer, #5357)
- Avoid type mismatch with Postgres in append (@Elouan Poupard-Cosquer, #5343)
- Apply column order on CTEs in append (@Elouan Poupard-Cosquer, #5323)
Documentation:
- Fix binary literal example (@ftsfranklin, #5475)
- Use correct table in grouping tutorial (@fnuttens, #5332)
Integrations:
- TEA 63.3.1, a Qt-based text editor has syntax highlighting for PRQL (@vanillajonathan, #5220)
- Micro text editor grammar is now upstream (@vanillajonathan, #5353)
- Add LSP stub (@vanillajonathan, #5197)
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: