diff --git a/CHANGELOG.md b/CHANGELOG.md index d5d2c11c2..75cd730a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,70 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). None +## [2.0.0.rc1](https://github.com/stellar/stellar-disbursement-platform-backend/releases/tag/2.0.0-rc1) + +First Release Candidate of the Stellar Disbursement Platform v2.0.0. This +release introduces multi-tenancy support, allowing multiple tenants +(organizations) to use the platform simultaneously. + +Each organization has its own set of users, receivers, disbursements, etc. + +This version is only compatible with the [stellar/stellar-disbursement-platform-frontend] version 2.x.x. + +### Changed +- Support multi-tenant CLI + - Make `add-user` CLI support multi-tenancy [#228](https://github.com/stellar/stellar-disbursement-platform-backend/pull/228) + - Change migrations CLI to run for all tenants [#89](https://github.com/stellar/stellar-disbursement-platform-backend/pull/89) +- Use DB connection pool as dependency injection [#207](https://github.com/stellar/stellar-disbursement-platform-backend/pull/207) +- Make receiver registration handler tenant-aware [#117](https://github.com/stellar/stellar-disbursement-platform-backend/pull/117) +- Tag log entries with tenant metadata [#192](https://github.com/stellar/stellar-disbursement-platform-backend/pull/192) +- Use `DistributionAccountResolver` instead of passing around distribution public key [#212](https://github.com/stellar/stellar-disbursement-platform-backend/pull/212) +- Make provision new tenant an atomic operation [#233](https://github.com/stellar/stellar-disbursement-platform-backend/pull/233) +- Make `ready_payments_cancellation` job multi-tenant [#223] (https://github.com/stellar/stellar-disbursement-platform-backend/pull/223) + + +### Added +- Tenant Provisioning & Onboarding [#84](https://github.com/stellar/stellar-disbursement-platform-backend/pull/84) +- Tenant Authentication Middleware [#92](https://github.com/stellar/stellar-disbursement-platform-backend/pull/92) +- Multi-tenancy connection pool & data source manager [#86](https://github.com/stellar/stellar-disbursement-platform-backend/pull/86) +- Generate multitenant SEP-1 TOML file [#111](https://github.com/stellar/stellar-disbursement-platform-backend/pull/111) +- Prepare Signature Service & TSS to support Multi-tenancy + - Add signature service with configurable distribution accounts [#174](https://github.com/stellar/stellar-disbursement-platform-backend/pull/174) + - Aggregate all tx submission dependencies under `SubmitterEngine` [#165](https://github.com/stellar/stellar-disbursement-platform-backend/pull/165) + - Add configurable signature service type [#160](https://github.com/stellar/stellar-disbursement-platform-backend/pull/160) + - Allow signature service to be dependency-injected [#158](https://github.com/stellar/stellar-disbursement-platform-backend/pull/158) + - Use dependency-injected signature service in `channel-account` CLI commands [#156](https://github.com/stellar/stellar-disbursement-platform-backend/pull/156) +- '/tenant' endpoint + - Setup tenant server [#90](https://github.com/stellar/stellar-disbursement-platform-backend/pull/90) + - `POST` Provision tenant endpoint [#97](https://github.com/stellar/stellar-disbursement-platform-backend/pull/97) + - `GET` Tenant(s) API [#93](https://github.com/stellar/stellar-disbursement-platform-backend/pull/93) + - `PATCH` Tenant API [#100](https://github.com/stellar/stellar-disbursement-platform-backend/pull/100) +- `add-tenant` CLI [#76](https://github.com/stellar/stellar-disbursement-platform-backend/pull/76) +- Patch incoming TSS events to Anchor platform [#134](https://github.com/stellar/stellar-disbursement-platform-backend/pull/134) +- Update DB structure so that TSS resources can be shared by multiple SDP tenants + - Move all TSS related tables to TSS schema [#141](https://github.com/stellar/stellar-disbursement-platform-backend/pull/141) + - Create TSS schema and migrations CLI command [#136](https://github.com/ + stellar/stellar-disbursement-platform-backend/pull/136) + - Refactor migrations commands to support TSS migrations [#123](https://github.com/stellar/stellar-disbursement-platform-backend/pull/123) +- Add host distribution account awareness [#172](https://github.com/stellar/stellar-disbursement-platform-backend/pull/172) +- Wire distribution account to tenant admin table during user provisioning [#198](https://github.com/stellar/stellar-disbursement-platform-backend/pull/198) +- Prepare transaction submission table to reference tenant [#142](https://github.com/stellar/stellar-disbursement-platform-backend/pull/142) +- Kafka message broker support + - Migrate SMS invitation to use message broker from scheduled jobs [#133](https://github.com/stellar/stellar-disbursement-platform-backend/pull/133) + - Publish receiver wallet invitation events at disbursement start [#182](https://github.com/stellar/stellar-disbursement-platform-backend/pull/182) + - Produce payment events to sync back to SDP [#149] (https://github.com/stellar/stellar-disbursement-platform-backend/pull/149) + - Produce payment events from SDP to TSS [#159](https://github.com/stellar/stellar-disbursement-platform-backend/pull/159) +- Implement `DistributionAccountDBSignatureClient` [#197](https://github.com/stellar/stellar-disbursement-platform-backend/pull/197) +- Create tenant distribution account during provisioning [#224](https://github.com/stellar/stellar-disbursement-platform-backend/pull/224) +- Enable payments scheduler job as an alternative to using Kafka [#230](https://github.com/stellar/stellar-disbursement-platform-backend/pull/230) + + +### Security +- Admin API authentication/authorization [#201](https://github.com/stellar/stellar-disbursement-platform-backend/pull/201) +- Enable security protocols for Kafka + - SASL auth [#162](https://github.com/stellar/stellar-disbursement-platform-backend/pull/162) + - SSL auth [#226](https://github.com/stellar/stellar-disbursement-platform-backend/pull/226) + ## [1.1.5](https://github.com/stellar/stellar-disbursement-platform-backend/compare/1.1.4...1.1.5) ### Fixed diff --git a/helmchart/sdp/Chart.yaml b/helmchart/sdp/Chart.yaml index 88b8bf823..b5b4f33da 100644 --- a/helmchart/sdp/Chart.yaml +++ b/helmchart/sdp/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: stellar-disbursement-platform description: A Helm chart for the Stellar Disbursement Platform Backend (A.K.A. `sdp`) -version: 1.0.0 -appVersion: "1.0.0" +version: 2.0.0-rc.1 +appVersion: "2.0.0-rc1" type: application maintainers: - name: Stellar Development Foundation diff --git a/main.go b/main.go index fc472c009..957c3450e 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( // Version is the official version of this application. Whenever it's changed // here, it also needs to be updated at the `helmchart/Chart.yaml#appVersionā€œ. -const Version = "1.1.5" +const Version = "2.0.0-rc1" // GitCommit is populated at build time by // go build -ldflags "-X main.GitCommit=$GIT_COMMIT"