duckdb-simple 0.1.5.0 → 0.1.5.1
raw patch · 4 files changed
+8/−5 lines, 4 filesdep ~QuickCheckdep ~tasty-quickcheckPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: QuickCheck, tasty-quickcheck
API changes (from Hackage documentation)
- Database.DuckDB.Simple.FromRow: data RowParser a
+ Database.DuckDB.Simple: applyFunction :: Function a => [Field] -> a -> IO ScalarValue
+ Database.DuckDB.Simple: argumentTypes :: Function a => Proxy a -> [DuckDBType]
+ Database.DuckDB.Simple: isVolatile :: Function a => Proxy a -> Bool
+ Database.DuckDB.Simple: returnType :: Function a => Proxy a -> ScalarType
+ Database.DuckDB.Simple.FromRow: RowParser :: ReaderT RowParseRO (StateT (Int, [Field]) Ok) a -> RowParser a
+ Database.DuckDB.Simple.FromRow: [runRowParser] :: RowParser a -> ReaderT RowParseRO (StateT (Int, [Field]) Ok) a
+ Database.DuckDB.Simple.FromRow: newtype RowParser a
Files
- CHANGELOG.md +3/−0
- duckdb-simple.cabal +3/−3
- src/Database/DuckDB/Simple.hs +1/−1
- src/Database/DuckDB/Simple/FromRow.hs +1/−1
CHANGELOG.md view
@@ -1,5 +1,8 @@ # Changelog +## 0.1.5.1+- Re-export the `RowParser` data constructor from `Database.DuckDB.Simple.FromRow`, restoring the API that `0.1.5.0` unintentionally broke (see #6). Downstream packages such as `beam-duckdb` rely on this constructor. (Sorry!)+ ## 0.1.5.0 - Raise the supported DuckDB runtime baseline to `1.5.0+` via the `duckdb-ffi-1.5` dependency line. - Add DuckDB 1.5 high-level wrappers for startup config inspection and connection setup, catalog lookup, file-system handles, copy-function registration, and custom log storage registration.
duckdb-simple.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.4 name: duckdb-simple-version: 0.1.5.0+version: 0.1.5.1 license: MPL-2.0 license-file: LICENSE author: Matthias Pall Gissurarson@@ -76,7 +76,7 @@ other-modules: Properties default-language: Haskell2010 build-depends:- QuickCheck >=2.14 && <2.15,+ QuickCheck >=2.14 && <2.16, array >=0.5 && <0.6, base >=4.14 && <5, bytestring,@@ -87,7 +87,7 @@ tasty >=1.4 && <1.6, tasty-expected-failure >=0.12 && <0.13, tasty-hunit >=0.10 && <0.12,- tasty-quickcheck >=0.10 && <0.11,+ tasty-quickcheck >=0.10 && <0.12, text, time, uuid >=1.3 && <1.4,
src/Database/DuckDB/Simple.hs view
@@ -101,7 +101,7 @@ parseRow, rowErrorsToSqlError, )-import Database.DuckDB.Simple.Function (Function, createFunction, createFunctionWithState, deleteFunction)+import Database.DuckDB.Simple.Function (Function (..), createFunction, createFunctionWithState, deleteFunction) import Database.DuckDB.Simple.Internal ( Connection (..), ConnectionState (..),
src/Database/DuckDB/Simple/FromRow.hs view
@@ -14,7 +14,7 @@ -} module Database.DuckDB.Simple.FromRow ( -- * Row parsing- RowParser,+ RowParser (..), field, fieldWith, numFieldsRemaining,