Commit graph

5 commits

Author SHA1 Message Date
pho
4d74cf7192 *: Bump PKGREVISION for ghc-9.0.1 2021-05-03 19:00:52 +00:00
pho
42871c9685 Update to yaml-0.11.5.0
0.11.5.0
* New functions capable of parsing YAML streams containing multiple
  documents into a list of results:
  - decodeAllEither'
  - decodeAllFileEither
  - decodeAllFileWithWarnings
  - decodeAllThrow
  - decodeAllFileThrow

0.11.4.0
* add ToYaml instance for String #186

0.11.3.0
* Don't wrap up async exceptions #185
2021-04-24 15:24:23 +00:00
rillig
15fe9894e6 hs-*: add PLIST files
These PLIST files have been autogenerated by mk/haskell.mk using
HS_UPDATE_PLIST=yes during a bulk build.  They will help to track changes
to the packages.  The Haskell packages didn't have PLIST files because
their paths contained package hashes.  These hashes are now determined by
mk/haskell.mk, which makes it easy to generate easy to read PLIST files.
2020-05-11 17:51:58 +00:00
pho
db45a8b34d Update to yaml-0.11.2.0
0.11.2.0
* Reduces some of the code duplication between the encode and
  encodePretty functions
* The output of encodePretty has been improved:
  * Multiline strings now use Literal style instead of SingleQuoted
  * Special keys are now quoted in mappings #179
* Support for complex keys in mappings: #182
  * Adds complexMapping function to Data.Yaml.Builder
  * Decode functions now return a NonStringKey error when attempting
    to decode a mapping with a complex key as it is not possible to
    decode these to an Aeson Value
* Adds missing ToYaml instances

0.11.1.2
* Compiles with GHC 8.8.1 (MonadFail split)

0.11.1.1
* Use the appropriate Scientific rendering function to avoid a memory
  overflow when rendering. The previously used function from aeson
  would not use scientific notation, and could use large amounts of
  memory for values such as 1e9999999999999.

0.11.1.0
* Better error messages in the Data.Yaml.Config module #168
* Add LoadSettingsException exception and remove error printing from
  loadYamlSettings #172

0.11.0.0
* Split out the libyaml and Text.Libyaml code into its own
  package. #145

0.10.4.0
* Add decodeMarked and decodeFileMarked functions to Text.Libyaml, and
  extend native bindings to extract mark information. #157

0.10.3.0
* Add support for anchors and aliases to Data.Yaml.Builder #155
* Fix test suite for 32 bit machines #158

0.10.2.0
* Add EncodeOptions and FormatOptions to control the style of the
  encoded YAML. #153
* Default to using literal style for multiline strings #152

0.10.1.1
* Correctly declare libyaml dependency on system-libyaml flag #151

0.10.1
* Avoid incurring a semigroups dependency on recent GHCs.
* Fix a space leak that was introduced with 0.10.0 #147

0.10.0
* Add decodeFileWithWarnings which returns warnings for duplicate
  fields

0.9.0
* Expose style and tags on mappings and sequences in Text.Libyaml #141

0.8.32

* Escape keys as necessary #137
* Support hexadecimal and octal number values #135
* More resilient isNumeric (should reduce cases of unneeded quoting)
* hpackify
* src subdir

0.8.31.1
* Add a workaround for a cabal bug haskell-infra/hackage-trustees#165

0.8.31
* Add decodeThrow and decodeFileThrow convenience functions.
* Upgrade libyaml versions
* Deprecate decode and decodeEither
2020-01-11 11:08:49 +00:00
pho
e37a3f2304 Import yaml-0.8.30 from wip
Provides support for parsing and emitting Yaml documents.

Data.Yaml provides a high-level interface based around the JSON
datatypes provided by the aeson package. It uses Text.Libyaml from
libyaml in its implementation of the low-level yaml encoder/decoder.
2020-01-03 08:03:05 +00:00