Skip to content

Releases: mollie/mollie-api-python

3.1.1

28 Feb 14:03
Compare
Choose a tag to compare

Summary:

  • Added Payment.cancel_url and Order.cancel_url properties
  • Removed circular import references from result objects, so you can do from mollie.api.objects.payment import Payment again without workarounds (reported by @pennersr for reporting in #301)

Install it: https://pypi.org/project/mollie-api-python/3.1.1

3.1.0

05 Jan 16:01
e5c0751
Compare
Choose a tag to compare

Summary:

  • Add a new method client.set_testmode(True) to the client to enable testmode for all requests (#294)
  • Don't add OAuth/2.0 to the User-Agent header when using an access-token from the Dashboard (related to #296)
  • Add the py.typed marker to the package so it's obvious that we supply type definitions.

Install it: https://pypi.org/project/mollie-api-python/3.1.0

3.0.1

13 Dec 10:04
Compare
Choose a tag to compare

Summary:

  • Added back the accidentally removed Payment.subscription_id property, reported by @WAKayser in #292

Install it: https://pypi.org/project/mollie-api-python/3.0.1

3.0.0

12 Dec 11:55
561c3f4
Compare
Choose a tag to compare

Summary:

  • Major API changes that make using the library a lot easier. Clearer method signatures, no methods in places that don't work anymore. Read all about it in the documentation
  • Type hints added for all resources code (more will be added later). This will help you catching bugs, and with coding in general (especially if your IDE supports type hints)
  • Python 3.11, PyPy 3.8 and PyPy 3.9 have been added to the tested (and supported) versions
  • Improved OAuth documentation in README
  • Added the missing Organization.resource property
  • Fixed some minor bugs uncovered by type annotations
  • Improved the release workflow on Github (Github Actions)

Note: Python code examples on docs.mollie.com are being updated to 3.0.0 syntax as soon as possible.

If you find any bugs or omissions, please file a new issue or get in touch on the Mollie Developer Discord.

Install it: https://pypi.org/project/mollie-api-python/3.0.0

3.0.0rc3

05 Dec 13:14
Compare
Choose a tag to compare
3.0.0rc3 Pre-release
Pre-release

Summary:

  • Added more type annotations
  • Fixed some minor bugs uncovered by type annotations
  • Improved documentation on the changes in v3
  • Improve package building and release workflow

Install it: https://pypi.org/project/mollie-api-python/3.0.0rc3

3.0.0rc2

11 Nov 11:53
e48a5ed
Compare
Choose a tag to compare
3.0.0rc2 Pre-release
Pre-release

Summary:

  • Added a pointer to the v3 changes documentation in the main README
  • Improve OAuth documentation in README
  • Added the missing Organization.resource property
  • Improved the release workflow on Github (Github Actions)

Install it: https://pypi.org/project/mollie-api-python/3.0.0rc2/

3.0.0rc1

08 Nov 14:44
a93d6fe
Compare
Choose a tag to compare
3.0.0rc1 Pre-release
Pre-release

Summary:

  • Major API changes that make using the library a lot easier. Clearer method signatures, no methods in places that don't work anymore. Read all about it in the documentation.
  • Type hints added for all resources code (more will be added later). This will help you catching bugs, and with coding in general (especially if your IDE supports type hints).
  • Python 3.11, PyPy 3.8 and PyPy 3.9 have been added to the tested (and supported) versions.

https://pypi.org/project/mollie-api-python/3.0.0rc1/

Release v2.13.0

05 Jul 08:33
Compare
Choose a tag to compare

Summary:

  • Added example code for handling a payment using a QR-code.
  • Added the missing paidAt property to the Invoice object.
  • Removed support for Python 3.6 (it should still be working but we don't support or test it anymore).
  • Added support for the Client API.
  • Payment method in3 added.

Release v2.12.0

19 Oct 09:57
Compare
Choose a tag to compare

Summary:

  • Add support for various missing properties:
    • Chargeback.reason
    • Chargeback.payment
    • Chargeback.settlement
    • Order.has_refunds()
    • Payment.changepaymentstate_url
    • Payment.payonline_url
    • Profile.business_category
    • Refund.settlement_id
    • Refund.settlement
    • Settlement.captures
    • Settlement.invoice
    • Subscription.times_remaining
    • Subscription.next_payment_date
    • Subscription.mandate_id
    • Subscription.application_fee
    • Subscription.profile
  • Do not perform an API call to fetch related data for a result if we already know that the related data doesn't exist. Example: A customer can have subscriptions, which can be fetched using Customer.subscriptions. The subscription data is not part of the Customer object, so there will be an additional API call to fetch these subscriptions. The result can be an empty list, when the customer has no subscriptions. However: if we can determine from the Customer data that there are no subscriptions, we won't do the API call before returning an empty Subscription list. This behavior is implemented for various properties:
    • Chargeback.settlement
    • Customer.subscriptions
    • Customer.mandates
    • Customer.payments
    • Order.refunds
    • Payment.refunds
    • Payment.chargebacks
    • Payment.captures
    • Payment.settlement
    • Payment.mandate
    • Payment.subscription
    • Payment.customer
    • Refund.settlement
    • Refund.order
    • Subscription.profile
  • Build packages using the new build tool, publish both sdist and wheel packages.
  • A deprecation warning was added for property Profile.category_code.
  • A bug in the test suite was fixed that resulted in failing tests if your locale did not use UTF-8 encoding by default. Reported by @twanwalpot
  • Some internal code changes to prepare for the addition of type hints. Type hints will be added in the future, they're a work in progress, see #192 for details.
  • Updated the example code to be a bit more usable while testing actual interactions with the Mollie API. Now you can inject an ngrok (or similar) URL into the flask app easily, so API calls to Mollie won't be rejected for containing unreachable endpoints in redirect or callback URLs.

Release v2.11.0

11 Oct 13:42
Compare
Choose a tag to compare

Summary:

  • Added support for Python 3.10
  • Added a few missing properties and methods to result objects:
    • Payment.amount_chargedback
    • Payment.has_chargebacks()
    • Payment.amount_captured
    • Payment.has_captures()
    • Organization.vat_regulation
  • Added support for split payments: Payment.routing and Payment.has_split_payments().
  • Add some tests for code that was previously not covered.
  • Corrected an error in the example code, reported by @YannickSoepnel