v0.5.0
Added
- Typed entity DTOs
RelationshipandRelationshipTypeundersrc/Entity/, each exposing both directions of a relationship explicitly (*AToB/*BToA,contact_id_a/contact_id_b).Relationshipparsesstart_date/end_dateinto?DateTimeImmutable. - Typed
RelationshipTypeApi:all()(memoized in memory),byName()(matches the forward or reverse name of the same type), and idempotentensureExists()for schema seeding. - Typed
RelationshipApi:create()(type by name or id),terminate(),forContact()(returns relationships where the contact is side A or B), andofType()(pre-filteredGetQueryfor further refinement). CiviCrmClient::relationships()andrelationshipTypes()entry points.
Full changelog: v0.4.0...v0.5.0