Repository navigation
Releases
v1.4.1
v1.4.0
Automated release assets for v1.4.0.
v1.3.1
Release notes — v1.3.1
Patch release completing DuckDB v2.0 compatibility. No new SQL functions,
parameters, or changes to default behavior.
Fixes
DuckDB v2.0 NOT IN pushdown and observability
DuckDB v1.5 presents NOT IN to the extension as COMPARE_NOT_IN.
DuckDB v2.0 normalizes the same predicate to OPERATOR_NOT around
COMPARE_IN. The scanner now accepts both representations.
This closes the five v2.0 test failures caused by that expression-shape
change and restores:
- remote
NOT INpushdown, including DECFLOAT's lossless VARCHAR path; - residual-filter and
NONE_CHARSETtelemetry for gated NONE columns; firebird_unpushed_modewarnings/errors for those residual filters;- consistent
firebird_explain_pushdownreports across both API lines.
Cross-version test suite
Five assertions used the older lambda spelling. They now use DuckDB's
explicit lambda syntax, accepted by both v1.5.6 and v2.0. The telemetry
failure previously attributed to sqllogictest context handling did not
reproduce after that correction; no product-state change was needed.
The local build matrix no longer maintains a list of tolerated DuckDB
v2.0 test deltas.
Required release assets
All four release-asset jobs are now required. Failure of either DuckDB
v2.0 package fails the workflow instead of being ignored with
continue-on-error.
Validation
- DuckDB v1.5.6: 26/26 test files, 1,082 assertions, Windows,
Firebird 5.0.3. - DuckDB v2.0.0: 26/26 test files, 1,082 assertions, Windows,
Firebird 5.0.3. - The separate FB4-only type-audit test remained skipped locally because
FIREBIRD_BIZ4_DBwas not configured; it is covered by the FB4/FB5 CI
fixtures. - EMPLOYEE smoke passed on both DuckDB lines: native ATTACH, CUSTOMER
scan, metadata discovery, andfirebird_last_query()telemetry.
Downloads and compatibility
Use the package built for your DuckDB line:
duckdb-firebird-1.3.1-linux-x64.tar.gzand
duckdb-firebird-1.3.1-windows-x64.zip: DuckDB v1.5.6+.duckdb-firebird-1.3.1-linux-x64-duckdb2.tar.gzand
duckdb-firebird-1.3.1-windows-x64-duckdb2.zip: DuckDB v2.0+.
The community catalog remains independent of this repository release.
v1.3.0
DuckDB v1.3.0 — DuckDB v2.0 support (dual-path v1.5.6/v2.0 source).
Highlights
- DuckDB v2.0 support ('Cyanoptera'): the same source compiles against the v1.5.x and v2.x C++ APIs (compile-time FIREBIRD_DUCKDB_V2 gate). Supported DuckDB versions: v1.5.6+ and v2.0+.
- Windows attach-burst fix: serializes isc_attach_database (v2.0 starts partition workers simultaneously; the Windows XPS provider drops simultaneous handshakes with -901).
- v2.0 planner delta accounting in the test battery (documented residual/telemetry visibility differences; results always correct).
Assets (two variants per platform, one per DuckDB line)
duckdb-firebird-1.3.0-*-x64.tar.gz / .zip— built against DuckDB v1.5.6 (loads on v1.5.6+).duckdb-firebird-1.3.0-*-x64-duckdb2.tar.gz / .zip— built against DuckDB v2.0.0.
Notes
- Fully additive over v1.2.1; nothing removed or renamed; all levers opt-in.
- Read-only batteries: real ~66GB Firebird 5.0.3 ERP restore (aggregate counts only) exercised both API generations; full matrices green on both lines.
v1.2.1
Automated release assets for v1.2.1.
v1.2.0
Automated release assets for v1.2.0.
v1.1.0
Automated release assets for v1.1.0.
v1.0.2
Automated release assets for v1.0.2.
v1.0.1
Patch release. No API changes.
Fix
ReconcileViewColumnTypesdefensive fallback (#36) — the function's
internal object-type check (LookupObjectType) could, on a rare
connection-level failure classifying an object, skip the live-describe
reconciliation step entirely. That reconciliation is what prevents the
v1.0.0-era #33 crash (a view's frozen catalog metadata claiming a wider
type than what an aggregate likeSUM()actually produces at runtime).
Now, whenever the object type can't be positively confirmed as
non-view — whetherLookupObjectTypethrows or simply finds no
matching row — the function falls through to the same defensive
live-describe probe used for a confirmed view, instead of skipping
reconciliation. Correctness-only change; no observable behavior change
for any query that previously worked correctly.
Validation
- Full local suite: 19/19 test files, zero assertion-count regressions.
- Cross-version DuckDB matrix (v1.5.2/v1.5.3/v1.5.4): 3/3 PASS.
- CI green on Windows x64, Linux x64, and the Firebird 3/4/5 Linux
matrix. - Strong adversarial code review (6-point mandatory checklist) confirmed
the #33 crash protection remains intact under all object-classification
states.
Upgrade Notes
- No SQL changes are required. No function signatures changed.
- Recommended for anyone running v1.0.0.
Release Assets
Release packages are generated by GitHub Actions for:
linux-x64windows-x64
v1.0.0
Theme: Production Bridge. This release consolidates duckdb-firebird as
a stable, read-only runtime bridge from DuckDB to Firebird 3/4/5 -- metadata
and diagnostics depth, a scan-planning report, lossless type/BLOB handling,
and a closed Runtime/ABI Compatibility gate backed by a real cross-version
matrix and a maturity battery run against a real ~90GB database.
This is the duckdb-firebird repository's own v1.0.0. The DuckDB Community
Extensions catalog still installs the previously-submitted v0.6.1
(community-extensions/description.yml is unchanged by this release) --
nothing in duckdb/community-extensions is touched here. A community
catalog update is a separate, later step that requires its own explicit
authorization.
Highlights
Metadata & Explain (v0.7)
- Metadata Bridge 2.0 -
information_schemaconstraints (PK/UNIQUE/FK
with referential rules) plus seven Firebird catalog functions:
firebird_foreign_keys,firebird_indexes,firebird_generators,
firebird_domains,firebird_computed_columns,firebird_dependencies,
firebird_comments. firebird_explain_pushdown(sql)- a-priori, plan-only report of what
SQL is sent to Firebird: filters pushed vs. not pushed (with reason),
projected columns, appliedROWS, and PK-range partition usage.firebird_type_audit('fb')- findings-only audit of type/charset
conversion fidelity (decfloat_as_varchar,int128,time_tz,
timestamp_tz,none_charset,blob_text); columns with no caveat are
omitted.
Diagnostics Bridge (v0.8)
firebird_health('fb')- single-row database/server diagnostic:
engine/ODS version, dialect, charset, page size, forced writes, sweep
interval, OIT/OAT/next-transaction gaps, attachment count, and structured
warning codes (oit_gap_high,sweep_disabled,charset_none, etc.).- Structured
firebird_profile_tablealerts - a
LIST(STRUCT(code, severity, message))column flags tables/views with no
PK, heavy view shapes (JOIN/aggregation/no-filter), and other BI-relevant
risks, instead of free-text notes. firebird_index_profile('fb.main.T')- per-index diagnostic:
candidate indexes, selectivity where available, dependencies, and
cheap-filter recommendations.
Production Bridge (v1.0)
- Smart Scan Planning Report - consolidates signals already produced by
firebird_profile_table,firebird_health,firebird_index_profile,
firebird_type_audit, andfirebird_explain_pushdowninto one scan-safety
decision (serial vs. PK-range, heavy-view warnings, charset-driven pushdown
disablement,ROWS-without-ORDER BYwarnings), plus aROWS
determinism fix for that planning path. - Type-lossless hardening (#33) - fixed a crash fetching a Firebird
view's computed/aggregate column whose live type differs from its
catalog-frozen type (e.g.NUMERIC(38,2)/INT128-backedSUM()),
covering both the directfirebird_scan(...)path and ATTACH-resolved
fb.main.VIEWreferences. - BLOB-lossless hardening (#35) - fixed
ReadBlobsilently dropping
every segment after the first for multi-segment text/binary BLOBs (the
loop incorrectly treatedrc == 0as end-of-blob; onlyisc_segstr_eof
is a real end-of-blob signal). DECFLOAT(16/34)lossless fallback - surfaces as VARCHAR via a
server-sideCAST, replacing the previous silent-NULL behavior.
Runtime/ABI Compatibility Gate
- Cross-version DuckDB matrix -
v1.5.2,v1.5.3(pin),v1.5.4all
build and pass the full local suite (19 files, 854 assertions), zero API
drift. - Firebird 3/4/5 CI matrix, fully green and unified - one canonical
fixture source (scripts/fixture_common.sql/
scripts/fixture_biz4.sql/scripts/fixture_none_charset.sql/
scripts/fixture_decfloat.sql) shared by local and CI runs, a
version-matched client library extracted per matrix leg (closing a real
client/server wire-protocol mismatch), and a permanent anti-drift guard
(scripts/check_no_inline_fixture_drift.sh) preventing inline fixture SQL
from silently reappearing in the workflow. - CI coverage closed - the Linux matrix now runs 20
test/sql/*.test
files (was 4), including the previously CI-invisible NONE-charset,
DECFLOAT, and BLOB-lossless suites. - Real maturity battery - a new read-only, env-var-driven harness
(scripts/maturity_battery.ps1) ran against a real ~90GB test database
(2926 relations, 15367NONE-charset columns): zero product errors,
self-consistent BLOB/text fetches (same row fetched twice, checksums
compared, never the value itself),sweep_disabled/charset_none
correctly flagged as expected characteristics of that legacy-profile
database rather than defects.
Validation
- CI green on Windows x64 (MSVC), Linux x64, and the Firebird 3/4/5 Linux
matrix (including the anti-drift guard step). - Cross-version DuckDB matrix (v1.5.2/v1.5.3/v1.5.4): 19/19 test files,
854/854 assertions, zeroenv-missing, zero API drift. - Read-only maturity battery against a real ~90GB database: zero errors,
9/9 sampled BLOB/text columns self-consistent, no row values or content
ever logged. - Issue hygiene: #33 and #35 (both fixed in this cycle) confirmed closed;
#36 (a narrow, non-blockingReconcileViewColumnTypeserror-scoping
nuance) and #47/#48 residual notes tracked as non-blocking follow-ups, not
release blockers.
Upgrade Notes
- No SQL changes are required for existing
firebird_scan(...),
firebird_tables(...), andATTACH ... (TYPE firebird)calls. firebird_pool_stats,firebird_health,firebird_type_audit,
firebird_index_profile, andfirebird_explain_pushdownare additive --
no existing function's signature or return shape changed.DECFLOAT(16/34)columns now return VARCHAR instead of always-NULL
DOUBLE; queries that assumed the old silent-NULL behavior should be
reviewed.- The DuckDB Community catalog is unaffected -- it still serves v0.6.1 until
a separate, explicitly authorized community update.
Non-blocking follow-ups (tracked, not release blockers)
- #36 - a connection-level failure inside
ReconcileViewColumnTypes's
LookupObjectTypecall demotes the whole ATTACH batch to the slower
per-table fallback instead of isolating just the affected view. - #47 residual - the anti-drift guard's keyword coverage and a
missing-workflow-file edge case have known, documented limits (see the
guard's own header comment); not a defect in the fixture-drift fix it
ships with. - Windows CI builds and uploads the artifact but does not run
test/sql/firebird_*.testin CI -- that coverage is currently manual
(scripts/build_matrix.ps1), an automation gap tracked for future work. guide_linux.md/guide_windows.mdmentionv1.5.3as the build
version without calling out the fullv1.5.2-v1.5.4compatibility
range documented indocs/pt/duckdb_1_5_compatibility_plan.md.
Release Assets
Release packages are generated by GitHub Actions for:
linux-x64windows-x64