v2.0
Update: this version will not run properly for SEP-24 deployments. Use version 2.0.1 or higher.
Breaking Changes
Dependencies
- Upgraded
django
to 3.2 - Upgraded
stellar-sdk
to 4.1 - Upgraded
pyjwt
to 2.1 - Removed
psycopg2-binary
- Add
pytest-asyncio
to dev dependencies - Require latest minor version of all other dependencies, accept future minor updates
Data Model
- Removed the
Asset.distribution_account_master_signer
property - Removed the
Asset.distribution_account_signers
property - Removed the
Asset.distribution_account_thresholds
property - Added the
Asset.get_distribution_account_data()
method - Added the
Asset.get_distribution_account_signers()
method - Added the
Asset.get_distribution_account_thresholds()
method - Added the
Asset.get_distribution_account_master_signer()
method
Templates
- Updated all template
block
tags to use double quotes
Middleware
- Remove
PolarisSameSiteMiddleware
Integrations
- All unimplemented integration functions raise
NotImplementedError()
- Removed
DepositIntegration.instructions_for_pending_deposit()
- Removed JavaScript integrations (
TemplateScript
,register_integrations(scripts=<>)
) - Added the
rest_framework.request.Request
to all integration functions called within requests - Added a new
SEP10Token
object to all integration functions called within requests authenticated via SEP-10 - Added
*args
and**kwargs
parameters to all integration functions so adding future parameters is non-breaking
CLI Commands
- Renamed
poll_pending_deposits
toprocess_pending_deposits
and made it asynchronous, mergedcheck_trustlines
functionality into this command- Integration functions called within this process are still called from a synchronous context
- Remove
check_trustlines
command