Hello community,

here is the log from the commit of package ghc-aeson for openSUSE:Factory 
checked in at 2020-05-11 13:33:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-aeson (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-aeson.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-aeson"

Mon May 11 13:33:06 2020 rev:26 rq:800998 version:1.4.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-aeson/ghc-aeson.changes      2019-12-27 
13:51:18.880571148 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-aeson.new.2738/ghc-aeson.changes    
2020-05-11 13:35:00.816320142 +0200
@@ -1,0 +2,67 @@
+Wed May  6 06:54:16 UTC 2020 - [email protected]
+
+- Update aeson to version 1.4.7.1.
+  #### 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.
+
+  ```
+  instance FromJSON Foo where
+    parseJSON = gParseJSON defaultOptions { rejectUnknownFields = True }
+  ```
+
+  * `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.
+
+-------------------------------------------------------------------

Old:
----
  aeson-1.4.6.0.tar.gz

New:
----
  aeson-1.4.7.1.tar.gz
  aeson.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-aeson.spec ++++++
--- /var/tmp/diff_new_pack.RHz6XM/_old  2020-05-11 13:35:01.924322465 +0200
+++ /var/tmp/diff_new_pack.RHz6XM/_new  2020-05-11 13:35:01.928322474 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-aeson
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,16 @@
 %global pkg_name aeson
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.4.6.0
+Version:        1.4.7.1
 Release:        0
 Summary:        Fast JSON parsing and encoding
 License:        BSD-3-Clause
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-attoparsec-devel
-BuildRequires:  ghc-base-compat-devel
+BuildRequires:  ghc-base-compat-batteries-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-deepseq-devel
@@ -48,6 +49,7 @@
 %if %{with tests}
 BuildRequires:  ghc-Diff-devel
 BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-base-compat-devel
 BuildRequires:  ghc-base-orphans-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-directory-devel
@@ -82,6 +84,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ aeson-1.4.6.0.tar.gz -> aeson-1.4.7.1.tar.gz ++++++
++++ 1739 lines of diff (skipped)

++++++ aeson.cabal ++++++
name:            aeson
version:         1.4.7.1
x-revision: 1
license:         BSD3
license-file:    LICENSE
category:        Text, Web, JSON
copyright:       (c) 2011-2016 Bryan O'Sullivan
                 (c) 2011 MailRank, Inc.
author:          Bryan O'Sullivan <[email protected]>
maintainer:      Adam Bergmark <[email protected]>
stability:       experimental
tested-with:     GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC 
== 8.0.1
synopsis:        Fast JSON parsing and encoding
cabal-version:   >= 1.10
homepage:        https://github.com/bos/aeson
bug-reports:     https://github.com/bos/aeson/issues
build-type:      Simple
description:
    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
    below.
    .
    (A note on naming: in Greek mythology, Aeson was the father of Jason.)

extra-source-files:
    *.yaml
    README.markdown
    benchmarks/*.cabal
    benchmarks/*.hs
    benchmarks/*.py
    benchmarks/Compare/*.hs
    benchmarks/Makefile
    benchmarks/Typed/*.hs
    benchmarks/json-data/*.json
    cbits/*.c
    changelog.md
    examples/*.cabal
    examples/*.hs
    examples/Twitter/*.hs
    ffi/Data/Aeson/Parser/*.hs
    include/*.h
    tests/JSONTestSuite/test_parsing/*.json
    tests/JSONTestSuite/test_transform/*.json
    tests/golden/*.expected
    pure/Data/Aeson/Parser/*.hs

flag developer
  description: operate in developer mode
  default: False
  manual: True

flag fast
  description: compile without optimizations
  default: False
  manual: True

flag bytestring-builder
  description: Depend on the bytestring-builder package for backwards 
compatibility.
  default: False
  manual: False

flag cffi
  description: Controls whether to include c-ffi bits or pure haskell. Default 
to False for security.
  default: False
  manual: True

library
  default-language: Haskell2010
  hs-source-dirs: . attoparsec-iso8601/

  exposed-modules:
    Data.Aeson
    Data.Aeson.Encoding
    Data.Aeson.Parser
    Data.Aeson.Text
    Data.Aeson.Types
    Data.Aeson.TH
    Data.Aeson.QQ.Simple

    Data.Aeson.Encoding.Internal
    Data.Aeson.Internal
    Data.Aeson.Internal.Time
    Data.Aeson.Parser.Internal

  -- Deprecated modules
  exposed-modules:
    Data.Aeson.Encode

  other-modules:
    Data.Aeson.Encoding.Builder
    Data.Aeson.Internal.Functions
    Data.Aeson.Parser.Unescape
    Data.Aeson.Parser.Time
    Data.Aeson.Types.FromJSON
    Data.Aeson.Types.Generic
    Data.Aeson.Types.ToJSON
    Data.Aeson.Types.Class
    Data.Aeson.Types.Internal
    Data.Attoparsec.Time
    Data.Attoparsec.Time.Internal

  -- GHC bundled libs
  build-depends:
    base             >= 4.7.0.0 && < 5,
    bytestring       >= 0.10.4.0 && < 0.11,
    containers       >= 0.5.5.1 && < 0.7,
    deepseq          >= 1.3.0.0 && < 1.5,
    ghc-prim         >= 0.2     && < 0.7,
    template-haskell >= 2.9.0.0 && < 2.17,
    text             >= 1.2.3.0 && < 1.3,
    time             >= 1.4     && < 1.11

  if impl(ghc >= 8.0)
    build-depends: bytestring >= 0.10.8.1

  -- Compat
  build-depends:
    base-compat-batteries >= 0.10.0   && < 0.12,
    time-compat           >= 1.9.2.2  && < 1.10

  if !impl(ghc >= 8.6)
    build-depends:
      contravariant >=1.4.1    && <1.6

  if !impl(ghc >= 8.0)
    -- `Data.Semigroup` and `Control.Monad.Fail` and `Control.Monad.IO.Class` 
are available in base only since GHC 8.0 / base 4.9
    build-depends:
      semigroups          >= 0.18.5  && < 0.20,
      transformers        >= 0.3.0.0 && < 0.6,
      transformers-compat >= 0.6.2   && < 0.7,
      fail == 4.9.*

  if !impl(ghc >= 7.10)
    -- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8
    build-depends: nats >= 1.1.1 && < 1.2,
                   void >= 0.7.2 && < 0.8

  -- cannot use latest version
  build-depends:
    unordered-containers >= 0.2.8.0  && < 0.3,

    -- not in LTS-12.10
    tagged               >= 0.8.5    && < 0.9,
    primitive            >= 0.6.3.0  && < 0.8

  -- Other dependencies
  build-depends:
    attoparsec           >= 0.13.2.2 && < 0.14,
    dlist                >= 0.8.0.4  && < 0.9,
    hashable             >= 1.2.7.0  && < 1.4,
    scientific           >= 0.3.6.2  && < 0.4,
    th-abstraction       >= 0.2.8.0  && < 0.4,
    uuid-types           >= 1.0.3    && < 1.1,
    vector               >= 0.12.0.1 && < 0.13

  ghc-options: -Wall

  if flag(developer)
    ghc-options: -Werror
    ghc-prof-options: -auto-all

  if flag(fast)
    ghc-options: -O0
  else
    ghc-options: -O2

  include-dirs: include
  if impl(ghcjs) || !flag(cffi)
    hs-source-dirs: pure
    other-modules: Data.Aeson.Parser.UnescapePure
  else
    c-sources: cbits/unescape_string.c
    cpp-options: -DCFFI
    hs-source-dirs: ffi
    other-modules: Data.Aeson.Parser.UnescapeFFI

test-suite tests
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: tests ffi pure
  main-is: Tests.hs
  c-sources: cbits/unescape_string.c
  ghc-options: -Wall -threaded -rtsopts

  other-modules:
    Data.Aeson.Parser.UnescapeFFI
    Data.Aeson.Parser.UnescapePure
    DataFamilies.Properties
    DataFamilies.Instances
    DataFamilies.Encoders
    DataFamilies.Types
    Encoders
    ErrorMessages
    Functions
    Instances
    Options
    PropUtils
    Properties
    PropertyGeneric
    PropertyKeys
    PropertyRoundTrip
    PropertyRTFunctors
    PropertyTH
    SerializationFormatSpec
    Types
    UnitTests
    UnitTests.NullaryConstructors

  build-depends:
    QuickCheck >= 2.10.0.1 && < 2.14,
    aeson,
    integer-logarithms >= 1 && <1.1,
    attoparsec,
    base,
    base-compat,
    base-orphans >= 0.5.3 && <0.9,
    base16-bytestring,
    containers,
    directory,
    dlist,
    Diff >= 0.4 && < 0.5,
    filepath,
    generic-deriving >= 1.10 && < 1.14,
    ghc-prim >= 0.2,
    hashable >= 1.2.4.0,
    scientific,
    tagged,
    template-haskell,
    tasty,
    tasty-golden,
    tasty-hunit,
    tasty-quickcheck,
    text,
    time,
    time-compat,
    unordered-containers,
    uuid-types,
    vector,
    quickcheck-instances >= 0.3.21 && <0.4

  if flag(bytestring-builder)
    build-depends: bytestring >= 0.9 && < 0.10.4,
                   bytestring-builder >= 0.10.4 && < 1
  else
    build-depends: bytestring >= 0.10.4

  if !impl(ghc >= 8.0)
    build-depends:
      semigroups >= 0.18.2 && < 0.20,
      transformers >= 0.2.2.0,
      transformers-compat >= 0.3

  if !impl(ghc >= 7.10)
    build-depends: nats >=1 && <1.2,
                   void >=0.7.2 && <0.8

  if impl(ghc >= 7.8)
    build-depends: hashable-time >= 0.2 && <0.3

  if flag(fast)
    ghc-options: -fno-enable-rewrite-rules

source-repository head
  type:     git
  location: git://github.com/bos/aeson.git

Reply via email to