geojson 1.0.0 → 1.0.1
raw patch · 3 files changed
+13/−16 lines, 3 files
Files
- CHANGELOG.md +9/−0
- etc/CHANGELOG.md +0/−9
- geojson.cabal +4/−7
+ CHANGELOG.md view
@@ -0,0 +1,9 @@+# 1.0.x++## 0.0.2 -> 2.0.0++- Migrated from `json` to `aeson`, all `JSON` instances were removed and replaced with `ToJSON` and `FromJSON` instances+- `GeoFeature` and `GeoFeatureCollection` are now of kind `* -> *`, parameterised on the Property type, `GeoFeature a` and `GeoFeatureCollection a` are in `ToJSON` and/or `FromJSON` if `a` is in `ToJSON` and/or `FromJSON` respectively.+- Lenses and prisms have been generated for each of the types.+- Orphan Instances were removed. Orphan Instances are bad. Breaking type class coherency had some rather annoying consequences, you only need to import `Data.Geospatial` now and the `ToJSON` and `FromJSON` instances will come with it. I wanted to split up the files and thought seperating the instances from the declarations was a good idea but it wasnt. Instead I split the data types into seperate modules and kept the instances with their respective data type declarations.+
− etc/CHANGELOG.md
@@ -1,9 +0,0 @@-# 1.0.x--## 0.0.2 -> 2.0.0--- Migrated from `json` to `aeson`, all `JSON` instances were removed and replaced with `ToJSON` and `FromJSON` instances-- `GeoFeature` and `GeoFeatureCollection` are now of kind `* -> *`, parameterised on the Property type, `GeoFeature a` and `GeoFeatureCollection a` are in `ToJSON` and/or `FromJSON` if `a` is in `ToJSON` and/or `FromJSON` respectively.-- Lenses and prisms have been generated for each of the types.-- Orphan Instances were removed. Orphan Instances are bad. Breaking type class coherency had some rather annoying consequences, you only need to import `Data.Geospatial` now and the `ToJSON` and `FromJSON` instances will come with it. I wanted to split up the files and thought seperating the instances from the declarations was a good idea but it wasnt. Instead I split the data types into seperate modules and kept the instances with their respective data type declarations.-
geojson.cabal view
@@ -1,20 +1,17 @@ name: geojson-version: 1.0.0+version: 1.0.1 license: BSD3 license-file: etc/LICENCE.md author: Dom De Re maintainer: Dom De Re copyright: Copyright (C) 2013-2014-synopsis: A thin GeoJSON Layer above the json library+synopsis: A thin GeoJSON Layer above the aeson library category: Data-description: A thin GeoJSON Layer above the json library.+description: A thin GeoJSON Layer above the aeson library. . It currently conforms to version 1.0 of the GeoJSON spec which can be found here: . <http://geojson.org/geojson-spec.html>- .- Its built on top of the `json` library and doesn't currently take- advantage of laziness as much as it could, so those are areas for improvement homepage: https://github.com/domdere/hs-geojson/issues bug-reports: https://github.com/domdere/hs-geojson/issues@@ -22,7 +19,7 @@ build-type: Custom tested-with: GHC == 7.6.3 extra-source-files: README.md,- etc/CHANGELOG.md+ CHANGELOG.md source-repository head type: git