Bitpay

Latest version: v6.1.1

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

Scan your dependencies

Page 3 of 3

5.0.1

Overview

This is a major revision to the SDK that implements Pydantic.

Major Changes

Pydantic helped reduce the amount of boilerplate code, especially around setters and getters, and introduces type validation.

All Changes
* Update black to v23.7.0
* Update mypy, requests, pytest-mock, pytest
* SP-655 Python SDK - pyproject.toml
* SP-673 GitHub Actions - Python throws error on tomli
* SP-685 Python - Implement Pydantic

**Full Changelog**: https://github.com/bitpay/python-bitpay-client/compare/4.0.1...5.0.0

4.0.1

Overview

This is a patch release with small updates and release automation.

What's Changed
* Updated the setup script to be able to use existing keys
* Generated config JSON is now formatted


**Full Changelog**: https://github.com/bitpay/python-bitpay-client/compare/4.0.0...4.0.1

4.0.0

Overview
We were releasing our next major version of the Python SDK - version 4.0.0.

Highlights

Client Class Breakdown

To make this easier to work on and more testable, we have:

* Implemented a facade for the client
* Created a class to handle generic REST GET, PUT, POST, and DELETE
* Created separate classes for each resource, providing a better representation of the API
* Add unit and integration tests for new client classes

Implement POS Facade

Prior to version 4.0.0, we had two separate SDKs, the "Light" SDK, which could only use the POS facade, and the "Full" SDK, which used the merchant and payout facades. This created the need for additional effort both in maintaining and implementing the SDK.

As of version 4.0.0, the SDK supports both methods. You can use just the POS facade, which is limited in feature set but does not require signed requests (no private key to manage) or with the merchant/payout facade, which has more functionality but is more complex to implement.

This provides an easier upgrade path and reduces the duplicate work of maintaining two separate SDKs regarding dependency upgrades, bug fixes, etc.

Standardization

We've are implementing PEP 8 across the entire SDK and are using Black to check every commit.

Test Suites

We have implemented functional and unit test suites to the API, and the unit tests run in GitHub Actions for all commits and pull requests.

Other Notes

* Black, Mypy, and unit tests run on Python 3.8, 3.9, 3.10, and 3.11 in the pipeline
* The SDK is now at parity with the API

**Full Changelog**: https://github.com/bitpay/python-bitpay-client/compare/v3.4.2203...4.0.0

3.4.2203

What's New:

Fixed
- Rest error handler

3.3.2203

What's New:

Added
- Setup utility included in package
Fixed
- Pypi package fixed

3.1.2203

What's New:

Added
- New SDK constructors available
- All API resources implemented and up to date
- Config Generator available
- SDK documentation available
- Pypi package released

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.