Commercetools

Latest version: v2023.6.29

Safety actively analyzes 675368 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 12

2.4.1

------------------
- Fix cart create function using incorrect schema
- Add update actions to carts testing backend
- Add update actions to orders testing backend
- Regenerate code based on new commercetools-api-reference definition

2.4.0

------------------
- Refactor the code generation module to split the types.py and schemas.py file
into multile submodules. This should be fully backwards compatible and from
the API perspective nothing should be changed, but it makes the generated
code more maintanable since we no longer have files with 40k lines.
- Use timezone aware timestamps in the mocking interface
- Rewrite the Paginator class. This is a backwards incompatible change but it
makes the API much cleaner. It now also supports slicing etc.
- Add a CursorPaginator class, which uses filtering instead of offsets for
pagination.

2.3.0

------------------
- Money -> TypedMoney conversion not setting default to CENT_PRECISION
- Improve testing interface to only raise conflict error when the data is
actually changed

2.2.0

------------------
- Tax related fields now parse rate as float instead of always being 0
- Support generating code for Python 3.7 and higher
- Add limited testing service for orders

2.1.0

------------------
- Add `commercetools.predicate.QueryPredicate()` which can be used to construct
query predicate strings using Python code.
- Fix commercetools mock server

2.0.0

------------------
- When creating the client the token url should now be a complete URL. When
using environment variables it will automatically append /oauth/token if the
url has no path specified. See 27
- Add a changelog :-)
- Add support for the product discounts api endpoints

Page 9 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.