Skip to content

Releases: KILTprotocol/sdk-js

0.28.3

21 Oct 13:39
v0.28.3
f20ba39
Compare
Choose a tag to compare

This is a patch release that fixes the polkadot dependencies to work with the latest node release 1.7.5.

If not upgrading to the upcoming SDK v0.29, please update to this version to work with Peregrine and with Spiritnet after runtime 1.7.5 has been enacted.

0.29.0-rc.3

20 Oct 10:01
1960d75
Compare
Choose a tag to compare
0.29.0-rc.3 Pre-release
Pre-release

This release candidate adds some last features and refactorings to what is to become release 0.29.0. Mostly we have changed function- and callback signatures on the basis of feedback on the rc.2. We also simplified the CType interface and removed obsolete wrapper functions for querying DIDs, web3 names, and linked accounts, that can now easily be queried using a new runtime call deployed for that purpose.

What's Changed

Full Changelog: 0.29.0-rc.2...0.29.0-rc.3

0.29.0-rc.2

26 Sep 09:59
Compare
Choose a tag to compare
0.29.0-rc.2 Pre-release
Pre-release

This part of the SDK refactoring removes lots of chain wrappers for transactions and queries.
Users of the SDK will be asked to work with the blockchain more directly. To support that, we already added type augmentations for our blockchain calls are updating our documentation.

What's Changed

Full Changelog: 0.29.0-rc.1...0.29.0-rc.2

0.29.0-rc.1

12 Sep 16:28
Compare
Choose a tag to compare
0.29.0-rc.1 Pre-release
Pre-release

We have been working on a big SDK refactoring, to make it more slim, easy-to-use and easier to maintain.
The biggest focus was on changing everything from OOP to functional style and to make handling of DIDs easier.

Some changes are still to come, including a more hand-off approach to blockchain queries and transactions.

What's Changed

Full Changelog: 0.28.2...0.29.0-rc.1

0.28.2

31 Aug 16:13
0ade50c
Compare
Choose a tag to compare

What's Changed

This is a patch release resolving issues arising from most bundlers not including *.cjs source files by default, leading to applications importing the sdk not being bundled correctly without additional configuration.

Full Changelog: 0.28.1...0.28.2

0.28.1

27 Jul 14:04
Compare
Choose a tag to compare

What's Changed

  • Hotfix (#576) bumps all direct dependencies of polkadot-js/api packages to ^8.12.0 and all direct dependencies of polkadot-js/common to ^10.0.0.
    • This was required due to polkadot-js/api packages depending on v9 of polkadot-js/common prior to version 8.12.0 but on v10 versions since. As a result, highly problematic dependency duplication could only be avoided in 0.28.0 if resolving polkadot-js/api to 8.11 and below.

Full Changelog: 0.28.0...0.28.1

0.28.1-rc.1

18 Jul 12:08
Compare
Choose a tag to compare
0.28.1-rc.1 Pre-release
Pre-release

What's Changed

  • chore(deps): update polkadot dependencies to v10 by @renovate in #576

Full Changelog: 0.28.0...0.28.1-rc.1

0.28.0

28 Jun 07:14
0.28.0
00596d7
Compare
Choose a tag to compare

❗️❗️❗️ Upgrading to this SDK version is required for apps that rely on instance of the KILT blockchain running at least the runtime version 1.7.0 ❗️❗️❗️

For an example update PR from 0.27 to 0.28, you can refer to our docs PR.

Summary of changes

Among other things, these renaming happened:

  • FullDidCreationBuilder.consumeWithHandler -> buildAndSubmit
  • DidBatchBuilder.consume -> build
  • DidDetails.did -> uri (so also FullDidDetails and LightDidDetails)
  • Did.DidChain -> Did.Chain
  • Did.DidUtils -> Did.Utils
  • IDidIdentifier -> DidIdentifier
  • Kilt.Did.AccountLinks.authorizeLinkWithAccount -> getAuthorizeLinkWithAccountExtrinsic
  • Kilt.Did.AccountLinks.getAssociateSenderTx -> getAssociateSenderExtrinsic
  • Kilt.Did.AccountLinks.getLinkRemovalByDidTx -> getLinkRemovalByDidExtrinsic

What's Changed

Features

  • feat: string pattern types for did uri, did resource uri, and hex string by @rflechtner in #505
  • feat: convert SDKErrors to just extend Error by @tjwelde in #535
  • feat: recover compatibility with new attestation pallet by @rflechtner in #544
  • feat: attestation module flexibly handles old delegation pallet by @rflechtner in #550
  • feat: check service urls by @rflechtner in #506

Chores

Internal Improvements

Fixes

  • ci: fix metadata update on scheduled tests by @rflechtner in #513
  • fix: repair tsdoc generation by @trusch in #515
  • fix: deposit amount test by @arty-name in #556
  • fix: accept fragment as typeguard for some methods and add retro-compatibility for DID signatures by @ntn-x2 in #559

New Contributors

Full Changelog: 0.27.0...0.28.0

0.28.0-rc.2

21 Jun 15:06
Compare
Choose a tag to compare
0.28.0-rc.2 Pre-release
Pre-release

What's Changed

  • fix: accept fragment as typeguard for some methods and add retro-compatibility for DID signatures by @ntn-x2 in #559

Full Changelog: 0.28.0-rc.1...0.28.0-rc.2

0.28.0-rc.1

17 Jun 15:57
Compare
Choose a tag to compare
0.28.0-rc.1 Pre-release
Pre-release

This release contains some bigger changes.
A lot of function names have been renamed and the custom SDKErrors with error codes were replaced by sub-classing the native Error class.

What's Changed

Features

Chores

Bug Fixes

New Contributors

Full Changelog: 0.27.0...0.28.0-rc.1