hledger/hledger-lib/Hledger
Simon Michael 56be63e6f1 feat: queries can now match account tags (#1817)
Accounts, postings, and transactions can now all be filtered by the
tags in an account's declaration. In particular it's now possible to
more reliably select accounts by type, using their type: tag rather
than their name:

    account myasset       ; type:Asset
    account myliability   ; type:Liability

    $ hledger accounts tag:type=^a
    myasset

Accounts inherit tags from their parents.

API changes:
A finalised Journal has a new jdeclaredaccounttags field
for easy lookup of account tags.
Query.matchesTaggedAccount is a tag-aware version of matchesAccount.
2022-01-30 09:47:52 -10:00
..
Data feat: queries can now match account tags (#1817) 2022-01-30 09:47:52 -10:00
Read feat: queries can now match account tags (#1817) 2022-01-30 09:47:52 -10:00
Reports feat: queries can now match account tags (#1817) 2022-01-30 09:47:52 -10:00
Utils fix: Ensure head and tail are not called on empty account names. 2021-12-22 14:37:37 -10:00
Data.hs pkg!: Break functions related to balancing out into a separate module, 2021-09-19 17:10:38 -10:00
Query.hs feat: queries can now match account tags (#1817) 2022-01-30 09:47:52 -10:00
Read.hs dev: Move journal and text parsing utilities into more appropriate places, to reduce reliance on Hledger.Read.Common. 2021-09-19 17:10:38 -10:00
Reports.hs cln: tests: Remove test and tests, which are just aliases for testCase 2021-08-30 16:32:19 -10:00
Utils.hs fix: bal: better fix for treeLeaves, fixing func tests (#1782) 2021-12-08 18:14:08 -10:00