Releases: freshbooks/freshbooks-nodejs-sdk
Releases · freshbooks/freshbooks-nodejs-sdk
List Sort Parameters and Boolean-type Search Queries
- Add boolean-type search queries
- Add list sorting parameters
Account error response and Money model changes
- (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
fieldscode
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 to
1.2.x
4.0 Prerelease 2
- Drop support for node 12.x
- Upgrade axios
- Breaking changes to come
Invoice Send By Email
- Add support for invoice send by email
- Fix search queries for project-like and accounting report resources
Update Model Transform Methods
- Internal refactor of model transform methods
Projects Error Detection
- Update error detection for Projects (See #450)
Journal Entries and Expense Categories
Accounting Reports
- 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)
Authorization Flow Tools
- (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
Webhooks and Invoice Share Links
- Support for invoice share links
- Support for webhook callback registration
- Allow create/update payloads items to accept strings in addition to date objects