packages feed

hledger 1.52 → 1.52.1

raw patch · 2 files changed

+25/−9 lines, 2 filesdep ~hledger-libPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hledger-lib

API changes (from Hackage documentation)

Files

CHANGES.md view
@@ -26,6 +26,22 @@ User-visible changes in the hledger command line tool and library.  +# 1.52.1 2026-04-28++Breaking changes++- The `Gain` (`G`) account type is no longer auto-detected from account names like+  `revenue:gains` or `income:capital gains`; it must now be declared explicitly with `; type: G`.+  Also, the `UnrealisedGain` (`U`) account type, a subtype of Equity, has been added+  (spellings `U`, `UnrealisedGain`, and `UnrealizedGain` are all accepted).+  These improve compatibility between hledger 1 and 2.++Docs++- The "Cost basis / lot syntax" section has been renamed to "Cost basis",+  and updated to mention hledger 2.++ # 1.52 2026-03-20  Features
hledger.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           hledger-version:        1.52+version:        1.52.1 synopsis:       Command-line interface for the hledger accounting system description:    The command-line interface for the hledger accounting system.                 Its basic function is to read a plain text file describing@@ -151,7 +151,7 @@   hs-source-dirs:       ./   ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -optP-Wno-nonportable-include-path-  cpp-options: -DVERSION="1.52"+  cpp-options: -DVERSION="1.52.1"   build-depends:       Decimal >=0.5.1     , Diff >=0.2@@ -168,7 +168,7 @@     , githash >=0.1.6.2     , hashable >=1.2.4     , haskeline >=0.6-    , hledger-lib ==1.52.*+    , hledger-lib >=1.52.1 && <1.53     , http-client     , http-types     , lucid@@ -208,7 +208,7 @@   hs-source-dirs:       app   ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -optP-Wno-nonportable-include-path -threaded -with-rtsopts=-T-  cpp-options: -DVERSION="1.52"+  cpp-options: -DVERSION="1.52.1"   build-depends:       Decimal >=0.5.1     , aeson >=1 && <2.3@@ -224,7 +224,7 @@     , githash >=0.1.6.2     , haskeline >=0.6     , hledger-    , hledger-lib ==1.52.*+    , hledger-lib >=1.52.1 && <1.53     , http-client     , http-types     , math-functions >=0.3.3.0@@ -259,7 +259,7 @@   hs-source-dirs:       test   ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -optP-Wno-nonportable-include-path-  cpp-options: -DVERSION="1.52"+  cpp-options: -DVERSION="1.52.1"   build-depends:       Decimal >=0.5.1     , aeson >=1 && <2.3@@ -275,7 +275,7 @@     , githash >=0.1.6.2     , haskeline >=0.6     , hledger-    , hledger-lib ==1.52.*+    , hledger-lib >=1.52.1 && <1.53     , http-client     , http-types     , math-functions >=0.3.3.0@@ -310,7 +310,7 @@   hs-source-dirs:       bench   ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -optP-Wno-nonportable-include-path-  cpp-options: -DVERSION="1.52"+  cpp-options: -DVERSION="1.52.1"   build-depends:       Decimal >=0.5.1     , aeson >=1 && <2.3@@ -327,7 +327,7 @@     , githash >=0.1.6.2     , haskeline >=0.6     , hledger-    , hledger-lib ==1.52.*+    , hledger-lib >=1.52.1 && <1.53     , html     , http-client     , http-types