Releases: onflow/flow-cli
Version 0.41.3
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🛠 Improvements
- Add Dylan as code owner (#696) @sideninja
- Publish on new version tag (#690) @sideninja
- Create codeql.yml (#689) @Latkes
- Update version.txt (#681) @sideninja
- Add Sandbox Chain ID (#699) @sideninja
- Release process to two step (#694) @sideninja
- Create persisted global settings file (#687) @DylanTinianov
- Security code scanning (#684) @sideninja
- Remove deprecated flags and arguments (#682) @sideninja
- Remove contract name for add and update contract commands (#639) @DylanTinianov
Version 0.41.2
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🛠 Improvements
- Flag "--skip-check" added to explicitly avoid checking the latest version and doing extra network requests. This might be useful in cases where performance is important. (#673) @MaxStalker
- Write errors to standard error output. (#678) @bluesign
🐞 Bug Fixes
- Use provided ID to retrieve transaction result (#679) @sideninja
Version 0.41.1
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🛠 Improvements
- Update dependencies (#674) @sideninja
🐞 Bug Fixes
Version 0.41.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
⭐ Features
Test runner
You can finally feel confident your Cadence code behaves! You are now able to run Cadence tests using the Flow CLI.
Here's an example of a Cadence test:
import Test
pub fun testSimpleScript() {
var blockchain = Test.newEmulatorBlockchain()
var result = blockchain.executeScript(
"pub fun main(a: Int, b: Int): Int { return a + b }",
[2, 3]
)
assert(result.status == Test.ResultStatus.succeeded)
assert((result.returnValue! as! Int) == 5)
}And then you can simply run it with:
> flow test test_script.cdc
Running tests...
Test results:
- PASS: testSimpleScript🛠 Improvements
- Update CD to go 1.19 (#666) @sideninja
Version 0.40.1
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🛠 Improvements
- Update to Cadence v0.27.0 and Emulator v0.37.0 (#664) @turbolent
Version 0.40.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
⭐ Features
- Multiple
--signerflag support on signing transaction (#654) @bluesign - Warning when deploying standard contract to mainnet accidentally (#645) @bluesign
- Keys generate & derive cleanup, bip44 support for generating (#644) @bluesign
- BIP44 support for flow.json defined keys (#628) @bluesign
🛠 Improvements
- Update Dependencies flow-go-sdk, emulator and language server to latest versions (#653) @sideninja
- Update dev-wallet (#627) @gpavlov2016
- Update time output for block get (#643) @sukantoraymond
📖 Documentation
- Update create-accounts.md (#656) @a5chanda
- Remove deprecated workflow. (#647) @10thfloor
- Remove unused expression (#646) @10thfloor
- Update send signed link in docs (#634) @sukantoraymond
Version 0.39.3
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🛠 Improvements
- Add mixpanel to emulator (#633) @sukantoraymond
Version 0.39.2
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🛠 Improvements
- Update install script version fetching (#624) @sukantoraymond
- Change opt-out command tracking logic (#621) @sukantoraymond
- Resolve imports when deploying a contract (#623) @sideninja
- Generate unique ID for command tracking (#626) @sukantoraymond
- Update language server (#618) @sideninja
- Update emulator (#629) @sideninja
🐞 Bug Fixes
- Fix broken links in the documentation (#625) @sukantoraymond
Version 0.39.1
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🐞 Bug Fixes
- Bugfix in command usage statistics being rate limited. (#616) @sukantoraymond
Version 0.39.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
⭐ Features
Interactive account creation
Now users can create a new account in emulator, testnet and mainnet with one command flow accounts create. The command will lead users through the steps of
- creating the public/private key pair
- saving the private key to a private json file and automatically adding it to .gitignore
- pairing the public key with the newly created account
(#538)@sideninja
Enable argument init for add contract
Users can now initialize contracts with arguments for adding and updating contracts, using the format flow accounts add-contract <name> <filename> [<argument> <argument>...] [flags], for example flow accounts add-contract HelloWorld ./contract.cdc Hello 2.
Users can also use args json format, for example flow accounts add-contract HelloWorld ./tx.cdc '[{"type": "String", "value": "Hello"}]' (#589) @sukantoraymond
🛠 Improvements
- chore: fix broken link to emulator info (#611) @jdbranham
- Feature/event tracking command count on mixpanel (#582) @sukantoraymond
- Optional arguments parsing fix (#590) @bluesign
- Add command 'keys derive' to derive public key from private key (#593) @bluesign
- Fix legacy Type json-cdc encoding (#594) @bluesign
- Update Args JSON Documentation (#598) @sukantoraymond
- Fix unnecesary contract updates (#592) @bluesign
- Dependent issues action (#596) @sideninja
- Update emulator dependency to v0.34.0 (#607) @sukantoraymond
🐞 Bug Fixes
- Fix bug for setting metric settings (#609) @sukantoraymond
- Fix gitignore method for interactive account creation (#604) @sukantoraymond