Skip to content

v2.0.0

Compare
Choose a tag to compare
@pawelad pawelad released this 07 Mar 22:16
· 48 commits to main since this release

Added

  • Add (optional) rich and babel support.
  • Add expand_merchant parameter to TransactionsResource.list. It's not very
    clear in the API docs, but it works on that endpoint as well.
  • Add custom NoSettingsFile exception. It's raised when the access token wasn't
    passed explicitly to MonzoAPI() and the settings file couldn't be loaded.

Changed

  • Update MonzoTransactionMerchant schema with new fields returned by the API.
  • Simplify MonzoAPI initialization.
    This (unfortunately) needed an API change because the current attributes (in
    hindsight) didn't really make sense.
    Now, you can either use an already generated (and temporary) access
    token, or generate it with MonzoAPI.authorize() and load from disk.

Fixed

  • Make MonzoTransaction.settled validator run in before mode.
  • Add new MonzoTransactionDeclineReason values missing from Monzo API docs.
  • Add new MonzoTransactionCategory values missing from Monzo API docs.
  • Remove Markdown links from PyPI package description.