All notable changes to this project are documented in this file.
The format is based on Keep a Changelog. This project adheres to Semantic Versioning.
0.22.1 - 2024-11-17
- Resolved deprecation warning caused by older version of
whatwg-url
's dependency onpunycode
library
0.22.0 - 2024-10-23
- Release
0.22.0
corresponding with o1js release2.0.0
. #702- o1js minor version dependency updated in cli package.json to
^2.*
*. - o1js minor version peer dependency updated in template/example contract package.json to
^2.*
*.
- o1js minor version dependency updated in cli package.json to
0.21.8 - 2024-10-23
- Svelte project scaffold now uses latest
sv create
and sources migrated toSvelte 5
. #701
0.21.7 - 2024-10-01
- Updated Next.js project starter to use app router and skip
src
directory - Forces TS in Next.js projects
0.21.6 - 2024-09-03
- Fixed zkProgramFile to support nested paths. #690
- Fixed o1js dependency issue for next js server #693
0.21.5 - 2024-06-06
- Improved the NPM packaging and changed the way sources are fetched during the project generation. #662
- Generic project and example templates are now fetched from the locally installed
zkapp-cli
package path (local file system copy).
- Generic project and example templates are now fetched from the locally installed
0.21.4 - 2024-06-06
- Fixed the Next.js configuration. #656
0.21.3 - 2024-05-20
- Fixed the deployment procedure for zkApps that use
o1js
of version <v1.0.1
and that use local imports without the.js
extension. #654
0.21.2 - 2024-05-20
- Migrate Next.js UI scaffold to Next.js
v14.2.3
and fix the latesto1js
usage issue. #652
0.21.0 - 2024-05-16
- NodeJS minimum version changed in order to reflect the
o1js
requirements. #641
- Update ZkProgram proof detection during deployment #649
- Improved
SmartContract
classes inheritance lookup used during the zkApps deployment procedure. #640
- Handle case when ZkProgram name argument is in double quotes during deployment #649
0.20.2 - 2024-05-07
- [Hotfix] SmartContract classes lookup for deployment. #637
0.20.1 - 2024-04-30
- Extend information printed during deployment procedure. #631
- Add ASCII o1Labs logo to zk help menu. #620
- Fix for Faucet URL. #631
0.20.0 - 2024-04-22
- The CLI, templates, and examples have been updated to be compatible with the latest version
1.0.0
ofo1js
. This includes updating all instances of Mina.LocalBlochain() and Proof.fromJSON() to be async. #623
0.19.0 - 2024-04-09
- The CLI, templates, and examples have been updated to be compatible with the latest version
0.18.0
ofo1js
that was released to be compatible with theDevnet
upgrade. This includes updating all code with async circuits, and removing all deprecated APIs. #606
- Add support to deploy smart contracts that verify ZkProgram proofs. #547
- Remove
node-fetch
dependency in favor of NodeJS native fetch. #602
- Issue when
zk system
command did not reported thezkapp-cli
version on Windows. #612
0.18.0 - 2024-03-06
- Lightnet error and edge cases handling. #597
- We removed common
--debug
CLI option in favor of DEBUG environment variable presence. - From now on, in order to enable debug logging, you must set
DEBUG
environment variable to<namespace>
value.- Where
<namespace>
can be one of the following:*
zk:*
zk:lightnet
- Example:
DEBUG=zk:lightnet zk lightnet start
- For details about the
DEBUG
environment variable, see Debug Usage.
- Where
- This improved debug logging capabilities can be leveraged with other parts of the zkApp CLI in the future.
- We removed common
- Improve CLI error handling. #591
0.17.2 - 2024-02-19
- Improve error handling when imported smart contract is not found. #586
0.17.1 - 2024-02-17
- Update
getCachedFeepayerAliases()
logic to prevent edge case bugs. #581 - Improve error handling for zk deploy when fee payer has insufficient permissions. #580
- Automate "zk config" if Lightnet is in use. #579
- The
--lightnet
option was added tozk config
in order to automatically configures zkApp project's deploy aliases. - The Lightnet should be up and running before executing the
zk config --lightnet
command.
- The
- Allow to use locally available lightweight Mina explorer in case of network issues. #577
0.17.0 - 2024-02-03
- Bump minor version to 0.17.0. #574
0.16.2 - 2024-02-03
- Update project scaffold tsconfig to handle esnext and es2022 targets. #570
- Dependencies updated. #573
0.16.1 - 2024-02-01
- Possibility to configure the target network to testnet or mainnet during the
zk config
process. #564
0.16.0 - 2023-12-11
- Possibility to configure the
lightnet
Mina processes logging level. #536
- Updates the Github Pages UI scaffold deploy flow configuration in the
next.config.js
to be compatible with the current version of NextJS. #534
- Fix to allow a deployment to Github Pages using the npm run deploy command in a NextJS UI project#534.
0.15.2 - 2023-12-04
- Lightnet sub-commands implementation (
explorer
). #521
0.15.1 - 2023-11-29
- Lightnet sub-commands implementation (
logs
). #520
0.15.0 - 2023-11-07
- Lightnet sub-commands implementation (
start
/stop
/status
). #510
0.14.1 - 2023-11-03
- Explorer links for deployment and interaction transactions. #516
0.14.0 - 2023-10-31
- Release
0.14.0
corresponding with o1js release0.14.0
. The o1js release includes constraint optimizations in Field methods and core crypto changes that break all verification keys. All contracts need to be redeployed. See the docs for more guidance on deploying contracts. #514- o1js minor version dependency updated in cli package.json to 0.14.*.
- o1js minor version peer dependency updated in template/example contract package.json to 0.14.*.
0.13.2 - 2023-10-22
- The husky pre-commit hooks configuration steps during project generation with an accompanying UI project were removed. #507.
- This PR removes Husky and the pre-commit hooks from the project templates to remove friction and create a better DX when building zkApps. #505.
0.13.0 - 2023-09-14
- Release
0.13.0
corresponding with o1js release0.13.0
. The o1js release includes changes to verification keys caused by updates to the proof system, which breaks all deployed contracts. #492- o1js minor version dependency updated in cli package.json to 0.13.*.
- o1js minor version peer dependency updated in template/example contract package.json to 0.13.*.
0.12.1 - 2023-09-09
- Both local and global installed versions are checked to determine if an update of the zkApp-cli is necessary#448.
- Fix to allow the zkApp-cli to be used from a projects local node_modules#448.
0.12.0 - 2023-09-09
- Project migrated to ESM #447.
- E2E tests for critical user flows against mocked and real networks #447.
0.11.2 - 2023-09-05
- Update all instances of
SnarkyJS
too1js
throught the CLI to coincide with the rebrand of the package #481
- A post build script was added to prepend a project repo name to built css asset urls so a NextJS UI project can be correctly deployed to GitHub Pages #468
- A fix to deploy a NextJS UI project to GitHub Pages without manual configuration by running
npm run deploy
#468
0.11.0 - 2023-07-14
- Release
0.11.0
#459- o1js minor version dependency updated in cli package.json to 0.12.*.
- o1js minor version peer dependency updated in template/example contract package.json to 0.12.*.
0.10.2 - 2023-07-09
- Welcome page getting started text changed for the zkApp project generated with the
NextJS
UI framework (#450)
- Fix for zkApp project generation with
Nuxt
UI framework issue (#449)
0.10.1 - 2023-06-22
0.10.0 - 2023-06-20
- Third-party fee payer accounts for deployment transactions can be used across multiple projects #424
- A new
zk config
option creates or selects a third-party fee payer account.
- A new
- A fee payer tries to pay the fee using signature authorization (proofs are not supported). If the zkApp account is used as fee payer after deployment, the transaction was rejected because the permissions of the account would be violated, breaking all re-deployments and the interact.ts script in the template project. #424
0.9.1 - 2023-06-17
- Update the Svelte UI scaffold vite config. [#432] (#432)
- Release
0.9.0
#426- o1js minor version dependency updated in cli package.json to 0.11.*.
- o1js minor version peer dependency updated in template/example contract package.json to 0.11.*.
- Replace deprecated
Circuit.if
withProvable.if
in thetictactoe
example. - Replace deprecated
Circuit.array
withProvable.Array
in thesudoku
example.
- Clean up deploy and log full errors to the console. #408
- Update NextJS UI scaffold defaults. #402
- Release
0.8.0
#399- Remove deprecated isReady and shutdown from cli, template/examples contracts, and UI scaffolds for each supported framework.
- Add state.getAndAssertEquals() to examples and test contracts.
- Configure UI scaffolds for NextJS, Svelte, and Nuxt to support top-level await used in the latest o1js release.
- Exit the cli config and deploy processes on success and error.
- Increase the template/example project jest test timeout.
- Update interact script config field. #396
- Update help text. #392
- Remove postinstall script to speed up zkApp cli installations and upgrades #391
- UI scaffold updates. #388
- Landing page with next steps for Nuxt UI scaffold. #386
- Landing page with next steps for Svelte UI scaffold. #385
- Landing page with next steps for NextJS UI scaffold. #384
- Adds an Interactive flow for UI scaffolds. #382
- Bug fixes. #378
- Updates the template projects to use the o1js version of
0.9.*
. #376
- Upgraded o1js to
0.9.2
. #367
- Update for o1js state getting fix. #367
- Upgraded o1js to
0.9.0
. #367
- Add timeout to warm gittar cache step during zkapp-cli install or upgrade. #362
- Update 'networks' in config.json to 'deployAliases'. #360
- Show desired blockchain explorer transaction urls #358
- Bug fixes. #353
- Upgraded o1js to
0.8.0
. #349
- Fix to show o1js version with
zk system
command. #349 - Allow '.js' imports to work in Jest. #339
- Minor fix to exit the cli process after generating a new project. #330
- Add dropdown to select an example project. #348
- Show a warning when users must upgrade their zkApp-cli version. #327
- Add a
tsc watch
script. #326
- Fix build errors when using
zk file
. #325
- Fix template contract, add interaction script, and upgrade to o1js
0.7.3
. #320 - Fix tictactoe example. #318
- Import a smart contract into the Nuxt UI project scaffold. #305
- Provide a better error message when an unknown error occurs in deployment. #304
- Import a smart contract into the Svelte UI project scaffold. #302
- Exit the CLI when a project step fails. #281
- Fix confirmation step to not consume user input entered earlier. #265
- Set default verion of user's smart contract project to
0.1.0
. #264 - Constrain valid example names for better error handling. #263
- Add ability to generate UI project alongsde the smart contract.
- Add an option to NextJS to set it up for github pages. #292
- Import a smart contract into the NextJS UI project scaffold. #290
- Fixes to the NextJS project for o1js + typescript. #287
- Add a NextJS typescript prompt. #285
- Add COOP & COEP headers for SvelteKit, NextJS, & NuxtJS. #279
- Working mvp of UI monorepo. #266
- Add Github issue templates. #270, #275, & #276
- Fix running
zk deploy
on windows. #256
- Update readme. #253
- Upgraded o1js to
0.6.0
. #249 - Renamed the references of Party to AccountUpdate and parties to zkappCommand in CLI and template/examples to match changes in Mina Protocol and o1js.