Skip to content

Commit 9a44c7b

Browse files
authored
Merge pull request #969 from stellar/release/6.0.0
Release `6.0.0` to `main`
2 parents 84a616d + 9f7983b commit 9a44c7b

File tree

376 files changed

+11202
-7476
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

376 files changed

+11202
-7476
lines changed

.env.example

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/automated_release_process.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
fi
3434
3535
- name: Checkout repository
36-
uses: actions/checkout@v5
36+
uses: actions/checkout@v6
3737
with:
3838
fetch-depth: 0
3939

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919

2020
- name: Set up Go
2121
uses: actions/setup-go@v6
@@ -72,7 +72,7 @@ jobs:
7272
runs-on: ubuntu-latest
7373
steps:
7474
- name: Checkout
75-
uses: actions/checkout@v5
75+
uses: actions/checkout@v6
7676

7777
- name: Install NodeJs
7878
uses: actions/setup-node@v6
@@ -100,12 +100,12 @@ jobs:
100100
runs-on: ubuntu-latest
101101
steps:
102102
- name: Checkout
103-
uses: actions/checkout@v5
103+
uses: actions/checkout@v6
104104

105105
- name: Install NodeJs
106106
uses: actions/setup-node@v6
107107
with:
108-
node-version: 20
108+
node-version: 22
109109

110110
- name: Install dependencies
111111
working-directory: internal/serve/sep24frontend/app
@@ -128,7 +128,7 @@ jobs:
128128
runs-on: ubuntu-latest
129129
steps:
130130
- name: Checkout
131-
uses: actions/checkout@v5
131+
uses: actions/checkout@v6
132132

133133
- name: Set up Go
134134
uses: actions/setup-go@v6
@@ -167,7 +167,7 @@ jobs:
167167

168168
steps:
169169
- name: Checkout
170-
uses: actions/checkout@v5
170+
uses: actions/checkout@v6
171171

172172
- name: Setup Go
173173
uses: actions/setup-go@v6

.github/workflows/docker_image_public_release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
uses: ./.github/workflows/ci.yml # execute the callable ci.yml
1919
secrets: inherit # pass all secrets
2020

21-
anchor_platform_integration_check:
22-
uses: ./.github/workflows/anchor_platform_integration_check.yml # execute the callable anchor_platform_integration_check.yml
21+
internal_sep_validation:
22+
uses: ./.github/workflows/internal_sep_validation.yml
2323
needs:
2424
- tests
25-
secrets: inherit # pass all secrets
25+
secrets: inherit
2626

2727
e2e_integration_test:
2828
uses: ./.github/workflows/e2e_integration_test.yml # execute the callable e2e_integration_test.yml
@@ -36,8 +36,8 @@ jobs:
3636
runs-on: ubuntu-latest
3737
needs:
3838
- tests
39-
- anchor_platform_integration_check
4039
- e2e_integration_test
40+
- internal_sep_validation
4141
steps:
4242
- name: Check if tag is not empty
4343
run: |
@@ -55,7 +55,7 @@ jobs:
5555
echo "TAGS=stellar/stellar-disbursement-platform-backend:${{ github.event.release.tag_name }}" >> $GITHUB_OUTPUT
5656
fi
5757
58-
- uses: actions/checkout@v5
58+
- uses: actions/checkout@v6
5959

6060
- name: Login to DockerHub
6161
uses: docker/[email protected]
@@ -78,10 +78,10 @@ jobs:
7878
runs-on: ubuntu-latest
7979
needs:
8080
- tests
81-
- anchor_platform_integration_check
81+
- internal_sep_validation
8282
- e2e_integration_test
8383
steps:
84-
- uses: actions/checkout@v5
84+
- uses: actions/checkout@v6
8585

8686
- name: Login to DockerHub
8787
uses: docker/[email protected]

.github/workflows/e2e_integration_test.yml

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,16 @@ jobs:
8888
CIRCLE_API_TYPE: ${{ matrix.CIRCLE_API_TYPE || 'TRANSFERS' }}
8989
steps:
9090
- name: Checkout
91-
uses: actions/checkout@v5
91+
uses: actions/checkout@v6
9292

9393
- name: Cleanup data
9494
working-directory: internal/integrationtests/docker
9595
run: docker compose -f docker-compose-e2e-tests.yml down -v
9696
shell: bash
9797

98-
- name: Run Docker Compose for SDP, Anchor Platform and TSS
98+
- name: Run Docker Compose for SDP and TSS
9999
working-directory: internal/integrationtests/docker
100100
run: docker compose -f docker-compose-e2e-tests.yml up --build -V -d
101-
shell: bash
102101

103102
- name: Install curl
104103
run: sudo apt-get update && sudo apt-get install -y curl
@@ -131,40 +130,29 @@ jobs:
131130
docker exec e2e-sdp-api sh -c "./stellar-disbursement-platform integration-tests create-data"
132131
shell: bash
133132

134-
- name: Restart Anchor Platform
133+
- name: Verify SEP endpoints configuration
135134
run: |
136-
docker restart e2e-anchor-platform
137-
shell: bash
138-
139-
- name: Wait for the Anchor Platform to be up
140-
run: |
141-
wait_for_server() {
142-
local endpoint=$1
143-
local max_wait_time=$2
144-
145-
SECONDS=0
146-
while ! curl -s $endpoint > /dev/null; do
147-
echo "Waiting for server at $endpoint to be up... $SECONDS seconds elapsed"
148-
sleep 4
149-
if [ $SECONDS -ge $max_wait_time ]; then
150-
echo "Server at $endpoint is not up after $max_wait_time seconds."
151-
exit 1
152-
fi
153-
done
154-
echo "Server at $endpoint is up."
155-
}
156-
157-
wait_for_server http://localhost:8080/health 120
158-
wait_for_server http://localhost:8085/health 120
135+
echo "Checking stellar.toml configuration..."
136+
TOML=$(curl -s http://localhost:8000/.well-known/stellar.toml)
137+
138+
echo "Verifying SEP endpoints in stellar.toml..."
139+
if echo "$TOML" | grep -q "TRANSFER_SERVER.*8000"; then
140+
echo "✅ TOML correctly points to SEP-24 endpoints"
141+
else
142+
echo "❌ TOML does not point to SEP-24 endpoints"
143+
echo "$TOML"
144+
exit 1
145+
fi
159146
shell: bash
160147

161148
- name: Start integration test command
162149
run: |
150+
echo "Running integration tests with native SDP SEP services"
163151
docker exec e2e-sdp-api sh -c "./stellar-disbursement-platform integration-tests start"
164152
shell: bash
165153

166154
- name: Docker logs
167155
if: always()
168156
working-directory: internal/integrationtests/docker
169157
run: docker compose -f docker-compose-e2e-tests.yml logs && docker compose -f docker-compose-e2e-tests.yml down
170-
shell: bash
158+
shell: bash
Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
name: SDP<>AnchorPlatform Integration
1+
name: Internal SEP Services Validation
2+
# this workflow tests that SDP's SEP implementations adhere to Stellar's SEP specifications
23

34
on:
45
push:
56
branches:
67
- main
78
pull_request:
8-
workflow_call: # allows this workflow to be called from another workflow
9+
workflow_call:
910

1011
permissions:
1112
contents: read
1213

1314
jobs:
14-
anchor-integration:
15+
internal-sep-validation:
1516
runs-on: ubuntu-latest
16-
environment: "Anchor Integration Tests"
17+
environment: "Internal SEP Tests"
1718
env:
1819
DISTRIBUTION_PUBLIC_KEY: ${{ vars.DISTRIBUTION_PUBLIC_KEY }}
1920
DISTRIBUTION_SEED: ${{ vars.DISTRIBUTION_SEED }}
@@ -23,23 +24,25 @@ jobs:
2324
SEP10_SIGNING_PRIVATE_KEY: ${{ vars.SEP10_SIGNING_PRIVATE_KEY }}
2425
steps:
2526
- name: Checkout
26-
uses: actions/checkout@v5
27+
uses: actions/checkout@v6
2728

28-
- name: Run Docker Compose for SDP and Anchor Platform
29+
- name: Run Docker Compose for SDP
2930
working-directory: dev
30-
run: docker compose -f docker-compose-sdp-anchor.yml down && docker compose -f docker-compose-sdp-anchor.yml up --build -d
31+
run: |
32+
export SEP10_CLIENT_ATTRIBUTION_REQUIRED=false
33+
docker compose -f docker-compose-sdp.yml down && docker compose -f docker-compose-sdp.yml up --build -d
3134
3235
- name: Install curl
3336
run: sudo apt-get update && sudo apt-get install -y curl
3437

35-
- name: Wait for localhost:8080/health
38+
- name: Wait for localhost:8000/health
3639
timeout-minutes: 5
3740
run: |
38-
until curl --output /dev/null --silent --head --fail http://localhost:8080/health; do
39-
echo 'Waiting for anchor-platform to be up and running...'
41+
until curl --output /dev/null --silent --fail http://localhost:8000/health; do
42+
echo 'Waiting for SDP to be up and running...'
4043
sleep 15
4144
done
42-
echo 'Anchor-platform is up and running.'
45+
echo 'SDP is up and running.'
4346
4447
- name: Install NodeJs
4548
uses: actions/setup-node@v6
@@ -54,4 +57,4 @@ jobs:
5457
- name: Docker logs
5558
if: always()
5659
working-directory: dev
57-
run: docker compose -f docker-compose-sdp-anchor.yml logs && docker compose -f docker-compose-sdp-anchor.yml down
60+
run: docker compose -f docker-compose-sdp.yml logs && docker compose -f docker-compose-sdp.yml down

.github/workflows/singletenant_to_multitenant_db_migration_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ jobs:
3030
environment: "Receiver Registration - E2E Integration Tests (Stellar)"
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v5
33+
uses: actions/checkout@v6
3434

3535
- name: Cleanup data
3636
working-directory: internal/integrationtests/docker
3737
run: docker compose -f docker-compose-e2e-tests.yml down -v
3838
shell: bash
3939

40-
- name: Run Docker Compose for SDP, Anchor Platform and TSS
40+
- name: Run Docker Compose for SDP and TSS
4141
working-directory: internal/integrationtests/docker
4242
run: docker compose -f docker-compose-e2e-tests.yml up --build -V -d
4343
shell: bash

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
# Output of the go coverage tool, specifically when used with LiteIDE
1212
*.out
1313

14-
# Environment file
14+
# Environment files
1515
.env
16+
.env.*
17+
!.env.example
1618

1719
# subproject used for testing:
1820
v1_compatibility/stellar-relief-backoffice-backend
@@ -25,6 +27,9 @@ stellar-disbursement-platform-backend
2527
.idea
2628
.cursor
2729

30+
# Local HTTPS certificates
31+
dev/certs/
32+
2833
# Rust & Soroban
2934
target/
30-
test_snapshots/
35+
test_snapshots/

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,46 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/).
66

7+
## [6.0.0](https://github.com/stellar/stellar-disbursement-platform-backend/releases/tag/6.0.0) ([diff](https://github.com/stellar/stellar-disbursement-platform-backend/compare/5.0.0...6.0.0))
8+
9+
### 🚨Potential Breaking Changes
10+
11+
- Remove case insensitivity from asset code comparisons [#967](https://github.com/stellar/stellar-disbursement-platform-backend/pull/967)
12+
- Decommission Anchor Platform and add support for SEP-10 and SEP-24 endpoints in the SDP [#834](https://github.com/stellar/stellar-disbursement-platform-backend/pull/834)
13+
- Add SEP10 /auth endpoints
14+
- Add SEP24 /info endpoints
15+
- Add SEP24 interactive deposit endpoint
16+
- Remove Anchor Platform integration from the SDP and deprecate related env variables.
17+
18+
### Added
19+
20+
- Add Launch Wizard through `make setup` command to simplify initial setup and mainnet configuration for docker compose [#875](https://github.com/stellar/stellar-disbursement-platform-backend/pull/875)
21+
- Add `--env-file` command line argument to support multiple environment file contexts [#963](https://github.com/stellar/stellar-disbursement-platform-backend/pull/963)
22+
- Add HTTPS mode to setup wizard [#957](https://github.com/stellar/stellar-disbursement-platform-backend/pull/957)
23+
- Add configurable database connection pool settings to prevent idle connection buildup in multi-tenant deployments [#932](https://github.com/stellar/stellar-disbursement-platform-backend/pull/932)
24+
25+
### Changed
26+
27+
- Default Max Open Connections per pool changed from 30 to 20 to prevent idle connection buildup in multi-tenant deployments [#932](https://github.com/stellar/stellar-disbursement-platform-backend/pull/932)
28+
- Make docker compose environment variables configurable via `.env` file and add documentation [#953](https://github.com/stellar/stellar-disbursement-platform-backend/pull/953)
29+
- Update Stellar Go SDK dependency from `github.com/stellar/go` to `github.com/stellar/go-stellar-sdk` [#956](https://github.com/stellar/stellar-disbursement-platform-backend/pull/956)
30+
31+
### Fixed
32+
33+
- Fix HTML validation to allow apostrophes in invitation messages while maintaining security against XSS attacks [#931](https://github.com/stellar/stellar-disbursement-platform-backend/pull/931)
34+
- Refactor to replace float64 with shopspring decimal [#936](https://github.com/stellar/stellar-disbursement-platform-backend/pull/936)
35+
- `channel-accounts ensure` command should have a minimum of 1 [#939](https://github.com/stellar/stellar-disbursement-platform-backend/pull/939)
36+
37+
### Security and Dependencies
38+
39+
- Upgrade React to 19.2.1 in SEP-24 frontend to address CVE-2025-66478 and CVE-2025-55182 [#968](https://github.com/stellar/stellar-disbursement-platform-backend/pull/968)
40+
- Bump the minor-and-patch group with 5 updates [#961](https://github.com/stellar/stellar-disbursement-platform-backend/pull/961)
41+
- Bump the minor-and-patch group across 1 directory with 12 updates [#955](https://github.com/stellar/stellar-disbursement-platform-backend/pull/955)
42+
- Bump actions/checkout from 5 to 6 in the all-actions group [#954](https://github.com/stellar/stellar-disbursement-platform-backend/pull/954)
43+
- Bump js-yaml from 4.1.0 to 4.1.1 in the npm_and_yarn group [#947](https://github.com/stellar/stellar-disbursement-platform-backend/pull/947)
44+
- Bump golang from 1.25.3-alpine to 1.25.4-alpine in the all-docker group [#940](https://github.com/stellar/stellar-disbursement-platform-backend/pull/940)
45+
- Bump the minor-and-patch group with 7 updates [#933](https://github.com/stellar/stellar-disbursement-platform-backend/pull/933)
46+
747
## [5.0.0](https://github.com/stellar/stellar-disbursement-platform-backend/releases/tag/5.0.0) ([diff](https://github.com/stellar/stellar-disbursement-platform-backend/compare/4.1.0...5.0.0))
848

949
### Added

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To push:
44
# make docker-push
55

6-
FROM golang:1.25.3-alpine AS build
6+
FROM golang:1.25.4-alpine AS build
77
ARG GIT_COMMIT
88

99
ENV CGO_ENABLED=0 GOOS=linux

0 commit comments

Comments
 (0)