Up to [cvs.NetBSD.org] / pkgsrc / converters / hs-aeson
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
converters/hs-aeson: Update to 2.2.1.0 The change log is too long to paste here. See https://hackage.haskell.org/package/aeson-2.2.1.0/changelog
converters/hs-aeson: Update to 2.1.1.0 2.1.1.0 * Add Data.Aeson.KeyMap.!? (flipped) alias to Data.Aeson.KeyMap.lookup. * Add Data.Aeson.KeyMap.insertWith function. * Use unsafeDupablePerformIO instead of incorrect accursedUnutterablePerformIO in creation of keys in TH serialisation. This fixes a bug in TH deriving, e.g. when Strict pragma was enabled.
hs-aeson: allow building against hs-vector 0.14
hs-aeson: update to 2.1.0.0. ### 2.1.0.0 - Change time instances of types with year (`Day`, `UTCTime`) to require years with at least 4 digits. - Change `KeyValue` instances to be more general (and use equality to constraint them) instead of being more lax flexible instances. - Export `Key` type also from `Data.Aeson.KeyMap` module. - Export `mapWithKey` from `Data.Aeson.KeyMap` module. - Export `ifromJSON` and `iparse` from `Data.Aeson.Types`. Add `iparseEither`. - Add `MonadFix Parser` instance. - Make `Semigroup Series` slightly lazier - Add instances for `Generically` type
Update to aeson-2.0.3.0 2.0.3.0 * text-2.0 support * bytestring-0.11.2.0 support * Rewrite pure text literal unescaper. * Add QuickCheck's Arbitrary, CoArbitrary and Function instances 2.0.2.0 * Add IsList (KeyMap v) instance. * Add toMapText and fromMapText to Data.Aeson.KeyMap. * Add ShortText instances * Add Solo instances 2.0.1.0 * Add FromJSON KeyMap instance. * Make ordered-keymap on by default. 2.0.0.0 * Remove forced -O2 and then unneeded fast flag. Also remove most of INLINE pragmas. In the effect, aeson compiles almost twice as fast. * To get fast compilation effect cabal-install users may specify optimization: False. * Make map type used by Object abstract so the underlying implementation can be modified, thanks to Callan McGill * Add ordered-keymap flag allowing to change the underlying implementation of object KeyMap. * Drop GHC-7 support * Remove Data.Aeson.Encode module * Double and Float infinities are encoded as "+inf" and "-inf". Change To/FromJSONKey instances to use "+inf" and "-inf" too. * FromJSON () and FromJSON (Proxy tag) accept any JSON value.
converters: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes
converters: Remove SHA1 hashes for distfiles
Update to aeson-1.5.6.0 1.5.6.0 * Make Show Value instance print object keys in lexicographic order. 1.5.5.1 * Fix a bug in FromJSON QuarterOfYear instance. 1.5.5.0 * Add instances for Month, Quarter and QuarterOfYear (from time-1.11), thanks to Oleg Grenrus. * The aeson repository has been moved to the haskell github organization! 1.5.4.1 * Use Text.Encoding.decodeLatin1 to speed up ASCII string decoding, thanks to Dmitry Ivanov. * Support bytestring 0.11.* and th-abstraction 0.4.*, thanks to Oleg Grenrus. 1.5.4.0 * Add instances for ToJSONKey and FromJSONKey to Const, thanks to Dan Fithian. * Add support for template-haskell 2.17, thanks to Galen Huntington. * Documentation typo fix, thanks to Jean-Baptiste Mazon. 1.5.3.0 * Add instances for types in strict and data-fix packages, thanks to Oleg Grenrus. * CPP cleanup, thanks to Oleg Grenrus. * Instances for dlist's Data.DList.DNonEmpty.DNonEmpty, thanks to Oleg Grenrus. 1.5.2.0 * Add Ord Value instance, thanks to Oleg Grenrus. * Export rejectUnknownFields from Data.Aeson 1.5.1.0 * Add instances for these, thanks to Oleg Grenrus. 1.5.0.0 * Fix bug in rejectUnknownFields not respecting fieldLabelModifier, thanks to Markus Schirp. * GFromJSON members are no longer exported from Data.Aeson(.Types), if you are using gParseJSON consider switching to gParseJSON', thanks to Oleg Grenrus. * Aeson no longer accepts unescaped control characters, thanks to Oleg Grenrus. * Remove CoerceText since GHC >=7.8 has Coercible, thanks to Oleg Grenrus. * Rename the GToJSON class to GToJSON' and expose it, thanks to Oleg Grenrus. 1.4.7.1 * GHC 8.10 compatibility, thanks to Ryan Scott. 1.4.7.0 Long overdue release (once again), so there's quite a bit of stuff included even though it's a "minor" release. Big thanks to all the contributors, the project would not exist without you! Special thanks to Oleg Grenrus and Xia Li-Yao for reviewing tons of stuff. New stuff: * Add rejectUnknownFields to Options which rejects unknown fields on deserialization. Useful to find errors during development, but enabling this should be considered a breaking change as previously accepted inputs may now be rejected. Thanks to rmanne. * FromJSON instance of Ratio a now parses numbers in addtion to standard {numerator=..., denumerator=...} encoding. Thanks to Aleksey Khudyakov. * Add more information to parse errors, including a sample of the surrounding text. Hopefully this will lead to less "Failed to read: satisfy" confusion! Thanks to Sasha Bogicevic. We expect some downstream test suites to break because of this, apologies in advance. Hopefully you will like the improvement anyway :-) * Add parseFail to Data.Aeson.Types. parseFail = fail but doesn't require users to know about MonadFail. Thanks to Colin Woodbury. * Make Template Haskell type family detection smarter when deriving ToJSON1 instances, thanks to Ryan Scott. * Optimize string parsing for the common case of strings without escapes, thanks to Yuras. Misc: * Clean up compiler warnings and switch from base-compat to base-compat-batteries. Thanks to Colin Woodbury & Oleg Grenrus. * Clarification & fixes to documentation regarding treatment of Maybe fields, thanks to Roman Cheplyaka. * Add documentation for internal development workflows. Thanks to Guru Devanla. * Drop support for GHC < 7.8. We've chosen to support older GHCs as long as it doesn't prevent us from adding new features, but now it does! Thanks to Oleg Grenrus for the patch. * Allow generic-deriving 1.13 in test suite. * Some DRY fixes thanks to Mark Fajkus.
Update to aeson-1.4.6.0 The list of changes from previous aeson-0.7.0.6 is too long to paste here. See http://hackage.haskell.org/package/aeson-1.4.6.0/changelog
Add SHA512 digests for distfiles for converters category Problems found with existing distfile: distfiles/libiconv-1.13-cp932.patch.gz No changes made to the libiconv distinfo file. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Import aeson-0.7.0.6 as converters/hs-aeson, packaged for wip. A JSON parsing and encoding library optimized for ease of use and high performance. To get started, see the documentation for the Data.Aeson module. (A note on naming: in Greek mythology, Aeson was the father of Jason.)