Skip to content

Latest commit

 

History

History
293 lines (150 loc) · 14.1 KB

CHANGELOG.md

File metadata and controls

293 lines (150 loc) · 14.1 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.8.6 (2024-11-21)

Bug Fixes

  • serial: changing all utf-16 to utf-8 (b68f1af)

0.8.5 (2024-11-20)

Bug Fixes

  • serial: change string encoding from utf-16 to utf-8 (48e710c)

0.8.4 (2024-10-25)

Bug Fixes

  • kwil.call: fix json parse bug (b82d681)

0.8.3 (2024-10-24)

Bug Fixes

  • kwil.call: return decimals as strings (5a3ab5a)

0.8.2 (2024-10-16)

Bug Fixes

  • kwil: separate authentication errors from call errors (a43ca86)

0.8.1 (2024-10-10)

0.8.0 (2024-10-10)

⚠ BREAKING CHANGES

  • auth: auth.logout is now auth.logoutKGW

Kwil.call refactor for public, kgw, private.

Signed-off-by: Ty D'Angelo [email protected]

Features

  • kwild private mode authentication (5a926e2)

Bug Fixes

  • kwil: chain info shape (e8b9dfd)

  • auth: change logout to logoutKGW (c5d89e4), closes #94

0.7.1 (2024-06-10)

Bug Fixes

  • action_builder.ts: handling null params for procedures (51fb71f)

0.7.0 (2024-06-10)

⚠ BREAKING CHANGES

  • The internal database and action payload interfaces are now aligned with kwil v0.8. From this commit on, you should only use kwil-db versions v0.8-beta+.
  • client: Kwil-JS now relies on kwil-db's JSONRPC endpoints (available in kwil-db v0.8+). From this commit on, you should only use Kwil-JS with kwil-db v0.8+.
  • The Database and CompiledKuneiform types changed, as well as many of the internal checks on action executions. From this commit on, kwil-js should only be used with kwil-db v0.8+

Features

  • add procedures to schema (965f9a2)
  • client: individual logout (f49bc8a)
  • client: jsonrpc for KGW (58b4309)
  • client: migrate to json-rpc (3eb5112)
  • support passing Uint8Array for Action Inputs (a3680d5)
  • support typed parameters (#85) (d411b32)

Bug Fixes

  • client: individual logout on multi-user session (e9e0062)

0.6.2 (2024-04-19)

Features

Bug Fixes

  • nodekwil: auth.logout() functionality (08c7377), closes #76
  • nodekwil: carry cookie (9aef12a)

0.6.1 (2024-04-15)

Features

  • client: add auth logout method (dc7095d)

0.6.0 (2024-03-12)

⚠ BREAKING CHANGES

  • payload_builder: No kwil-js API changes; however, the internal payload structure has changed. This means that from this commit on, kwil-js should only be used with kwil daemon v0.7 and above.
  • Custom signers must match the signature (msg: Uint8Array) => Promise<Uint8Array>. The variadic arguments were removed.

Bug Fixes

  • core/builders: loosen type definition for eth signer (b0421b1), closes #20
  • payload_builder: fix nil bug error (b944654)
  • remove variadic args from CustomSigner (f016cba)

0.5.6 (2024-01-18)

Bug Fixes

0.5.5 (2024-01-16)

0.5.4 (2024-01-10)

Features

  • add sync flag to transactions (0e18f06), closes #62

0.5.3 (2024-01-04)

Bug Fixes

  • rlp encoding zero and case sensitivity for action input names (f2c71e8)

0.5.2 (2023-12-18)

Features

  • add unconfirmed nonce (cc52f2d), closes #51
  • allow for manually setting nonce (976f610), closes #57

Bug Fixes

  • rlp: fix bug where boolean false was not rlp encoded correctly (7435691)

0.5.1 (2023-12-13)

Bug Fixes

  • rlp: fix bug where boolean false was not rlp encoded correctly (8da5a42)

0.5.0 (2023-12-11)

⚠ BREAKING CHANGES

  • Remove the kwil.authenticate() and kwil.setCookie() methods, as those methods are now handled internally by the kwil.call() method.

Features

  • make kwil.call() auto authenticate, when required (e591eb9)

0.4.1 (2023-12-08)

Bug Fixes

  • core/database.ts: fixed typing error in Compiled Kuneiform (904ae7d)

0.4.0 (2023-12-06)

⚠ BREAKING CHANGES

  • client: The kwil.listDatabases() method now returns an array of db-objects (owner, identifier, dbid). Previously, only the db name would be returned when an owner's address was passed to listDatabases().
  • KwilSigners using Secp256k1 / EtherJS signers should now pass the Ethereum wallet address as the identifier, rather than the public key.

Features

0.3.2 (2023-11-07)

0.3.1 (2023-11-07)

Bug Fixes

  • client/kwil.ts: add wrapped config property to kwil class (020af2b)

0.3.0 (2023-10-30)

⚠ BREAKING CHANGES

  • client/kwil.ts: The WebKwil and NodeKwil classes require an additional chainId config string to execute database deploys, database drops, or state-changing actions. You can check the chainId for your kwilProvider by calling kwil.chainInfo().
  • client/kwil.ts: The kwil.actionBuilder(), kwil.dbBuilder(), kwil.dropDbBuilder() and kwil.broadcast() are deprecated in favor of using kwil.execute(), kwil.deploy(), kwil.drop(), and kwil.call(). The deprecated methods will be removed in Q1 2024.
  • builders/payload_builder: Signature descriptions cannot be longer than 200 characters. Any signature description that was previously >200 characters will now trigger an error.

Features

  • builders/payload_builder: max length to signature descriptions (#43) (a331810), closes #26
  • client/kwil.ts: require chainID to be configured in Kwil constructor (#40) (dff850d), closes #39*
  • builder pattern alternatives - add KwilSigner, kwil.execute(), kwil.call(), kwil.deploy(), kwil.drop() ([#38) (2d25de9)

Bug Fixes

  • builders/payload_builder: remove the 🪶 in the Kwil signature (#44) (0dfc4a9)
  • client/kwil.ts: deprecate builders and clean Utils namespace (#41) (c9d1130), closes #32

0.2.1 (2023-10-09)

Features

0.2.0 (2023-09-30)

Version 0.2.0 supports friendly signatures, which is compatible with the Kwil Daemon v0.6.0 and above.

0.1.1 (2023-09-21)

0.1.0 (2023-09-21)

⚠ BREAKING CHANGES

  • The .nearConfig() method has been removed from the .actionBuilder() and .dbBuilder() classes, in favor of allowing developers to pass their own signing function to the .signer() methods.

Features

  • added custom signer functionality (d29bc60)

0.0.3 (2023-09-06)

Features

  • recoverSecp256k1PubKey now allows the developer to optionally pass the signing message (3896238)

Bug Fixes

  • escaped base64 url encoding (0eeba1a)

0.0.2 (2023-09-05)

Bug Fixes

  • fix ethers v6 signature validation in browser (6ceba14)