Releases: labd/commercetools-python-sdk
Releases · labd/commercetools-python-sdk
14.0.0b5
14.0.0b4
14.0.0b3
- Allow passing custom HTTP adapter to BaseClient (@lime-green)
- Testing: fixed issues with
get_by_key
lookups in certain testing backends
14.0.0b2
Adds custom fields for Address objects and all related update actions.
See https://docs.commercetools.com/api/releases/2021-01-29-custom-fields-for-addresses
14.0.0b1
We moved our code generation to the code generation tool from Commercetools,
see https://github.com/commercetools/rmf-codegen
Reason for this is two-fold:
- We can now generate the code for the
imporapi
and theml
api
specifications next to theplatform
sdk. - It makes it easier for us to keep the code generation in sync with
changes to the API specification.
The major difference is that it now also use the request builder pattern,
matching the SDK's for the other languages (e.g. TypeScript).
The package is backwards compatible for now, although deprecation warnings are
shown.
13.0.0
13.0.0 (2021-01-04)
- Regenerate code (fixed not being able to parse a lot of errors, so upgrading is recommended)
- Cart:
- CartDiscountValueGiftLineItemDraft channel variables type changed ChannelReference -> ChannelResourceIdentifier
- CartDiscount value field type changed CartDiscountValue -> CartDiscountValueDraft
- CustomLineItemDraft custom field type changed CustomFields -> CustomFieldsDraft
- TaxedPriceDraft total_net and total_gross fields type changed TypedMoneyDraft -> Money
- Common:
- Add back fraction_digits to Money draft classes
- Errors:
- Many commercetools errors can now be parsed instead of throwing a ValueError
- Fixed incorrect typing of extension response errors
- Me:
- Added address_key to various billing/shipping address update actions
- Product:
- Add limit to ProductProjectionPagedSearchResponse
- Add ProductVariantAddedMessage
- Store:
- Change supply_channels from ChannelResourceIdentifier to ChannelReference
- Subscription:
- ResourceDeletedDeliverySchema added data_erasure
- Cart:
- Minimum required dependencies now require requests_mock>=1.8.0 (it already didn't work without it)
- Testing customer group added changeName and setKey actions
- Use Black 19 for formatting generated code
12.0.2
- Testing backend: Fix custom object mock interface
12.0.1
12.0.1 (2020-11-18)
- Testing backend: support 'in' for single values, f.e. 'orderState in ("Open")'
12.0.0
12.0.0 (2020-10-15)
- Regenerate types (commercetools-api-reference 5ebb3153)
- Removed get_by_container and replaced by query_by_container (it's a query endpoint, not a get custom object endpoint)
11.0.0
11.0.0 (2020-09-18)
- Regenerated types (custom objects get by id has been removed)
- Fixed query parameters not being sent in 10.0.0 releases:
for example: delete's dataErasure or product price query priceCurrency where not being sent