27.0.0 (2024-12-02)
Bug Fixes
- ๐ Correctly handle currency as ticker when configuring DD (2dc9486)
- ๐ Correctly return status for failed instructions (bcf40c8)
- ๐ Fetch details from chain on instruction execution/affirm (c40df72)
- ๐ Fetch legs from chain while instruction affirm/execution (cf366d3)
- ๐ Fix logic to check if instruction exists (79da01e)
- ๐ getHistoricalAuthorization for v7 joinIdentity auth (77f172b)
- ๐ ignore improper cased permissions (3e2781f)
- ๐ Use unique portfolios while creating BtreeSet (cd4fc68)
Features
- ๐ธ Add more info about historical proposal (f654bb1)
- ๐ธ add support for padded IDs in subquery (5ce3a38)
- ๐ธ allow modification of assetType (309a929)
- ๐ธ Drop support for chain 6.x (0d2aab2)
- ๐ธ Retrieve instruction info from middleware(if available) (7a13bab)
- ๐ธ skip RPC version check (6acdfed)
BREAKING CHANGES
- ๐งจ Return type of
MultiSig.getHistoricalProposals
is now changed to
ResultSet<HistoricalMultiSigProposal>
to provide more info about the
proposal. This will allow get know information about prunded proposals
as well - ๐งจ SDK no longer supports chain 6.x
- Drops support for
6.3
spec version - type of
signers
has been changed toAccount
type inMultiSigDetails
andMultiSigSigners
.
This affectsdetails
method inMultiSig
entity andgetMultiSigSigners
inIdentity
entity - Deprecated
getSubsidy
method of theAccount
entity has been removed. - Deprecated
ticker
field has been removed from the interfaceMetadataKeyId
. This affects
getCollectionKeys
method fromNftCollection
entity - Deprecated
ticker
field has been removed fromHumanReadable
interfaces for these entities:
Checkpoint
,CheckpointSchedule
,CorporateAction
,DividendDistribution
,
CustomPermissionGroup
,KnownPermissionGroup
,MetadataEntry
,Offering
, Ticker
value has been removed fromScopeType
enumticker
field has been renamed toassetId
inClaimScope
interface- Deprecated
did
andticker
fields of theBaseAsset
entity have been removed. - Deprecated
joinCreator
method ofMultiSig
entity has been removed
- ๐งจ Methods in the
Instruction
entity that retrieve information from the
chain were updated to use middleware for fetching data, when available. If middleware is
unavailable, the methods will continue to fetch data directly from the chain.
The following methods were modified with this logic:details
,getAffirmations
,getLegs
,
getMediators
,getOffChainAffirmations
,getOffChainAffirmationForLeg
.
When querying via middleware, these methods will now throw an error in the following cases:
a. If the instruction does not exist.
b.If the instruction data has not yet been processed by the middleware.
Also, the pagination options forgetAffirmations
andgetLegs
now supports
MiddlewarePaginationOptions
as well (when querying via middleware)