Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-citeproc for openSUSE:Factory checked in at 2021-03-10 08:56:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-citeproc (Old) and /work/SRC/openSUSE:Factory/.ghc-citeproc.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-citeproc" Wed Mar 10 08:56:15 2021 rev:9 rq:877978 version:0.3.0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-citeproc/ghc-citeproc.changes 2021-02-16 22:45:23.702338491 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-citeproc.new.2378/ghc-citeproc.changes 2021-03-10 08:58:04.762940020 +0100 @@ -1,0 +2,10 @@ +Wed Mar 3 16:35:42 UTC 2021 - [email protected] + +- Update citeproc to version 0.3.0.8. + ## 0.3.0.8 + + * In parsing abbreviations JSON, ignore top-level fields + besides "default" (#57), e.g. "info" which is used in Zotero's + default abbreviations file. + +------------------------------------------------------------------- Old: ---- citeproc-0.3.0.7.tar.gz New: ---- citeproc-0.3.0.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-citeproc.spec ++++++ --- /var/tmp/diff_new_pack.V2UXVh/_old 2021-03-10 08:58:05.274940548 +0100 +++ /var/tmp/diff_new_pack.V2UXVh/_new 2021-03-10 08:58:05.278940553 +0100 @@ -19,7 +19,7 @@ %global pkg_name citeproc %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.0.7 +Version: 0.3.0.8 Release: 0 Summary: Generates citations and bibliography from CSL styles License: BSD-2-Clause ++++++ citeproc-0.3.0.7.tar.gz -> citeproc-0.3.0.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/citeproc-0.3.0.7/CHANGELOG.md new/citeproc-0.3.0.8/CHANGELOG.md --- old/citeproc-0.3.0.7/CHANGELOG.md 2021-02-01 20:05:27.000000000 +0100 +++ new/citeproc-0.3.0.8/CHANGELOG.md 2021-03-02 23:53:04.000000000 +0100 @@ -1,5 +1,11 @@ # citeproc changelog +## 0.3.0.8 + + * In parsing abbreviations JSON, ignore top-level fields + besides "default" (#57), e.g. "info" which is used in Zotero's + default abbreviations file. + ## 0.3.0.7 * Remove check for ASCII in case transform code. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/citeproc-0.3.0.7/citeproc.cabal new/citeproc-0.3.0.8/citeproc.cabal --- old/citeproc-0.3.0.7/citeproc.cabal 2021-02-01 20:05:33.000000000 +0100 +++ new/citeproc-0.3.0.8/citeproc.cabal 2021-03-02 23:53:19.000000000 +0100 @@ -1,6 +1,6 @@ cabal-version: 2.2 name: citeproc -version: 0.3.0.7 +version: 0.3.0.8 synopsis: Generates citations and bibliography from CSL styles. description: citeproc parses CSL style files and uses them to generate a list of formatted citations and bibliography diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/citeproc-0.3.0.7/src/Citeproc/Types.hs new/citeproc-0.3.0.8/src/Citeproc/Types.hs --- old/citeproc-0.3.0.7/src/Citeproc/Types.hs 2021-01-30 21:22:07.000000000 +0100 +++ new/citeproc-0.3.0.8/src/Citeproc/Types.hs 2021-02-23 00:10:56.000000000 +0100 @@ -1608,12 +1608,8 @@ deriving (Show, Eq, Ord) instance FromJSON Abbreviations where - parseJSON (Object v) = - Abbreviations <$> - (parseJSON (Object v) >>= maybe - (fail "abbreviations lacks a default key") - return . M.lookup ("default" :: Text)) - parseJSON _ = fail "Could not read abbreviations" + parseJSON = withObject "Abbreviations" $ \v -> + Abbreviations <$> v .: "default" instance ToJSON Abbreviations where toJSON (Abbreviations m) =
