packages feed

servant-pagination 2.4.2 → 2.5.0

raw patch · 3 files changed

+10/−4 lines, 3 filesdep ~servantdep ~servant-serverdep ~textPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: servant, servant-server, text

API changes (from Hackage documentation)

+ Servant.Pagination: class ExtractRange (fields :: [Symbol]) (field :: Symbol)
+ Servant.Pagination: class PutRange (fields :: [Symbol]) (field :: Symbol)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog +## v2.5.0 (2022-03-09)+- Allow text-2.0 and servant-0.19 #20+- Expose PutRange so we can use this in integrations #18+ ## v2.4.2 (2021-12-10) - Don't return Next-Range upon partial response 
servant-pagination.cabal view
@@ -10,7 +10,7 @@     different fashions (pagination with offset / limit, endless scroll using     last referenced resources, ascending and descending ordering, etc.) version:-    2.4.2+    2.5.0 homepage:     https://github.com/chordify/haskell-servant-pagination bug-reports:@@ -83,9 +83,9 @@    build-depends:       base >= 4 && < 5-    , text >= 1.2 && < 2-    , servant >= 0.11 && < 0.19-    , servant-server >= 0.11 && < 0.19+    , text >= 1.2 && < 2.1+    , servant >= 0.11 && < 0.20+    , servant-server >= 0.11 && < 0.20     , safe >= 0.3 && < 1     , uri-encode >= 1.5 && < 1.6 
src/Servant/Pagination.hs view
@@ -102,6 +102,8 @@   , ContentRange (..)   , PageHeaders   , IsRangeType+  , PutRange+  , ExtractRange    -- * Declare Ranges   , HasPagination(..)