packages feed

geojson 4.1.0 → 4.1.1

raw patch · 9 files changed

+71/−29 lines, 9 filesdep +hspecdep ~tastydep ~tasty-hspecdep ~tasty-quickcheckPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependencies added: hspec

Dependency ranges changed: tasty, tasty-hspec, tasty-quickcheck, text

API changes (from Hackage documentation)

- Data.Geospatial: bbox :: forall a_avv1. Lens' (GeoFeature a_avv1) (Maybe BoundingBoxWithoutCRS)
+ Data.Geospatial: bbox :: forall a_a1ct9. Lens' (GeoFeature a_a1ct9) (Maybe BoundingBoxWithoutCRS)
- Data.Geospatial: boundingbox :: forall a_ax15. Lens' (GeoFeatureCollection a_ax15) (Maybe BoundingBoxWithoutCRS)
+ Data.Geospatial: boundingbox :: forall a_a1i9W. Lens' (GeoFeatureCollection a_a1i9W) (Maybe BoundingBoxWithoutCRS)
- Data.Geospatial: class HasGeoPositionWithoutCRS c_acGr
+ Data.Geospatial: class HasGeoPositionWithoutCRS c_agsT
- Data.Geospatial: featureId :: forall a_avv1. Lens' (GeoFeature a_avv1) (Maybe FeatureID)
+ Data.Geospatial: featureId :: forall a_a1ct9. Lens' (GeoFeature a_a1ct9) (Maybe FeatureID)
- Data.Geospatial: geoPositionWithoutCRS :: HasGeoPositionWithoutCRS c_acGr => Lens' c_acGr GeoPositionWithoutCRS
+ Data.Geospatial: geoPositionWithoutCRS :: HasGeoPositionWithoutCRS c_agsT => Lens' c_agsT GeoPositionWithoutCRS
- Data.Geospatial: geofeatures :: forall a_ax15 a_ax3E. Lens (GeoFeatureCollection a_ax15) (GeoFeatureCollection a_ax3E) (Seq (GeoFeature a_ax15)) (Seq (GeoFeature a_ax3E))
+ Data.Geospatial: geofeatures :: forall a_a1i9W a_a1icv. Lens (GeoFeatureCollection a_a1i9W) (GeoFeatureCollection a_a1icv) (Seq (GeoFeature a_a1i9W)) (Seq (GeoFeature a_a1icv))
- Data.Geospatial: geometry :: forall a_avv1. Lens' (GeoFeature a_avv1) GeospatialGeometry
+ Data.Geospatial: geometry :: forall a_a1ct9. Lens' (GeoFeature a_a1ct9) GeospatialGeometry
- Data.Geospatial: properties :: forall a_avv1 a_avCt. Lens (GeoFeature a_avv1) (GeoFeature a_avCt) a_avv1 a_avCt
+ Data.Geospatial: properties :: forall a_a1ct9 a_a1cAB. Lens (GeoFeature a_a1ct9) (GeoFeature a_a1cAB) a_a1ct9 a_a1cAB
- Data.Geospatial.Internal.BasicTypes: class HasGeoPositionWithoutCRS c_acGr
+ Data.Geospatial.Internal.BasicTypes: class HasGeoPositionWithoutCRS c_agsT
- Data.Geospatial.Internal.BasicTypes: geoPositionWithoutCRS :: HasGeoPositionWithoutCRS c_acGr => Lens' c_acGr GeoPositionWithoutCRS
+ Data.Geospatial.Internal.BasicTypes: geoPositionWithoutCRS :: HasGeoPositionWithoutCRS c_agsT => Lens' c_agsT GeoPositionWithoutCRS
- Data.Geospatial.Internal.GeoFeature: bbox :: forall a_avv1. Lens' (GeoFeature a_avv1) (Maybe BoundingBoxWithoutCRS)
+ Data.Geospatial.Internal.GeoFeature: bbox :: forall a_a1ct9. Lens' (GeoFeature a_a1ct9) (Maybe BoundingBoxWithoutCRS)
- Data.Geospatial.Internal.GeoFeature: featureId :: forall a_avv1. Lens' (GeoFeature a_avv1) (Maybe FeatureID)
+ Data.Geospatial.Internal.GeoFeature: featureId :: forall a_a1ct9. Lens' (GeoFeature a_a1ct9) (Maybe FeatureID)
- Data.Geospatial.Internal.GeoFeature: geometry :: forall a_avv1. Lens' (GeoFeature a_avv1) GeospatialGeometry
+ Data.Geospatial.Internal.GeoFeature: geometry :: forall a_a1ct9. Lens' (GeoFeature a_a1ct9) GeospatialGeometry
- Data.Geospatial.Internal.GeoFeature: properties :: forall a_avv1 a_avCt. Lens (GeoFeature a_avv1) (GeoFeature a_avCt) a_avv1 a_avCt
+ Data.Geospatial.Internal.GeoFeature: properties :: forall a_a1ct9 a_a1cAB. Lens (GeoFeature a_a1ct9) (GeoFeature a_a1cAB) a_a1ct9 a_a1cAB
- Data.Geospatial.Internal.GeoFeatureCollection: boundingbox :: forall a_ax15. Lens' (GeoFeatureCollection a_ax15) (Maybe BoundingBoxWithoutCRS)
+ Data.Geospatial.Internal.GeoFeatureCollection: boundingbox :: forall a_a1i9W. Lens' (GeoFeatureCollection a_a1i9W) (Maybe BoundingBoxWithoutCRS)
- Data.Geospatial.Internal.GeoFeatureCollection: geofeatures :: forall a_ax15 a_ax3E. Lens (GeoFeatureCollection a_ax15) (GeoFeatureCollection a_ax3E) (Seq (GeoFeature a_ax15)) (Seq (GeoFeature a_ax3E))
+ Data.Geospatial.Internal.GeoFeatureCollection: geofeatures :: forall a_a1i9W a_a1icv. Lens (GeoFeatureCollection a_a1i9W) (GeoFeatureCollection a_a1icv) (Seq (GeoFeature a_a1i9W)) (Seq (GeoFeature a_a1icv))

Files

README.md view
@@ -1,4 +1,4 @@-# geojson [![Build Status](https://travis-ci.org/indicatrix/hs-geojson.png?branch=master)](https://travis-ci.org/indicatrix/hs-geojson) [Hackage](https://hackage.haskell.org/package/geojson)+# geojson ![Build Status](https://github.com/zellige/hs-geojson/actions/workflows/ci.yaml/badge.svg) [Hackage](https://hackage.haskell.org/package/geojson)  A thin GeoJSON Layer above the `aeson` library 
geojson.cabal view
@@ -1,10 +1,10 @@ name:                   geojson-version:                4.1.0+version:                4.1.1 license:                BSD3 license-file:           LICENCE author:                 Dom De Re maintainer:             Andrew Newman-copyright:              Copyright (C) 2013-2021+copyright:              Copyright (C) 2013-2023 synopsis:               A thin GeoJSON Layer above the aeson library category:               Data description:            A thin GeoJSON Layer above the aeson library.@@ -27,7 +27,7 @@ source-repository       this     type:               git     location:           https://github.com/zellige/hs-geojson.git-    tag:                4.1.0+    tag:                4.1.1  library     hs-source-dirs:     src@@ -37,7 +37,7 @@                     ,   deepseq         >= 1.4.2.0 && < 1.5                     ,   lens            >= 4.11                     ,   semigroups      >= 0.16-                    ,   text            >= 1.2.3.0 && < 1.3+                    ,   text            >= 1.2.3.0 && < 2.1                     ,   scientific      >= 0.2.0 && < 0.4                     ,   transformers    >= 0.3 && < 0.7                     ,   validation      >= 1 && < 2.0@@ -66,16 +66,17 @@     hs-source-dirs:     test     main-is:            Main.hs     type:               exitcode-stdio-1.0-    build-depends:      base            >= 4.9 && < 5-                    ,   aeson           >= 2.0.1.0 && < 3-                    ,   bytestring      >= 0.10.8.1 && < 0.12-                    ,   containers      >= 0.5.7.1  && < 0.7+    build-depends:      base              >= 4.9 && < 5+                    ,   aeson             >= 2.0.1.0 && < 3+                    ,   bytestring        >= 0.10.8.1 && < 0.12+                    ,   containers        >= 0.5.7.1  && < 0.7                     ,   geojson-                    ,   tasty-                    ,   tasty-hspec-                    ,   tasty-quickcheck-                    ,   text            >= 1.2.3.0  && < 1.3-                    ,   validation      >= 1 && < 2.0+                    ,   hspec             >= 2.5 && < 2.10+                    ,   tasty             >= 0.8 && <0.13 || >=1.0 && <1.5+                    ,   tasty-hspec       >= 1.2 && < 1.3+                    ,   tasty-quickcheck  >= 0.3 && <0.9 || >=0.9.1 && <0.11+                    ,   text              >= 1.2.3.0  && < 2.1+                    ,   validation        >= 1 && < 2.0     other-modules:      Arbitrary                     ,   Fixture                     ,   Data.LinearRingTests
test/Data/Geospatial/Internal/CRSTests.hs view
@@ -7,14 +7,16 @@ -- Local import Data.Geospatial.Internal.CRS import Fixture-import Test.Tasty-import Test.Tasty.Hspec+import Test.Hspec   ( Spec,     context,     describe,     it,     shouldBe,-    testSpec,+  )+import Test.Tasty+import Test.Tasty.Hspec+  ( testSpec,   )  -- Tests
test/Data/Geospatial/Internal/GeoFeatureCollectionTests.hs view
@@ -3,8 +3,17 @@ import qualified Data.Aeson as A -- Local import Fixture+import Test.Hspec+  ( Spec,+    context,+    describe,+    it,+    shouldBe,+  ) import Test.Tasty-import Test.Tasty.Hspec (Spec, describe, it, shouldBe, testSpec)+import Test.Tasty.Hspec+  ( testSpec,+  )  -- Tests 
test/Data/Geospatial/Internal/GeoFeatureTests.hs view
@@ -3,8 +3,17 @@ import qualified Data.Aeson as A -- Local import Fixture+import Test.Hspec+  ( Spec,+    context,+    describe,+    it,+    shouldBe,+  ) import Test.Tasty-import Test.Tasty.Hspec (Spec, describe, it, shouldBe, testSpec)+import Test.Tasty.Hspec+  ( testSpec,+  )  -- Tests 
test/Data/Geospatial/Internal/GeometryTests.hs view
@@ -7,13 +7,16 @@ -- Local import Data.Geospatial.Internal.Geometry import Fixture-import Test.Tasty-import Test.Tasty.Hspec+import Test.Hspec   ( Spec,+    context,     describe,     it,     shouldBe,-    testSpec,+  )+import Test.Tasty+import Test.Tasty.Hspec+  ( testSpec,   )  -- Tests
test/Data/LineStringTests.hs view
@@ -6,14 +6,16 @@ import qualified Data.LineString as LineString import qualified Data.Sequence as Sequence import Data.Validation (Validation (..))-import Test.Tasty-import Test.Tasty.Hspec+import Test.Hspec   ( Spec,     context,     describe,     it,     shouldBe,-    testSpec,+  )+import Test.Tasty+import Test.Tasty.Hspec+  ( testSpec,   ) import Test.Tasty.QuickCheck   ( Property,
test/Data/LinearRingTests.hs view
@@ -7,14 +7,16 @@ import qualified Data.List.NonEmpty as ListNonEmpty import qualified Data.Sequence as Sequence import qualified Data.Validation as Validation-import Test.Tasty-import Test.Tasty.Hspec+import Test.Hspec   ( Spec,     context,     describe,     it,     shouldBe,-    testSpec,+  )+import Test.Tasty+import Test.Tasty.Hspec+  ( testSpec,   ) import Test.Tasty.QuickCheck   ( Property,
test/Data/SeqHelperTests.hs view
@@ -4,8 +4,22 @@ import Arbitrary () import qualified Data.SeqHelper as SeqHelper import qualified Data.Sequence as Sequence+import Test.Hspec+  ( Spec,+    context,+    describe,+    it,+    shouldBe,+  ) import Test.Tasty-import Test.Tasty.Hspec (Spec, describe, it, shouldBe, testSpec)+import Test.Tasty.Hspec+  ( testSpec,+  )+import Test.Tasty.QuickCheck+  ( Property,+    property,+    testProperty,+  )  -- Tests