Skip to content

Releases: mollie/mollie-api-python

3.6.0

13 Oct 12:20
Compare
Choose a tag to compare

What's Changed

  • Allow a longer bank reference, reported in #335 by @SalimAtMollie , fixed in #336
  • Resolve issues with retrieving paginated data reported in #315, fixed by @Bladieblah in #333
  • Refactor regular expressions that extract identifiers from URLs, reported in #330, fixed in #331
  • Add Python 3.12 to test targets, fixed in #329

New Contributors

Full Changelog: 3.5.0...3.6.0

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

3.5.0

14 Jul 11:02
Compare
Choose a tag to compare

Summary:

  • Added support for capture on card payments in #312. Manual capture on card payments is currently in closed beta.

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

3.4.0

06 Jul 07:23
Compare
Choose a tag to compare

Summary:

  • A read timeout error should not be retried , reported by @andreashug in #325
  • Python 3.7 is EOL and removed from testing targets. The Pypy versions that are used while testing are also updated according the current supported variants (pypy 3.9 and 3.10). In #328
  • Enabled mypy check_untyped_defs (part of the continued effort to provide full type annotation support) in #286

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

3.3.0

13 Jun 07:43
Compare
Choose a tag to compare

Summary:

  • Add Billie as supported payment method
  • Add support for pickling ResponseError exceptions, reported by @kloki in #306
  • Deprecate the 'Submit onboarding data' endpoint, see the endpoint documentation

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

3.2.0

11 Apr 10:01
Compare
Choose a tag to compare

Summary:

If you'd like to retrieve a Balance Report or the Balance Transactions, you can do so using their respective methods:

balance = client.balances.get(balance_id)
report = balance.get_report()
transactions = balance.get_transactions()
  • Added support using Idempotency Keys when sending POST/PUT/DELETE requests. For every request an Idempotency Key will be generated and used automatically. However, you can submit your own Idempotency Key if you'd like by simply passing it as an argument. An Idempotency Key needs to be unique for each unique request.
client.customers.update(
    "cst_8wmqcHMN4U",
    {
        "name": "Updated Customer A",
        "email": "updated-customer@example.org",
    },
    idempotency_key="your_idempotency_key",
)
  • Added has_settlement() method to Payment
  • Simplified the code concerning validating the Settlements ID

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

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