packages feed

atelier-db 0.1.0.0 → 0.1.1.0

raw patch · 3 files changed

+28/−12 lines, 3 filesdep ~atelier-coredep ~basedep ~bytestring

Dependency ranges changed: atelier-core, base, bytestring, containers, effectful-plugin, hasql, time

Files

CHANGELOG.md view
@@ -5,7 +5,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to the [PVP](https://pvp.haskell.org/). -## [Unreleased]+## [0.1.1.0] - 2026-06-29++### Added++- `DBConfig` derives `FromJSON` (via `QuietSnake`, mapping fields to+  `quiet_snake_case` keys), so connection settings can be decoded directly+  from configuration files.++## [0.1.0.0] - 2026-06-04  ### Added 
atelier-db.cabal view
@@ -1,11 +1,11 @@ cabal-version: 2.0 --- This file has been generated from package.yaml by hpack version 0.38.2.+-- This file has been generated from package.yaml by hpack version 0.38.3. -- -- see: https://github.com/sol/hpack  name:           atelier-db-version:        0.1.0.0+version:        0.1.1.0 synopsis:       Relational database effect for atelier (Hasql/Rel8) description:    Relational database access via Hasql and Rel8, exposed as an Effectful effect — part of the atelier toolkit. category:       Database@@ -16,6 +16,11 @@ license:        MIT license-file:   LICENSE build-type:     Simple+tested-with:+    GHC == 9.10.3+  , GHC == 9.6.7+  , GHC == 9.8.4+  , GHC == 9.12.4 extra-doc-files:     CHANGELOG.md     README.md@@ -52,25 +57,27 @@       StrictData       TemplateHaskell       TypeFamilies-  ghc-options: -Weverything -Wno-unsafe -Wno-missing-safe-haskell-mode -Wno-monomorphism-restriction -Wno-missing-kind-signatures -Wno-missing-poly-kind-signatures -Wno-missing-role-annotations -Wno-missing-local-signatures -Wno-missing-import-lists -Wno-implicit-prelude -Wno-unticked-promoted-constructors -Wno-unused-packages -Wno-all-missed-specialisations -Wno-missed-specialisations -fplugin=Effectful.Plugin -threaded+  ghc-options: -Weverything -Wno-unsafe -Wno-missing-safe-haskell-mode -Wno-monomorphism-restriction -Wno-missing-kind-signatures -Wno-missing-local-signatures -Wno-missing-import-lists -Wno-implicit-prelude -Wno-unticked-promoted-constructors -Wno-unused-packages -Wno-all-missed-specialisations -Wno-missed-specialisations -fplugin=Effectful.Plugin -threaded   build-depends:       aeson ==2.2.*-    , atelier-core ==0.1.*+    , atelier-core ==0.2.*     , atelier-prelude ==0.1.*-    , base ==4.20.*-    , bytestring ==0.12.*-    , containers ==0.7.*+    , base >=4.18 && <4.23+    , bytestring >=0.11 && <0.13+    , containers >=0.6 && <0.9     , data-default ==0.8.*     , effectful ==2.6.*     , effectful-core ==2.6.*-    , effectful-plugin ==2.0.*+    , effectful-plugin >=2.0 && <2.2     , effectful-th ==1.0.*-    , hasql ==1.9.*+    , hasql >=1.9 && <1.11     , hasql-pool ==1.3.*     , hasql-transaction ==1.2.*     , rel8 ==1.7.*     , text ==2.1.*-    , time ==1.12.*+    , time >=1.12 && <1.16   mixins:       base hiding (Prelude)   default-language: GHC2021+  if impl(GHC >= 9.8)+    ghc-options: -Wno-missing-poly-kind-signatures -Wno-missing-role-annotations
src/Atelier/Effects/DB/Config.hs view
@@ -52,7 +52,8 @@     , pool :: PoolConfig     -- ^ Connection pool settings.     }-    deriving stock (Eq, Show)+    deriving stock (Eq, Generic, Show)+    deriving (FromJSON) via QuietSnake DBConfig   -- | Separate connection pools for read and write operations.