From 497c6d6564341a8183e347dbcb6f4e33b2cc66b6 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Tue, 29 Sep 2020 17:59:48 +0200 Subject: [PATCH 1/3] Update CHANGELOGs for horizonclient 4.0 release --- clients/horizonclient/CHANGELOG.md | 20 ++++++++++++++++++-- txnbuild/CHANGELOG.md | 11 +++++------ 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/clients/horizonclient/CHANGELOG.md b/clients/horizonclient/CHANGELOG.md index d7e0af4908..453d4f82de 100644 --- a/clients/horizonclient/CHANGELOG.md +++ b/clients/horizonclient/CHANGELOG.md @@ -3,11 +3,27 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## Unreleased - +## [v4.0.0](https://github.com/stellar/go/releases/tag/horizonclient-v4.0.0) - 2020-09-29 + +Added new client methods and effects supporting [Protocol 14](https://github.com/stellar/go/issues/3035). + +* New client methods + * `ClaimableBalances(req ClaimableBalanceRequest)` - returns details about available claimable balances, possibly filtered to a specific sponsor or other parameters. + * `ClaimableBalance(balanceID string)` - returns details about a *specific*, unique claimable balance. +* New effects: + * `ClaimableBalance{Created,Updated,Removed}` + * `ClaimabeBalanceSponsorship{Created,Updated,Removed}` + * `AccountSposnorship{Created,Updated,Removed}` + * `TrustlineSponsorship{Created,Updated,Removed}` + * `Data{Created,Updated,Removed}` + * `DataSponsorship{Created,Updated,Removed}` + * `SignerSponsorship{Created,Updated,Removed}` * Remove JSON variant of `GET /metrics`, both in the server and client code. It's using Prometheus format by default now. * Add `NextAccountsPage`. * Fix `Fund` function that consistently errored. + +### Breaking changes + * Dropped support for Go 1.13. ## [v3.0.0](https://github.com/stellar/go/releases/tag/horizonclient-v3.0.0) - 2020-04-28 diff --git a/txnbuild/CHANGELOG.md b/txnbuild/CHANGELOG.md index fc9b2f1eb1..727f673b10 100644 --- a/txnbuild/CHANGELOG.md +++ b/txnbuild/CHANGELOG.md @@ -3,18 +3,17 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## Unreleased -Updated to support [Protocol 14](https://github.com/stellar/go/issues/3035) operations. There are now ways to: +## [v4.0.0](https://github.com/stellar/go/releases/tag/horizonclient-v4.0.0) - 2020-09-29 + +Added support for the new operations in [Protocol 14](https://github.com/stellar/go/issues/3035). Now it is possible to: * Create and claim claimable balance operations (see [CAP-23](https://github.com/stellar/stellar-protocol/blob/master/core/cap-0023.md)) with the `[Create|Claim]ClaimableBalance` structures and their associated helpers * Begin/end sponsoring future reserves for other accounts (see [CAP-33](https://github.com/stellar/stellar-protocol/blob/master/core/cap-0033.md)) with the `[Begin|End]SponsoringFutureReserves` operations -* Revoke sponsorships of various objects with the `RevokeSponsorship` operation -* Dropped support for Go 1.13. - -## [v4.0.0](https://github.com/stellar/go/releases/tag/horizonclient-v4.0.0) - 2020-08-31 +* Revoke sponsorships of various objects with the `RevokeSponsorship` operation (see [CAP-33](https://github.com/stellar/stellar-protocol/blob/master/core/cap-0033.md)). ### Breaking changes +* Dropped support for Go 1.13. * Replace `BuildChallengeTx()`'s `anchorName string` parameter with `homeDomain string` * Add `homeDomain string` parameter to `ReadChallengeTx()`, `VerifyChallengeTxThreshold()`, and `VerifyChallengeTxSigners()` From fbbd66ebe7f2e49f22fe2856bf620f5a75b67299 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Tue, 29 Sep 2020 18:39:48 +0200 Subject: [PATCH 2/3] Address review feedback --- clients/horizonclient/CHANGELOG.md | 9 +++++---- txnbuild/CHANGELOG.md | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/clients/horizonclient/CHANGELOG.md b/clients/horizonclient/CHANGELOG.md index 453d4f82de..c9442db7e6 100644 --- a/clients/horizonclient/CHANGELOG.md +++ b/clients/horizonclient/CHANGELOG.md @@ -13,14 +13,15 @@ Added new client methods and effects supporting [Protocol 14](https://github.com * New effects: * `ClaimableBalance{Created,Updated,Removed}` * `ClaimabeBalanceSponsorship{Created,Updated,Removed}` - * `AccountSposnorship{Created,Updated,Removed}` + * `AccountSponsorship{Created,Updated,Removed}` * `TrustlineSponsorship{Created,Updated,Removed}` * `Data{Created,Updated,Removed}` * `DataSponsorship{Created,Updated,Removed}` * `SignerSponsorship{Created,Updated,Removed}` -* Remove JSON variant of `GET /metrics`, both in the server and client code. It's using Prometheus format by default now. -* Add `NextAccountsPage`. -* Fix `Fund` function that consistently errored. +* Removed JSON variant of `GET /metrics`, both in the server and client code. It's using Prometheus format by default now. +* Added `NextAccountsPage`. +* Fixed `Fund` function that consistently errored. +* Added support for Go 1.15. ### Breaking changes diff --git a/txnbuild/CHANGELOG.md b/txnbuild/CHANGELOG.md index 727f673b10..3d3dc51f96 100644 --- a/txnbuild/CHANGELOG.md +++ b/txnbuild/CHANGELOG.md @@ -6,11 +6,12 @@ file. This project adheres to [Semantic Versioning](http://semver.org/). ## [v4.0.0](https://github.com/stellar/go/releases/tag/horizonclient-v4.0.0) - 2020-09-29 Added support for the new operations in [Protocol 14](https://github.com/stellar/go/issues/3035). Now it is possible to: - * Create and claim claimable balance operations (see [CAP-23](https://github.com/stellar/stellar-protocol/blob/master/core/cap-0023.md)) with the `[Create|Claim]ClaimableBalance` structures and their associated helpers * Begin/end sponsoring future reserves for other accounts (see [CAP-33](https://github.com/stellar/stellar-protocol/blob/master/core/cap-0033.md)) with the `[Begin|End]SponsoringFutureReserves` operations * Revoke sponsorships of various objects with the `RevokeSponsorship` operation (see [CAP-33](https://github.com/stellar/stellar-protocol/blob/master/core/cap-0033.md)). +Also: +* Added support for Go 1.15. ### Breaking changes * Dropped support for Go 1.13. From af00f68f91642c03281c19eeadd2cb58b4cd1552 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch Date: Tue, 29 Sep 2020 10:30:29 -0700 Subject: [PATCH 3/3] Make SEP-10 change more concise --- txnbuild/CHANGELOG.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/txnbuild/CHANGELOG.md b/txnbuild/CHANGELOG.md index 3d3dc51f96..4039570212 100644 --- a/txnbuild/CHANGELOG.md +++ b/txnbuild/CHANGELOG.md @@ -15,12 +15,9 @@ Also: ### Breaking changes * Dropped support for Go 1.13. -* Replace `BuildChallengeTx()`'s `anchorName string` parameter with `homeDomain string` -* Add `homeDomain string` parameter to `ReadChallengeTx()`, `VerifyChallengeTxThreshold()`, and `VerifyChallengeTxSigners()` - -SEP-10 now requires clients to verify the `SIGNING_KEY` included in the TOML file of the service requiring authentication is used to sign the challenge and that the challenge's Manage Data operation key includes the requested service's home domain. These checks ensure the challenge cannot be used in a relay attack. - -The breaking changes described above support the added SEP-10 2.0 requirements for both servers and clients. +* Add support for SEP-10 v2.0.0. + * Replace `BuildChallengeTx`'s `anchorName` parameter with `homeDomain`. + * Add `homeDomain` parameter to `ReadChallengeTx`, `VerifyChallengeTxThreshold`, and `VerifyChallengeTxSigners`. ## [v3.2.0](https://github.com/stellar/go/releases/tag/horizonclient-v3.2.0) - 2020-06-18