packages feed

hledger 0.23 → 0.23.1

raw patch · 4 files changed

+20/−7 lines, 4 filesdep ~hledger-libPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hledger-lib

API changes (from Hackage documentation)

Files

CHANGES view
@@ -1,3 +1,15 @@+0.23.1 (2014/5/7)++- register: fix a refactoring-related regression that the tests+  missed: if transactions were not ordered by date in the journal,+  register could include postings before the report start date in the+  output. (#184)+- add: don't apply a default commodity to amounts on entry (#138)+- cli: options before the add-on command name are now also passed to it (#182)+- csv: allow the first name in a fields list to be empty (#178)+- csv: don't validate fields count in skipped lines (#177)++ 0.23 (2014/5/1)  Journal format:
Hledger/Cli/Add.hs view
@@ -265,7 +265,8 @@    maybeRestartTransaction $    line $ green $ printf "Amount  %d%s: " pnum (showDefault def)     where  -      parseAmountAndComment = either (const Nothing) Just . parseWithCtx (jContext esJournal) amountandcommentp+      parseAmountAndComment = either (const Nothing) Just . parseWithCtx nodefcommodityctx amountandcommentp+      nodefcommodityctx = (jContext esJournal){ctxCommodityAndStyle=Nothing}       amountandcommentp = do         a <- amountp         many spacenonewline
Hledger/Cli/Main.hs view
@@ -265,7 +265,7 @@        -- an external command       | isExternalCommand = do-          let externalargs = filter (not.(=="--")) argsaftercmd+          let externalargs = argsbeforecmd ++ filter (not.(=="--")) argsaftercmd           let shellcmd = printf "%s-%s %s" progname cmd (unwords' externalargs) :: String           dbgM "external command selected" cmd           dbgM "external command arguments" (map quoteIfNeeded externalargs)
hledger.cabal view
@@ -1,5 +1,5 @@ name:           hledger-version:        0.23+version: 0.23.1 stability:      stable category:       Finance, Console synopsis:       The main command-line interface for the hledger accounting tool.@@ -42,7 +42,7 @@     Default:       True  library-  cpp-options:    -DVERSION="0.23"+  cpp-options:    -DVERSION="0.23.1"   ghc-options:    -W   default-language: Haskell2010   -- should be the same as below@@ -65,7 +65,7 @@                   Hledger.Cli.Stats   -- should be the same as below   build-depends:-                  hledger-lib == 0.23+                  hledger-lib == 0.23.1                  ,base >= 4.3 && < 5                  -- ,cabal-file-th                  ,containers@@ -128,14 +128,14 @@                   Hledger.Cli.Print                   Hledger.Cli.Register                   Hledger.Cli.Stats-  cpp-options:    -DVERSION="0.23"+  cpp-options:    -DVERSION="0.23.1"   ghc-options:    -W   if flag(threaded)        ghc-options:   -threaded  -- should be the same as above   default-language: Haskell2010   build-depends:-                  hledger-lib == 0.23+                  hledger-lib == 0.23.1                  ,base >= 4.3 && < 5                  ,containers                  ,cmdargs >= 0.10 && < 0.11