Releases: stellar/anchor-platform
Releases · stellar/anchor-platform
3.0.0
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
1.0.22
What's Changed
- core: use
token.getSub()
instead oftoken.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
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
What's Changed
- [ANCHOR-832] Add Kafka
PLAINTEXT
,SASL_PLAINTEXT
andSASL_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
What's Changed
- [ANCHOR-842] Validate
rate.buy/sell_amount
must matchrequest.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
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
What's Changed
- [ANCHOR-829] Allow
rate.fee.total
to be zero by @JiahuiWho in #1511
Full Changelog: 2.10.0...2.10.1
2.10.0
What's New
- [ANCHOR-801] Add Kafka SASL-SSL authentication support by @lijamie98 in #1498
- For how to configure Kafka SASL_SSL authentication, please refer to the anchor-config-default-values.yaml
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
What's Changed
Features
Add SEP-12 status callbacks and update NotifyCustomerInfoUpdated RPC
- [ANCHOR-764] Update NotifyCustomerInfoUpdated RPC by @philipliu in #1445
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
- [Chore] Main -> Develop (#1440) by @Ifropc in #1441
- Use docker compose v2 by @philipliu in #1448
- [ANCHOR-756] Upgrade docker-compose-rule and require DOCKER_LOCATION and DOCKER_COMPOSE_RULE system env by @lijamie98 in #1457
- [CHORE] Organize the IntelliJ Run Configurations by @lijamie98 in #1458
- Set default
container.imagePullPolicy
toIfNotPresent
by @philipliu in #1467 - Include doc release process in release template by @philipliu in #1468
- Revert "Set default
container.imagePullPolicy
toIfNotPresent
(#1467)" by @philipliu in #1470 - [Chore] Bump version to 2.9 by @philipliu in #1471
Full Changelog: 2.8.4...2.9.0