- Add boolean-type search queries
- Add list sorting parameters
- (Breaking Change) The
amount
field in money objects is now a string, not a number. This is to be consistent with the FreshBooks API, which returns a string, and to prevent floating point precision errors. - (Breaking Change) Error handling has been reworked to be clearer and more consistent. This includes renaming the
fields
code
andnumber
tostatusCode
anderrorCode
. Error handling has been updated so that exception data is more consistent across API resources (see issue 506). - Support for
/accounting
error responses for newer API versions. - Drop support for node 12.x
- Upgrade axios
- Add support for invoice send by email
- Fix search queries for project-like and accounting report resources
- Internal refactor of model transform methods
- Update error detection for Projects (See #450)
- Support Journal Entry (See #401)
- Support Journal Entry Accounts (See #401)
- Support Journal Entry Details (See #401)
- Support Expense Categories (See #402)
- Allow invoices to be marked as sent
- Support for Profit & Loss Report
- Support for Tax Summary Report
- Support for Payments Collected Report
- Fix bug in BillVendors (See #399)
- (Breaking Change)
token
parameter removed from APIClient constructor, additional properties added to Client Options to support OAuth flow with client secret + redirect URI (see updated README) - Support for online payment options
- Move default branch from master to main
- Support for invoice share links
- Support for webhook callback registration
- Allow create/update payloads items to accept strings in addition to date objects
- Fix to axios upgrade that broke GET calls
- Support for credit notes
- (Breaking Change) FreshBooks application clientId added to APIClient constructor instead of optional (but not actually optional) param
- (Breaking Change) Fix types on data models
- (Breaking Change) Rename models to better fit coding conventions
- Support Bills, Bill Payments, Bill Vendors endpoints
- Support Tasks endpoint
- Allow setting of user-agent string
- Fixed naming conventions for time entry and other income
- Added Other Income resource
- Fixed user.me() call for partially setup businesses
- Added Project resource
- Client model fixes
- Standardize date/time objects to UTC (accounting endpoints return data in EST)
- Added TimeEntry resource
like
filters no longer automatically append_like
to the search key. Correct key must now be provided.- Fix issue where
in
filters were not correctly being generated.
- Now retrying on 429 errors on POST, PUT
- Tune retries to 10 attempts (was 3)
- Added default retries with backoff on failed API calls
- (Breaking Change) Updated to latest breaking api changes.