5.0.0a1
Pre-release-
Removed the following long deprecated methods from the
laterpay.LaterPayClient
:get_access()
, useget_access_data()
insteadget_iframeapi_balance_url()
, usget_controls_balance_url()
insteadget_iframeapi_links_url()
, usget_controls_links_url()
insteadget_identify_url()
is not needed following our modern access control
checks
-
Removed the following deprecated arguments from
laterpay.LaterPayClient
methods:use_dialog_api
fromget_login_dialog_url()
use_dialog_api
fromget_signup_dialog_url()
use_dialog_api
fromget_logout_dialog_url()
-
Removed the following public methods from
laterpay.signing
:sign_and_encode()
in favor oflaterpay.utils.signed_query()
sign_get_url()
in favor oflaterpay.utils.signed_url()
Note that
sign_and_encode()
andsign_get_url()
used to remove existing
'hmac'
parameters before signing query strings. This is different to
signed_query()
as that function also allows other names for the hmac query
argument. Please remove the parameter yourself if need be. -
Removed the deprecated
cp
argument fromlaterpay.ItemDefinition
-
Reliably ignore
hmac
andgettoken
parameters when creating the signature
message. In the pastsigning.sign()
andsigning.verify()
stripped those
keys when adict()
was passed from the passed function arguments but not
for lists or tuples. Note that as a result the provided parameters are not
touched anymore and calling either function will not have side-effects on
the provided arguments.