Skip to content

Releases: cla-bit/PayStackEase

v2.3.0

30 May 14:19

Choose a tag to compare

v2.3.0 (2024-05-30)

Feature

  • feat: added api_resource examples for easy to understand how to use the apis: async and sync (d934479)

Style

Test

  • test: improved tests for test_apis and test_async_apis modules.
    fix: bug in the api_base module, 'bool: lambda val: str(val)' Changed 'bool: lambda val: str(val).lower()'.
    feat: added charge_url and checkout_url methods for PayStackResponse. Deprecated url() method.
    fix: set default values for draft, has_invoice and send_notification parameters in the PaymentRequestClientAPI(async and sync). Removed the convert_to_strings method in these parameters
    fix: Deprecated the convert_to_strings method in the Plans, Products modules: async and sync (f28b99a)

  • test: improved test for miscellaneous class modules: sync and async.
    fix: bug in the list_bank method of the miscellaneous modules (sync and async). Changed the parameter "supports_transfer" to "pay_with_transfer".
    fix: improved the class SyncBaseClientAPI and AsyncBaseClientAPI classes to handle better None values from the server as a response. (cf4401f)

Unknown

  • Merge pull request #14

Updates (a3f023c)

v2.2.0

28 May 02:58

Choose a tag to compare

v2.2.0 (2024-05-28)

Feature

  • feat: added class EnvConfig to handle environment variables
    feat: added class Event to handle Paystack events
    fix: removed overriding of the secret_key from PayStackBase and AsyncPayStackBase classes.
    fix: added dependency injection to the BaseAPI class
    fix: added dependency injection to the SyncBaseClientAPI class
    fix: added dependency injection to the AsyncBaseClientAPI class
    test: added tests for EnvConfig class
    test: improved tests for SyncBaseClientAPI and AsyncBaseClientAPI classes
    test: improved test for webhooks (6571ba6)

Style

  • style: added docstrings for the Event class (f72fd42)

Test

  • test: added more tests to the test_webhook module. (9a1b1d2)

  • test: improved test for webhooks (d099c1a)

v2.1.2

23 May 09:38

Choose a tag to compare

v2.1.2 (2024-05-23)

Fix

  • fix: updated the init module. (810fb83)

v2.1.1

23 May 09:07

Choose a tag to compare

v2.1.1 (2024-05-23)

Fix

  • fix: updated the init module. (302048b)

Unknown

  • Merge remote-tracking branch 'origin/main' (9e92f8e)

v2.1.0

23 May 08:45

Choose a tag to compare

v2.1.0 (2024-05-23)

Feature

  • feat: Added class PayStackWebhook in the webhook module
    feat: Added class PayStackSignature in the webhook module
    feat: Added custom exception: PayStackServerError, PayStackSignatureVerifyError, APIConnectionError in the api_errors module.
    fix: Improved error handling and display user friendly errors to all error classes in the api_errors module.
    fix: Added custom exceptions to the SyncBaseClientAPI and AsyncBaseClientAPI classes
    fix: Added test for webhook. (4dcdb2f)

Fix

Test

  • test: Added more tests functions for webhook module.
    test: Updated the test_get_event_data_valid function. (ce171b5)

Unknown

  • Merge branch 'refs/heads/dev' (696c2cb)

  • Update test_webhook.py (61eeb5f)

  • Update test_webhook.py (cf8178d)

  • Update test_webhook.py (cb2dd69)

  • Update test_webhook.py (fff089e)

  • Update test_webhook.py (9baa0fd)

  • Merge pull request #11 from cla-bit/dev

fix: Remove the secret key parameter to avoid overriding. (0589159)

v2.0.4

01 May 16:47

Choose a tag to compare

v2.0.4 (2024-05-01)

Fix

Unknown

  • Merge remote-tracking branch 'origin/main' (99f9475)

v2.0.3

01 May 16:40

Choose a tag to compare

v2.0.3 (2024-05-01)

Fix

Style

Unknown

  • Merge remote-tracking branch 'origin/master' (768436c)

v2.0.2

01 May 15:19

Choose a tag to compare

v2.0.2 (2024-05-01)

Fix

  • fix(package): PayStackError class to return informative error message and status code (8d31938)

Unknown

  • Merge remote-tracking branch 'origin/master'

Conflicts:

CHANGELOG.md (3622d97)

v2.0.1

01 May 14:56

Choose a tag to compare

v2.0.1 (2024-05-01)

Fix

  • fix(package): PayStackError class to return informative error message and status code (bb44d4c)

  • fix(package): PayStackError class to return informative error message and status code (33ec237)

Style

  • style(package): updated paystackease-ci-cd yml file (81136ad)

  • style(package): updated paystackease-ci-cd yml file (83ae0a0)

  • style(package): updated paystackease-ci-cd yml file (0679f1e)

  • style(package): updated paystackease-ci-cd yml file (711ed90)

  • style(package): updated paystackease-ci-cd yml file (18ddb8d)

  • style(package): updated paystackease-ci-cd yml file (dbe5b10)

  • style(package): updated paystackease-ci-cd yml file (3514e7a)

  • style(package): updated paystackease-ci-cd yml file (93a50af)

  • style(package): updated paystackease-ci-cd yml file (abc2a44)

  • style(package): updated paystackease-ci-cd yml file (4785cf9)

  • style(package): updated paystackease-ci-cd yml file (4c7dd94)

  • style(package): updated paystackease-ci-cd yml file (fced90f)

  • style(package): updated paystackease-ci-cd yml file (48c13e5)

  • style(package): updated paystackease-ci-cd yml file (c2d7a4c)

  • style(package): updated paystackease-ci-cd yml file (3f8c691)

  • style(package): updated paystackease-ci-cd yml file (0d02a50)

  • style(package): updated paystackease-ci-cd yml file (b63edb2)

  • style(package): updated paystackease-ci-cd yml file (ce34905)

  • style(package): updated paystackease-ci-cd yml file (7e2de77)

  • style(package): updated paystackease-ci-cd yml file (edbdfe4)

  • style(package): updated paystackease-ci-cd yml file (e9e9cd3)

  • style(package): updated paystackease-ci-cd yml file (436af59)

  • style(package): updated paystackease-ci-cd yml file (5a7a6b3)

  • style(package): updated paystackease-ci-cd yml file (a8f39b9)

  • style(package): updated pyproject toml file (153a589)

  • style(package): updated paystackease-ci-cd yml file (ef35fa8)

  • style(package): added pyptoject (941cd9b)

  • style(package): added PSR (3280a6b)

Unknown

  • Merge remote-tracking branch 'origin/master' (344ea0c)

  • added paystackease CI workflow (667510d)

  • added paystackease CI workflow (4dd207c)

  • added paystackease CI workflow (773b34e)

  • added paystackease CI workflow (0e13432)

  • added paystackease CI workflow (63d32d3)

  • updated tests (c9ea929)

  • updated pyproject file (b5560c8)

  • added version (530c367)

  • Update index.rst (2ebdb5c)

  • fixed the message and status_code in PayStackError class (d8b655d)

  • updated (4528159)

v2.0.0

19 Apr 08:32

Choose a tag to compare

This release deprecated most modules from previous versions, improved error handling and type annotations.