Skip to content

Releases: trevorld/r-ledger

ledger v2.0.11

20 May 14:28
Compare
Choose a tag to compare
  • register_beancount() and register_hledger() now import a transaction id column (#21).
    Thanks @vikasrawal for suggestion.
  • register_beancount() now coerces the date column to a "Date" object.
    register_ledger() and register_hledger() already did so.
  • register_ledger() now trims the comment column with stringr::str_trim().

ledger v2.0.9

12 Nov 06:37
Compare
Choose a tag to compare
  • The R packgae {rio} has been downgraded from "Imports" to "Suggests".
    Users who want to use rio::import() or rio::convert()
    will need to manually install {rio}.

ledger 2.0.7

18 May 15:55
Compare
Choose a tag to compare
  • Fixes importing hledger date for newer versions of hledger (#19).
    Thanks @chrislloyd for bug report and patch.

ledger 2.0.6

16 Feb 07:03
Compare
Choose a tag to compare
  • Fixes bug when importing hledger files with amounts that use comma decimal marks and/or commodity prefixes (#18).
    Thanks @StefanBRas for bug report.
  • System dependency for importing hledger files has been relaxed to hledger (>= 1.2). Previously depended on hledger (>=1.4).

ledger 2.0.4

21 Oct 06:50
Compare
Choose a tag to compare
  • For beancount files read in with register_beancount with the end date argument set
    we no longer use any price directives on the end date to determine market value
    but only those strictly before the end date.
    This matches the filtering of transactions and the new hledger market value behavior.

ledger 2.0.1

22 Mar 18:38
Compare
Choose a tag to compare
  • For ledger files register no longer filters out transactions with amount equal to zero (#13).

ledger 2.0.0

15 Jan 21:17
Compare
Choose a tag to compare

Breaking changes

  • Now register returns a tibble instead of a data.frame.
  • By default now reads in beancount files using the output from bean-query
    instead of bean-report followed up by hledger.
  • Most users of the ledger R package won't need to change any code.

New functions

  • Now has prune_coa and prune_coa_string functions to help simplify plaintext accounting "Chart of Accounts" names to a given maximum depth.
  • Lower level register_beancount, register_ledger, and register_hledger functions are now exported (and documented).

Minor improvements and fixes

  • register now has a date argument than can be used to exclude transactions
    (and implicitly price statements) before that date.
  • register now preserves transaction comments when importing ledger files (#16). Thanks Jenya Sovetkin for patch.
  • register now preserves tags when importing beancount files.