Releases: onflow/flow-cli
v2.7.2
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
🛠 Improvements
- Add
txalias fortransactionssubcommand (#2092) @B9UU - Skip prompts on
flow dependencies installwith no args (#2090) @chasefleming - Update to latest version of Scheduled Transactions (#2094) @jribbink
- chore: remove duplicate package import (#2088) @juejinyuxitu
v2.7.2-preview
Preiew release with latest scheduled tx
v2.7.1
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
⭐ Features
Deployment account flag for dependency installation (#2074) @chasefleming
The flow dependencies install command now supports a --deployment-account (or shorthand -d) flag.
This feature skips the usual interactive deployment prompts and automatically installs dependencies into the specified deployment account.
Example:
flow dependencies install ExampleContract --deployment-account emulator-accountor using shorthand:
flow dependencies install ExampleContract -d emulator-account🛠 Improvements
- Update to latest version of scheduled callbacks (#2089) @jribbink
- Bump github.com/charmbracelet/bubbletea from 1.3.9 to 1.3.10 (#2084) @dependabot
v2.7.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI. Flow Developer Portal
⭐ Features
Query a system transaction (optionally by ID)
You can now retrieve the system transaction for any block, with optional filtering by transaction ID—part of the upcoming Forte upgrade.
Syntax
flow transactions get-system <block_id|latest|block_height> [tx-id]
Examples
# Get the system transaction for the latest block
flow transactions get-system latest
# Get the system transaction for the latest block, filtered by a specific tx ID
flow transactions get-system latest 07a8...b433
List accounts with validity, network & balance
A new command shows the configured accounts along with whether they're valid, which network they target, and their current balance.
Example:
flow accounts list
🛠 Improvements
Dark terminal readability
Updated to a brighter default font color to improve readability in dark terminals.
Input prompt polish
Fixed a cutoff placeholder on the project-name text-input prompt.
Funding tip
Added a helpful tip to guide users on funding accounts.
🐞 Bug Fixes
No new user-facing bug fixes in this release.
Full Changelog: v2.6.1...v2.7.0
v2.6.1
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
⭐ Features
Account funding by name
The flow account fund command now accepts account names defined in flow.json, making it easier to fund an account.
Example:
flow accounts fund bobSmarter testnet funding
When no address is provided, the flow accounts fund command now prompts you to select a testnet account from your configuration.
DeFi Actions in Dependency Manager
Added support for installing DeFi Actions contracts through the Dependency Manager and flow init.
Example:
flow dependencies install DeFiActions DeFiActionsUtils🛠 Improvements
Scrollable dependency selection
Added a scrollable list in the terminal to make navigating and selecting dependencies easier.
Directory resolution in init
flow init now correctly resolves directories, including relative paths like . or ...
Example:
flow init .
Dependency updates
google.golang.org/grpc→ 1.75.1 (#2058) @dependabotgithub.com/spf13/viper→ 1.21.0 (#2062) @dependabotgithub.com/getsentry/sentry-go→ 0.35.3 (#2059) @dependabotgithub.com/spf13/afero→ 1.15.0 (#2060) @dependabotgithub.com/charmbracelet/bubbletea→ 1.3.9 (#2061) @dependabot
Other improvements
- The
flow initprompt now respects termination signals (e.g. exiting cleanly withCtrl+C). . (#2066) @chasefleming - Remove redundant wording (#2049) @mickychang9
🐞 Bug Fixes
Windows release
Fixed an issue that prevented Windows releases from building successfully.
v2.6.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
⭐ Features
- Add
flow dependencies listcommand and explaindiscoverfiltering (#2044) @chasefleming - Update to Cadence v1.7.0 (#2050) @jribbink
🛠 Improvements
- Add styling to flow root command, results, and test output (#2035) @chasefleming
- Allow use of
flow initfor existing directories (#2033) @chasefleming - Add logo on
initcommand (#2032) @chasefleming - Swap out prompts for modern solution (#2027) @chasefleming
v2.5.0
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
What's Changed
- Bump actions/checkout from 3 to 5 by @dependabot[bot] in #2007
- Bump github.com/getsentry/sentry-go from 0.34.1 to 0.35.0 by @dependabot[bot] in #2004
- Bump github.com/onflow/flow-evm-gateway from 1.1.2-0.20250611145322-595a1b2e4ec9 to 1.2.0-rc.3-experimental.0 by @dependabot[bot] in #2001
- Fix imports whitelist in cursor ignore generated project file by @chasefleming in #2014
- Refactor: replace Split in loops with more efficient SplitSeq by @youzichuan in #2010
- Bump github.com/getsentry/sentry-go from 0.35.0 to 0.35.1 by @dependabot[bot] in #2015
- Deprecate scaffold command by @nialexsan in #1859
Full Changelog: v2.4.1...v2.5.0
v2.4.1
v2.4.0
What's Changed
- Bump google.golang.org/grpc from 1.73.0 to 1.74.2 by @dependabot[bot] in #2002
- Update Flow Emulator to Include Scheduled Callbacks Beta by @jribbink in #2006
Full Changelog: v2.3.1...v2.4.0
v2.3.1
⬆️ Install or Upgrade
Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.
What's Changed
Full Changelog: v2.3.0...v2.3.1