geojson v0.0.2 Release Notes
-
- ๐ Migrated from
json
toaeson
, allJSON
instances were removed and replaced withToJSON
andFromJSON
instances -
GeoFeature
andGeoFeatureCollection
are now of kind* -> *
, parameterised on the Property type,GeoFeature a
andGeoFeatureCollection a
are inToJSON
and/orFromJSON
ifa
is inToJSON
and/orFromJSON
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 theToJSON
andFromJSON
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.
- ๐ Migrated from