Releases: onflow/flow-cli
Version 1.9.2
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🐞 Bug Fixes
v1.9.2 (Cadence 1.0 M1)
What's Changed
- Bump google.golang.org/grpc from 1.58.1 to 1.58.2 by @dependabot in #1216
- Bump mislav/bump-homebrew-formula-action from 1 to 3 by @dependabot in #1218
- Bump github.com/spf13/afero from 1.9.5 to 1.10.0 by @dependabot in #1215
- Replace contract body encoding from hex to utf8 by @nozim in #1220
- Bump dev wallet to v0.7.4 by @jribbink in #1221
- Bump version.txt to v1.4.5 by @jribbink2 in #1224
- Bump github.com/getsentry/sentry-go from 0.24.1 to 0.25.0 by @dependabot in #1229
- Update hybrid-custody-scaffold commit hash by @sisyphusSmiling in #1235
- Bump google.golang.org/grpc from 1.58.2 to 1.58.3 by @dependabot in #1231
- Update codeowners by @chasefleming in #1243
- Bump default scaffold version to include ViewResolver in flow.json by @chasefleming in #1244
- Crash fix for transaction send with missing flags by @bluesign in #1246
- Update test command with latest features from Cadence testing framework by @m-Peter in #1227
- Adding a contract to deployment section when using flowkit.AddContract by @bjartek in #1247
- fix: ensure that stopProgress is deferred on all code paths where Sta… by @bjartek in #1249
- Add support for JS code generation for flix by @bthaile in #1222
- Bump github.com/go-git/go-git/v5 from 5.6.1 to 5.10.0 by @dependabot in #1250
- Bump version txt to 1.5.0 by @chasefleming in #1252
- Add generate templates command by @chasefleming in #1242
- Remove Code QL Scanner by @Latkes in #1255
- Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 by @dependabot in #1257
- Bump languageserver to v0.33.0 by @jribbink in #1259
- update latest version by @bjartek in #1260
- create paths if they do not exist by @bjartek in #1263
- Update to Cadence v0.42.5 by @turbolent in #1264
- Bump version to 1.7.0 by @chasefleming in #1265
- Bump emulator to 0.57.3 by @chasefleming in #1268
- Update default scaffold to include RandomBeaconHistory contract by @chasefleming in #1269
- Bump version to 1.7.1 by @chasefleming in #1270
- Update flowser linux support by @bartolomej in #1272
- Bump github.com/onflow/cadence-tools/languageserver from 0.33.1 to 0.33.3 by @dependabot in #1274
- Add
generate
to flix comamnd by @bthaile in #1258 - Update flow emulator to v0.58.0 by @jribbink in #1278
- Bump to 1.8.0 by @chasefleming in #1281
- Improve
generate
descriptions for clarity by @chasefleming in #1287 - Add pwa scaffold by @bshahid331 in #1288
- upgrade emulator in flowkit by @bjartek in #1284
- do not force the use of a noop logger, it can be changed in the builder by @bjartek in #1294
- Update Empty Cadence Project Scaffold by @jribbink in #1295
- Bump github.com/go-git/go-git/v5 from 5.10.0 to 5.11.0 by @dependabot in #1298
- Allow running individual test by name by @jribbink in #1285
- Update Cadence and Flow Go SDK in CLI and Flowkit by @chasefleming in #1301
- add scaffold id in as a flag by @ianthpun in #1300
- use assert.Contains for result.OneLiner() check to fix flaky test by @ianthpun in #1304
- Upgrade flow dependencies by @chasefleming in #1306
- add new flowkit-release workflow by @ianthpun in #1302
- Update scaffolds by @jribbink in #1312
- Bump google.golang.org/grpc from 1.59.0 to 1.60.0 by @dependabot in #1311
- Add FLIX v1.1 Support by @bthaile in #1309
- Fix installation of gocov-html and mockery by @turbolent in #1314
- Update to Cadence 1.0 RC1 by @turbolent in #1313
- Bump build-release version to 1.20 by @chasefleming in #1315
- downgrade onflow/crypto to v0.24.9 by @ianthpun in #1317
- add Ianthpun to codeowners by @ianthpun in #1316
New Contributors
- @nozim made their first contribution in #1220
- @jribbink2 made their first contribution in #1224
- @bshahid331 made their first contribution in #1288
- @ianthpun made their first contribution in #1300
Full Changelog: v1.5.0-stable-cadence.3...v1.9.2-stable-cadence.1
Version 1.9.1
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🐞 Bug Fixes
- Bump build-release version to 1.20 to fix build (#1315) @chasefleming
Version 1.9.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
⭐ Features
- Add FLIX v1.1 Support (#1309) @bthaile
- Allow running individual test by name (#1285) @jribbink
- Add scaffold id in as a flag (#1300) @ianthpun
🛠 Improvements
- Fix installation of gocov-html and mockery (#1314) @turbolent
- Update Empty Cadence Project Scaffold (#1295) @jribbink
- Do not force the use of a noop logger, it can be changed in the builder (#1294) @bjartek
- Improve
generate
descriptions for clarity (#1287) @chasefleming - Bump google.golang.org/grpc from 1.59.0 to 1.60.0 (#1311) @dependabot
- Update scaffolds (#1312) @jribbink
- Add new flowkit-release workflow (#1302) @ianthpun
- Add pwa scaffold (#1288) @bshahid331
- Update Cadence and Flow Go SDK in CLI and Flowkit (#1301) @chasefleming
- Bump github.com/go-git/go-git/v5 from 5.10.0 to 5.11.0 (#1298) @dependabot
- Upgrade emulator in flowkit (#1284) @bjartek
🐞 Bug Fixes
EVM Preview Release 1
Introduces flow EVM commands intended to give preview access to Flow EVM.
In order to run Flow EVM you have to start the emulator with the evm flag enabled:
flow emulator --evm-enabled
You can then proceed by creating an account using the:
flow evm create-account {funding-amount}
This will create an account inside the EVM, fund it with the funding amount provided and create a bridged
account resource which will be saved inside the Flow account that was used as a signer in the above command
(default signer is emulator account if not provided with --signer
flag). Please be aware you can't create
multiple accounts on a single Flow account right now as the bridged account resource is always stored
in same place and can't be overwritten.
After creating an account you can deploy a contract to the EVM by running:
flow evm deploy {compiled binary}
You need to provide location of the file that contains the compiled EVM binary. The response will include the
EVM address of the contract that you will later need to interact with it.
You can interact with deploy contract by calling functions using:
flow evm run {Flow caller address} {EVM contract address} {contract function name} --ABI {abi location}
The Flow caller address is the account that contains EVM bridged account resource, that will be used to
execute the call inside the EVM. So you must first create such a resource by using the create-account
command.
The EVM contract address will be provided to you when deploy
command is executed. You also need to specify the
name of the contract function you want to call and the file containing ABI specification, which is normally produced
in the compile process.
Version 1.8.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
⭐ Features
🛠 Improvements
- Update flow emulator to v0.58.0 (#1278) @jribbink
- Update flowser linux support (#1272) @bartolomej
- Bump github.com/onflow/cadence-tools/languageserver from 0.33.1 to 0.33.3 (#1274) @dependabot
Version 1.7.1
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🛠 Improvements
- Bump emulator to 0.57.3 (#1268) @chasefleming
- Update default scaffold to include RandomBeaconHistory contract (#1269) @chasefleming
Version 1.7.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🛠 Improvements
- Update to Cadence v0.42.5 (#1264) @turbolent
- Create paths if they do not exist (#1263) @bjartek
Version 1.6.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
- Bump languageserver to v0.33.0 (#1259) @jribbink
- Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#1257) @dependabot
- Remove Code QL Scanner (#1255) @Latkes
⭐ Features
- Add generate templates command (#1242) @chasefleming
Version 1.5.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
⭐ Features
- Generate JS templates from FLIX (#1222) @bthaile
- Update Test command with latest features from Cadence testing framework (#1227) @m-Peter
🛠 Improvements
- Update default scaffold to include
ViewResolver
inflow.json
(#1244) @chasefleming - Update the Hybrid Custody scaffold (#1235) @sisyphusSmiling