Skip to content

Releases: jcornaz/beancount-parser

v2.5.0

14 Feb 09:56

Choose a tag to compare

Features

  • Reading from files now emits the include directives
  • Added BeancountFile::read_files to read files directly into a BeancountFile

Dependencies

  • Remove dependency on thiserror

v2.4.0

04 Feb 17:10

Choose a tag to compare

Deprecations

  • error::ReadFileError is deprecated in favor of error::ReadFileErrorV2 which contains the name of the problematic file
  • read_files is deprecated in favor of read_files_v2 which has error::ReadFileErrorV2 as its error type

Features

  • read_files_v2 is the replacement for the (now deprecated) read_files.
    The main difference is that it's error type contains the information of which file file had an error.
  • read_files_to_vec reads files and returns the entries as a Vec

v2.3.0

03 Feb 19:01

Choose a tag to compare

Features

Dependencies

  • Update private dependencies to the latest major version (thanks to @jakobhellermann)
  • Lower MSRV to 1.68

v2.2.1

28 Apr 08:55

Choose a tag to compare

Fixes

  • Fix Debug implementation of Error which was dumping the whole input

v2.2.0

29 Mar 21:45

Choose a tag to compare

Added

  • implement FromStr for Account, Date, Currency and metadata::Key
  • implement Default for Cost<D>
  • Date::new constructor

Fixed

v2.1.0

29 Jan 19:34

Choose a tag to compare

Added

  • Balance::tolerance field

Fixed

  • Accept tolerance syntax

v2.0.4

19 Jan 18:37

Choose a tag to compare

Fixed

  • Accept negation of grouped expression (example: -(2 * 3))
  • Do not require space between strings and tags/links

v2.0.3

18 Jan 18:46

Choose a tag to compare

Fixed

  • Accept comma (,) as a thousand separator in amounts
  • Accept dot (.) in transaction links
  • Accept escaped backslash (\\) in string

v2.0.2

17 Jan 19:24

Choose a tag to compare

Fixed

  • Accept escaped double quotes (\") in strings

v2.0.1

07 Jan 17:16

Choose a tag to compare

Fixed

Accept commodities ending with a number (#63). Thanks @doriath for the fix.