github PolymeshAssociation/polymesh-sdk v26.0.0

9 hours ago

26.0.0 (2024-10-30)

Bug Fixes

  • ๐Ÿ› InstructionDetails.createdAt is nullable (769c487)
  • ๐Ÿ› add stats transfer report runtime type (09a95f6)
  • ๐Ÿ› Correctly handle scopeToMiddlewareScope for Asset types (3dc52c3)
  • ๐Ÿ› Handle asset type middleware scope conversion correctly (0e08131)
  • ๐Ÿ› Handle self transfer case when checking asset transfer (4d69080)
  • ๐Ÿ› Make venueId optional in HistoricInstrution (411a522)
  • ๐Ÿ› Return rejected status correctly for Instructions (2e76e91)
  • ๐Ÿ› undefined variables corrupting claims gql (d518801)
  • ๐Ÿ› v7 multiSig errors by using payer/admin over creator (7a2c9b5)

Documentation

  • โœ๏ธ Update interfaces with notes about ticker deprecation (aab288a)

Features

  • ๐ŸŽธ add pagination, filters to getHistoricalInstructions (21da365)
  • ๐ŸŽธ Add dual version support for 6.x-7.x chain (a1369fc)
  • ๐ŸŽธ add getHistoricalInstructions to Settlements (4063b92)
  • ๐ŸŽธ add guard for no offchain leg without venue (5453e90)
  • ๐ŸŽธ add link ticker to asset ID method (1e0166c)
  • ๐ŸŽธ Add method to get portfolio by name (1a3c9e6)
  • ๐ŸŽธ Add method to register custom asset types (255650d)
  • ๐ŸŽธ Add procedure to unlink ticker from an Asset (8966c83)
  • ๐ŸŽธ add raw ID to BaseAsset class (9513775)
  • ๐ŸŽธ add set admin method to multi instance (db2c542)
  • ๐ŸŽธ Add support for btreeset portfolio ID (08aa612)
  • ๐ŸŽธ Allow creation of nft collection with custom nft type (a9627f7)
  • ๐ŸŽธ allow optional venues for 7.0 chains (8750fe9)
  • ๐ŸŽธ allow removal of a multiSig payer (617358c)
  • ๐ŸŽธ auto register ticker when linking to asset (ab3a6cb)
  • ๐ŸŽธ Bump min SQ version to 16.0.0-alpha.1 (2c7c80f)
  • ๐ŸŽธ Bump polymesh-types to 5.14.0 (0819084)
  • ๐ŸŽธ fix incorrect conflict resolutions (32b2b14)
  • ๐ŸŽธ get genesisHash and sq version (d52ef84)
  • ๐ŸŽธ handle optional venues when processing instruction (a0ea5a4)
  • ๐ŸŽธ Make ticker optional while creating an asset (9460b22)
  • ๐ŸŽธ pass key count when redeeming NFT (76140dd)
  • ๐ŸŽธ reintroduce joinCreator for dual-version (46ff3f1)
  • ๐ŸŽธ return ticker from BaseAsset.details method (2b89526)
  • ๐ŸŽธ throw error from getAuthorization (efa196c)
  • ๐ŸŽธ update getMultiSigSigners for v7 (103f7c8)
  • ๐ŸŽธ Update logic for generating legacy ticker Asset IDs (519565f)
  • ๐ŸŽธ Update middleware types compatible with 7.x chain (8cedbad)
  • ๐ŸŽธ Update middleware types with latest SQ (5b26058)
  • ๐ŸŽธ Update polkadot types for 7.0 chain release (fc731b8)
  • ๐ŸŽธ update polkadot types to latest (76b5a03)
  • ๐ŸŽธ Update polymesh types which rename AssetID to AssetId (da1b716)
  • ๐ŸŽธ updated multiSig procedure + getPermissions (01a9ec4)
  • ๐ŸŽธ Use genesis hash to generate next Asset ID (01f8fd6)
  • ๐ŸŽธ use stats runtime API to get transfer restriction errs (7ca46a3)
  • ๐ŸŽธ use uuid formatted asset ids (ea3c7c0)

BREAKING CHANGES

  • ๐Ÿงจ venueId is now optional in HistoricInstruction. This affects the
    methods getHistoricInstructions in Identity entity
  • ๐Ÿงจ ticker, did has been deprecated in BaseAsset. To get the ticker
    associated with an Asset, use BaseAsset.details method which now
    returns ticker along with other Asset details
  • ๐Ÿงจ - Since its not mandatory to specify a ticker while creating an Asset,
    ticker field in BaseAsset is now optional. did field in BaseAsset is now also optional.
  • Since an instruction can be created without specifying a venue, venue field in
    InstructionDetails is now nullable.
  • TickerReservationDetails optionally returns assetId when the status is
    TickerReservationStatus.AssetCreated.
  • ticker field in CreateNftCollectionParams is now optional. Also, a new optional
    field assetId has been added to specify ID of the asset while creating NFT collection.
  • Ticker value has been marked as deprecated in favour of new Asset value for
    the enums: ScopeType and ClaimScopeTypeEnum
  • ticker field has been deprecated in favour of assetId field in:
    a. HumanReadable interfaces for these entities: Checkpoint, CheckpointSchedule,
    CorporateAction, DividendDistribution, CustomPermissionGroup, KnownPermissionGroup,
    MetadataEntry, Offering
    b. MetadataKeyId interface
  • ๐Ÿงจ InstructionDetails.createdAt is nullable

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.