Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-hledger-lib for openSUSE:Factory 
checked in at 2021-03-17 20:15:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hledger-lib (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hledger-lib.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hledger-lib"

Wed Mar 17 20:15:35 2021 rev:11 rq:879161 version:1.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hledger-lib/ghc-hledger-lib.changes  
2021-02-16 22:45:39.674359498 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-hledger-lib.new.2401/ghc-hledger-lib.changes    
    2021-03-17 20:19:35.635287913 +0100
@@ -1,0 +2,96 @@
+Thu Mar 11 08:23:02 UTC 2021 - [email protected]
+
+- Update hledger-lib to version 1.21.
+  # 1.21 2021-03-10
+
+  - Building Hledger.Data.Journal no longer fails if the monad-extras
+    package is installed.
+
+  - Many parts of the hledger-lib and hledger APIs have become more
+    Text-ified, expecting or returning Text instead of String, reducing
+    hledger's time and resident memory requirements by roughly 10%.
+    Some functions now use WideBuilder (a text "builder" which keeps track
+    of width), to concatenate text more efficiently. There are some
+    helpers for converting to and from WideBuilder (wbUnpack, wbToText..)
+    showAmountB/showMixedAmountB are new amount-displaying functions
+    taking an AmountDisplayOpts. These will probably replace the old
+    show(Mixed)Amount* functions. (#1427, Stephen Morgan)
+
+  - AtThen valuation is now implemented for all report types.
+    amountApplyValuation now takes the posting date as an argument.
+    (transaction/posting)ApplyValuation's valuation type and
+    transaction/posting arguments have been reordered like
+    amountApplyValuation's. (Stephen Morgan)
+
+  - Amount, AmountPrice, AmountStyle, DigitGroupStyle fields are now
+    strict. (Stephen Morgan)
+
+  - Amount prices are now stored with their sign, so negative prices can
+    be represented. (They seem to have always worked, but now the
+    internal representation is more accurate.) (Stephen Morgan)
+
+  - normaliseMixedAmount now combines Amounts with TotalPrices in the
+    same commodity. (Stephen Morgan)
+
+  - normaliseMixedAmount now uses a strict Map for combining amounts
+    internally, closing a big space leak. (Stephen Morgan)
+
+  - (multiply|divide)(Mixed)?Amount now also multiply or divide the
+    TotalPrice if it is present, and the old
+    (multiply|divide)(Mixed)?AmountAndPrice functions are removed. (Stephen 
Morgan)
+
+  - (amount|mixedAmount)(Looks|Is)Zero functions now check whether both
+    the quantity and the cost are zero. This is usually what you want,
+    but if you do only want to check whether the quantity is zero, you
+    can run mixedAmountStripPrices (or similar) before this. (Stephen Morgan)
+
+  - commodityStylesFromAmounts now consumes the list immediately,
+    reducing the maximum heap size per thread from ~850K to ~430K in a
+    real-world register report. (Stephen Morgan)
+
+  - *ApplyValuation functions take two less arguments, and
+    *ApplyCostValuation functions have been added, performing both
+    costing and valuation. (Stephen Morgan)
+
+  - traceAtWith now has a level argument and works properly.
+
+  - API changes include:
+    ```
+    Hledger.Data.Amount:
+     setAmountPrecision -> amountSetPrecision
+     setFullPrecision -> amountSetFullPrecision
+     setMixedAmountPrecision -> mixedAmountSetPrecision
+     showMixed -> showMixedAmountB
+     showMixedLines -> showMixedAmountLinesB
+    -mixedAmountSetFullPrecision
+
+    Hledger.Data.Journal:
+     mapJournalTransactions -> journalMapTransactions
+     mapJournalPostings -> journalMapPostings
+    -mapTransactionPostings
+    +journalPayeesUsed
+    +journalPayeesDeclaredOrUsed
+
+    Hledger.Data.Transaction:
+    +transactionFile
+    +transactionMapPostings
+
+    Hledger.Data.Valuation:
+    -valuationTypeIsCost
+    -valuationTypeIsDefaultValue
+    -ValuationType's AtDefault constructor
+
+    Hledger.Query:
+    +matchesDescription
+    +matchesPayeeWIP
+
+    Hledger.Utils.Text:
+    +textConcatBottomPadded
+    +wbToText
+    +wbUnpack
+
+    Text.Tabular.AsciiWide:
+     alignCell -> textCell
+    ```
+
+-------------------------------------------------------------------

Old:
----
  hledger-lib-1.20.4.tar.gz

New:
----
  hledger-lib-1.21.tar.gz

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

Other differences:
------------------
++++++ ghc-hledger-lib.spec ++++++
--- /var/tmp/diff_new_pack.NxhTDt/_old  2021-03-17 20:19:36.091288536 +0100
+++ /var/tmp/diff_new_pack.NxhTDt/_new  2021-03-17 20:19:36.095288542 +0100
@@ -19,7 +19,7 @@
 %global pkg_name hledger-lib
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.20.4
+Version:        1.21
 Release:        0
 Summary:        A reusable library providing the core functionality of hledger
 License:        GPL-3.0-or-later
@@ -54,7 +54,6 @@
 BuildRequires:  ghc-regex-tdfa-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-safe-devel
-BuildRequires:  ghc-split-devel
 BuildRequires:  ghc-tabular-devel
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-hunit-devel

++++++ hledger-lib-1.20.4.tar.gz -> hledger-lib-1.21.tar.gz ++++++
++++ 16687 lines of diff (skipped)

Reply via email to