Releases: 5pm-HDH/churchtools-api
Releases · 5pm-HDH/churchtools-api
Version 2.1.0
Version 2.1.0
Added
- AJAX-Api for SongArrangement comment (notes) (PR187)
- Replace AJAX-Api with REST-API for Group and SongArrangement comments (notes) (PR216)
- Retrieve GroupTypes (PR188, PR198)
- Retrieve GroupTypeRoles (PR197)
- Added new property 'postsEnabled' to the group type model (PR204)
- Login with Session Cookie (undocumented) (PR207)
Changed
- Add PHP coding styling (PR193)
Fixed
- PHPUnit and PHP8.1 compatibility (PR181)
- Use children endpoint for GroupHierarchie (PR192)
- Fix action dependency issue (PR195)
- Fix gitignore (PR213)
Fixed - ChurchTools Breaking Change
Version 2.0.0
[2.0.0]
Added
New Requests:
- Get config request
ConfigRequest:getConfig()
(175) - Get SongStatistic
SongStatisticRequest::all()
(PR140, PR164) - Song-Tags (
$song->requestTags()
) and Group-Tags ($group->requestTags()
) (PR168) - Get CombinedAppointment consisting of appointment, booking and event (PR174)
New Properties:
- Add Address-Property on Appointment (PR137)
- Group-member-fields and DBFields-API (PR147)
- All date properties get DateTime-Getter (
$vaccationAbsence->getEndDateAsDateTime()
) (PR167) - Appointment property for calculated and base StartDate/EndDate (PR177)
- Add ImageUrlBanner to GroupInformation data (PR136)
- Add Image-Property to Appointment (PR174)
Configuration:
- Add HTTP-Log to log http request data (PR137)
- Pagination Page-Size Option
CTConfig::setPaginationPageSize(400)
(PR163) - CTSession to handle multiple ct-instances and login-tokens (PR170)
Authentication:
- Add multi-factor authentication support (PR146)
Changed
Breaking Changes:
-
Refactor Imports to follow PSR-4 (PR165)
-
Reorganize Codebase (PR173)
-
Authenticate CT-API-Client with cookie session instead of sending api-key in every request. (PR142)
-
Authenticate with UserId and LoginToken (PR155, PR156, PR157)
Intern Changes:
Version 1.3.6
[1.3.6] - 2023-04-05
Added
- Request Ajax-Api (AjaxApi-Trait)
- Update Song-Arrangement (PR121)
- Update Song (PR122)
- Update GroupMembers (PR124)
- CCLI-Request Lyrics and Chordsheet (PR127, PR131)
- Extended exception handling of invalid or empty email addresses passed to the person API (PR125)
- Group-Meetings Request (PR130)
Changed
Version 1.3.5
[1.3.5] - 2022-09-22
Added
- Create, update and delete person (PR84, PR88, PR91, PR105, PR107, PR93, PR100, PR109)
- New API-Requests
- Serialize Models to Data-Array for JSON-Export (PR103)
Changed
- Refactor: Move generated Doc-Files to out-Folder (PR89)
- Refactor: Cache Api-key over multiple Integration-Tests (PR113)
- Refactor FillWithData: Cast types (PR101)
- Refactor CTClient: transform inheritance from GuzzleClient to composition-relation (PR83)
- Refactor: Create Abstract Model to cast id (PR118)
Fixed
Version 1.3.4
[1.3.4] - 2022-06-22
Added
Changed
Fixed
Version 1.3.3
Version 1.3.2
Changed
- refactor DocGenerator: move PHP-Code to Unit-Tests.
Fixed
- Fix security issue:
Improper Input Validation in guzzlehttp/psr7
Version 1.3.1
Fixed
- add TargetGroup, GroupPlace to Group-Information
- generate Registration-Link in PublicGroup
Version 1.3.0
Added
- Group-Hierarchie: add Group-Hierachie-API to request Parents and Children of Groups.
- Public Group: add Public-Group-API
Version 1.2.0
Added
- Group: add Group-API
- Event-Calendar: add Calendar-Attribut for Event
- Wiki-Files: request Files from Wiki-Page
- Static code analysis tool: add Psalm as static code analysis tool
Changed
- Refactoring:
- DocGeneration
Fixed
- Error Handling: reorganize CTExceptions