Releases: laterpay/laterpay-client-python
Releases · laterpay/laterpay-client-python
4.6.0
4.5.0
4.4.1
4.4.0
4.3.0
4.2.0
laterpay.signing.sign_and_encode()
is deprecated and will be removed in a
future release. Consider usinglaterpay.utils.signed_query()
instead.signing.sign_get_url()
is deprecated and will be removed in a future
release.LaterPayClient.get_access()
is deprecated and will be removed in a future
release. Consider usingLaterPayClient.get_access_data()
instead.LaterPayClient.get_identify_url()
is deprecated and will be removed in a future
release.- New utility functions:
laterpay.utils.signed_query()
and
laterpay.utils.signed_url()
- New
LaterPayClient
methods:get_request_headers()
get_access_url()
get_access_params()
get_access_data()
- Improved and newly added tests.
- Improved
laterpay.signing
docs. - Replaced most of
compat
with propersix
usage.
4.1.0
- Dialog API Wrapper is deprecated.
get_buy_url()
,get_add_url()
,get_login_dialog_url()
,get_signup_dialog_url()
, andget_logout_dialog_url()
have a newuse_dialog_api
parameter that sets if the URL returned uses the Dialog API Wrapper or not. Defaults to True during the Dialog API deprecation period.ItemDefinition
no longer requires acp
argument.
4.0.1
4.0.0
- Exceptions raised by
urlopen
inLaterPayClient._make_request()
are now logged withERROR
level usingLogger.exception()
. - Added
timeout_seconds
(default value is 10) param toLaterPayClient
. Backend API requests will time out now according to that value. - Removed deprecated
laterpay.django
package. - Removed deprecated
vat
andpurchasedatetime
params fromItemDefinition.__init__()
. This is a backward incompatible change to__init__(self, item_id, pricing, url, title, cp=None, expiry=None)
from__init__(self, item_id, pricing, vat, url, title, purchasedatetime=None, cp=None, expiry=None)
. - Removed deprecated
add_metered_access()
andget_metered_access()
methods fromLaterPayClient
.