Releases: stellar/anchor-platform
2.1.0
What's Changed
- Merge main to develop for release 2.0.1 by @lijamie98 in #927
- [ANCHOR-283] Add RequestLoggerFilter configuration to prevent unintentional PII (sensitive) logs by @lijamie98 in #928
- Update release-a-new-version.md (Release issue template) by @lijamie98 in #894
- Fix NPE where the country code isn't specified in the sellAsset of Sep38Service by @Ifropc in #929
- [ANCHOR-310] Add kyc_fields_forwarding configuration and implementation by @lijamie98 in #933
- [ANCHOR-330] Attempt to fix the racing condition where the servers were not shutdown before the next test starts by @lijamie98 in #931
- Fix: Increase timeouts for anchor client in SEP-24 e2e test by @philipliu in #940
- Fix SEP-31 transfer_received_at calculation by @philipliu in #939
- [ANCHOR-328] Add homeDomain and webAuthDomain length validation by @lijamie98 in #942
- Fix the test errors caused by testnet resets by @lijamie98 in #943
- [ANCHOR-305] SEP-24 XLM support by @philipliu in #941
- Revise release-a-new-version.md to the Gitflow workflow by @lijamie98 in #945
- [ANCHOR-343] Disable SEP-31 and SEP-38 for native asset by @philipliu in #950
- Bump kotlin-wallet-sdk version by @philipliu in #947
- [ANCHOR-341] Fix missing type field of the PutCustomerRequest in SEP-24 post transactions by @lijamie98 in #944
- Release 2.1.0 by @philipliu in #951
- [Forward to develop] v2.0.2 by @Ifropc in #952
Full Changelog: 2.0.2...2.1.0
SEP-0024 Native Asset Support
This release contains native asset support for SEP-0024. To enable this feature, add the "native" asset code to the list of assets in the "CURRENCIES" setting in your stellar.toml
file, as well as your assets.yaml
. For example:
stellar.toml
[[CURRENCIES]]
code = "native"
status = "test"
is_asset_anchored = false
anchor_asset_type = "crypto"
desc = "XLM, the native token of the Stellar network."
assets.yaml
schema: stellar
code: native
distribution_account: G...
significant_decimals: 7
...
sep24_enabled: true
sep31_enabled: false
sep38_enabled: false
Note that in both files, the code is set to the string "native", not the string "XLM", and issuer
is not set. The issuer
field is not used for the native asset.
2.0.2
2.0.1
What's Changed
- Main by @Ifropc in #860
- Make more_info_url to be mandatory by @Ifropc in #865
- Fix type by @Ifropc in #864
- Upgrade dependencies by @Ifropc in #870
- [ANCHOR-265] Implement GET /transactions Platform API endpoint by @Ifropc in #866
- Rename SEP query param values by @Ifropc in #875
- Allow zero fees [develop] by @Ifropc in #874
- [ANCHOR-269] Update GET /rate callback by @Ifropc in #880
- Fix the bug that allows SEP1_VALUE and SEP1_TYPE mapped to sep1.toml.value and sep1.toml.type by @lijamie98 in #883
- [ANCHOR-262] Fix: print log without encoding by @paulormnas in #884
- [ANCHOR-267] Add asset field to the JWT of SEP-24 interactive URL by @lijamie98 in #887
- [ANCHOR-290] Default STELLAR_ANCHOR_CONFIG to "file:" prefix if not specified. by @lijamie98 in #890
- [ANCHOR-291] Fix: update Github workflow to remove deprecated commands by @paulormnas in #893
- Add database migration tests by @Ifropc in #889
- Fix the pre-commit register Gradle task that fails on Windows by @lijamie98 in #888
- Fix tx_bad_seq error caused at Sep24End2EndTest.kt::
withdraw end-to-end flow()
by @Ifropc in #895 - [ANCHOR-205] Validate PATCH transactions request body. by @paulormnas in #867
- Merge release 2.0.0 to develop branch by @lijamie98 in #900
- [ANCHOR-303] Clear out README.md by @philipliu in #904
- [ANCHOR-292] Separate the platform API endpoints from the sep server by @lijamie98 in #905
- [ANCHOR-301] Add JWT auth for the platform server endpoints by @lijamie98 in #906
- [ANCHOR-263] Fix: check for asset min and max amount by @paulormnas in #907
- [ANCHOR-245] Support spring.flyway.baseline-on-migrate by @lijamie98 in #834
- [ANCHOR-304] Add JWT auth for callback endpoints by @philipliu in #909
- Add viable comments to api-schema classes by @lijamie98 in #915
- [ANCHOR-317] Remove SEP-9 propagation to JWT by @Ifropc in #916
- Replace the open_api yaml files with links to stellar-docs by @lijamie98 in #917
- [ANCHOR-311] Remove host_url and review usages of web_auth_domain by @Ifropc in #918
Full Changelog: 2.0.0-rc.2...2.0.1
Migrating from rc.1
- Please drop your existing database. Due to some changes in the schema, it's required for this release. In the future release candidates proper migration script would be provided, and no extra steps would be required.
- Make sure you are using correct docker tag. We removed "release" prefix, so now it's simply
stellar/anchor-platform:2.0.0-rc.2
. You can check it on the dockerhub SEP10_HOME_DOMAIN
is no longer required to be specified, as per #828 and #830amount_expected
no longer has amount field set. If user requested a specific amount, it will be passed in JWT. See documentation for more info and full change is available in #833- Assets of Amounts fields modified via PATCH request are now validated. Make sure that assets are correctly set, as described in the documentation. See full change here #840
- Amounts of Amounts fields modified via PATCH request are now validated. Make sure
significant_decimals
is properly set, and passed amount has correct precision. Full change: #848 - Logging configuration has been renamed. To change logging level
app_logging
configuration should now be used. See #832 for the change. kyc_verified field
is no longer available. #847
Migrating from rc.2
/rate
callback used by SEP-31 has been updated. Please follow documentation for the latest changes (#880)SEP1_TYPE
andSEP1_VALUE
env variables should be renamed toSEP1_TOML_TYPE
andSEP1_TOML_VALUE
(#883)- Asset requested by the user can now be obtained from JWT received in the interactive url (#887)
STELLAR_ANCHOR_CONFIG
doesn't require a"file://"
prefix to be specified (#890) fixes #881SEP
(SEP-compatible endpoints) andPlatform
(internal Platform endpoints, documented here) servers are now split. Please refer to server split configuration section for detailed information (#905)- Platform server now supports JWT auth. Can be enabled via
platform_server.auth.type=jwt
. The secret is stored insecret.platform_api.auth_secret
variable. #906 - Callback endpoints now support JWT auth. Can be enabled via
callback_api.auth.type=jwt
. The secret is stored insecret.callback_api.auth_secret
variable. #909 - SEP-24 interactive URL's JWT doesn't contain SEP-9 fields anymore. Alternative method of passing PII will be introduced in the future versions. #916
host_url
configuration property has been removed. Instead, new propertysep10.home_domain
was added. It's now used in place ofhost_url
. You should set new property to the host of the Stellar toml file. If you are using Platform so serve the file (sep1.enabled=true
), it will be the domain of the platform. Note, that the value should not have the scheme, only domain (stellar.org
, nothttps://stellar.org
) #918
Server split configuration
Before v2.0.1 of the Platform, SEP and Platform servers were unified. Starting with v2.0.1 and onward, they are separate.
First, create a separate docker configuration for both services.
sep-server:
image: stellar/anchor-platform:2.0.1
command: --sep-server
ports:
- "8080:8080"
env_file:
- ./dev.env
volumes:
- ./config:/home
platform-server:
image: stellar/anchor-platform:2.0.1
command: --platform-server
ports:
- "8085:8085"
env_file:
- ./dev.env
volumes:
- ./config:/home
After, update PLATFORM_API_BASE_URL
. Note, that the default port for platform API has changed to 8085:
PLATFORM_API_BASE_URL=http://platform:8085
1.2.14
What's Changed
- Use amounts calculated by rate integration in SEP-38 by @philipliu in #911
Full Changelog: release-1.2.13...release-1.2.14
1.2.13
2.0.0-rc.2
What's Changed
- Forward 1.2.10, 1.2.11 and 1.2.12 changes by @Ifropc in #812
- fix: getenv so it can handle line breaks
/n
and quotes/"
when reading System envs by @marcelosalloum in #824 - [ANCHOR-247] Add profile running utility classes for IntelliJ and VSCode dev environment by @lijamie98 in #825
- [ANCHOR-248] Renamed home_domain web_auth_domain in SEP10 and fix the createChallenge bug by @lijamie98 in #828
- Fix the comments of more_info_url and interactive_url by @lijamie98 in #829
- [ANCHOR-233] When sep10.web_auth_domain is not set, it is default to the domain of host_url by @lijamie98 in #830
- [ANCHOR-249] Rename logging to app_logging in configuration by @lijamie98 in #832
- [ANCHOR-212] Skip setting amountExpected when posting SEP24 transactions by @lijamie98 in #833
- [ANCHOR-92] Improve stellar observer logging messages by @lijamie98 in #835
- Remove release prefix by @Ifropc in #836
- [ANCHOR-253] Support SEP asset format in find transactions + add tests by @Ifropc in #838
- Fix run profile by @Ifropc in #837
- Fix stellar transaction id is not set properly by @Ifropc in #839
- [ANCHOR-161] Validate assets by @paulormnas in #840
- Cleanup transaction schema by @Ifropc in #847
- Validate significant decimals by @Ifropc in #848
Migrating from rc.1
- Please drop your existing database. Due to some changes in the schema, it's required for this release. In the future release candidates proper migration script would be provided, and no extra steps would be required.
- Make sure you are using correct docker tag. We removed "release" prefix, so now it's simply
stellar/anchor-platform:2.0.0-rc.2
. You can check it on the dockerhub SEP10_HOME_DOMAIN
is no longer required to be specified, as per #828 and #830amount_expected
no longer has amount field set. If user requested a specific amount, it will be passed in JWT. See documentation for more info and full change is available in #833- Assets of Amounts fields modified via PATCH request are now validated. Make sure that assets are correctly set, as described in the documentation. See full change here #840
- Amounts of Amounts fields modified via PATCH request are now validated. Make sure
significant_decimals
is properly set, and passed amount has correct precision. Full change: #848 - Logging configuration has been renamed. To change logging level
app_logging
configuration should now be used. See #832 for the change. kyc_verified field
is no longer available. #847
Full Changelog: release-2.0.0-rc.1...2.0.0-rc.2
1.2.12
What's Changed
Full Changelog: release-1.2.11...release-1.2.12
2.0.0-rc.1
- Redesign configuration management.
- Implement SEP-24.
- Implement end-to-end tests for SEP-24 done in GitHub Actions.
1.2.11
1.2.10
What's Changed
Full Changelog: release-1.2.9...release-1.2.10