Skip to content

Releases: MedShift/bigc

v1.0.0

18 Jul 17:19
8fde54e
Compare
Choose a tag to compare

What’s New

  • Standardized Signatures The method signatures across all API resources have been standardized to provide a consistent Pythonic interface.
  • Reworked Exceptions Exceptions now include structured error messages from BigCommerce. The exception hierarchy has been reworked to make exception handling more convenient.
  • Automatic Retries API calls can be configured to automatically retry after a failed attempt.
  • Versioned APIs To support future- and backwards-compatibility, each resource now includes its API version in its signature.
  • Timeouts can be specified on a per-request basis using the timeout keyword argument.
  • Comma-separated query parameters may be specified as a list, e.g. [1, 2, 3]'1,2,3'.
  • Added support for cursor-based pagination in the V3 API client.
  • Added update_many and delete_many to the Customers v3 resource.

Breaking Changes

  • The minimum supported Python version is now 3.10.
  • The timeout argument to BigCommerceAPI.__init__ is now keyword-only.
  • Resources are now grouped by the BigCommerce API version. For example, BigCommerceAPI.orders has been split into BigCommerceAPI.orders_v2 and BigCommerceAPI.orders_v3.
  • Request bodies are now always passed as a dictionary (data={}), rather than as individual keyword arguments.
  • Query parameters are now always passed as a dictionary (params={}, kwarg-only), rather than as individual keyword arguments.
  • The customer_id argument has been removed from customer address methods.
  • BigCommerceAPI.api.v2 and BigCommerceAPI.api.v3 have been renamed to BigCommerceAPI.api_v2 and BigCommerceAPI.api_v3, respectively.
  • The signatures of BigCommerceRequestClient.request and BigCommerceRequestClient.get_many have changed. Keyword arguments are no longer directly passed to requests.request.
  • The signature of BigCommerceException.__init__ has changed.
  • The exception hierarchy has been reworked completely:
    • BigCommerceAPIExceptionBigCommerceError
    • BigCommerceRedirectionError → removed
    • InvalidAuthorizationErrorUnauthorizedError
    • InsufficientScopesErrorForbiddenError
    • ResourceNotFoundErrorDoesNotExistError
    • (new) ConflictError
    • (new) EntityTooLargeError
    • (new) InvalidDataError
    • (new) LockedError
    • RateLimitExceededErrorTooManyRequestsError
    • InternalBigCommerceErrorInternalServerError
    • (new) BadGatewayError
    • StoreUnavailableErrorServiceUnavailableError
    • (new) GatewayTimeoutError
    • PlanLimitExceededErrorInsufficientStorageError
    • (new) BigCommerceNetworkError
  • The type of BigCommerceException.message is now str | None. To get a non-optional message, call BigCommerceException.__str__.
  • The type of BigCommerceException.response is now Any (at runtime it is still requests.Response).
  • Exceptions raised from Requests are now wrapped in a BigCommerceException.

v1.0.0b4

10 Jul 20:08
a85a2d7
Compare
Choose a tag to compare
v1.0.0b4 Pre-release
Pre-release

Pre-release for v1.0.0

1.0.0b3

09 Jul 19:48
6334552
Compare
Choose a tag to compare
1.0.0b3 Pre-release
Pre-release

Pre-release for v1.0.0

1.0.0b2

07 Jul 21:00
702319d
Compare
Choose a tag to compare
1.0.0b2 Pre-release
Pre-release

Pre-release for v1.0.0

1.0.0b1

27 Jun 20:59
e415c82
Compare
Choose a tag to compare
1.0.0b1 Pre-release
Pre-release

Pre-release for v1.0.0

0.2.16

30 Apr 14:19
9730353
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.15...v0.2.16

v0.2.15

26 Feb 20:58
e0c006a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.14...v0.2.15

v0.2.14

27 Oct 16:35
9847f02
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.13...v0.2.14

v0.2.13

28 Sep 17:53
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.12...v0.2.13

v0.2.12

28 Aug 20:07
Compare
Choose a tag to compare

What's Changed

  • Add delete shipment by @AliyahHasRequestedChanges in #42

Full Changelog: v0.2.11...v0.2.12