Hightlights
Asset config and client config have been refined to enhance clarity and consistency.
SEP-31 has adopted same aggressive onboarding approach as SEP-6 by delegating KYC to SEP-12.
- Link to SEP-31 protocol.
New RPC methods:get_transaction
, get_transactions
and get_quote
.
- Link to stellar doc.
What's Changed
(Section with 🚨 indicating breaking changes incompatible with version 2.x. Please update your code accordingly.)
🚨 Assets Config
- Top-Level Field Change: Renamed
assets
toitems
for better structure. - Unique Asset Identifier: Introduced
id
in the formatschema:code:issuer
to uniquely identify assets. - All SEP-specific configurations are now consolidated under
sep#
fields. - Mandatory field
methods
is add undersep6
andsep31
for KYC information collection.
🚨 Clients Config
- Top-Level Field Change: Renamed
clients
toitems
for better structure. - Callback URL Specification: Introduced
callback_urls
field to allow separate callback URLs for SEP-6, SEP-12, SEP-24, and SEP-31.
KYC in SEP-6 and SEP-31
- [ANCHOR-717] Remove deprecated SEP-6 KYC fields by @philipliu in #1411
- [ANCHOR-737] Update SEP-31 test with new KYC flow by @JiahuiWho in #1442
- [SEP-31] Remove SEP-31 KYC verification by @JiahuiWho in #1459
New RPC methods
- [ANCHOR-425][1/n] Add rpc method for retrieving transaction by @JiahuiWho in #1453
- [ANCHOR-728] Implement platform Quote API by @lijamie98 in #1549
🚨 Deprecations Updates
- In Anchor config,
sep10.home_domain
has been removed; usesep10.home_domains
instead. - In anchor config,
platform_server.auth
has been removed in favor of usingplatform_api.auth
. - In anchor config, the
event_processor.callback_api_request.enabled
now defaults to false. - The callback
/fee
is no longer supported, please use/rates
which containsfee
information alternatively. - The callback
/unique_address
is no longer supported. - The RPC method
RequestCustomerInfoUpdate
is no longer supported. - In all SEP transaction object
amount_fee
has been replaced withfee_details
.
- [ANCHOR-640] Remove SEP10 home_domain by @JiahuiWho in #1307
- [ANCHOR-799] Remove
platform_server.auth
by @philipliu in #1501 - [ANCHOR-431] Set callback-api-request.enabled default to false by @lijamie98 in #1593
- [ANCHOR-417] Remove
/fee
callback by @Ifropc in #1430 - [ANCHOR-445] Remove
/unique_address
callback by @philipliu in #1446 - [ANCHOR-755] Remove
RequestCustomerInfoUpdate
RPC by @philipliu in #1484 - [ANCHOR-636] Clean up deprecation for
fee_details
by @JiahuiWho in #1319
System Improvements
- [ANCHOR-635] Use platform API fields for the SEP-24 and SEP-6
txn_fields
extractions by @lijamie98 in #1311 - [ANCHOR-674] Upgrade to Spring Boot 3.2 by @philipliu in #1407
- [ANCHOR-688] Upgrade dependencies by @philipliu in #1419
- [ANCHOR-734] AuthHelper refactoring by @Ifropc in #1428
- [ANCHOR-738] Remove unused dependencies by @philipliu in #1429
- [ANCHOR-727]: Fix base URL path being ignored by @Ifropc in #1431
- [ANCHOR-441] Remove
TRANSACTION_ERROR
event type by @philipliu in #1434 - [ANCHOR-477] Remove
withdraw_anchor_account
on SEP-24 txn by @philipliu in #1433 - [ANCHOR-442] Unify PlatformTransaction schemas by @philipliu in #1436
- [ANCHOR-733] Remove SEP-31 send limit checks in SEP-38 by @philipliu in #1443
- [ANCHOR-800] Calling
/auth
endpoint of the SEP server causes exceptions by @lijamie98 in #1488 - [ANCHOR-757] Return
GET /customer
response onPUT /customer
callback by @philipliu in #1491 - [ANCHOR-808] Add comments of callback api base url by @lijamie98 in #1494
- [ANCHOR-797] Clean up
GET /rate
by ID by @JiahuiWho in #1500 - [ANCHOR-821] Set app_logging.level default value to ERROR by @lijamie98 in #1503
- [ANCHOR-729]Include buy/sell delivery method in SEP-38 GET /quote response by @JiahuiWho in #1520
- [ANCHOR-865] Add missing columns on ref server start by @philipliu in #1569
- [ANCHOR-863] Run Junit tests on
FUTURENET
by @lijamie98 in #1568 - [ANCHOR-868] Fix broken docker-compose file by @lijamie98 in #1583
- [ANCHOR-592] Add data.schema to configuration to
develop
branch by @lijamie98 in #1589 - [ANCHOR-707] Improve comments of
languages
in anchor config by @JiahuiWho in #1592 - [ANCHOR-926] Ignore transfer_received_at field in API tests by @philipliu in #1596
Full Changelog: 2.12.0...3.0.0