Skip to content

Commit

Permalink
chore(releng) bump version to 20.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dsawali committed May 31, 2024
1 parent 45fea4a commit 4871f03
Show file tree
Hide file tree
Showing 126 changed files with 2,204 additions and 827 deletions.
10 changes: 5 additions & 5 deletions apps/taquito-test-dapp/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "taquito-test-dapp-vite",
"private": true,
"version": "20.0.0-RC.1",
"version": "20.0.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -26,10 +26,10 @@
"dependencies": {
"@airgap/beacon-sdk": "^4.2.2",
"@airgap/beacon-types": "^4.2.2",
"@taquito/beacon-wallet": "^20.0.0-RC.1",
"@taquito/core": "^20.0.0-RC.1",
"@taquito/taquito": "^20.0.0-RC.1",
"@taquito/utils": "^20.0.0-RC.1",
"@taquito/beacon-wallet": "^20.0.0",
"@taquito/core": "^20.0.0",
"@taquito/taquito": "^20.0.0",
"@taquito/utils": "^20.0.0",
"buffer": "^6.0.3",
"svelte-select": "^5.7.0",
"vite-compatible-readable-stream": "^3.6.1"
Expand Down
101 changes: 101 additions & 0 deletions docs/version.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,107 @@
title: Versions
author: Jev Bjorsell
---

# Taquito v20.0.0
## Summary

### Paris(B) Protocol Support
Paris(B) Protocol has new Adaptive Issuance features, including staking pseudo-operations and rpc endpoints.

⚠️ Warning ⚠️
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 for `prepareProvider`, `estimationProvider`, and `rpcContractProvider` #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` - Removed `getEndorsingRights` RPC endpoint along with its related type definition and tests #2884
- `@taquito/rpc` - Updated RPC types for `AttestationWithDal` and `EndorsementWithDal` #2880
- `@taquito/rpc` - Updated RPC response types to support DAL types #2882
- `@taquito/rpc` - Updated RPC response type for the new manager op `dal_publish_commitment` #2881
- `@taquito/rpc` - Added a new RPC endpoint called `getAllDelegates` #2976
- `@taquito/local-forging` - Added local forging support for `AttestationWithDal` operation #2880
- `@taquito/local-forging` - Added local forging support for the new manager operation `dal_publish_commitment` #2881
- `@taquito/michel-codec` - Updated Michelson type definitions and validators to include the new Paris protocol ticket literals [PR#2940](https://github.com/ecadlabs/taquito/pull/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 of `getActiveAccount()` #2958
- Updated some website dependencies [PR#2961](https://github.com/ecadlabs/taquito/pull/2961)
- Updated Beacon wallet dependency to the latest version `v4.2.2` (includes Paris protocol definitions) [PR#2956](https://github.com/ecadlabs/taquito/pull/2956)
- Fixed nested `pair` and `or` 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](https://github.com/ecadlabs/taquito/pull/2974)

### Documentation
- Updated documentation for new Adaptive Issuance related features [PR#2928](https://github.com/ecadlabs/taquito/pull/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

```javascript
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

```javascript
const op = await Tezos.wallet.stake({
amount: 100,
mutez: false
}).send();
await op.confirmation();
```

# Taquito v19.2.0

**Breaking Changes**: (if applicable)
Expand Down
22 changes: 11 additions & 11 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@taquito/example",
"private": true,
"version": "20.0.0-RC.1",
"version": "20.0.0",
"scripts": {
"example": "node -r ts-node/register --preserve-symlinks example-node.ts",
"example:activation": "node -r ts-node/register --preserve-symlinks example-activate.ts",
Expand Down Expand Up @@ -42,16 +42,16 @@
},
"dependencies": {
"@ledgerhq/hw-transport-node-hid": "^6.28.5",
"@taquito/ledger-signer": "^20.0.0-RC.1",
"@taquito/local-forging": "^20.0.0-RC.1",
"@taquito/michel-codec": "^20.0.0-RC.1",
"@taquito/michelson-encoder": "^20.0.0-RC.1",
"@taquito/rpc": "^20.0.0-RC.1",
"@taquito/sapling": "^20.0.0-RC.1",
"@taquito/signer": "^20.0.0-RC.1",
"@taquito/taquito": "^20.0.0-RC.1",
"@taquito/tzip16": "^20.0.0-RC.1",
"@taquito/utils": "^20.0.0-RC.1",
"@taquito/ledger-signer": "^20.0.0",
"@taquito/local-forging": "^20.0.0",
"@taquito/michel-codec": "^20.0.0",
"@taquito/michelson-encoder": "^20.0.0",
"@taquito/rpc": "^20.0.0",
"@taquito/sapling": "^20.0.0",
"@taquito/signer": "^20.0.0",
"@taquito/taquito": "^20.0.0",
"@taquito/tzip16": "^20.0.0",
"@taquito/utils": "^20.0.0",
"bignumber.js": "^9.1.2"
},
"devDependencies": {
Expand Down
30 changes: 15 additions & 15 deletions integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@
"originate-known-contracts": "node -r ts-node/register originate-known-contracts.ts",
"originate-known-contracts-and-run-test": "node -r ts-node/register originate-known-contracts.ts && jest"
},
"version": "20.0.0-RC.1",
"version": "20.0.0",
"dependencies": {
"@ledgerhq/devices": "8.2.2",
"@ledgerhq/hw-transport": "6.30.5",
"@ledgerhq/hw-transport-node-hid": "6.28.5",
"@ledgerhq/hw-transport-node-hid-noevents": "6.29.5",
"@taquito/contracts-library": "^20.0.0-RC.1",
"@taquito/core": "^20.0.0-RC.1",
"@taquito/http-utils": "^20.0.0-RC.1",
"@taquito/local-forging": "^20.0.0-RC.1",
"@taquito/michel-codec": "^20.0.0-RC.1",
"@taquito/michelson-encoder": "^20.0.0-RC.1",
"@taquito/remote-signer": "^20.0.0-RC.1",
"@taquito/rpc": "^20.0.0-RC.1",
"@taquito/sapling": "^20.0.0-RC.1",
"@taquito/signer": "^20.0.0-RC.1",
"@taquito/taquito": "^20.0.0-RC.1",
"@taquito/tzip12": "^20.0.0-RC.1",
"@taquito/tzip16": "^20.0.0-RC.1",
"@taquito/utils": "^20.0.0-RC.1",
"@taquito/contracts-library": "^20.0.0",
"@taquito/core": "^20.0.0",
"@taquito/http-utils": "^20.0.0",
"@taquito/local-forging": "^20.0.0",
"@taquito/michel-codec": "^20.0.0",
"@taquito/michelson-encoder": "^20.0.0",
"@taquito/remote-signer": "^20.0.0",
"@taquito/rpc": "^20.0.0",
"@taquito/sapling": "^20.0.0",
"@taquito/signer": "^20.0.0",
"@taquito/taquito": "^20.0.0",
"@taquito/tzip12": "^20.0.0",
"@taquito/tzip16": "^20.0.0",
"@taquito/utils": "^20.0.0",
"bignumber.js": "^9.1.2",
"bip39": "3.1.0",
"blakejs": "^1.2.1"
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"useNx": true,
"version": "20.0.0-RC.1"
"version": "20.0.0"
}
Loading

0 comments on commit 4871f03

Please sign in to comment.