Releases: XeroAPI/xero-php-oauth2
Releases · XeroAPI/xero-php-oauth2
10.1.0
What's Changed
⚠️ Notice: Obsolete Endpoints
The following Accounting API endpoints have been marked [Obsolete] and will be removed in a future release.
- CreateEmployeesAsync
- CreateEmployeesAsyncWithHttpInfo
- CreateEmployeesAsyncWithHttpInfo
- GetEmployeeAsync
- GetEmployeeAsyncWithHttpInfo
- GetEmployeesAsync
- GetEmployeesAsyncWithHttpInfo
- UpdateOrCreateEmployeesAsync
- UpdateOrCreateEmployeesAsyncWithHttpInfo
Please migrate to the supported alternatives before deprecation on April 28, 2026.
Full Changelog: 10.0.0...10.1.0
10.0.0
What's Changed
- Minimum required PHP version is now 8.1 or greater
- Php package updates
- Removed empty test files
BREAKING CHANGE
- fix: Following fields are made required for payroll-nz
- Employee model: firstName, lastName, dateOfBirth, address
- Employment model: startDate, engagementType, payrollCalendarID
- fix: Following fields are made required for payroll-uk
- Employee model: firstName, lastName, dateOfBirth, address, gender and title
- Employment model: startDate, payrollCalendarID, employeeNumber, and niCategories
Full Changelog: 9.2.0...10.0.0
9.3.0
What's Changed
- New leave type
NeonatalCarehas been added toEmployeeStatutoryLeaveBalanceandEmployeeStatutoryLeaveSummaryresponses for UK. SIMPLEproduct enum value has been added forGetSubscriptionresponse for xero app store.- New organisation role
REMOVEDhas been added togetUsersendpoint. - New query parameter
directionhas been added togetFilesendpoint.
Full Changelog: 9.1.0...9.3.0
9.2.0
What's Changed
Features -
- Adds Leave type
Bereavementto theEmployeeStatutoryLeaveBalanceandEmployeeStatutoryLeaveSummaryresponses for payroll UK.
Full Changelog: 9.1.0...9.2.0
9.1.0
What's Changed
Features -
- New organisation plan
SIMPLEhas been added toOrganisationAPI response.
Full Changelog: 9.0.0...9.1.0
9.0.0
What's Changed
Features -
- Added new entities for
NICategoryLetterandNICategory.FreeportandInvestment zoneNI category letters added.
- [BREAKING_CHANGE] Updated
Employeeentity.NICategoryLetterhas been marked as deprecated andNICategoriesadded as a new property.
- Validation added to
NICategoryentity.- Validation added for
workplacePostcodeanddateFirstEmployedAsCivilian.
- Validation added for
- [BREAKING_CHANGE] Updated
EmploymentPOST endpoint.- Added
NI Categoriesand removed deprecatedniCategoryproperty.
- Added
- GET
Employee200 response example updated andNI Categoriesadded. - Added missing comma to
EmployeePOST success response example.
Notes:
This change reflects the current functionality available in the public API and as shown in Xero documentation.
Full Changelog: 8.1.0...9.0.0
8.1.0
What's Changed
Features
StatutoryNeonatalCarePayandStatutoryNeonatalCarePayNonPensionableearnings types has been added to earnings rates component.- This will affect the request and response bodies for the POST and GET endpoints for
EarningsRates, and the GET response for endpointEarningsRates/{id}
- This will affect the request and response bodies for the POST and GET endpoints for
Full Changelog: 8.0.0...8.1.0
8.0.0
Build from OAS 7.0.0
Breaking Changes
- [DataSourceResponse]: Removed the following fields, which were previously marked as deprecated:
- indirectBankFeed
- indirectBankFeedPos
- indirectBankFeedNeg
Deprecations
- [EmployeeLeaveSetup]: The following fields are now deprecated and will be removed in future release:
- sickLeaveHoursToAccrueAnnually
- sickLeaveMaximumHoursToAccrue
- [EmployeeLeaveType]: The following fields are now deprecated and will be removed in future release:
- hoursAccruedAnnually
New Features
- [EmployeeLeaveSetup]: Introduced new fields:
- SickLeaveToAccrueAnnually
- SickLeaveMaximumToAccrue
- AnnualLeaveAnniversaryDate
- [EmployeeLeaveType]: Introduced new fields:
- UnitsAccruedAnnually
- typeOfUnitsToAccrue
- openingBalanceTypeOfUnits
- [LeavePeriod]: Introduced new fields:
- numberOfUnitsTaken
- typeOfUnits
- typeOfUnitsTaken
- [LeaveType]: Introduced new fields:
- typeOfUnits
- typeOfUnitsToAccrue
Full Changelog: 7.3.0...8.0.0
7.4.0-dev.1
ci: testing the packagist release
7.4.0-dev
Merge pull request #376 from XeroAPI/PETOSS-518-Find-package-vulnerab…