Releases: a-kenji/flake-edit
v0.3.4 flake-edit
This version fixes a few edge cases.
Notably the follow subcommand accepts a --transitive flag that will also add and follow transitive dependencies.
follow
follow --transitive
treefmt-nix
The follow subcommand has also been added as a formatter in the treefmt-nix project.
And can be used through:
programs.flake-edit.enable = true;
This will make treefmt automatically manage your flakes inputs and deduplicate them, as well as remove stale follows inputs.
What's Changed
- feat(config): Make config flag global by @a-kenji in #428
- ci: Move to upstream nix-installer action by @a-kenji in #432
- fix: update
ParseErrorimport path for rnix0.13.0by @a-kenji in #439 - fix: Append new inputs at the end by @a-kenji in #460
- fix: Remove toplevel whitespace by @a-kenji in #461
- feat: Use
replace_withfor natural root propagation by @a-kenji in #462 - outputs: Fix whitespace in trailing slashes by @a-kenji in #463
- walk: Don't copy whitespace verbatim by @a-kenji in #464
- inputs: try to preserve grouping by @a-kenji in #465
- outputs: fix insertion index for @-binding patterns by @a-kenji in #466
- outputs: support leading commata by @a-kenji in #467
- validate: support multiple top-level inputs attr sets by @a-kenji in #468
- inputs: Fix duplicated blank line by @a-kenji in #469
- outputs: Fix remove on inputs@{ ... } binding pattern by @a-kenji in #471
- walk: support flat toplevel follows by @a-kenji in #472
- change: correctly split on dots by @a-kenji in #473
- outputs: support multi-line output style by @a-kenji in #478
- inputs: detect and inherit multi-line attrset style for new inputs by @a-kenji in #479
- outputs: adjust for
NODE_PAT_ENTRYfor trailing comma detection by @a-kenji in #480 - pin: properly respect
--lock-fileby @a-kenji in #484 - follow: normalize quoted follow attributes by @a-kenji in #485
- inputs: fix deeply nested inputs by @a-kenji in #486
- follow: add
--transitiveflag by @a-kenji in #494
Full Changelog: v0.3.3...v0.3.4
v0.3.3 flake-edit
What's Changed
- follow: Split into follow and add-follow subcommands by @a-kenji in #426
- chore(build): improve binary size by @a-kenji in #427
Full Changelog: v0.3.2...v0.3.3
v0.3.2 flake-edit
What's Changed
🚀 Features
- Initialize a configuration file
- Unfollow stale follows
🐛 Bug Fixes
- Only show diff before commit
Full Changelog: v0.3.1...v0.3.2
v0.3.1 flake-edit
What's Changed
🚀 Features
- Init
changesubcommand - (cli) Add --shallow flag to add shallow inputs
- Init
followsubcommand - Add
--autoflag to the follow subcommand - An interactive mode for querying user input
- Implement nested follows in lock files
🐛 Bug Fixes
- (command) Improve URI validation
- (remove) Correctly also remove orphaned follow inputs
- (test) Remove deprecated nodes.*.config usage
- (tests) Filter environment-dependent paths in CLI snapshot metadata
- Fix transitive follows in
--auto
📚 Documentation
- Add
followsubcommand docs
⚙️ Miscellaneous Tasks
- Upgrade to Rust 2024 edition
- Improve validation before change
- Parametrize snapshot tests
Full Changelog: v0.3.0...v0.3.1
v0.3.0 flake-edit
What's Changed
The main feature in this version is the forgejo + gitea forge support for their release API.
- completions: Add more exhaustive default completion types by @a-kenji in #251
- feat: Keep
flake.lockin sync with theflake.nixfile by @a-kenji in #303 - docs: Add examples to the manpage by @a-kenji in #305
- feat: Add error on adding duplicate inputs node by @a-kenji in #307
- build: Gate generation behind assets feature by @a-kenji in #366
- ci: add auto-merge workflow for dependency updates by @Mic92 in #360
- forges: Init
gitea+forgejosupport by @a-kenji in #385 - chore: update
nix-uri->0.1.10by @a-kenji in #386 - update: Support channel based releases by @a-kenji in #387
New Contributors
Full Changelog: v0.0.2...v0.3.0
v0.0.2: flake-edit
What's Changed
- Improve error report, if change could not be applied by @a-kenji in #158
- fix: Adjust outputs with trailing slashes correctly by @a-kenji in #159
- update: Rename to change_input_to_rev by @a-kenji in #166
- devshells: Add rustc path directly by @a-kenji in #197
- ci: Fix default build by @a-kenji in #198
- update: Allow any string prefix until the first
-for semver by @a-kenji in #199 - update: Fix github api authorization by @a-kenji in #200
- update: Print context messages by @a-kenji in #202
Full Changelog: v0.1.0...v0.0.2
0.1.0: Initial Release
The goal of the flake-edit cli and library is to provide a safe, correct and seamless
way to interact with and manage flake inputs.
This is an early release, but basic features are implemented.
Features:
- Add new flake inputs.
- Remove flake inputs.
- Pin flake inputs to current revision.
- Pin flake inputs to specific revision.
- Update flake inputs to their latest semver compatible release (not many forges supported yet).
- Shell completions.
Please review and provide feedback.

