Skip to content

v2.2.0

Compare
Choose a tag to compare
@pawelad pawelad released this 11 Sep 00:25
· 13 commits to main since this release

Added

  • Add counterparty field support to Monzo transactions (by @csogilvie in #34).

Changed

  • Stop being strict with certain Monzo enums and allow any string values.

    Specifically, account's type, currency and transaction's decline_reason.

  • Changed empty_str_to_none logic to be in line with empty_dict_to_none.

Fixed

  • Use 'form data' instead of 'query params' for relevant Monzo API endpoints (by m-roberts in #39).

    Previously, these endpoints (incorrectly) sent request arguments through 'query params' and not 'form data':

    • AttachmentsResource.upload() (POST /attachment/upload)
    • AttachmentsResource.register() (POST /attachment/register)
    • AttachmentsResource.deregister() (POST /attachment/deregister)
    • FeedResource.create() (POST /feed)
    • PotsResource.deposit() (PUT /pots/{pot_id}/deposit)
    • PotsResource.withdraw() (PUT /pots/{pot_id}/withdraw)
    • TransactionsResource.annotate() (PATCH /transactions/{transaction_id})
    • WebhooksResource.register() (POST /webhooks)
  • Add (more) missing transaction decline reasons (by chris987p in #42).

  • Add (more) missing account types (by @m-roberts in #38).

  • Fix listing transactions with expand_merchants=True when suggested_tags isn't present (by @csogilvie in #34).

  • Allow transaction category to be any string. Monzo supports custom categories as part of their "Plus" plan.