Skip to content

Latest commit

 

History

History
414 lines (246 loc) · 26.1 KB

CHANGELOG.md

File metadata and controls

414 lines (246 loc) · 26.1 KB

Changelog

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

0.24.0 (2024-04-02)

Features

  • add dynamic array encoding (f0f495c)
  • replace dynamic part with hex value when parsing schemas for Mapping keys (a9fdb4d)

Bug Fixes

  • Patch full pretty printed with LF and TAB. (315fa54)

0.23.1 (2024-02-23)

Bug Fixes

  • Add check for pretty printed and non-pretty printed versions of JSON (aa68bf1)
  • Missing line (d13be00)
  • Re-do PR with minimal changes (17458d6)
  • Repair package-lock to be just as on main (e793246)

0.23.0 (2024-01-22)

Features

  • add permission related to 4337 (e7fd19b)
  • allow to load typed schemas from schemas/ folder (c54a370)

Bug Fixes

  • Add workaround to read (bytes4,URI), repair none vs unknown signature. (204409d)
  • Additional PR repair (2a18f2b)
  • BodyInit should be just string or buffer and not already Uint8Array (08e0177)
  • Cleanup (038d975)
  • Cleanup a bit with comments. (3d6a5a6)
  • Cleanup and handle situation where one of many keys fails. Return null. (cdf4583)
  • Cleanup error handler inside of getDataFromExternalSources (fde2e0f)
  • Debug and repair test scripts. Implement detecting of JSON inside of Uint8Array (74c0526)
  • Missing commit (a3dd604)
  • More fixes (620b606)
  • Remove .only call for testing. (d5ef3c9)
  • Remove console debugging. (e349d57)
  • Remove unnecessary special case for 0x00000000 (cd6152a)
  • Repair and enhance test scripts (224eb9e)
  • Repair as per PR review (0a52452)
  • Repair console.log and expand types of URLs (ar://, ipfs://, https?://, data:) (5c8f228)
  • Repair problems with IPFS, fetch and VerifiableURI (44834b8)
  • Repair to not throw errors when data is not authentica or not accessible withing getDataFromExternalSources. (25756d0)
  • Repair tuples containing numeric types uintX/intX, add Number to output data type. (01cceea)
  • Simplify buffer to string conversion. (0bd1349)
  • Simplify creation of key to detect JSON. (df2580d)
  • Use a single keccak function since ethereumjs converts it to a Buffer no matter what. (cdc6c0a)

0.22.0 (2023-12-15)

⚠ BREAKING CHANGES

  • update new LSP7/8 interface IDs (#367)
  • JSONURL and AssetURL are now deprecated and have been replaced by VerifiableURI. The decoding is backward compatible but if you try to encode JSONURL and AssetURL value, they will be encoded as VerifiableURI. (9aa87e5)

Bug Fixes

  • Rename JSONURLDataToEncode (808f1b3)

0.21.3 (2023-11-29)

Features

  • add encode/decodeValueType as public callable methods (#325) (a6fe7c8)
  • add more schemas available to parse via getSchema (#351) (b882379)
  • add support for multi types in mappings (#357) (ba92903)
  • add support to encode / decode any uint8 to uint256 types (#355) (417a4e8)
  • allow to encode LSP2 Array length only (#326) (3a6be55)

Bug Fixes

0.21.2 (2023-11-07)

Bug Fixes

  • Add for unknown verification method to allow for null verification data in LSP2 (f205818)
  • Add more fixes per PR comments (e7302e4)
  • Change to verification object (ddd2ab2)
  • More renames _FUNCTIONS to _METHODS (1a96be1)
  • Move @types/jest and jest (852918c)

0.21.1 (2023-11-06)

Bug Fixes

  • incorrect hex for LSP8MetadataTokenURI (0500a75)

0.21.0 (2023-11-02)

⚠ BREAKING CHANGES

  • update lsp3/lsp4 verificationData

Features

Code Refactoring

  • update lsp3/lsp4 verificationData (9640d9f)

0.20.1 (2023-10-30)

Bug Fixes

  • incorrect permission value for EXECUTE_RELAY_CALL (55b8f5e)

0.20.0 (2023-10-18)

Features

  • add permission EXECUTE_RELAY_CALL (6db8835)

0.19.0 (2023-10-05)

⚠ BREAKING CHANGES

  • change LSP3 to SupportedStandards:LSP3Profile (#307)
  • new encoding for static value types (not arrays []) (#288)
  • change ArrayLength value from uint256 to uint128 (#287)

Features

Bug Fixes

Code Refactoring

  • change ArrayLength value from uint256 to uint128 (#287) (c95ee8a)
  • change LSP3 to SupportedStandards:LSP3Profile (#307) (73f3481)
  • new encoding for static value types (not arrays []) (#288) (f0b04da)

0.18.0 (2023-08-03)

⚠ BREAKING CHANGES

  • new encoding for static value types (not arrays []) (#288)
  • change ArrayLength value from uint256 to uint128 (#287)

Features

  • add checkPermissions function (17d2258)
  • Add new feature "Decode Mapping Key" (8c1f1fc)

Bug Fixes

improvement

  • change ArrayLength value from uint256 to uint128 (#287) (c95ee8a)
  • new encoding for static value types (not arrays []) (#288) (f0b04da)

0.17.2 (2023-03-14)

  • removed ERC725JSONSchemaKeyType duplicate value (060ee6c)
  • wrong web3 import (337269e)

0.17.1 (2023-02-08)

⚠ BREAKING CHANGES

  • update schemas (#274)

0.17.0 (2023-02-07)

⚠ BREAKING CHANGES

  • refactor: change permission ADDPERMISSIONS -> ADDCONTROLLER (122efa9)

Features

  • add encoding / decoding for bytes[CompactBytesArray] (#261) (8d3e4e9)
  • add decoding/encoding support for tuples of CompactBytesArray (#264) (d9ce0f0)
  • add encoding/decoding for other types of compactBytesArray (#262) (9268a32)
  • Add support for bool (valueType) and Boolean (valueContent) (#266) (86d606e)

Bug Fixes

  • Encode key name should parse any number (hex or decimal) for uint type (eb7385e)

0.16.0 (2022-10-27)

⚠ BREAKING CHANGES

  • It is now recommended to initialise the library with an RPC URL over the Web3 or Ethers provider, you can check the erc725.js documentation to get more information.

Features

Bug Fixes

  • change lsp7 interface id from 0xe33f65c3 to 0x5fcaac27 (6aa6eb3)
  • update return type for fetchData (#247) (7ffcd64)

0.15.0 (2022-09-14)

⚠ BREAKING CHANGES

  • add LSP6 ENCRYPT permission in for encrypt/decrypt permissions methods. (#223)

0.14.4 (2022-07-25)

Features

  • expose dynamic parts to public encodeKeyName (#213) (73f1265)

0.14.3 (2022-07-07)

Features

  • add BitArray in valueContent encoding map (3498502)

Bug Fixes

  • LSP4Creators[] valueType (6ddbf47)

0.14.2 (2022-06-24)

Bug Fixes

  • Update JsonRpc eth_call parameters (470e846)

0.14.1 (2022-06-15)

Minor update to update the LSP-2 schemas.

0.14.0 (2022-06-14)

⚠ BREAKING CHANGES

  • fetchData as same output as decodeData
  • getData as same output as decodeData
  • add dynamic keys for getData
  • use array for decodeData
  • use array for encodeData

Features

  • add dynamic keys for getData (7a46786)
  • add dynamicKeys for decodeData (f386e15)
  • add non array input on decodeData (0774a86)
  • add support for hashed key for encodeData (23323a0)
  • add BytesN value content (#184) (7e073e4)
  • add tuples support (7f3d1a0)

Bug Fixes

  • encodeKeyName returns lowercase keys (80566eb)

improvement

  • fetchData as same output as decodeData (59c3a87)
  • getData as same output as decodeData (0f3b149)
  • use array for decodeData (261d100)
  • use array for encodeData (a2e6cdd)

0.13.0 (2022-06-02)

⚠ BREAKING CHANGES

  • remove old LSP2 Key Types (Bytes20..)

Features

improvement

  • change fetchData output to non object (1d4d570)
  • remove old LSP2 Key Types (Bytes20..) (1e1cd43)

0.12.0 (2022-05-19)

⚠ BREAKING CHANGES

  • change encodeData result structure

improvement

  • change encodeData result structure (10da619)

0.11.1 (2022-04-06)

This version fix the npm pack error.

Bug Fixes

  • do not load wrong schemas (66dc3e6)

0.11.0 (2022-04-05)

⚠ BREAKING CHANGES

  • the output of getData is not an object anymore, but the value directly if the input is a string.
  • if fetchData is called with a string, the output will be the value itself, not an object anymore.

Features

  • add schemas at the root and improve docs (#121) (e37fb39)
  • change the output of getData for string input (3592c1b)

0.10.0 (2022-03-11)

Features

0.9.2 (2022-02-21)

Features

Bug Fixes

  • update ERC725Y JSON Schemas to latest LSPs specs (#92) (3485baa)
  • wait until a promise is resolved when using ethereum provider (5efe641)

0.9.1 (2022-02-01)

Bug Fixes

0.9.0 (2022-01-06)

⚠ BREAKING CHANGES

  • GraphQL / Apollo has been removed

Features

Bug Fixes

  • empty JSON url return null instead of crash (#61) (2d1e417)

  • remove GraphQL support (#83) (a0a5e93)

0.8.0 (2021-11-22)

⚠ BREAKING CHANGES

  • remove deprecated elementValueType / elementValueContent keys (#45)

Features

  • add support for new getData([]) (#48) (6cbb1e7)
  • remove deprecated elementValueType / elementValueContent keys (#45) (a326cd6)

Bug Fixes

0.7.0 (2021-11-02)

⚠ BREAKING CHANGES

  • remove deprecated elementValueType / elementValueContent keys (#45)

Features

  • add support for new getData([]) (#48) (6cbb1e7)
  • remove deprecated elementValueType / elementValueContent keys (#45) (a326cd6)

0.6.1 (2021-08-13)

Docs

  • docs: Update missed occurrences of "erc725.js"

0.6.0 (2021-08-13)

Feature

  • API: Adjusted API to be more consistent

Bug Fixes

  • mocha: increase timeout time (b7ce1a0)

0.5.7 (2021-07-30)

Bug Fixes

  • publish: ensure clean build folder (973e09b)