packages feed

esqueleto-postgis 1.0.0 → 1.0.1

raw patch · 4 files changed

+18/−8 lines, 4 filesdep ~containersdep ~persistentdep ~textPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: containers, persistent, text

API changes (from Hackage documentation)

Files

Changelog.md view
@@ -1,5 +1,10 @@ # Change log for esqueleto-postgis project +## Version 1.0.1 ++ fix insane bounds by cabal genbounds. +  I think this was caused due to running it from the flake which+  takes a bunch of outdated packages from stackage.+ ## Version 1.0.0  + add st_contains + add st_intersects
Readme.md view
@@ -15,6 +15,11 @@ Then the esqueleto combinators are defined around this datatype.  # Tutorial+Make sure to enable to postgis extension on your database (it's activated per database):+```sql+CREATE EXTENSION postgis;+```+ you can specify some posgis geometry, use the point to nidicate dimensions,  pointxy = 2 dimensions@@ -35,7 +40,7 @@  then you can simply query on tat datatype: -```+```haskell test = testCase ("it finds the one unit with st_contains") $ do             result <- runDB $ do               _ <- insert $
esqueleto-postgis.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           esqueleto-postgis-version:        1.0.0+version:        1.0.1 homepage:       https://github.com/jappeace/esqueleto-postgis#readme bug-reports:    https://github.com/jappeace/esqueleto-postgis/issues author:         Jappie Klooster@@ -60,10 +60,10 @@    build-depends:       base >=4.9.1.0 && <4.20.0.0,-      containers >= 0.6.5 && < 0.7,+      containers >= 0.6.5 && < 0.8,       esqueleto >= 3.5.10 && < 3.6,-      text >= 1.2.5 && < 1.3,-      persistent >= 2.13.3 && < 2.14,+      text >= 1.2.5 && < 2.2,+      persistent >= 2.13.3 && < 2.15,       geojson >= 4.1.1 && < 4.2,       wkt-geom >= 0.0.12 && < 0.1, 
test/Test.hs view
@@ -88,7 +88,7 @@  test' :: Gen (PostgisGeometry PointXY) -> TestTree test' gen =-  testCase ("List comparison (different length)") $ do+  testCase "roundtrip xy geometry" $ do     someUnit <- Gen.sample (Unit <$> gen)     result <- runDB $ do       _ <- insert someUnit@@ -97,7 +97,7 @@  testxyz :: Gen (PostgisGeometry PointXYZ) -> TestTree testxyz gen =-  testCase ("List comparison (different length)") $ do+  testCase "roundtrip xyz geometry" $ do     someUnit <- Gen.sample (Unityz <$> gen)     result <- runDB $ do       _ <-  insert someUnit@@ -106,7 +106,7 @@  testxyzm :: Gen (PostgisGeometry PointXYZM) -> TestTree testxyzm gen =-  testCase ("List comparison (different length)") $ do+  testCase "roundtryp xyzm geometry" $ do     someUnit <- Gen.sample (Unityzm <$> gen)     result <- runDB $ do       _ <- insert someUnit