Skip to content

Commit

Permalink
clients/horizonclient+txnbuild: Update CHANGELOGs for horizonclient 4…
Browse files Browse the repository at this point in the history
….0 release (stellar#3074)


Co-authored-by: Leigh McCulloch <[email protected]>
  • Loading branch information
2 people authored and tamirms committed Oct 2, 2020
1 parent 2cd69a2 commit f5f081a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 16 deletions.
25 changes: 21 additions & 4 deletions clients/horizonclient/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,28 @@
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}`
* `AccountSponsorship{Created,Updated,Removed}`
* `TrustlineSponsorship{Created,Updated,Removed}`
* `Data{Created,Updated,Removed}`
* `DataSponsorship{Created,Updated,Removed}`
* `SignerSponsorship{Created,Updated,Removed}`
* 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

* 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.
* Dropped support for Go 1.13.

## [v3.0.0](https://github.com/stellar/go/releases/tag/horizonclient-v3.0.0) - 2020-04-28
Expand Down
21 changes: 9 additions & 12 deletions txnbuild/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,21 @@
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)).

Also:
* Added support for Go 1.15.
### Breaking changes

* 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.
* Dropped support for Go 1.13.
* 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

Expand Down

0 comments on commit f5f081a

Please sign in to comment.