Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages (beta) #355

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,17 @@
"@celo/typescript": "0.0.1",
"@celo/viem-account-ledger": "0.0.1"
},
"changesets": []
"changesets": [
"dry-gifts-love",
"fair-points-beg",
"fifty-roses-explain",
"gold-pumas-fry",
"hot-pugs-nail",
"hungry-cups-juggle",
"many-cobras-live",
"moody-falcons-remain",
"polite-pets-push",
"rude-parrots-know",
"thirty-pugs-smile"
]
}
34 changes: 34 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Changelog

## 6.0.0-beta.0

### Major Changes

- [#339](https://github.com/celo-org/developer-tooling/pull/339) [`87223ba`](https://github.com/celo-org/developer-tooling/commit/87223ba93ab79f43ae6884282d30a420eb09c23c) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Remove support for reserve:\* commands. As foretold by https://forum.celo.org/t/sunset-of-reserve-commands/8454

- [#343](https://github.com/celo-org/developer-tooling/pull/343) [`54741cc`](https://github.com/celo-org/developer-tooling/commit/54741cc01ef0a6716bdd45a955ac65c7ecced6c1) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Remove commands identity:identifier, identity:get-attestations

See https://forum.celo.org/t/rfc-deprecation-of-celocli-identity-commands/8676

### Patch Changes

- [#389](https://github.com/celo-org/developer-tooling/pull/389) [`5a0a922`](https://github.com/celo-org/developer-tooling/commit/5a0a922f4965336849b33d5f90234766db55b2e5) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Add warning that ETH derivation path will be the default in a future major breaking change.

- [#395](https://github.com/celo-org/developer-tooling/pull/395) [`693f6e7`](https://github.com/celo-org/developer-tooling/commit/693f6e7d2fe3034b6d7a3bc4a9719e76229d1981) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Fix incorrect message where the transfered token was used as gas token in the messaging but not in actuality

- [#395](https://github.com/celo-org/developer-tooling/pull/395) [`693f6e7`](https://github.com/celo-org/developer-tooling/commit/693f6e7d2fe3034b6d7a3bc4a9719e76229d1981) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Fix Transfering, exchanging cusd (and other fee tokens) and or using gasCurrency flag with ledger devices prior to 1.2

- [#389](https://github.com/celo-org/developer-tooling/pull/389) [`5a0a922`](https://github.com/celo-org/developer-tooling/commit/5a0a922f4965336849b33d5f90234766db55b2e5) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Fix: account:new can now be called without a node

- Updated dependencies [[`693f6e7`](https://github.com/celo-org/developer-tooling/commit/693f6e7d2fe3034b6d7a3bc4a9719e76229d1981), [`5a0a922`](https://github.com/celo-org/developer-tooling/commit/5a0a922f4965336849b33d5f90234766db55b2e5), [`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88), [`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b), [`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88)]:
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]

## 5.2.1

### Patch Changes
Expand Down
28 changes: 14 additions & 14 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@celo/celocli",
"description": "CLI Tool for transacting with the Celo protocol",
"version": "5.2.1",
"version": "6.0.0-beta.0",
"author": "Celo",
"license": "Apache-2.0",
"repository": "celo-org/developer-tooling",
Expand Down Expand Up @@ -38,20 +38,20 @@
},
"dependencies": {
"@celo/abis": "11.0.0",
"@celo/base": "^6.1.0",
"@celo/base": "^7.0.0-beta.0",
"@celo/compliance": "~1.0.23",
"@celo/connect": "^6.0.2",
"@celo/contractkit": "^8.3.0",
"@celo/cryptographic-utils": "^5.1.0",
"@celo/explorer": "^5.0.12",
"@celo/governance": "^5.1.3",
"@celo/connect": "^6.0.3-beta.0",
"@celo/contractkit": "^9.0.0-beta.0",
"@celo/cryptographic-utils": "^5.1.1-beta.0",
"@celo/explorer": "^5.0.13-beta.0",
"@celo/governance": "^5.1.4-beta.0",
"@celo/identity": "^5.1.2",
"@celo/metadata-claims": "^0.0.1",
"@celo/phone-utils": "^6.0.3",
"@celo/utils": "^7.0.0",
"@celo/wallet-hsm-azure": "^6.0.1",
"@celo/wallet-ledger": "^6.0.1",
"@celo/wallet-local": "^6.0.1",
"@celo/metadata-claims": "^1.0.0-beta.0",
"@celo/phone-utils": "^6.0.4-beta.0",
"@celo/utils": "^8.0.0-beta.0",
"@celo/wallet-hsm-azure": "^6.0.2-beta.0",
"@celo/wallet-ledger": "^6.0.2-beta.0",
"@celo/wallet-local": "^6.0.2-beta.0",
"@ethereumjs/util": "8.0.5",
"@ledgerhq/hw-transport-node-hid": "^6.28.5",
"@mento-protocol/mento-sdk": "^1.0.1",
Expand Down Expand Up @@ -79,7 +79,7 @@
},
"devDependencies": {
"@celo/celo-devchain": "^7.0.0",
"@celo/dev-utils": "0.0.5",
"@celo/dev-utils": "0.0.6-beta.0",
"@celo/typescript": "workspace:^",
"@types/debug": "^4.1.4",
"@types/fs-extra": "^8.0.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/dev-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @celo/dev-utils

## 0.0.6-beta.0

### Patch Changes

- Updated dependencies []:
- @celo/[email protected]

## 0.0.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/dev-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/dev-utils",
"version": "0.0.5",
"version": "0.0.6-beta.0",
"description": "util package for celo packages that should only be a devDependency",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"@celo/abis": "^11.0.0",
"@celo/connect": "^6.0.1",
"@celo/connect": "^6.0.3-beta.0",
"@viem/anvil": "^0.0.9",
"bignumber.js": "^9.0.0",
"fs-extra": "^8.1.0",
Expand Down
14 changes: 14 additions & 0 deletions packages/sdk/base/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @celo/base

## 7.0.0-beta.0

### Major Changes

- [#228](https://github.com/celo-org/developer-tooling/pull/228) [`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - remove deprecated functions and consts exported from ./contacts and ./displayformating. ./currencies and ./phonenumbers. If these are used by your app we recommend to inline the functions from the previous release.

- https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/contacts.ts
- https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/displayFormatting.ts
- https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/phoneNumbers.ts

https://github.com/celo-org/developer-tooling/tree/%40celo/wallet-base%406.0.1/packages/sdk/base/src

Full List of removed exports -- ContactPhoneNumber, MinimalContact, getContactPhoneNumber, isContact, CURRENCY_ENUM, Currency, CURRENCIES, resolveCurrency, SHORT_CURRENCIES, currencyToShortMap | getErrorMessage | anonymizedPhone | getContactNameHash

## 6.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/base",
"version": "6.1.0",
"version": "7.0.0-beta.0",
"description": "Celo base common utils, no dependencies",
"author": "Celo",
"license": "Apache-2.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/sdk/connect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @celo/connect

## 6.0.3-beta.0

### Patch Changes

- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]:
- @celo/[email protected]
- @celo/[email protected]

## 6.0.2

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk/connect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/connect",
"version": "6.0.2",
"version": "6.0.3-beta.0",
"description": "Light Toolkit for connecting with the Celo network",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand All @@ -22,8 +22,8 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@celo/base": "^6.1.0",
"@celo/utils": "^7.0.0",
"@celo/base": "^7.0.0-beta.0",
"@celo/utils": "^8.0.0-beta.0",
"@ethereumjs/util": "8.0.5",
"@types/debug": "^4.1.5",
"@types/utf8": "^2.1.6",
Expand Down
51 changes: 51 additions & 0 deletions packages/sdk/contractkit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,56 @@
# @celo/contractkit

## 9.0.0-beta.0

### Major Changes

- [#340](https://github.com/celo-org/developer-tooling/pull/340) [`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Removes all exports under the lib/identity folder. These have been move to a new @celo/metadata-claims package and should be imported from there.

Note that folder structure is also flattened slightly. so replace `@celo/contractkit/lib/identity/claims/` with `@celo/metadata-claims/lib/`

example

```diff
- import { createAccountClaim } from '@celo/contractkit/lib/identity/claims/account'
+ import { createAccountClaim } from '@celo/metadata-claims/lib/account'
```

```diff
- import { ContractKit, IdentityMetadataWrapper, newKitFromWeb3 } from '@celo/contractkit'
- import { ClaimTypes } from '@celo/contractkit/lib/identity'
+ import { ContractKit, newKitFromWeb3 } from '@celo/contractkit'
+ import { ClaimTypes, IdentityMetadataWrapper } from '@celo/metadata-claims'

```

Note that Contractkit is Not a dependency. Instead when using `IdentityMetadataWrapper` you should make an object that satisfis the `AccountMetadataSignerGetters` type

```typescript
import { AccountMetadataSignerGetters } from '@celo/metadata-claims/lib/types'
```

using viem it would be like

```typescript
const accountsMetaDataSignerGetters: AccountMetadataSignerGetters = {
isAccount: async (address: string) => accounts.read.isAccount([address as Address]),
getValidatorSigner: async (address: string) =>
accounts.read.getValidatorSigner([address as Address]),
getVoteSigner: async (address: string) =>
accounts.read.getValidatorSigner([address as Address]),
getAttestationSigner: async (address: string) =>
accounts.read.getValidatorSigner([address as Address]),
}
```

### Patch Changes

- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]:
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]

## 8.3.0

### Minor Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/sdk/contractkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/contractkit",
"version": "8.3.0",
"version": "9.0.0-beta.0",
"description": "Celo's ContractKit to interact with Celo network",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down Expand Up @@ -28,10 +28,10 @@
"dependencies": {
"@celo/abis": "11.0.0",
"@celo/abis-12": "npm:@celo/[email protected]",
"@celo/base": "^6.1.0",
"@celo/connect": "^6.0.2",
"@celo/utils": "^7.0.0",
"@celo/wallet-local": "^6.0.1",
"@celo/base": "^7.0.0-beta.0",
"@celo/connect": "^6.0.3-beta.0",
"@celo/utils": "^8.0.0-beta.0",
"@celo/wallet-local": "^6.0.2-beta.0",
"@types/bn.js": "^5.1.0",
"@types/debug": "^4.1.5",
"bignumber.js": "^9.0.0",
Expand All @@ -43,7 +43,7 @@
},
"devDependencies": {
"@celo/celo-devchain": "^7.0.0",
"@celo/dev-utils": "0.0.5",
"@celo/dev-utils": "0.0.6-beta.0",
"@celo/odis-identifiers": "^1.0.1",
"@celo/typescript": "workspace:^",
"@truffle/contract": "4.6.31",
Expand Down
10 changes: 10 additions & 0 deletions packages/sdk/cryptographic-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @celo/cryptographic-utils

## 5.1.1-beta.0

### Patch Changes

- [#389](https://github.com/celo-org/developer-tooling/pull/389) [`5a0a922`](https://github.com/celo-org/developer-tooling/commit/5a0a922f4965336849b33d5f90234766db55b2e5) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Add warning that ETH derivation path will be the default in a future major breaking change.

- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]:
- @celo/[email protected]
- @celo/[email protected]

## 5.1.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk/cryptographic-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/cryptographic-utils",
"version": "5.1.0",
"version": "5.1.1-beta.0",
"description": "Some Celo utils for comment/data encryption, bls, and mnemonics",
"author": "Celo",
"license": "Apache-2.0",
Expand All @@ -22,9 +22,9 @@
"lib/**/*"
],
"dependencies": {
"@celo/base": "^6.1.0",
"@celo/base": "^7.0.0-beta.0",
"@celo/bls12377js": "0.1.1",
"@celo/utils": "^7.0.0",
"@celo/utils": "^8.0.0-beta.0",
"@noble/ciphers": "0.4.1",
"@noble/curves": "1.3.0",
"@noble/hashes": "1.3.3",
Expand Down
10 changes: 10 additions & 0 deletions packages/sdk/explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @celo/explorer

## 5.0.13-beta.0

### Patch Changes

- Updated dependencies [[`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88), [`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]:
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]

## 5.0.12

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/sdk/explorer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/explorer",
"version": "5.0.12",
"version": "5.0.13-beta.0",
"description": "Celo's block explorer consumer",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand All @@ -22,17 +22,17 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@celo/base": "^6.1.0",
"@celo/connect": "^6.0.1",
"@celo/contractkit": "^8.1.1",
"@celo/utils": "^7.0.0",
"@celo/base": "^7.0.0-beta.0",
"@celo/connect": "^6.0.3-beta.0",
"@celo/contractkit": "^9.0.0-beta.0",
"@celo/utils": "^8.0.0-beta.0",
"@types/debug": "^4.1.5",
"bignumber.js": "9.0.0",
"cross-fetch": "3.1.5",
"debug": "^4.1.1"
},
"devDependencies": {
"@celo/dev-utils": "0.0.5",
"@celo/dev-utils": "0.0.6-beta.0",
"@celo/typescript": "workspace:^",
"@types/debug": "^4.1.12",
"fetch-mock": "^10.0.7",
Expand Down
11 changes: 11 additions & 0 deletions packages/sdk/governance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @celo/governance

## 5.1.4-beta.0

### Patch Changes

- Updated dependencies [[`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88), [`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]:
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]
- @celo/[email protected]

## 5.1.3

### Patch Changes
Expand Down
Loading
Loading