avro v0.4.2.0 Release Notes
Release Date: 2019-02-06 // about 5 years ago-
๐ Changes
- ๐ Build and release with Cabal by @AlexeyRaga
- ๐ Fix deriving for GHC 7.10.3 by @AlexeyRaga
- โ Remove travis CI by @AlexeyRaga
- ๐ Merge pull request #76 from haskell-works/cabal-build Cabal build by @AlexeyRaga
- โก๏ธ updated orb by @AlexeyRaga
- โก๏ธ Merge pull request #77 from haskell-works/v2-build updated orb by @AlexeyRaga
- ๐ Fixed parsing unions with arrays and maps in JSON. An Avro union can contain up to one array and one map type as options. In JSON, a value of a union that is an array is represented as follows:
{ "array" : [1,2,3] }
and maps are{ "map" : { "a" : 1, "b" : 2 } }
Currently, trying to parse an object like this with an appropriate schema gives us the following error:Error "Type 'array' not in union: Array {item = String} :| [Map {values = Long}]"
After this PR, these objects will be parsed correctly according to the schema. by @TikhonJelvis - ๐ Moved isPrimitiveType function to be a helper for decodeAvroJSON. by @TikhonJelvis
- ๐ Merge pull request #79 from TikhonJelvis/array-and-map-unions Fixed parsing unions with arrays and maps in JSON. by @AlexeyRaga
- โก๏ธ Update CI by @AlexeyRaga
- ๐ Release v0.4.2.0 by @AlexeyRaga