Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
taoeffect committed Jan 12, 2024
1 parent b3d653a commit bfc2811
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
9 changes: 9 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# HISTORY

### v2.0.0

Breaking changes: hash format is now different (correct representation for `blake2b-256` and uses [CIDs](https://github.com/multiformats/cid)).

- Rename eventsSince to eventsAfter (h/t [@snowteamer](https://github.com/okTurtles/chel/pull/15))
- Add chel get command (h/t [@snowteamer](https://github.com/okTurtles/chel/pull/16))
- Use CIDs for content addressing rather than plain hashes (h/t [@snowteamer](https://github.com/okTurtles/chel/pull/21))
- Native ARM binary for M-series macs.

### v1.2.1, v1.2.2

- Restore `bin/chel`
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ cp -r path/to/contracts/* test/assets/ && ls ./test/assets/*-slim.js | sed -En '
Current release hashes will always be listed here.

```
80728870dff7e37afcd0947de5e4f5435ec11343f81e4b1a13f39e5847118d54 dist/chel-v1.2.2-aarch64-apple-darwin.tar.gz
329b48851fbab472c7ea28b8dcd227efcbfb43c441883ba7d1b1b311608754c5 dist/chel-v1.2.2-x86_64-apple-darwin.tar.gz
4a3fba0bdd8ed38ae5588949d537f36aae35c370e809453f9e32bcc84f290848 dist/chel-v1.2.2-x86_64-pc-windows-msvc.tar.gz
24cca69109bfd641d057ed5f8a37ea8471de37cf98345befb11ddac361074887 dist/chel-v1.2.2-x86_64-unknown-linux-gnu.tar.gz
ef35dc8581defe18167c5a463bd64a72242f48d176de47065f7c01b0dc2fab9f dist/chel-v2.0.0-aarch64-apple-darwin.tar.gz
335e19c51b9736e83d8b3c6991f3bcb568d75822da9e45b1023ea9a33b68957b dist/chel-v2.0.0-x86_64-apple-darwin.tar.gz
475e7d6eb9abf3fd3f3de2de42f77fe021e290b1eb6ec5347f26cb0365111ddc dist/chel-v2.0.0-x86_64-pc-windows-msvc.tar.gz
185ae8c5a4141f095e2583b947824a7efcf62e452c8420321f6feaf4e4e920a2 dist/chel-v2.0.0-x86_64-unknown-linux-gnu.tar.gz
```

## History
Expand Down
4 changes: 2 additions & 2 deletions build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ async function hash(args, internal = false) {
}
const [cid] = await createEntryFromFile(filename);
if (!internal) {
console.log(`CID for file (${filename}):`, cid);
console.log(`CID(${filename}):`, cid);
}
return cid;
}
Expand Down Expand Up @@ -648,7 +648,7 @@ async function migrate(args) {

// src/version.ts
function version() {
console.log("1.2.2");
console.log("2.0.0");
}

// src/main.ts
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@chelonia/cli",
"version": "1.2.2",
"version": "2.0.0",
"description": "Chelonia Command-line Interface",
"main": "src/main.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "deno task test",
"postinstall": "node ./scripts/install.js"
},
"bin": {
Expand Down
4 changes: 1 addition & 3 deletions scripts/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ const supportedPlatforms = {
BINARY_NAME: 'chel'
},
'Darwin_arm64': {
// When https://github.com/denoland/deno/issues/14935 is closed we can finally use the native binary
// TARGET: 'aarch64-apple-darwin',
TARGET: 'x86_64-apple-darwin',
TARGET: 'aarch64-apple-darwin',
BINARY_NAME: 'chel'
}
}
Expand Down

0 comments on commit bfc2811

Please sign in to comment.