Skip to content

XeroPracticeManager 3.1 introduction - 3.0 deprecation is underway #936

@bretto36

Description

@bretto36

Hi @calcinai

I'm working on updating the XeroPracticeManager component of the code to use the latest version by default (3.1) - https://developer.xero.com/documentation/api/practice-manager-3-1/clients

They've switched to GUID from ID and have added a pagination endpoint amongst some plans according to their latest DevDay to start actively working on the XPM api

As i was working on it i noticed a few pieces of code that are not compatible with PHP < 7.1 - Just wanted to check if i can change the min version in composer.json to 7.1 - one of the lines of code is Application.php - public function getLastApiCall(): ?int

the ?int is not compatible in those older versions of PHP.

It's been there for 2 years and i can't see any complaints in issues.. so potentially that means we can move to 7.1?? Just want your opinion on that.

Also i was the one who initially introduced the XeroPracticeManager code a few years back. Do you want me to move that out into it's own package as i think there are potential breaking changes in this new version? I'm not sure how many are using the XPM code either.

Just want to gauge your opinion on it before i do too much work.

As always, thanks for a great package.

PS at the dev day in Brisbane that just occurred they had made lots of promises about improving the API, versioning it and what not. So i'll try and keep on top of any changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions