Skip to content

Latest commit

 

History

History
345 lines (252 loc) · 13.4 KB

CHANGELOG.md

File metadata and controls

345 lines (252 loc) · 13.4 KB

1.7.13

1.7.12

  • Build against dhall-1.42

1.7.11

1.7.10

1.7.9

1.7.8

1.7.7

  • Build against dhall-1.39.0

1.7.6

1.7.5

  • Build against dhall-1.38.0, tasty-1.4, and tasty-silver-3.2

1.7.4

  • Build against dhall-1.37.0

1.7.3

1.7.2

1.7.1

1.7.0

1.6.4

1.6.3

1.6.2

  • Fix dhall-json for new Prelude.JSON.Type
    • Version 13.0.0 of the Prelude caused the JSON type to change, which broke dhall-json's support for that type
    • This release fixes that (and still supports the old JSON type)

1.6.1

1.6.0

1.5.0

1.4.1

1.4.0

  • BREAKING CHANGE: Split Dhall.YAML into Dhall.YAML + Dhall.YAMLToDhall
  • BUG FIX: Fix dhall-to-{json,yaml}'s support for preserving alternative names
    • The Nested/Inline unions are now correctly given special treatment again
    • See: #1080
  • Feature: Support weakly-typed JSON value added to Prelude
    • You can now encode/decode values of type ./Prelude/JSON/Type which can store arbitrary JSON
    • This is useful when dealing with "pass-through" or schema-free JSON values
    • See: #1007
  • Feature: Eta support for dhall-json
  • Feature: Add --file option to dhall-json executables
  • Feature: Support unions for keys
    • You can now decode record fields as enums instead of Text so that you can pattern match on them
    • See: #1094
  • Pretty-print output of {json,yaml}-to-dhall

1.3.0

  • BREAKING CHANGE: Change YAML/JSON encoding for NaN/Infinity/-Infinity
    • They are now encoded as the standard "nan"/"inf"/"-inf" representations instead of null/MIN_DOUBLE//MAX_DOUBLE
    • See: #946
  • BREAKING CHANGE: Isolate YAML code to one modulee
    • This is a breaking change because it moves Dhall.JSON.jsonToYaml to Dhall.YAML.jsonToYaml
    • See: #989
  • New yaml-to-dhall command-line utility
  • Add --quoted flag to force quoting of YAML string literals

1.2.8

  • New json-to-dhall command-line utility
  • --omitEmpty now also omits empty arrays
  • Build against dhall-1.22.0
  • Improved error messages:

1.2.7

  • Build against dhall-1.21.0
  • Support GHC 7.10.3
  • Add new --omitEmpty flag for omitting nulls and empty records

1.2.6

  • Add --version flag
  • Build against tasty-1.2
  • Add --compact flag to dhall-to-json
    • Eventually --pretty will become the default, so this flag provides a way for a user to preserve the old 1-line output when that happens
    • See: #743

1.2.5

1.2.4

1.2.3

  • Correctly handle nested association lists
  • Increase upper bound on dhall dependency
  • Increase upper bound on yaml dependency

1.2.2

  • Increase upper bound on dhall dependency
  • Increase upper bound on yaml dependency

1.2.1

  • Add support for preserving sum type tags
  • Sort keys when pretty-printing JSON
  • Increase upper bound on dhall dependency

1.2.0

  • BREAKING CHANGE: Add support for converting association lists to JSON records
    • This changes the behavior for records with two keys named mapKey and mapValue
  • Fix --help to not print ExitSuccess
  • Fix lower bound on dhall dependency
  • Remove optparse-generic dependency
  • Increase upper bound on dhall dependency

1.1.0

  • BREAKING CHANGE: Build against dhall-1.13.0
    • This requires a breaking change to the type of codeToValue

1.0.13

  • Add --omitNull flag to omit null-valued fields from generated JSON records
  • Add codeToValue
  • Increase upper bound on dhall dependency

1.0.12

  • Increase upper bound on aeson dependency
  • Increase upper bound on dhall dependency

1.0.11

  • Increase upper bound on dhall dependency
  • Increase upper bound on optparse-generic dependency

1.0.10

  • Increase upper bound on dhall dependency

1.0.9

  • Add trailing newline to JSON output
  • Remove dependency on QuasiQuotes

1.0.8

  • Increase upper bound on dhall dependency

1.0.7

  • Add --pretty flag
  • Increase upper bound on dhall dependency

1.0.6

  • Increase upper bound on aeson dependency
  • Increase upper bound on dhall dependency

1.0.5

  • Increase upper bound on optparse-generic dependency
  • Increase upper bound on trifecta dependency

1.0.4

  • Increase upper bound on dhall dependency

1.0.3

  • Increase upper bound on dhall dependency

1.0.2

  • Add support for translating unions by stripping the tag
  • Increase upper bound on dhall dependency

1.0.1

  • Increase upper bound on dhall dependency

1.0.0

  • Initial release