Skip to content

Commit 532e0ce

Browse files
Merge pull request #476 from stellar/release/3.0.0-to-dev
Release `3.0.0` to `develop`
2 parents fcc4aa2 + f635986 commit 532e0ce

File tree

3 files changed

+53
-16
lines changed

3 files changed

+53
-16
lines changed

CHANGELOG.md

Lines changed: 50 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,78 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
66

77
## Unreleased
88

9-
## [3.0.0-rc.1](https://github.com/stellar/stellar-disbursement-platform-backend/releases/tag/3.0.0-rc.1) ([diff](https://github.com/stellar/stellar-disbursement-platform-backend/compare/2.1.0...3.0.0-rc.1))
9+
## [3.0.0](https://github.com/stellar/stellar-disbursement-platform-backend/releases/tag/3.0.0) ([diff](https://github.com/stellar/stellar-disbursement-platform-backend/compare/2.1.1...3.0.0))
1010

11-
Release of the Stellar Disbursement Platform v3.0.0-rc.1. This release introduces
12-
the option to register receivers using email addresses, in addition to phone numbers.
11+
Release of the Stellar Disbursement Platform `v3.0.0`. In this release, receiver registration does not need to be done
12+
exclusively through SMS as it now supports new types. The options are `PHONE_NUMBER`, `EMAIL`,
13+
`EMAIL_AND_WALLET_ADDRESS`, and `PHONE_NUMBER_AND_WALLET_ADDRESS`. If a receiver is registered with a wallet address,
14+
they can receive the payment right away without having to go through the SEP-24 registration flow.
15+
16+
This version is only compatible with the [stellar/stellar-disbursement-platform-frontend] version `3.0.0`.
1317

1418
### Breaking Changes
15-
- Renamed properties and environment variables related to Email Registration Support [#412](https://github.com/stellar/stellar-disbursement-platform-backend/pull/412)
19+
20+
- Renamed properties and environment variables related to Email Registration Support [#412](https://github.com/stellar/stellar-disbursement-platform-backend/pull/412)
1621
- Renamed `MAX_INVITATION_SMS_RESEND_ATTEMPT` environment variable to `MAX_INVITATION_RESEND_ATTEMPTS`
17-
- Renamed `organization.sms_resend_interval` to `organization.receiver_invitation_resend_interval_days`
22+
- Renamed `organization.sms_resend_interval` to `organization.receiver_invitation_resend_interval_days`
1823
- Renamed `organization.sms_registration_message_template` to `organization.receiver_registration_message_template`
1924
- Renamed `disbursement.sms_registration_message_template` to `disbursement.receiver_registration_message_template`
2025

2126
### Added
2227

23-
- Ability to register receivers using email addresses
24-
- Update the receiver_registered_successfully.tmpl HTML template to display the contact info [#418](https://github.com/stellar/stellar-disbursement-platform-backend/pull/418)
28+
- Ability to register receivers using email addresses
29+
- Update the `receiver_registered_successfully.tmpl` HTML template to display the contact info [#418](https://github.com/stellar/stellar-disbursement-platform-backend/pull/418)
2530
- Update `/wallet-registration/verification` to accommodate different verification methods [#416](https://github.com/stellar/stellar-disbursement-platform-backend/pull/416)
2631
- Update send and auto-retry invitation scheduler job to work with email [#415](https://github.com/stellar/stellar-disbursement-platform-backend/pull/415)
2732
- Update `POST /wallet-registration/otp` to send OTPs through email [#413](https://github.com/stellar/stellar-disbursement-platform-backend/pull/413)
28-
- Rename SMS related fields in `organization` and `disbursement` to be more generic [#412](https://github.com/stellar/stellar-disbursement-platform-backend/pull/412)
33+
- Rename SMS-related fields in `organization` and `disbursement` to be more generic [#412](https://github.com/stellar/stellar-disbursement-platform-backend/pull/412)
2934
- Update process disbursement instructions to accept email addresses [#404](https://github.com/stellar/stellar-disbursement-platform-backend/pull/404)
30-
- Add initial screen so receivers can choose between phone number and email registration during registration [#406](https://github.com/stellar/stellar-disbursement-platform-backend/pull/406)
31-
- Add message channel priority or `organizations` table [#400](https://github.com/stellar/stellar-disbursement-platform-backend/pull/400)
32-
- Add MessageDispatcher to SDP to send messages to different channels [#391](https://github.com/stellar/stellar-disbursement-platform-backend/pull/391)
35+
- Add an initial screen so receivers can choose between phone number and email registration during registration [#406](https://github.com/stellar/stellar-disbursement-platform-backend/pull/406)
36+
- Add message channel priority to the `organizations` table [#400](https://github.com/stellar/stellar-disbursement-platform-backend/pull/400)
37+
- Add `MessageDispatcher` to SDP to send messages to different channels [#391](https://github.com/stellar/stellar-disbursement-platform-backend/pull/391)
38+
- Update the development endpoint `DELETE .../phone-number/...` to `DELETE .../contact-info/...`, allowing it to delete based on the email as well [#438](https://github.com/stellar/stellar-disbursement-platform-backend/pull/438)
39+
- Remove the word "phone" from the default organization's `otp_message_template` [#439](https://github.com/stellar/stellar-disbursement-platform-backend/pull/439)
40+
- Rename SMS-related field and update Helm docs [#468](https://github.com/stellar/stellar-disbursement-platform-backend/pull/468)
41+
- Ability to register receivers with a Stellar wallet address directly by providing contact info and a wallet address. The options currently are `PHONE_NUMBER_AND_WALLET_ADDRESS` and `EMAIL_AND_WALLET_ADDRESS`
42+
- Create `GET /registration-contact-types` endpoint [#451](https://github.com/stellar/stellar-disbursement-platform-backend/pull/451)
43+
- Update `POST /disbursements` and `GET /disbursements` APIs to persist and return the Registration Contact Type [#452](https://github.com/stellar/stellar-disbursement-platform-backend/pull/452), [#454](https://github.com/stellar/stellar-disbursement-platform-backend/pull/454)
44+
- Allow `disbursement.verification_field` to be empty [#456](https://github.com/stellar/stellar-disbursement-platform-backend/pull/456)
45+
- Integrate wallet address in processing disbursement instructions [#453](https://github.com/stellar/stellar-disbursement-platform-backend/pull/453)
46+
- Add user-managed wallets [#458](https://github.com/stellar/stellar-disbursement-platform-backend/pull/458)
47+
- Add Twilio SendGrid as a supported email client [#444](https://github.com/stellar/stellar-disbursement-platform-backend/pull/444)
48+
49+
### Changed
50+
51+
- Replaced deprecated Circle Accounts API by adopting the Circle API endpoints `GET /v1/businessAccount/balances` and `GET /configuration` [#433](https://github.com/stellar/stellar-disbursement-platform-backend/pull/433)
52+
- `PATCH /receiver` now allows patching the phone number and email address of a receiver [#436](https://github.com/stellar/stellar-disbursement-platform-backend/pull/436)
53+
- Increased window for clients to perform token refresh [#437](https://github.com/stellar/stellar-disbursement-platform-backend/pull/437)
54+
- Other technical changes ([#383](https://github.com/stellar/stellar-disbursement-platform-backend/pull/383), [#450](https://github.com/stellar/stellar-disbursement-platform-backend/pull/450))
55+
56+
### Fixed
57+
58+
- Unable to get a token from the Forgot Password flow after messaging service failure [#466](https://github.com/stellar/stellar-disbursement-platform-backend/pull/466)
59+
- ReCaptcha blocks retrying verification during wallet registration [#473](https://github.com/stellar/stellar-disbursement-platform-backend/pull/473)
60+
61+
### Removed
62+
63+
- Removed countries from the flow and deleted any references to them from the database [#455](https://github.com/stellar/stellar-disbursement-platform-backend/pull/455), [#462](https://github.com/stellar/stellar-disbursement-platform-backend/pull/462)
3364

3465
### Security and Dependencies
3566

36-
- Fix HTML Injection Vulnerability [#419](https://github.com/stellar/stellar-disbursement-platform-backend/pull/419), Fix HTML escaping [#420](https://github.com/stellar/stellar-disbursement-platform-backend/pull/420)
67+
- Fix HTML injection vulnerability [#419](https://github.com/stellar/stellar-disbursement-platform-backend/pull/419)
68+
- Fix HTML escaping [#420](https://github.com/stellar/stellar-disbursement-platform-backend/pull/420)
69+
- Removed support for the HTTP headers `X-XSS-Protection`, `X-Forwarded-Host`, `X-Real-IP`, and `True-Client-IP` [#448](https://github.com/stellar/stellar-disbursement-platform-backend/pull/448)
70+
- Improved validation to ensure the instruction file being uploaded is a `*.csv` file [#443](https://github.com/stellar/stellar-disbursement-platform-backend/pull/443)
71+
- Ensure validation of URLs with the HTTPS schema on Pubnet [#445](https://github.com/stellar/stellar-disbursement-platform-backend/pull/445)
72+
- Add path validation to the `readDisbursementCSV` method used in integration tests [#437](https://github.com/stellar/stellar-disbursement-platform-backend/pull/437)
3773
- Bump `golangci/golangci-lint-action` [#380](https://github.com/stellar/stellar-disbursement-platform-backend/pull/380)
3874
- Bump `golang` in the all-docker group [#387](https://github.com/stellar/stellar-disbursement-platform-backend/pull/387), [#394](https://github.com/stellar/stellar-disbursement-platform-backend/pull/394), [#414](https://github.com/stellar/stellar-disbursement-platform-backend/pull/414)
39-
- Bump minor and patch dependencies across directories [#381](https://github.com/stellar/stellar-disbursement-platform-backend/pull/381), [#395](https://github.com/stellar/stellar-disbursement-platform-backend/pull/395), [#403](https://github.com/stellar/stellar-disbursement-platform-backend/pull/403), [#411](https://github.com/stellar/stellar-disbursement-platform-backend/pull/411)
75+
- Bump minor and patch dependencies across directories [#381](https://github.com/stellar/stellar-disbursement-platform-backend/pull/381), [#395](https://github.com/stellar/stellar-disbursement-platform-backend/pull/395), [#403](https://github.com/stellar/stellar-disbursement-platform-backend/pull/403), [#411](https://github.com/stellar/stellar-disbursement-platform-backend/pull/411), [#429](https://github.com/stellar/stellar-disbursement-platform-backend/pull/429), [#430](https://github.com/stellar/stellar-disbursement-platform-backend/pull/430), [#431](https://github.com/stellar/stellar-disbursement-platform-backend/pull/431), [#441](https://github.com/stellar/stellar-disbursement-platform-backend/pull/441).
4076

4177
## [2.1.1](https://github.com/stellar/stellar-disbursement-platform-backend/releases/tag/2.1.1) ([diff](https://github.com/stellar/stellar-disbursement-platform-backend/compare/2.1.0...2.1.1))
4278

4379
### Changed
80+
4481
- Removed calls related to the deprecated Circle Accounts API and replaced them with calls to `GET /v1/businessAccount/balances` and `GET /configuration`. [#433](https://github.com/stellar/stellar-disbursement-platform-backend/pull/433).
4582

4683
## [2.1.0](https://github.com/stellar/stellar-disbursement-platform-backend/releases/tag/2.1.0) ([diff](https://github.com/stellar/stellar-disbursement-platform-backend/compare/2.0.0...2.1.0))

helmchart/sdp/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: stellar-disbursement-platform
33
description: A Helm chart for the Stellar Disbursement Platform Backend (A.K.A. `sdp`)
4-
version: "3.0.0-rc.1"
5-
appVersion: "3.0.0-rc.1"
4+
version: "3.0.0"
5+
appVersion: "3.0.0"
66
type: application
77
maintainers:
88
- name: Stellar Development Foundation

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
// Version is the official version of this application. Whenever it's changed
1515
// here, it also needs to be updated at the `helmchart/Chart.yaml#appVersion“.
16-
const Version = "3.0.0-rc.1"
16+
const Version = "3.0.0"
1717

1818
// GitCommit is populated at build time by
1919
// go build -ldflags "-X main.GitCommit=$GIT_COMMIT"

0 commit comments

Comments
 (0)