ledger-wallet / Readme • Examples • Contributing • Changelog
All notable changes to this project will be documented in this file.
This project adheres to Semantic
Versioning. Version syntax is
{major}.{minor}.{patch}
, where a field bump means:
- Patch: The release contains bug fixes.
- Minor: The release contains backward-compatible changes.
- Major: The release contains compatibility-breaking changes.
Remember: Both micro and minor releases are guaranteed to respect backward-compatibility and can be updated to without risk of breakage. For major releases, please check this changelog before upgrading.
- Meta: Update dependencies.
- Meta: Update @legderhq libraries to 6.x.
- Logic: Update Ledger libraries to 5.38.x.
- Logic: Update Ledger libraries to 5.28.x.
- Logic: Update @ledger libraries to 5.23.x.
- Meta: Switch to
@kisbox/helpers
.
- Meta: Remove redundant dependency.
- Logic: Update @ledgerhq libraries. (HID transport updates)
- Logic: Update @ledger libraries to 5.7.x. (dependencies updates, better errors)
- Logic: Upgrade @ledgerhq libraries to 5.x. This saves 16KiB or more when the library gets bundled.
- Logic: Improve device waiting. This should prevent errors due to device not being ready yet without re-introducing the invite spamming issue. If there's still issues in specific environments, please let me know on Keybase#cosmic_plus.
- Documentation: update README.md.
- API:
.connect()
always connect to account 1. To ensure the device is still connected, code must now explicitly pass the same account parameter than for initialization (e.g:.connect(4)
). Before.connect()
was enough but it led to unexpected behavior. - API: Account numbering now starts at 1. This is to be consistent with
Ledger/Trezor account numbering. Code using
.connect(number)
must be updated accordingly..connect()
continues to selectm/44'/148'/0'
as before. - API:
.path
is now properly prefixed bym/
. (e.g.:m/44'/148'/0'
instead of44'/148'/0'
)
- API: REMOVE deprecated properties & parameters. The following
ledgerWallet
properties have been removed:.account
,.index
,.internalFlag
, and.error
. The related parameters have been removed from.connect()
(parameters 2 and 3 are now ignored).
- API: Add
.newAccount()
. This method connects the first unused account of a Ledger device. (See documentation) - API: Add
.scan()
. This method scans for existing accounts on the Ledger device. (See documentation) - API: Add
.getPublicKeys()
. This method retrieves multiple public keys at once. (See documentation)
- API: Ensure
.path
andpublicKey
are set only when connected. - Logic: Fix the timing of
connect()
/disconnect()
.
- Logic: Remove device polling. @cosmic-plus/ledger-wallet included logic for detecting device disconnections. However, this logic was causing alert spamming in some environments. Because there's no way to probe the device without making those messages appear, the only sane solution was to remove this feature.
- Logic: Fix
.connect()
errors handling. The old logic was causing some browsers to spam device requests.
- Logic: Update @ledgerhq libraries to 4.74.2. (bugfixes)
- Documentation: Update documentation.
-
API: Deprecate
index
&internalFlag
.connect() parameters. Those parameters were used to construct derivation paths after BIP44 specifications. However, those are rarely used in Stellar & were removed from this library documentation months ago.The new way to specify arbitrary derivation paths is to pass them explicitly (e.g.: "m/44'/148'/1'/2'").
- API: Add support for arbitrary derivation paths. Example:
ledger.connect("m/44'/255'/5'")
- Logic: Always use
null
for empty variables. The code was not consistent in its usage ofnull
andundefined
.
- Logic: Update Ledger libraries to 4.73.x. (bugfixes)
- Logic: Fix two timing bugs. -
onConnect
callback was fired before the end of initialization. - In some cases, polling could cause an alive session to disconnect.
- Meta: Remove stellar-sdk from bower dependencies.
- Documentation: Fix contributing guidelines.
- Doc: Add EXAMPLES.md.
Note: This major release doesn't contain any breaking change. The version bump only means that this library is public and stable.
- Make bundlers pick the transpiled code.
- Remove
ledgerWallet.connect()
dependency on StellarSdk.
- Automate release procedure.
- Add contributing guidelines.
- Update Ledger libraries to 4.68.x
- Switch to new cosmic.plus paths (cdn.cosmic.plus, new repository name).
- Improve discoverability (add badges, keywords, set homepage...).
- Update Ledger libraries to 4.63.x.
- Update Ledger libraries to 4.61.x.
- Update Ledger libraries to 4.55.0.
- Bundle transpiled ES5 code within the package.
- Update Ledger libraries to 4.53.0.
- Update Ledger libraries to 4.48.0.
- Update Ledger libraries to 4.46.0.
- Update Ledger libraries.
- Update Ledger libraries.
- Update Ledger libraries.
- Update Ledger libraries.
- Update Ledger libraries.
- Update Ledger libraries.
- Fix connection/disconnection polling for Node.js.
- Prevent loss of connection while waiting for transaction confirmation.
- Update Ledger libraries.
- Update Ledger libraries.
- Update Ledger libraries.
There is no changelog for older releases. Please look take a look at commit history.