Release notes
*Sourced from [@polkadot/util's releases](https://github.com/polkadot-js/common/releases).*
> ## 1.5.1
> - Fix typings on the Keyring-exposed encode & decodeAddress
> - Allow ss58Format = 0 as a valid value
> - Loosen type definitions for allowed ss58format values (still checked against allowed array)
>
> ## v1.4.1
> - **Breaking change** To set the `ss58Format`, you should now use `setSS58Format` as opposed to the old `setAddressPrefix`
> - Renamed `keyring.setAddressPrefix` to `keyring.setSS58Format`
> - Deprecated `addressPrefix` on the keyring options, added the `ss58Format` as a replacement (aligning with chain properties - the old version is still accepted)
> - Added `stringToHex` and `hexToString` conversion utilities to `@polkadot/util`
>
> ## v1.3.1
> Remove `ExtError`, always prefer the standard JS `Error` object for errors. This would be a breaking change for any applications using `ExtError`
>
> ## v1.2.1
> - Keyring `addFromAddress` can now be used to store external accounts, for example those provided by external signers
>
> ## v1.1.1
> Maintenance release, asserts for packages have been changed to `console.warn`.
>
> ## v1.0.1
> No release notes provided.
Changelog
*Sourced from [@polkadot/util's changelog](https://github.com/polkadot-js/common/blob/master/CHANGELOG.md).*
> # 1.5.1
>
> - Fix typings on the Keyring-exposed encode & decodeAddress
> - Allow ss58Format = 0 as a valid value
> - Loosen type definitions for allowed ss58format values (still checked against allowed array)
>
> # 1.4.1
>
> - **Breaking change** To set the `ss58Format`, you should now use `setSS58Format` as opposed to the old `setAddressPrefix`
> - Renamed `keyring.setAddressPrefix` to `keyring.setSS58Format`
> - Deprecated `addressPrefix` on the keyring options, added the `ss58Format` as a replacement (aligning with chain properties - the old version is still accepted)
> - Added `stringToHex` and `hexToString` conversion utilities to `@polkadot/util`
> - Swap to [Babel 7.6.0](https://babeljs.io/) for all compilation, for latest improvements in code generation
>
> # 1.3.1
>
> - Remove the `ExtError` class, always prefer the standard JS `Error` object for errors. This would bre a breaking change for any applications using `ExtError`
>
> # 1.2.1
>
> - Keyring `addFromAddress` can now be used to store external accounts, for example those provided by external signers
> - Maintainability updates
>
> # 1.1.1
>
> - `assertSingletonPackage` now warns via console.warn, but does not throw. This does allow the info to come accross while still allowing the app developers using multiple libraries time to fix.
>
> # 1.0.1
>
> - `formatBalance` now allows for `Compact` inputs
> - `formaBalance` now allows correct formatting of very large decimals
>
> # 0.94.1
>
> - Add `checkAddress(address, prefix)` to `@polkadot/util-crypto` that validates an ss-58 address
> - Add support for the Kusama network (as a valid checked prefix)
> - Add an `asm.js` fallback for the React Native environment (via `@polkadot/wasm-crypto`)
> - The ed25519 key for Alice (representing the session), now appears in the test keyrings
> - Fix missing dependencies for keyring (after address moves in 0.93.1)
>
> # 0.93.1
>
> - Breaking: External pair interface for keyring has been changed. Instead of
> - `getMeta` use the `meta` getter, i.e. `console.log(pair.meta.name)`
> - `address` use the `address` getter, i.e. `console.log(pair.address)`
> - `publicKey` use the `publicKey` getter, i.e. `console.log(pair.publicKey)`
> - `Move decodeAddress`, `encodeAddress` & `setAddressPrefix` functions into `@polkadot/util-crypto` from `@polkadot/keyring`. External interfaces should not be affected at this point since it is also (still) exported and exposed on keyring
>
> # 0.92.1
>
> ... (truncated)
Commits
- See full diff in [compare view](https://github.com/polkadot-js/common/commits/1.5.1)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps @polkadot/util from 0.41.1 to 1.5.1.
Release notes
*Sourced from [@polkadot/util's releases](https://github.com/polkadot-js/common/releases).* > ## 1.5.1 > - Fix typings on the Keyring-exposed encode & decodeAddress > - Allow ss58Format = 0 as a valid value > - Loosen type definitions for allowed ss58format values (still checked against allowed array) > > ## v1.4.1 > - **Breaking change** To set the `ss58Format`, you should now use `setSS58Format` as opposed to the old `setAddressPrefix` > - Renamed `keyring.setAddressPrefix` to `keyring.setSS58Format` > - Deprecated `addressPrefix` on the keyring options, added the `ss58Format` as a replacement (aligning with chain properties - the old version is still accepted) > - Added `stringToHex` and `hexToString` conversion utilities to `@polkadot/util` > > ## v1.3.1 > Remove `ExtError`, always prefer the standard JS `Error` object for errors. This would be a breaking change for any applications using `ExtError` > > ## v1.2.1 > - Keyring `addFromAddress` can now be used to store external accounts, for example those provided by external signers > > ## v1.1.1 > Maintenance release, asserts for packages have been changed to `console.warn`. > > ## v1.0.1 > No release notes provided.Changelog
*Sourced from [@polkadot/util's changelog](https://github.com/polkadot-js/common/blob/master/CHANGELOG.md).* > # 1.5.1 > > - Fix typings on the Keyring-exposed encode & decodeAddress > - Allow ss58Format = 0 as a valid value > - Loosen type definitions for allowed ss58format values (still checked against allowed array) > > # 1.4.1 > > - **Breaking change** To set the `ss58Format`, you should now use `setSS58Format` as opposed to the old `setAddressPrefix` > - Renamed `keyring.setAddressPrefix` to `keyring.setSS58Format` > - Deprecated `addressPrefix` on the keyring options, added the `ss58Format` as a replacement (aligning with chain properties - the old version is still accepted) > - Added `stringToHex` and `hexToString` conversion utilities to `@polkadot/util` > - Swap to [Babel 7.6.0](https://babeljs.io/) for all compilation, for latest improvements in code generation > > # 1.3.1 > > - Remove the `ExtError` class, always prefer the standard JS `Error` object for errors. This would bre a breaking change for any applications using `ExtError` > > # 1.2.1 > > - Keyring `addFromAddress` can now be used to store external accounts, for example those provided by external signers > - Maintainability updates > > # 1.1.1 > > - `assertSingletonPackage` now warns via console.warn, but does not throw. This does allow the info to come accross while still allowing the app developers using multiple libraries time to fix. > > # 1.0.1 > > - `formatBalance` now allows for `Compact` inputs > - `formaBalance` now allows correct formatting of very large decimals > > # 0.94.1 > > - Add `checkAddress(address, prefix)` to `@polkadot/util-crypto` that validates an ss-58 address > - Add support for the Kusama network (as a valid checked prefix) > - Add an `asm.js` fallback for the React Native environment (via `@polkadot/wasm-crypto`) > - The ed25519 key for Alice (representing the session), now appears in the test keyrings > - Fix missing dependencies for keyring (after address moves in 0.93.1) > > # 0.93.1 > > - Breaking: External pair interface for keyring has been changed. Instead of > - `getMeta` use the `meta` getter, i.e. `console.log(pair.meta.name)` > - `address` use the `address` getter, i.e. `console.log(pair.address)` > - `publicKey` use the `publicKey` getter, i.e. `console.log(pair.publicKey)` > - `Move decodeAddress`, `encodeAddress` & `setAddressPrefix` functions into `@polkadot/util-crypto` from `@polkadot/keyring`. External interfaces should not be affected at this point since it is also (still) exported and exposed on keyring > > # 0.92.1 > > ... (truncated)Commits
- See full diff in [compare view](https://github.com/polkadot-js/common/commits/1.5.1)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.