Releases: pawelad/pymonzo
v2.2.1
v2.2.0
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'sdecline_reason
. -
Changed
empty_str_to_none
logic to be in line withempty_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
whensuggested_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.
v2.1.0
v2.0.1
Fixed
- Monzo pot
goal_amount
is not always present (by @csogilvie). [#32] - Add missing account types (by @csogilvie). [#31]
- Add missing space to
NoSettingsFile
exception message.
v2.0.0
Added
- Add (optional)
rich
andbabel
support. - Add
expand_merchant
parameter toTransactionsResource.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 toMonzoAPI()
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 withMonzoAPI.authorize()
and load from disk.
Fixed
- Make
MonzoTransaction.settled
validator run inbefore
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.