Releases: freshbooks/freshbooks-python-sdk
Releases · freshbooks/freshbooks-python-sdk
Improved error messages on authorization failures
Improved error messages on authorization failures
API Version Support & Project includes
To support new FreshBooks API version, you can now specify a specific version header and newer API error responses are correctly handled.
Changelog:
- Allow API version header configuration
- Handle new API version accounting errors
- Add includes parameter to project-like
get
calls
Attachment Upload & List Sorting
- Added upload attachment and image resources
- Fixed
invoice_payment_options
create call (was not creating) - Updated webhook event error handling for new FreshBooks API error strcuture
- Added list sort builder
Identity Model Fixes
Fixed Identity "business_memberships" attribute to return Result objects
1.0.0 - Online Payments, Service Rates, Bill Payments
- Drop support for python 3.6 as it is end of life
- Added Bill Payments resource
- Added Service Rates resource
- Added Online Payments resource
- Additional configuration validation
Bills and Bill Vendors
- Added support for new Bills and Bill Vendors APIs
- Allow includes for create, updates of accounting resources
Project filter fixes
Fix equals filters for project-like resource
Merging of ListResults
- BREAKING
client.current_user
is not a method, not a property for more consistency. - Joining of ListResult objects with
__add__
to aid pagination of results, with example in README.
Documentation Updates
- Update documentation
- Minor test fixture updates
- Mark as Beta in pypi
Result Object Dates
date strings in Result objects now return as date and datetime objects. datetimes are zone-aware and normalized to UTC.