Skip to content

v0.6.0

Choose a tag to compare

@woduda woduda released this 08 Jun 09:21
· 11 commits to main since this release

What's Changed

Added

  • Contribution API (ContributionApi) with recordOneTime, create, get, getById, forContact, totalsForContact, completedSince, markCompleted, refund
  • FinancialTypeResolver — cached name → ID mapping via resolve(), resolveMany(), clearCache(); throws ValidationException when the type does not exist
  • ContributionStatus backed string enum (CiviCRM contribution_status defaults) with fromId(int) for integer ID hydration
  • ContributionTotals readonly DTO for aggregated lifetime / last-12-months statistics
  • Note API (NoteApi) with addToContact, forContact, delete, get
  • CiviCrmClient::contributions(), financialTypes(), notes() entry points
  • ValidationException::unknownFinancialType(string) named constructor

See CHANGELOG for full details.