Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 0.25.1 #441

Conversation

github-actions[bot]
Copy link
Contributor

🤖 I have created a release beep boop

0.25.1 (2024-05-15)

⚠ BREAKING CHANGES

  • update new LSP7/8 interface IDs (#367)
  • remove supportsInterface
  • update lsp3/lsp4 verificationData
  • change LSP3 to SupportedStandards:LSP3Profile (#307)
  • new encoding for static value types (not arrays []) (#288)
  • change ArrayLength value from uint256 to uint128 (#287)
  • update schemas (#274)
  • add LSP6 ENCRYPT permission in for encrypt/decrypt permissions methods. (#223)
  • 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
  • remove old LSP2 Key Types (Bytes20..)
  • change encodeData result structure
  • the output of getData is not an object anymore, but the value directly if the input is a string.

improvement

  • change encodeData result structure (10da619)

Features

  • add encoding / decoding for bytes[CompactBytesArray] (#261) (8d3e4e9)
  • add BitArray in valueContent encoding map (3498502)
  • add dynamicPart in schema returned by getSchema (12d34d2)
  • add encode/decodeValueType as public callable methods (#325) (a6fe7c8)
  • add ALL_PERMISSIONS flag to encoding (8adad51)
  • add BytesN value content (#184) (7e073e4)
  • add checkPermissions function (17d2258)
  • add decoding/encoding support for tuples of CompactBytesArray (#264) (d9ce0f0)
  • add dynamic array encoding (f0f495c)
  • add dynamic keys for encodeKeyName (#168) (fc614b0)
  • add dynamic keys for getData (7a46786)
  • add dynamicKeys for decodeData (f386e15)
  • add encoding/decoding for other types of compactBytesArray (#262) (9268a32)
  • add LSP12IssuedAssets (1d6dbef)
  • add LSP12IssuedAssets (77dd71e)
  • add LSP6 ENCRYPT permission in for encrypt/decrypt permissions methods. (#223) (279c0b4)
  • add more schemas available to parse via getSchema (#351) (b882379)
  • Add new feature "Decode Mapping Key" (8c1f1fc)
  • add non array input on decodeData (0774a86)
  • add permission EXECUTE_RELAY_CALL (6db8835)
  • add permission related to 4337 (e7fd19b)
  • add schemas for LSP8 + LSP17 (#311) (1e8dbf7)
  • Add support for bool (valueType) and Boolean (valueContent) (#266) (86d606e)
  • add support for bytesN valueType from 1 to 32 (1db6f2f)
  • add support for hashed key for encodeData (23323a0)
  • add support for multi types in mappings (#357) (ba92903)
  • add support to encode / decode any uint8 to uint256 types (#355) (417a4e8)
  • add supportsInterface (#243) (a2b0828)
  • add tuples support (7f3d1a0)
  • allow to encode LSP2 Array length only (#326) (3a6be55)
  • allow to load typed schemas from schemas/ folder (c54a370)
  • allow to use decodeData to decode Array length only (5ddb12d)
  • change the output of getData for string input (3592c1b)
  • export getSchema as a standalone function outside of class instance (8558c71)
  • export methods for encoding/decoding dataSourceWithHash and valueContent (b1e0ed9)
  • expose dynamic parts to public encodeKeyName (73f1265)
  • include also dynamicKeyPart in the schema return by getSchema (30dda33)
  • make library compatible with RPC urls (263de19)
  • new gas parameter (82e3833)
  • replace dynamic part with hex value when parsing schemas for Mapping keys (a9fdb4d)
  • supports dynamic keys for encodeData (b506973)

Bug Fixes

  • Add check for pretty printed and non-pretty printed versions of JSON (aa68bf1)
  • Add for unknown verification method to allow for null verification data in LSP2 (f205818)
  • Add missing exports due to merge conflict. (2e14cd5)
  • Add more fixes per PR comments (e7302e4)
  • Add workaround to read (bytes4,URI), repair none vs unknown signature. (204409d)
  • Additional PR repair (2a18f2b)
  • Apply suggestions. (e9c3d81)
  • BodyInit should be just string or buffer and not already Uint8Array (08e0177)
  • change lsp7 interface id from 0xe33f65c3 to 0x5fcaac27 (6aa6eb3)
  • Change to verification object (ddd2ab2)
  • 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)
  • decode any uint256 as number not string (#289) (37203f1)
  • dependencies & example (#302) (9979e89)
  • do not load wrong schemas (66dc3e6)
  • don't throw on null jsonurl/asseturl (#178) (d5060eb), closes #91
  • encode uintN with correct padding and bytes length (f8dc5ae)
  • Encode key name should parse any number (hex or decimal) for uint type (eb7385e)
  • encodeKeyName returns lowercase keys (80566eb)
  • Found some small lint problems (6ad681a)
  • Ignore formatting in package.json inside of biome (33a80dd)
  • incorrect hex for LSP8MetadataTokenURI (0500a75)
  • incorrect permission value for EXECUTE_RELAY_CALL (55b8f5e)
  • incorrect value in schema for array length in ...Map (#310) (0d28b13)
  • LSP4Creators[] valueType (6ddbf47)
  • Make sure unknown verification methods or 0x00000000 doesn't cause an error within decoder. (0585066)
  • Minimize changes (cc31b5f)
  • Missing commit (a3dd604)
  • Missing line (d13be00)
  • More fixes (620b606)
  • More renames _FUNCTIONS to _METHODS (1a96be1)
  • Move @types/jest and jest (852918c)
  • Patch full pretty printed with LF and TAB. (315fa54)
  • Push a change (3fd66e3)
  • Re-do PR with minimal changes (17458d6)
  • Rebase and merge support for VerifiableURL (44bfcc1)
  • Remove .only call for testing. (d5ef3c9)
  • Remove console debugging. (e349d57)
  • Remove eslint script (82f6cfe)
  • Remove hardcoded require (5279278)
  • Remove unnecessary special case for 0x00000000 (cd6152a)
  • removed ERC725JSONSchemaKeyType duplicate value (060ee6c)
  • Rename JSONURLDataToEncode (808f1b3)
  • 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 data: urls from not triggering the baseURI test. (c26ab3e)
  • Repair package-lock to be just as on main (e793246)
  • 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)
  • Switch to biome (a362c54)
  • update lsp6 schema (75c4044)
  • update return type for fetchData (#247) (7ffcd64)
  • Use a single keccak function since ethereumjs converts it to a Buffer no matter what. (cdc6c0a)
  • valueContent from bytes32 -> Bytes32 for LSP8ReferenceContract (dffc421)
  • variable naming (44b4785)
  • wrong web3 import (337269e)

Miscellaneous Chores

Code Refactoring

  • change ArrayLength value from uint256 to uint128 (#287) (c95ee8a)
  • change LSP3 to SupportedStandards:LSP3Profile (#307) (73f3481)
  • fetchData as same output as decodeData (59c3a87)
  • getData as same output as decodeData (0f3b149)
  • new encoding for static value types (not arrays []) (#288) (f0b04da)
  • remove old LSP2 Key Types (Bytes20..) (1e1cd43)
  • remove supportsInterface (ab83f08)
  • update lsp3/lsp4 verificationData (9640d9f)
  • update new LSP7/8 interface IDs (#367) (6a48862)
  • update schemas (#274) (feb575f)
  • use array for decodeData (261d100)
  • use array for encodeData (a2e6cdd)

This PR was generated with Release Please. See documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant