Skip to content

v0.7.0

Choose a tag to compare

@nmajor nmajor released this 12 Oct 22:08
· 8 commits to main since this release
  • New client.qbd().batch(): up to 25 typed QuickBooks Desktop operations in one Web Connector round trip. Each member is the member class of its operation (new BatchCustomerCreateInput().body(...), which sets operationId itself) and each result is an instance of its operation's result class (BatchCustomerCreateResult, whose data() is a Customer), or UnknownBatchResult for an operation added later. One idempotency key covers the batch; a lost response throws OutcomeUnknownException with details().get("members") and is never retried.
  • A batch whose response was lost and whose create members the API later found in QuickBooks by their externalId returns each such member with data() null and the record's QuickBooks ID in recoveredObjectId() (on every batch result, nullable), on client.requests().retrieve() and on an idempotent replay.
  • New error code QBD_REQUEST_NOT_PROCESSED (ErrorCode.QBD_REQUEST_NOT_PROCESSED): 409, not retryable. QuickBooks skipped a batch member because an earlier member failed under stopOnError (status 3231).
  • Breaking (types only): the credit card request info of receive payments is the class QbdRequest. It was read as the request resource class Request by mistake, so its accessors returned null.
  • Change feed subscriptions: client.changeFeedSubscriptions().create(), list(), retrieve(), update() and delete() (/v1/change-feed-subscriptions). A subscription polls every connected end user of the project for changed and deleted records of the listed resources and sends data.changed webhooks with their IDs. New webhook event type WebhookEventType.DATA_CHANGED (data.changed). New error code CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED (422, not retryable).

All versions: CHANGELOG.md.