Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Protocol 19 features into master. #521

Merged
merged 11 commits into from
Apr 11, 2022
Merged

Merge Protocol 19 features into master. #521

merged 11 commits into from
Apr 11, 2022

Conversation

Shaptic
Copy link
Contributor

@Shaptic Shaptic commented Apr 6, 2022

No description provided.

Shaptic and others added 7 commits April 1, 2022 09:27
* Update .x and generated code to latest XDR

* Update code for Protocol 19 XDR:
  - transactions have .cond() instead of .timeBounds()
  - timebounds need to be accessed diff. for v0 and v1 txs
  - type rename for OperationId -> HashIdPreimage, etc.

* Update generated Typescript to lint properly
* Bump minimum Node version to 14.x. (#510)

* Bump CI scripts, NVM version, and README to minimum Node 14
* Stop failing fast in GHA to identify version-specific failures
* Drop tests for 17.x because of incompatibility:

Node 17.x upgrades OpenSSL to v3 which basically changes some stuff
related to hashing in a way that isn't backwards compatible.

Relevant link:
  webpack/webpack#14532 (comment)

This (a) causes breakages that aren't relevant to us and (b) has
a dangerous workaround:

  export NODE_OPTIONS=--openssl-legacy-provider

If we do this workaround here, we are basically brushing the issue
under the rug. The longer term solution is basically to let the
ecosystem deal with it for now and when we need to make 18.x the
minimum, to deal with it in turn.

Since our minimum is 14.x for now, there's no reason to do
17.x-specific upgrades or workarounds.

* Bump minimist from 1.2.5 to 1.2.6 (#514)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump karma from 6.3.4 to 6.3.16 (#505)

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.4 to 6.3.16.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](karma-runner/karma@v6.3.4...v6.3.16)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ajv from 6.12.2 to 6.12.6 (#503)

* Upgrades various developer dependencies (#500)

* Upgrade 'isparta' to the latest version
* Upgrade 'jsdoc' to latest version
* Unpin 'underscore' in order to upgrade minor version
* Let all Node jobs run

* Add CHANGELOG entry for @dependabot shenanigans (#519)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: George Kudrayvtsev <george@stellar.org>
@Shaptic Shaptic requested a review from paulbellamy April 6, 2022 17:33

- Support for creating transactions with the new preconditions ([CAP-21](https://stellar.org/protocol/cap-21)) via `TransactionBuilder` ([#513](https://github.com/stellar/js-stellar-base/pull/513)).

- A way to convert between addresses (like `G...` and `P...`, i.e. the `StrKey` class) and their respective signer keys (i.e. `xdr.SignerKey`s), particularly for use in the new transaction preconditions ([#520](https://github.com/stellar/js-stellar-base/pull/520)).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's probably a few more things we've added here? like api support for protocol 19, etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API support is part of stellar/js-stellar-sdk; I don't want to conflate what changed where

src/strkey.js Outdated Show resolved Hide resolved
@Shaptic Shaptic merged commit 96e0c3b into master Apr 11, 2022
@Shaptic Shaptic deleted the protocol-19 branch April 11, 2022 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants