Skip to content

Releases: stellar/anchor-platform

3.0.0

16 Dec 19:36
fbecc8e
Compare
Choose a tag to compare

Hightlights

Asset config and client config have been refined to enhance clarity and consistency.

  • Link to Assets config, Link to Clients config.

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 to items for better structure.
  • Unique Asset Identifier: Introduced id in the format schema:code:issuer to uniquely identify assets.
  • All SEP-specific configurations are now consolidated under sep# fields.
  • Mandatory field methods is add under sep6 and sep31 for KYC information collection.

🚨 Clients Config

  • Top-Level Field Change: Renamed clients to items 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

New RPC methods

🚨 Deprecations Updates

  • In Anchor config, sep10.home_domain has been removed; use sep10.home_domains instead.
  • In anchor config, platform_server.auth has been removed in favor of using platform_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 contains fee 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 with fee_details.

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 on PUT /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

1.0.22

21 Nov 00:51
95a72db
Compare
Choose a tag to compare

What's Changed

  • core: use token.getSub() instead of token.getAccount() for interactive JWT by @JakeUrban in #777
  • Add new field to the JWT token by @Ifropc in #885
  • Improve logs for SEP10Service by @Ifropc in #1023
  • [PARTNER-218] Bump java SDK version in legacy 1.0 by @Ifropc in #1233
  • [Legacy 1.0] PARTNER-296: Improve toml read error message by @Ifropc in #1304
  • [PARTNER-312] Upgrade to jdk 17 in legacy core by @Ifropc in #1432
  • Add ERROR to more_info by @Ifropc in #1437
  • [ANCHOR-857] [legacy/core-1.0] Migrate javax to jakarta and upgrade to JDK-17 by @lijamie98 in #1578

Full Changelog: release-1.0.12...release-1.0.22

2.11.2

05 Nov 00:21
a551cea
Compare
Choose a tag to compare

Bug Fixes

  • [ANCHOR-859] Fix the IOException(canceled) from SSEStream by @lijamie98 in #1561

Full Changelog: 2.11.1...2.11.2

2.11.1

28 Oct 22:04
Compare
Choose a tag to compare

What's Changed

  • [ANCHOR-832] Add Kafka PLAINTEXT, SASL_PLAINTEXT and SASL_SSL mode integration tests by @lijamie98 in #1542
  • [ANCHOR-858] Do not require keystore and truststore if ssl_cert_verify is false by @lijamie98 in #1554
  • [ANCHOR-845] Revise release note template and create custom gradle tasks for testing by @lijamie98 in #1548

Full Changelog: 2.11.0...2.11.1

2.11.0

03 Oct 19:16
989b099
Compare
Choose a tag to compare

What's Changed

  • [ANCHOR-842] Validate rate.buy/sell_amount must match request.buy/sell_amount by @lijamie98
  • [ANCHOR-836] Add configuration event.queue.kafka.ssl_cert_verify to allow bypassing SSL cert verification in dev mode. by @lijamie98
  • [ANCHOR-831] Replace test hard-coded values with constants by @lijamie98
  • [ANCHOR-831] Inject test payment values from testnet by matching the memo by @lijamie98
  • [ANCHOR-843] Allow PENDING_EXTERNAL state even if funds are not received in notify_offchain_funds_received method by @lijamie98

Full Changelog: 2.10.2...2.11.0

2.10.2

25 Sep 19:00
cb5a4bf
Compare
Choose a tag to compare

What's Changed

  • [ANCHOR-828] Improve PropertyQueueConfig validations by @lijamie98 in #1510
  • [ANCHOR-834] Add transaction_id to callback customer API when request provides it by @lijamie98 in #1519
  • [ANCHOR-833] Improve RestRateIntegration fee handling by @lijamie98 in #1518

Full Changelog: 2.10.1...2.10.2

2.10.1

24 Sep 17:01
375dacf
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.10.0...2.10.1

2.10.0

17 Sep 00:07
Compare
Choose a tag to compare

What's New

Bug Fixes

  • [ANCHOR-796] Fix NotifyCustomerInfoUpdated RPC call by @philipliu in #1477
  • [ANCHOR-810] Fix the rate response validation bug when there is no fee by @lijamie98 in #1497
  • [ANCHOR-822] Fix OkHttp response leak by @lijamie98 in #1502
  • [ANCHOR-824] Add the missing PropertyQueueConfig validations by @lijamie98 in #1504
  • [ANCHOR-827] Fix the NPE when deliver events to callback API returns empty string by @lijamie98 in #1505

What's Changed

  • [CHORE] Add CAD->stellarUSDCprod conversion and re-order the conversion pairs by @lijamie98 in #1478
  • [ANCHOR-792] Set default image pull policy to Always by @philipliu in #1495

Full Changelog: 2.9.0...2.10.0

2.9.0

26 Aug 18:53
d377d3e
Compare
Choose a tag to compare

What's Changed

Features

Add SEP-12 status callbacks and update NotifyCustomerInfoUpdated RPC

Add validation to RateIntegration responses

  • [ANCHOR-749] Add missing validations to the RateIntegration response by @lijamie98 in #1454

Bug Fixes and Improvements

  • Fix RequestOnchainFunds incorrect hash memo by @philipliu in #1447
  • [ANCHOR-748] Add quote_id to GET /transaction responses by @philipliu in #1450
  • [ANCHOR-752] Remove amount_out requirement in RequestOnchainFunds by @philipliu in #1451
  • clean rate request by @Ifropc in #1456
  • [ANCHOR-764] Add SEP-12 status callback tests by @philipliu in #1460
  • [ANCHOR-764] Add callback URL validation for custodial clients by @philipliu in #1465
  • [ANCHOR-783] Remove amount_out requirement in RequestOffchainFunds by @philipliu in #1466

Misc

Full Changelog: 2.8.4...2.9.0

2.8.4

29 Jul 21:09
acfed77
Compare
Choose a tag to compare

What's Changed

Bug fix

Misc

Full Changelog: 2.8.3...2.8.4