All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.8.6 (2024-11-21)
- serial: changing all utf-16 to utf-8 (b68f1af)
0.8.5 (2024-11-20)
- serial: change string encoding from utf-16 to utf-8 (48e710c)
0.8.4 (2024-10-25)
- kwil.call: fix json parse bug (b82d681)
0.8.3 (2024-10-24)
- kwil.call: return decimals as strings (5a3ab5a)
0.8.2 (2024-10-16)
- kwil: separate authentication errors from call errors (a43ca86)
0.8.1 (2024-10-10)
0.8.0 (2024-10-10)
- auth:
auth.logout
is nowauth.logoutKGW
Kwil.call refactor for public, kgw, private.
Signed-off-by: Ty D'Angelo [email protected]
- kwild private mode authentication (5a926e2)
0.7.1 (2024-06-10)
- action_builder.ts: handling null params for procedures (51fb71f)
0.7.0 (2024-06-10)
- 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
andCompiledKuneiform
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+
- 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)
- client: individual logout on multi-user session (e9e0062)
0.6.2 (2024-04-19)
0.6.1 (2024-04-15)
- client: add auth logout method (dc7095d)
0.6.0 (2024-03-12)
- 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.
- 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)
- payload_builder.ts: set fee to 0 when estimating cost (23e78ad), closes /github.com/kwilteam/kwil-db/commit/fa0ceaea5cd8141d643fac66bc7f8f9e3754d7b1#diff-29b727c2a7cdca0ced9103a0a61a8e9bfde5911470a028b553e77d7e1d05b7d7
0.5.5 (2024-01-16)
0.5.4 (2024-01-10)
0.5.3 (2024-01-04)
- rlp encoding zero and case sensitivity for action input names (f2c71e8)
0.5.2 (2023-12-18)
- rlp: fix bug where boolean false was not rlp encoded correctly (7435691)
0.5.1 (2023-12-13)
- rlp: fix bug where boolean false was not rlp encoded correctly (8da5a42)
0.5.0 (2023-12-11)
- Remove the
kwil.authenticate()
andkwil.setCookie()
methods, as those methods are now handled internally by thekwil.call()
method.
- make kwil.call() auto authenticate, when required (e591eb9)
0.4.1 (2023-12-08)
- core/database.ts: fixed typing error in Compiled Kuneiform (904ae7d)
0.4.0 (2023-12-06)
- 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.
-
change ethereum identifier to wallet address (54b2aa1)
-
kwil.ts: add authenticate method (ad97043)
-
kwil/funder: added funder property to kwil class (e50d14d)
-
client: change list database return (a96046a), closes /github.com/kwilteam/proto/pull/26#event-11158139032
0.3.2 (2023-11-07)
0.3.1 (2023-11-07)
- client/kwil.ts: add wrapped config property to kwil class (020af2b)
0.3.0 (2023-10-30)
- client/kwil.ts: The
WebKwil
andNodeKwil
classes require an additionalchainId
config string to execute database deploys, database drops, or state-changing actions. You can check the chainId for your kwilProvider by callingkwil.chainInfo()
. - client/kwil.ts: The
kwil.actionBuilder()
,kwil.dbBuilder()
,kwil.dropDbBuilder()
andkwil.broadcast()
are deprecated in favor of usingkwil.execute()
,kwil.deploy()
,kwil.drop()
, andkwil.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.
- 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)
- 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)
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)
- 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.
- added custom signer functionality (d29bc60)
0.0.3 (2023-09-06)
- recoverSecp256k1PubKey now allows the developer to optionally pass the signing message (3896238)
- escaped base64 url encoding (0eeba1a)
- fix ethers v6 signature validation in browser (6ceba14)