Releases: ecadlabs/taquito
Taquito v20.1.0
Breaking changes:
- We removed
account
public property onBeaconWallet
class. If you'd like to get the info, please usesubscribeToEvent
withBeaconEvent.ACTIVE_ACCOUNT_SET
- We migrated
Node.js
support from LTS18 to LTS20 and above
Summary
New features
@taquito/taquito
- Supported operationtransferTicket
in walletAPI PR #3003
Improvement
@taquito/taquito
- Exported SmartRollupExecuteOutboxMessageParams PR #3031@taquito/beacon-wallet
- revertedsubscribeToEvent
ofACTIVE_ACCOUNT_SET
in the package to ensure users will get a console warning, if they didn't subscribe events themselves PR #3062@taquito/rpc
- Updated rpc typeFrozenStaker
withBaker_edge
PR #2987@taquito/rpc
- Updated rpc typeMETADATA_BALANCE_UPDATES_CATEGORY
andOperationMetadataBalanceUpdates
to have backwards compatible PR #2987
Documentation
- Updated
michelson_encoder
documentation with section#flattening-nested-tokens-pairunion
PR #3002 - Updated
signing
documentation with section#generating-a-tzip-32-message-signature
PR #2879
Testing
- @taquito/beacon-wallet - Added broadcast-channel mock for @airgap/beacon-transport-postmessage in unit test PR #3062
- Removed flextesa tests from CI workflow PR #3001
- Fixed tzip16 test with new public IPFS gateway domain PR #3033
- Updated staking and failing_noop integration tests to be robust PR #3033
Internals
@taquito/http-utils
Configured thefetch
call to bekeepalive=false
to fix socket hangup errors after node19 PR #2986- Updated denpendencies PR #3018 #3038 #3043 #3052
- Removed taquito-test-dapp parisnet label on staking operations PR #3033
- Removed Netlify references after migrating to Cloudflare PR #3012
Taquito v21.0.0-beta.0
Summary
Quebec B Protocol Support
Protocol Quebec B compatibility support:
- Updated protocol hash
- Updated tests to run against protocol Quebec B's 8s block time
New Features
- Added Transfer Ticket operation to the wallet API #2996
Improvement
- Added
baker_own_stake
property toFrozenStaker
(PR#3000) - Added export for
SmartRollupExecuteOutboxMessageParams
(PR#3031)
Documentation
- Replaced
println
withconsole.log
in live code examples #511 - Added a section to Michelson Encoder docs about previous breaking changes, as well as updates to
TypeCheck
method example #2969 - Added docs for Tzip-32 (PR#2994)
Internals
Taquito v20.0.2-beta.2
This includes the same changes from the previous version (beta.1
) with some minor changes
Summary
@taquito/beacon-wallet
- Reverted an internal mechanism that looks for active accounts via Beacon event subscription. Taquito will now continue usinggetActiveAccount
as to not falsely satisfy Beacon's warning to subscribe to events.
Taquito v20.0.2-beta.1
Taquito v20.0.1
Taquito v20.0.1 Patch release
Summary
ParisC protocol Support
- This patch release supports an urgent bugfix on Octez regarding Smart Rollups
Bug Fixes
@taquito/http-utils
- Fixed a bug wherefetch
calls from Taquito would fail with a socket hangup error on Node 19 and above #2973@taquito/rpc
- Added missing RPC types #2978 #2971 #2979
Documentation
- Updated test dApp test descriptions #2983
Taquito v20.0.0
Summary
Paris(B) Protocol Support
Paris(B) Protocol has new Adaptive Issuance features, including staking pseudo-operations and rpc endpoints.
Adaptive Issuance, Staking, and Adaptive slashing will be in effect roughly two weeks (5 cycles) after the proposal is activated on Mainnet. The new AI features will not be usable until then.
⚠️ Breaking Changes ⚠️
Beacon Migration
As of Beacon version 4.2.0, Beacon has migrated from using dAppClient.getActiveAccount()
to using an event subscription method BeaconEvent.ACTIVE_ACCOUNT_SET
for handling active account changes.
IF YOU ARE STILL USING THE eventHandlers
PROPERTY WHEN INITIALIZING A DAPP CLIENT, PLEASE UPDATE YOUR CODE.
const wallet = new BeaconWallet(options);
await wallet.client.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, (data) => {
// your logic to update your state
console.log(data.address);
console.log(data.network.type);
});
await wallet.requestPermissions();
Michelson-encoder
We fixed a bug in @taquito/Michelson-encoder
when there are nested pair
and or
without having annots
consistently; the indexing key will have unexpected behaviour as below. This is an API behaviour-breaking change; if your dApp depends on the old behaviour or changing is too much effort, you can configure your TezosToolkit
with Tezos.setFieldNumberingStrategy('Legacy')
to keep the previous behaviour. But please note that this option might be removed in a future release.
Previous behaviour - inner object's field numbers depend on the object's location in its parent, and start with '2'
{
'0': 'firstValue',
'1': 'secondValue,
'2': {
'2': 'thirdValue',
'3': 'fourthValue'
}
}
New behaviour - inner object's field number will start with '0'
{
'0': 'firstValue',
'1': 'secondValue,
'2': {
'0': 'thirdValue',
'1': 'fourthValue'
}
}
New Features
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Contract API. This includes support forprepareProvider
,estimationProvider
, andrpcContractProvider
#2886@taquito/taquito
- Added staking related pseudo operations (stake, unstake, finalize_unstake) to the Wallet API #2921@taquito/rpc
- Added various RPC endpoints related to Adaptive Issuance (Staking) #2676 #2678@taquito/rpc
- Updated return types for several RPC endpoints related to the Paris protocol update #2887@taquito/rpc
- RemovedgetEndorsingRights
RPC endpoint along with its related type definition and tests #2884@taquito/rpc
- Updated RPC types forAttestationWithDal
andEndorsementWithDal
#2880@taquito/rpc
- Updated RPC response types to support DAL types #2882@taquito/rpc
- Updated RPC response type for the new manager opdal_publish_commitment
#2881@taquito/rpc
- Added a new RPC endpoint calledgetAllDelegates
#2976@taquito/local-forging
- Added local forging support forAttestationWithDal
operation #2880@taquito/local-forging
- Added local forging support for the new manager operationdal_publish_commitment
#2881@taquito/michel-codec
- Updated Michelson type definitions and validators to include the new Paris protocol ticket literals PR#2940
Internals
- Updated protocol constants integration test for Paris protocol #2869
- Configured keygen and integration test configs for Paris protocol #2888
- Added forger integration test for protocol migrations #2850
- Updated
@taquito/beacon-wallet
to use event subscription instead ofgetActiveAccount()
#2958 - Updated some website dependencies PR#2961
- Updated Beacon wallet dependency to the latest version
v4.2.2
(includes Paris protocol definitions) PR#2956 - Fixed nested
pair
andor
indexing bug #2927 - Added a test-dapp case to transfer ghostnet tez to etherlink address #2944
- Updated the Paris protocol hash to reflect the latest Octez fix PR
Documentation
- Updated documentation for new Adaptive Issuance related features PR#2928
- Added Tezos Foundation public testnet nodes to rpc_nodes on website #2933
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Contract API
const op = await Tezos.contract.stake({
amount: 100
});
await op.confirmation();
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Wallet API
const op = await Tezos.wallet.stake({
amount: 100,
mutez: false
}).send();
await op.confirmation();
Taquito v20.0.0-RC.1
Summary
Paris(B) Protocol Support
Paris(B) Protocol has new Adaptive Issuance features, including staking pseudo-operations and rpc endpoints.
Adaptive Issuance, Staking, and Adaptive slashing will be in effect roughly two weeks (5 cycles) after the proposal is activated on Mainnet. The new AI features will not be usable until then.
⚠️ Breaking Changes ⚠️
Beacon Migration
As of Beacon version 4.2.0, Beacon has migrated from using dAppClient.getActiveAccount()
to using an event subscription method BeaconEvent.ACTIVE_ACCOUNT_SET
for handling active account changes.
IF YOU ARE STILL USING THE eventHandlers
PROPERTY WHEN INITIALIZING A DAPP CLIENT, PLEASE UPDATE YOUR CODE.
const wallet = new BeaconWallet(options);
await wallet.client.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, (data) => {
// your logic to update your state
console.log(data.address);
console.log(data.network.type);
});
await wallet.requestPermissions();
Michelson-encoder
We fixed a bug in @taquito/Michelson-encoder
when there are nested pair
and or
without having annots
consistently; the indexing key will have unexpected behaviour as below. This is an API behaviour-breaking change; if your dApp depends on the old behaviour or changing is too much effort, you can configure your TezosToolkit
with Tezos.setFieldNumberingStrategy('Legacy')
to keep the previous behaviour. But please note that this option might be removed in a future release.
Previous behaviour - inner object's field numbers depend on the object's location in its parent, and start with '2'
{
'0': 'firstValue',
'1': 'secondValue,
'2': {
'2': 'thirdValue',
'3': 'fourthValue'
}
}
New behaviour - inner object's field number will start with '0'
{
'0': 'firstValue',
'1': 'secondValue,
'2': {
'0': 'thirdValue',
'1': 'fourthValue'
}
}
New Features
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Contract API. This includes support forprepareProvider
,estimationProvider
, andrpcContractProvider
#2886@taquito/taquito
- Added staking related pseudo operations (stake, unstake, finalize_unstake) to the Wallet API #2921@taquito/rpc
- Added various RPC endpoints related to Adaptive Issuance (Staking) #2676 #2678@taquito/rpc
- Updated return types for several RPC endpoints related to the Paris protocol update #2887@taquito/rpc
- RemovedgetEndorsingRights
RPC endpoint along with its related type definition and tests #2884@taquito/rpc
- Updated RPC types forAttestationWithDal
andEndorsementWithDal
#2880@taquito/rpc
- Updated RPC response types to support DAL types #2882@taquito/rpc
- Updated RPC response type for the new manager opdal_publish_commitment
#2881@taquito/rpc
- Added a new RPC endpoint calledgetAllDelegates
#2976@taquito/local-forging
- Added local forging support forAttestationWithDal
operation #2880@taquito/local-forging
- Added local forging support for the new manager operationdal_publish_commitment
#2881@taquito/michel-codec
- Updated Michelson type definitions and validators to include the new Paris protocol ticket literals PR#2940
Internals
- Updated protocol constants integration test for Paris protocol #2869
- Configured keygen and integration test configs for Paris protocol #2888
- Added forger integration test for protocol migrations #2850
- Updated
@taquito/beacon-wallet
to use event subscription instead ofgetActiveAccount()
#2958 - Updated some website dependencies PR#2961
- Updated Beacon wallet dependency to the latest version
v4.2.2
(includes Paris protocol definitions) PR#2956 - Fixed nested
pair
andor
indexing bug #2927 - Added a test-dapp case to transfer ghostnet tez to etherlink address #2944
- Updated the Paris protocol hash to reflect the latest Octez fix PR
Documentation
- Updated documentation for new Adaptive Issuance related features PR#2928
- Added Tezos Foundation public testnet nodes to rpc_nodes on website #2933
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Contract API
const op = await Tezos.contract.stake({
amount: 100
});
await op.confirmation();
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Wallet API
const op = await Tezos.wallet.stake({
amount: 100,
mutez: false
}).send();
await op.confirmation();
Taquito v20.0.0-RC.0
Summary
Paris(B) Protocol Support
Paris(B) Protocol has new Adaptive Issuance features, including staking pseudo-operations and rpc endpoints.
Adaptive Issuance, Staking, and Adaptive slashing will be in effect roughly two weeks (5 cycles) after the proposal is activated on Mainnet. The new AI features will not be usable until then.
⚠️ Breaking Changes ⚠️
Beacon Migration
As of Beacon version 4.2.0, Beacon has migrated from using dAppClient.getActiveAccount()
to using an event subscription method BeaconEvent.ACTIVE_ACCOUNT_SET
for handling active account changes.
IF YOU ARE STILL USING THE eventHandlers
PROPERTY WHEN INITIALIZING A DAPP CLIENT, PLEASE UPDATE YOUR CODE.
const wallet = new BeaconWallet(options);
await wallet.client.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, (data) => {
// your logic to update your state
console.log(data.address);
console.log(data.network.type);
});
await wallet.requestPermissions();
Michelson-encoder
We fixed a bug in @taquito/Michelson-encoder
when there are nested pair
and or
without having annots
consistently; the indexing key will have unexpected behaviour as below. This is an API behaviour-breaking change; if your dApp depends on the old behaviour or changing is too much effort, you can configure your TezosToolkit
with Tezos.setFieldNumberingStrategy('Legacy')
to keep the previous behaviour. But please note that this option might be removed in a future release.
Previous behaviour - inner object's field numbers depend on the object's location in its parent, and start with '2'
{
'0': 'firstValue',
'1': 'secondValue,
'2': {
'2': 'thirdValue',
'3': 'fourthValue'
}
}
New behaviour - inner object's field number will start with '0'
{
'0': 'firstValue',
'1': 'secondValue,
'2': {
'0': 'thirdValue',
'1': 'fourthValue'
}
}
New Features
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Contract API. This includes support forprepareProvider
,estimationProvider
, andrpcContractProvider
#2886@taquito/taquito
- Added staking related pseudo operations (stake, unstake, finalize_unstake) to the Wallet API #2921@taquito/rpc
- Added various RPC endpoints related to Adaptive Issuance (Staking) #2676 #2678@taquito/rpc
- Updated return types for several RPC endpoints related to the Paris protocol update #2887@taquito/rpc
- RemovedgetEndorsingRights
RPC endpoint along with its related type definition and tests #2884@taquito/rpc
- Updated RPC types forAttestationWithDal
andEndorsementWithDal
#2880@taquito/rpc
- Updated RPC response types to support DAL types #2882@taquito/rpc
- Updated RPC response type for the new manager opdal_publish_commitment
#2881@taquito/local-forging
- Added local forging support forAttestationWithDal
operation #2880@taquito/local-forging
- Added local forging support for the new manager operationdal_publish_commitment
#2881@taquito/michel-codec
- Updated Michelson type definitions and validators to include the new Paris protocol ticket literals PR#2940
Internals
- Updated protocol constants integration test for Paris protocol #2869
- Configured keygen and integration test configs for Paris protocol #2888
- Added forger integration test for protocol migrations #2850
- Updated
@taquito/beacon-wallet
to use event subscription instead ofgetActiveAccount()
#2958 - Updated some website dependencies PR#2961
- Updated Beacon wallet dependency to the latest version
v4.2.2
(includes Paris protocol definitions) PR#2956 - Fixed nested
pair
andor
indexing bug #2927 - Added a test-dapp case to transfer ghostnet tez to etherlink address #2944
Documentation
- Updated documentation for new Adaptive Issuance related features PR#2928
- Added Tezos Foundation public testnet nodes to rpc_nodes on website #2933
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Contract API
const op = await Tezos.contract.stake({
amount: 100
});
await op.confirmation();
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Wallet API
const op = await Tezos.wallet.stake({
amount: 100,
mutez: false
}).send();
await op.confirmation();
Taquito v19.2.1
Summary
New Features
- Updated Beacon version to v4.2.2, this Beacon version includes Paris protocol type definitions
⚠️ Breaking Changes ⚠️
Beacon Migration
As of Beacon version 4.2.0, Beacon have migrated from using dAppClient.getActiveAccount()
to using an event subscription method BeaconEvent.ACTIVE_ACCOUNT_SET
for handling active account changes.
IF YOU ARE STILL USING THE eventHandlers
PROPERTY WHEN INITIALIZING A DAPP CLIENT, PLEASE UPDATE YOUR CODE.
const wallet = new BeaconWallet(options);
await wallet.client.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, (data) => {
// your logic to update your state
console.log(data.address);
console.log(data.network.type);
});
await wallet.requestPermissions();
For a more detailed migration guide, please refer to this document
Internals
- Updated
@taquito/beacon-wallet
to usesubscribeToEvent()
instead ofgetActiveAccount()
#2958
Taquito v20.0.0-beta.1
Summary
Paris(B) Protocol Support
Paris(B) Protocol comes with new Adaptive issuance features, including staking pseudo-operations.
Adaptive Issuance, Staking, and Adaptive slashing will be in effect roughly two weeks (5 cycles) after the proposal is activated on Mainnet. The new AI features will not be usable until then.
Beacon Migration
As of Beacon version 4.2.0, Beacon have migrated from using dAppClient.getActiveAccount()
to using an event subscription method BeaconEvent.ACTIVE_ACCOUNT_SET
for handling active account changes.
IF YOU ARE STILL USING THE eventHandlers
PROPERTY WHEN INITIALIZING A DAPP CLIENT, PLEASE UPDATE YOUR CODE.
const wallet = new BeaconWallet(options);
await wallet.client.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, (data) => {
// your logic to update your state
console.log(data.address);
console.log(data.network.type);
});
await wallet.requestPermissions();
New Features
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Contract API. This includes support forprepareProvider
,estimationProvider
, andrpcContractProvider
#2886@taquito/rpc
- Added various RPC endpoints related to Adaptive Issuance (Staking) #2676 #2678@taquito/rpc
- Updated return types for several RPC endpoints related to the Paris protocol update #2887@taquito/rpc
- RemovedgetEndorsingRights
RPC endpoint alongside with its related type definition and tests #2884@taquito/rpc
- Updated RPC types forAttestationWithDal
andEndorsementWithDal
#2880@taquito/rpc
- Updated RPC response types to support DAL types #2882@taquito/rpc
- Updated RPC response type for the new manager opdal_publish_commitment
#2881@taquito/beacon-wallet
- Added staking related pseudo operations (stake
,unstake
,finalize_unstake
) to the Wallet API #2921@taquito/local-forging
- Added local forging support forAttestationWithDal
operation #2880@taquito/local-forging
- Added local forging support for the new manager operationdal_publish_commitment
#2881@taquito/michelson-codec
- UpdatedTicket
literals for Paris protocol PR#2940@taquito/michel-codec
- Updated Michelson type definitions and validators to include the new Paris protocol ticket literals PR#2940
Internals
- Updated protocol constants integration test for Paris protocol #2869
- Configured keygen and integration test configs for Paris protocol #2888
- Added forger integration test for protocol migrations #2850
- Updated
@taquito/beacon-wallet
to use event subscription instead ofgetActiveAccount()
#2958 - Updated some website dependencies PR#2961
- Updated Beacon wallet dependency to the latest version
v4.2.2-beta.4
(includes Paris protocol definitions) PR#2956
Documentation
- Updated documentation for new Adaptive Issuance related features PR#2928
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Contract API
const op = await Tezos.contract.stake({
amount: 100
});
await op.confirmation();