Skip to content

Release 0.23.0

Latest

Choose a tag to compare

@adsharma adsharma released this 25 Nov 02:55
· 3 commits to main since this release
Immutable release. Only release title and notes can be modified.

Breaking Changes

  • python 3.10 is no longer supported. python 3.15 is supported
  • Extensions for all releases <= 0.18.x are purged. Details in #1706

What's Changed

  • ci(deploy): make npm deploy steps idempotent by @adsharma in #1455
  • fix(ci): pin conda libarrow to 25.x to unbreak algo extension load by @adsharma in #1467
  • fix(txn): keep a connection usable after a refused BEGIN by @zahariash in #1375
  • fix(wal): throw on a checksum-setting mismatch instead of dropping the WAL by @zahariash in #1358
  • feat(storage): generalize external table formats beyond LANCE by @adsharma in #1456
  • fix(txn): don't fail a committed write when its automatic checkpoint fails by @zahariash in #1361
  • feat(optimizer): prune HASH and LIST partitions for equality predicates by @Mrhs121 in #1420
  • fix(test): use CRT _putenv in Windows setenv/unsetenv shim by @adsharma in #1486
  • refactor(processor): pass Intersect's survivor count explicitly between rounds by @zahariash in #1382
  • fix(binder): a primary key identifies a row only within its own table by @Tyagiquamar in #1392
  • fix(build): keep the static liblbug's libstdc++ instantiations private by @sunsided in #1383
  • fix(storage): recover pinned checkpoints that a crash interrupts by @zahariash in #1378
  • fix(planner): estimate an OPTIONAL MATCH at no fewer rows than its input by @zahariash in #1410
  • fix(function): report that every string contains the empty string by @555aaditya in #1450
  • fix(main): reject setting values that would wrap, and map threads=0 by @555aaditya in #1453
  • fix(parser): treat CHECKPOINT as a write so read-only databases refuse it by @555aaditya in #1459
  • fix(optimizer): restore PK lookup on pruned partition scans by @adsharma in #1488
  • fix(ci): triage nightly sanitizers run 41309053071 by @adsharma in #1487
  • fix(catalog): abort concurrent ALTER/DROP with write-write conflict by @adsharma in #1489
  • fix(vector): stop union_value results from taking other rows' values by @zahariash in #1463
  • fix(function): allocate s[i], list_extract and array_extract results over 12 bytes by @zahariash in #1472
  • fix(function): stop clamping string indexes in array_extract and s[i] by @zahariash in #1473
  • fix(binder): flag a table's primary key case-insensitively by @Tyagiquamar in #1494
  • fix(catalog): delete CatalogEntry moves, atomic timestamp is not movable by @adsharma in #1495
  • fix(storage): normalize database path separators on Windows by @adsharma in #1496
  • fix(storage): reopen named graphs after a crash around a pinned checkpoint by @zahariash in #1379
  • fix(planner): keep UNWIND rows that repeat a MERGE key with other values by @zahariash in #1479
  • fix(planner): estimate a range filter through a rounding cast or a cast to DATE by @zahariash in #1480
  • perf(binder): drop COALESCE arguments after a non-NULL literal by @zahariash in #1485
  • chore(submodule): sync submodules to latest main by @adsharma in #1498
  • fix(test): expect generic_string in Windows drive path test by @adsharma in #1505
  • feat(config): rename debug_enable_multi_writes to enable_multi_writes, default to true by @adsharma in #1435
  • fix(storage): cover in-memory rel lookup vs ADD COLUMN race by @adsharma in #1500
  • fix(c_api): convert dates after 2038 in lbug_date_to_tm by @555aaditya in #1490
  • fix(catalog): drop a table whose SERIAL sequence is already gone by @555aaditya in #1492
  • perf(processor): run one-morsel node scans on the calling thread, allocate TopK scratch on use by @zahariash in #1499
  • fix(function): return a LIST from list functions that resize an ARRAY by @555aaditya in #1491
  • fix(processor): size attached-table semi masks from their own database by @Tyagiquamar in #1493
  • fix(transaction): detect DDL conflicts with staged inserts at statement time by @aikins01 in #1506
  • fix(transaction): commit a COPY only once its checkpoint can run by @aikins01 in #1507
  • perf(storage): select a single-writer vector whole when scanning by @zahariash in #1504
  • fix(storage): keep primary keys findable when one checkpoint splits a slot twice by @zahariash in #1513
  • fix(transaction): in BEGIN, take the write gate before the public mutex by @zahariash in #1516
  • docs(storage): state the range contract behind the single-version scan path by @zahariash in #1509
  • fix(txn): log an ABORT record when a committed transaction cannot be applied by @zahariash in #1380
  • fix(storage): throw instead of crashing on torn WAL tail reads by @adsharma in #1520
  • ci(nodejs): remove nodejs build dependency on extensions by @adsharma in #1523
  • fix(binder): identify built-in cast functions by bind data rather than name prefix (#1460) by @Tyagiquamar in #1501
  • fix(optimizer): preserve all matched nodes in UNWIND MERGE deduplication (#1478) by @Tyagiquamar in #1508
  • fix(function): stop stats_info crashing after a column DROP by @aikins01 in #1468
  • fix(storage): merge uncommitted node stats by storage column by @aikins01 in #1470
  • docs(security): add the torn WAL read crash incident report by @zahariash in #1530
  • docs: fix grammar path and typos by @toyeshhm in #1532
  • fix(optimizer): block build-to-probe SIP under probe LIMIT by @adsharma in #1538
  • fix(processor): guard null batch vectors in node delete finalize by @adsharma in #1539
  • fix(storage): truncate column chunks when rolling back insert in chunked node group by @Tyagiquamar in #1531
  • fix(processor): restore an extend's bound batch so forked MATCH arms keep every row by @zahariash in #1528
  • fix(tools): let wal_dump read a WAL by name and report where it stopped by @zahariash in #1526
  • fix(optimizer): skip count rewrites when an index scan pins the node by @zahariash in #1476
  • fix(scheduler): let a caller that holds a slot work on the task it waits for by @zahariash in #1482
  • fix(binder): preserve expressions when constant folding would discard aggregates (#1484) by @Tyagiquamar in #1535
  • fix(storage): patch ALP exceptions at the read-relative offset under a filter by @jfrench9 in #1541
  • fix(storage): resolve relative database paths via UTF-8 on Windows (#1454) by @Tyagiquamar in #1534
  • fix(function): compute length() from path rels so it survives WITH by @adsharma in #1550
  • fix(binder): do not match every row on CASE expr WHEN NULL (#1549) by @Tyagiquamar in #1554
  • perf(storage): prune ART range scans below the lower bound and keep the read page pinned by @zahariash in #1552
  • fix(evaluator): evaluate CASE branches only on rows that take them by @adsharma in #1558
  • fix(path): make an unmatched OPTIONAL MATCH path and its length() null by @zahariash in #1548
  • fix(test): compare file search path with generic separators on Windows by @adsharma in #1559
  • fix(test): accept any valid fork-extend chain order in optimizer test by @adsharma in #1560
  • ci(python): support Python 3.15, drop 3.10 by @adsharma in #1557
  • fix(common): make the query timer's start time atomic by @zahariash in #1556
  • fix(vfs): allow DROP GRAPH when the database path has no extension by @Tyagiquamar in #1567
  • fix(storage): reclaim superseded MVCC versions in in-memory databases by @adsharma in #1574
  • fix(gds): run dense frontier tasks on the waiting thread instead of a new one by @zahariash in #1582
  • perf(processor): build aggregate tables only for threads and partitions with input by @zahariash in #1570
  • fix(binder): read a recursive rel's length where its pattern is in scope by @zahariash in #1572
  • fix(scan): do not scan external rel tables before pulling child tuple by @Tyagiquamar in #1533
  • chore(vector): assert that setValue writes the vector's value size by @zahariash in #1464
  • chore(submodule): sync submodules to upstream tips by @adsharma in #1590
  • fix(storage): preserve node columns for pinned snapshots by @Mrhs121 in #1555
  • Avoid empty relationship COPY allocations and clean up empty CSR checkpoint state by @ericyuanhui in #1586
  • fix(function): return a LIST from list_concat on ARRAY arguments by @555aaditya in #1587
  • fix(txn): refuse TransactionManager::checkpoint on a read-only database by @555aaditya in #1588
  • fix(transaction): defer automatic checkpoints while writers are active by @Mrhs121 in #1564
  • fix(storage): avoid MSVC vectorized minmax + guard CONSTANT with bitwise check (gh-1447) by @adsharma in #1593
  • ci(extensions): pin minimal linux extension test to ubuntu-24.04 by @adsharma in #1597
  • perf(gds): search single-pair SHORTEST and ALL SHORTEST from both ends by @zahariash in #1573
  • fix(common): restore the overflow check in Timestamp::getEpochNanoSeconds by @pratik-saptarshi in #1584
  • fix(processor): share the no-index primary-key map across COPY workers by @zahariash in #1602
  • Fix COPY rollback erasing other writers' rows by @Mrhs121 in #1563
  • fix(planner): keep an earlier hop's fan-out when an extend flattens its bound group by @zahariash in #1477
  • test(storage): fix NoChangeCheckpointDropsLegacyEmptyIndexesButPreservesPins by @adsharma in #1607
  • fix(storage): keep rows created and deleted after a reader began hidden after CHECKPOINT by @zahariash in #1437
  • fix(storage): roll back a failed checkpoint over closed partition shadow files by @zahariash in #1399
  • fix(processor): rebuild batch-insert state on every execution of a prepared COPY by @zahariash in #1606
  • refactor(gds): guard the bidirectional search's lookups and lower bound by @zahariash in #1603
  • perf(storage): check node visibility once per node group in recursive joins by @zahariash in #1565
  • feat(shell): add lbug --agent mode for AI coding agents by @adsharma in #1615
  • fix(c_api): prevent timestamp_ns overflow and fix pre-1970 tm conversions by @Tyagiquamar in #1609
  • docs(gds): state the waiting-thread contract at both call sites and in its test by @zahariash in #1610
  • docs(binder): say a projection, not UNWIND, unbinds recursive rels by @zahariash in #1611
  • feat(function): add setval to move a sequence to a given value by @555aaditya in #1589
  • fix(shell): preserve per-operator timings in agent-mode PROFILE output by @adsharma in #1620
  • perf(planner): read RETURN-only node properties after the last WITH by @zahariash in #1618
  • feat(observability): add Linux USDT probes where PROFILE measures wall times by @adsharma in #1621
  • test(function): pin list_concat errors for mixed ARRAY and LIST arguments by @555aaditya in #1613
  • test(main): pin setting readbacks and route physical_plan_pool_per_thread through toUnsignedSetting by @555aaditya in #1614
  • feat(constraint): UNIQUE constraints on node and rel tables by @adsharma in #1594
  • perf(planner): generalize lookup join to bound adjacency expands by @adsharma in #1622
  • fix(copy): skip out-of-range interval values when ignore_errors is set by @Tyagiquamar in #1608
  • perf(common): copy fixed-size list values in bulk to and from row data by @zahariash in #1628
  • perf(optimizer): hash-join cross products on expression keys of one side by @zahariash in #1630
  • perf(function): binary-search IN lists in list_contains by @zahariash in #1627
  • feat(export): restore SERIAL counters with setval and map legacy exports onto it by @555aaditya in #1623
  • Support daily RANGE partitioning for node tables by @Mrhs121 in #1643
  • fix(planner): seed recursive legs with node predicates from the source node by @adsharma in #1645
  • fix(storage): add explicit lambda return types for MSVC C3779 in CompressionMetadata::toString by @adsharma in #1647
  • fix(optimizer): keep state-changing filters above the aggregation in group-key push-down by @zahariash in #1635
  • fix(storage): treat -0.0 and 0.0 as one key in ART indexes by @zahariash in #1640
  • fix(binder): stop folding setseed() so a prepared statement reseeds on each execution by @zahariash in #1636
  • test(planner): cover bound-expand review follow-ups by @adsharma in #1631
  • fix(export): escape sequence names in string literals and match CRLF legacy schemas by @555aaditya in #1644
  • fix(ddl): refuse DROP SEQUENCE on a sequence a SERIAL column uses by @555aaditya in #1646
  • fix(planner): skip lookup joins over an unmasked rescan of a re-matched node by @zahariash in #1651
  • fix(optimizer): one list of volatile functions for push-down, join keys and folding by @zahariash in #1653
  • fix(storage): repair broken AVX512 path in vendored ALP encoder by @adsharma in #1656
  • fix(engine): reject second RW Database open on same path in-process by @adsharma in #1649
  • fix(import): read SERIAL values of a rel table back from its data file by @555aaditya in #1665
  • fix(storage): publish PK index headers together with applied shadow pages by @kory-io in #1658
  • fix(catalog): add transactional addTableEntry overload for extensions by @adsharma in #1666
  • fix(planner): look up each node of MATCH (a {id: r.x}), (b {id: r.y}) by primary key by @zahariash in #1655
  • perf(storage): find an uncommitted rel's row from its ID in SET and DELETE by @zahariash in #1663
  • fix(arrow): grow fixed-size list children dynamically by @adsharma in #1671
  • fix(wal): skip failed LOAD EXTENSION replay during upgrade by @adsharma in #1672
  • fix(storage): preserve existing PK entry on failed COPY rollback by @adsharma in #1670
  • fix(engine): key the in-process open claim by file identity and release it after close by @kory-io in #1667
  • fix(storage): publish partition children's PK index state; address #1658 review by @kory-io in #1668
  • fix(storage): keep recreated and renamed partition children off each other's files by @kory-io in #1673
  • test(api): run the cross-process database locking tests again by @kory-io in #1679
  • chore(submodules): sync to origin/main tips by @adsharma in #1680
  • chore(extensions): bump EXTENSION_VERSION to 0.23.0 by @adsharma in #1681
  • fix(extensions): purge stale beta releases older than production by @adsharma in #1684
  • feat(extensions): register LANCE as an official extension by @adsharma in #1683
  • ci(extensions): build lance in release extension builds (Linux) by @adsharma in #1685
  • ci(extensions): build lance in macOS/Windows release builds by @adsharma in #1686
  • fix(storage): restore pre-existing shadow pages on CSR group rollback by @kory-io in #1659
  • fix(import): handle CRCRLF line endings in legacy SERIAL restore mapping by @adsharma in #1688
  • docs: add .NET and Lean4 to README installation table by @adsharma in #1689
  • ci(extensions): protect released extension lines and smoke-test every deploy by @zahariash in #1395
  • fix(planner): UNION arm with LIMIT/SKIP and duplicate projection no longer crashes (fixes #1693) by @adsharma in #1695
  • fix(storage): bound string checkpoint memory to O(batch) by @adsharma in #1687
  • fix(types): interval/date/timestamp overflow, division and comparison consistency by @adsharma in #1696
  • fix(wal): refuse writes after a WAL write fails instead of hanging by @zahariash in #1400
  • fix(storage): don't skip tables after a failed checkpoint by @zahariash in #1408
  • fix(storage): pin std::min template argument in reallocateBuffer by @adsharma in #1697
  • fix(storage): keep updates on their rows when a CHECKPOINT runs with a reader open by @zahariash in #1436
  • fix(storage): batch PK index build deadlock on non-ASCII STRING keys (#1669) by @adsharma in #1698

New Contributors

Full Changelog: v0.22.1...v0.23.0