beam-duckdb 0.2.0.0 → 0.3.0.0
raw patch · 3 files changed
+21/−4 lines, 3 filesdep ~beam-coredep ~beam-migratedep ~timePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: beam-core, beam-migrate, time
API changes (from Hackage documentation)
Files
- CHANGELOG.md +8/−0
- beam-duckdb.cabal +12/−4
- src/Database/Beam/DuckDB/Syntax.hs +1/−0
CHANGELOG.md view
@@ -1,5 +1,13 @@ # Revision history for beam-duckdb +## 0.3.0.0 -- 2026-04-28++* Added a `weekField` definition to the `IsSql92ExtractFieldSyntax` instance+ for `DuckDBExtractFieldSyntax`, in support of the new backend-agnostic+ `week_` extract field from `beam-core`.+* Bumped the lower bound on `beam-core` to `0.11` and the lower bound on+ `beam-migrate` to `0.6`.+ ## 0.2.0.0 -- 2026-03-07 * Support for the SQL99 feature set, including support for regex matching via `similarTo_` and common table expressions
beam-duckdb.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: beam-duckdb-version: 0.2.0.0+version: 0.3.0.0 synopsis: DuckDB backend for Beam description: Beam driver for DuckDB, an analytics-focused open-source in-process database. license: MIT@@ -9,6 +9,7 @@ maintainer: laurent.decotret@outlook.com copyright: (c) Laurent P. René de Cotret category: Database+bug-reports: https://github.com/haskell-beam/beam/issues build-type: Simple extra-doc-files: README.md CHANGELOG.md@@ -20,6 +21,11 @@ tests/data/lineitem_iceberg/metadata/*.json tests/data/lineitem_iceberg/metadata/version-hint.text +source-repository head+ type: git+ location: https://github.com/haskell-beam/beam.git+ subdir: beam-duckdb+ common common default-language: Haskell2010 ghc-options: -Wall@@ -38,10 +44,12 @@ Database.Beam.DuckDB.Syntax.Builder Database.Beam.DuckDB.Syntax.Extensions.DataSource build-depends: base >=4.11 && <5- , beam-core ^>=0.10- , beam-migrate ^>=0.5+ , beam-core >=0.11 && <0.12+ , beam-migrate ^>=0.6 , bytestring >=0.10 && <0.13- , duckdb-simple ^>=0.1+ -- Version 0.1.5.0 contained a broken change (RowParser constructor not exposed)+ -- which was reverted in version 0.1.5.1+ , duckdb-simple (>=0.1.2 && <0.1.5) || (>=0.1.5.1 && <0.1.6) , dlist >=0.8 && <1.1 , free >=4.12 && <5.3 , scientific ^>=0.3
src/Database/Beam/DuckDB/Syntax.hs view
@@ -194,6 +194,7 @@ minutesField = DuckDBExtractFieldSyntax (emit "MINUTE") hourField = DuckDBExtractFieldSyntax (emit "HOUR") dayField = DuckDBExtractFieldSyntax (emit "DAY")+ weekField = DuckDBExtractFieldSyntax (emit "WEEK") monthField = DuckDBExtractFieldSyntax (emit "MONTH") yearField = DuckDBExtractFieldSyntax (emit "YEAR")