Releases: dfinity/ic-js
Releases · dfinity/ic-js
v0.7.0
Release
- nns
v0.7.0
- sns
v0.0.3
- utils
v0.0.2
Breaking changes
agent-js
dependencies set aspeerDependencies
- Sns canisters' classes renamed with prefix
Sns
- enums renamed with Pascal case for consistency reason
Features
- new library
@dfinity/utils
- more Sns related features:
notifyParticipation
,getUserCommitment
, some Sns neurons related features and governancemetadata
- new nns governance features:
setDissolveDelay
andsetNodeProviderAccount
- new generic interface
Token
and classTokenAmount
- class
ICP
set as deprecated
Build
- bump agent-js
v0.13.1
- publish
next
instead ofnightly-build
working versions - add manual trigger to GitHub Actions for npm publish
v0.6.0
Release
- nns
v0.6.0
- sns
v0.0.2
Breaking Changes
nns
libraryesm
canisters chunks renamed with suffix.canister
Features
- new library
@dfinity/sns
- add
SetSnsTokenSwapOpenTimeWindow
proposal action support to request and response converters - add new property in Neuron type:
spawn_at_timestamp_seconds
- use the governance canister id of the class in converters. This allows to also have proper conversion on testnets.
- add
leaveCommunityFund
functionality to governance canister in@dfinity/nns
. - map
deadline_timestamp_seconds
to proposal object - new NNS proposal topic
SnsDecentralizationSale
Fix
- fix how the neuron account was converted to a
string
forproto
.
Build
- bump dependencies including agent-js v0.12.0
- rename repo from
nns-js
toic-js
- transform repo into a mono-repo for packages
nns
,sns
and in the future more libraries
v0.5.0
Breaking
- Change "fromSubAccountId: string" param to "fromSubAccount: number[]"
Features
- Remove payload, payloadBytes and nnsFunctionName fields from proposal of type ExecuteNnsFunction action (moved to nns-dapp)
- Use Candid interface by default for ledger canister and proto for hardware wallet
- New function transactionFee to query the current transaction fee
v0.4.3
v0.4.2
0.3.0
Breaking Changes
- variant return types dropped - i.e. functions now return effective result and throw errors in case of issues [#59]
- governance function
getNeurons
tolistNeurons
renamed [#55] - governance functions
getNeurons
andlistNeurons
change signature [#69] - Drop
isCurrentUserController
property fromNeuron
type [#69] - remove some converters that were not use internally [#62]
Features
- governance new functions:
getProposal
stakeNeuron
registerVote
increaseDissolveDelay
getNeuron
setFollowees
- ledger
transfer
enhanced with support for subaccount - new utils to filter voted neurons and proposals
- export
common
types
Build
- nns-dapp canister types removed
- nightly build job
Tests
- add test for protobug files
v0.2.3
4dd668d 0.2.3
b32b8ed L2-355: Governance Canister makeProposal (#68)
fa3ef4e L2-364: Start and Stop Dissolving Neuron (#66)
c590e53 Fix: Typo (#65)
a2efa04 L2-360: Governance Join Community Fund (#64)
72433d1 L2-331: Check Neuron Balances (#63)
bc8498c docs: init changelog and list breaking changes (#60)
3d7f1e0 Fix: Remove unused converters (#62)
c98445d docs: update readme intro (#61)
59a520b feat: throw error instead of variant return (#59)
c127845 L2-338: Transfer from subaccounts (#58)
482fd2f L2-337: Set Neuron Followee (#57)
ab372d9 Add test for protobuf files (#53)
ec857fa feat: get neuron (#56)
da3a6aa L2-330: Update Delay Neuron (#54)
2115151 feat: unify the governance naming of the functions (#55)
5fbfbf7 The proto files on main should already be up to date (#52)
2d68f02 Correct name of the nightly build (#51)
eaff943 L2-336: Register Vote (#50)
69a5670 feat: neurons utils voted, not voted and ineligible (#49)
24850e8 refactor: drop governance converters stateless class for functions (#47)
f47ec60 Enter a valid schedule (#48)
5d51b42 L2-226: Stake neuron (#44)
607471f Job to publish a nightly build (#45)
e289663 Rm nnsdapp (#41)
0905e71 Add getProposalInfo to governance (#37)
a675fd8 feat: export common types (#43)