packages feed

beam-migrate 0.5.1.0 → 0.5.1.1

raw patch · 6 files changed

+18/−16 lines, 6 filesdep ~bytestringdep ~ghc-primdep ~hashablePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: bytestring, ghc-prim, hashable, time

API changes (from Hackage documentation)

- Database.Beam.Haskell.Syntax: instance Data.Hashable.Class.Hashable a => Data.Hashable.Class.Hashable (Data.Set.Internal.Set a)

Files

ChangeLog.md view
@@ -1,3 +1,9 @@+# 0.5.1.1++## Added features++ * GHC 9.2 and 9.0 support+ # 0.5.1.0  ## Added features
Database/Beam/Haskell/Syntax.hs view
@@ -1038,5 +1038,7 @@ instance Hashable (Hs.DerivStrategy ()) instance Hashable (Hs.MaybePromotedName ()) #endif+#if !MIN_VERSION_hashable(1, 3, 4) instance Hashable a => Hashable (S.Set a) where   hashWithSalt s a = hashWithSalt s (S.toList a)+#endif
Database/Beam/Migrate/Actions.hs view
@@ -139,7 +139,7 @@ deriving instance Show (BeamSqlBackendSyntax be) => Show (DatabaseState be)  instance NFData (DatabaseState cmd) where-  rnf d@DatabaseState {..} = d `seq` ()+  rnf d@DatabaseState{} = d `seq` ()  -- | Wrapper for 'DatabaseState' that keeps track of the command sequence length -- and goal distance. Used for sorting states when conducting the search.@@ -301,16 +301,13 @@               guard (preTblNm == postTblNm)           (columnsP, columns) <- pure . unzip $-           do columnP@-                (TableHasColumn tblNm colNm schema :: TableHasColumn be) <-+           do columnP@(TableHasColumn tblNm colNm schema :: TableHasColumn be) <-                 findPostConditions               guard (tblNm == postTblNm && dataTypeHasBeenCreated schema findPreConditions)                (constraintsP, constraints) <-                 pure . unzip $ do-                constraintP@-                  (TableColumnHasConstraint tblNm' colNm' c-                   :: TableColumnHasConstraint be) <-+                constraintP@(TableColumnHasConstraint tblNm' colNm' c :: TableColumnHasConstraint be) <-                   findPostConditions                 guard (postTblNm == tblNm')                 guard (colNm == colNm')@@ -379,9 +376,7 @@           (constraintsP, constraints) <-            pure . unzip $ do-           constraintP@-             (TableColumnHasConstraint tblNm'' colNm' c-              :: TableColumnHasConstraint be) <-+           constraintP@(TableColumnHasConstraint tblNm'' colNm' c :: TableColumnHasConstraint be) <-              findPostConditions            guard (tblNm == tblNm'')            guard (colNm == colNm')
Database/Beam/Migrate/Log.hs view
@@ -7,7 +7,6 @@ import Database.Beam.Backend.SQL import Database.Beam.Migrate import Database.Beam.Migrate.Backend-import Database.Beam.Migrate.Types.Predicates (QualifiedName(..))  import Control.Monad (when) 
Database/Beam/Migrate/SQL/Tables.hs view
@@ -29,7 +29,7 @@     -- ** Internal classes     --    Provided without documentation for use in type signatures   , FieldReturnType(..)-  , IsNotNull(..)+  , IsNotNull   ) where  import Database.Beam
beam-migrate.cabal view
@@ -1,5 +1,5 @@ name:                beam-migrate-version:             0.5.1.0+version:             0.5.1.1 synopsis:            SQL DDL support and migrations support library for Beam description:         This package provides type classes to allow backends to implement                      SQL DDL support for beam. This allows you to use beam syntax to@@ -63,19 +63,19 @@                        beam-core            >=0.9     && <0.10,                        text                 >=1.2     && <1.3,                        aeson                >=0.11    && <1.6,-                       bytestring           >=0.10    && <0.11,+                       bytestring           >=0.10    && <0.12,                        free                 >=4.12    && <5.2,-                       time                 >=1.6     && <1.10,+                       time                 >=1.6     && <1.12,                        mtl                  >=2.2     && <2.3,                        scientific           >=0.3     && <0.4,                        vector               >=0.11    && <0.13,                        containers           >=0.5     && <0.7,                        unordered-containers >=0.2     && <0.3,-                       hashable             >=1.2     && <1.4,+                       hashable             >=1.2     && <1.5,                        microlens            >=0.4     && <0.5,                        parallel             >=3.2     && <3.3,                        deepseq              >=1.4     && <1.5,-                       ghc-prim             >=0.5     && <0.7,+                       ghc-prim             >=0.5     && <0.9,                        containers           >=0.5     && <0.7,                        haskell-src-exts     >=1.18    && <1.24,                        pretty               >=1.1     && <1.2,