Skip to content

v2.0

Compare
Choose a tag to compare
@JakeUrban JakeUrban released this 02 Sep 21:28
· 124 commits to master since this release
e4d5b14

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 to process_pending_deposits and made it asynchronous, merged check_trustlines functionality into this command
    • Integration functions called within this process are still called from a synchronous context
  • Remove check_trustlines command