hledger/hledger-lib/Hledger/Data
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
..
Account.hs cln: Add explicit export list for Hledger.Data.Account. 2021-09-18 11:41:53 -10:00
AccountName.hs dev: Use realLength from doclayout instead of strWidth and textWidth. (#895) 2021-11-11 18:29:50 -10:00
Amount.hs imp: cost: Generate totally balanced conversion postings for amounts with costs. 2021-12-21 10:50:13 -10:00
Balancing.hs imp: nicer invalid balance assignment errors (tweak) 2022-01-26 08:59:19 -10:00
Dates.hs fix: warning (#1799) 2022-01-26 09:00:40 -10:00
Journal.hs feat: queries can now match account tags (#1817) 2022-01-30 09:47:52 -10:00
Json.hs lib!: Remove GenericSourcePos, and replace it with either SourcePos or 2021-09-20 08:38:33 -10:00
Ledger.hs cln: tests: Remove test and tests, which are just aliases for testCase 2021-08-30 16:32:19 -10:00
Period.hs fix!: register: Tighten up spacing around the date in register reports. (#1655) 2021-08-22 08:15:22 -10:00
PeriodicTransaction.hs imp: smartdates: Simplify and generalise the SmartDate constructor and 2022-01-11 13:31:29 -10:00
Posting.hs feat: queries can now match account tags (#1817) 2022-01-30 09:47:52 -10:00
RawOptions.hs cln: hlint: Clean up list related hlint warnings. 2021-08-27 06:13:56 -10:00
StringFormat.hs pkg: Drop base-compat-batteries dependency. 2021-10-31 07:56:07 -10:00
Timeclock.hs lib!: Remove GenericSourcePos, and replace it with either SourcePos or 2021-09-20 08:38:33 -10:00
Transaction.hs fix: cost: Add inferred equity postings during journal finalisation, so 2022-01-16 18:37:18 -10:00
TransactionModifier.hs pkg: progress towards supporting GHC 9.2 and newer libs (#1774) 2021-12-06 12:32:50 -10:00
Types.hs feat: queries can now match account tags (#1817) 2022-01-30 09:47:52 -10:00
Valuation.hs ;doc: add interim note re ConversionOp (#1808) 2022-01-16 18:43:40 -10:00