Releases: MontFerret/cli
Releases · MontFerret/cli
v2.0.0-alpha.5
Immutable
release. Only release title and notes can be modified.
Changelog
- d0c5642 Add runtime file system root flag and update Go version in release workflow
- a041e7f Add source package import to build_test.go
- 6a2976f Refactor Builtin methods to use params directly and update module version to v2.0.0-alpha.7 (#37)
- 3ee30c6 Update Go setup action to v6 and require Go version 1.26
- f94842a Update Go version requirement to 1.26 in release workflow
- 7e336cd Update module path to v2 in import statements and configuration files (#36)
v2.0.0-alpha.4
Immutable
release. Only release title and notes can be modified.
Changelog
- fc58149 Add release command to Makefile and fix string comparison in versions.sh
- a8fa242 Bump github.com/rs/zerolog from 1.34.0 to 1.35.0 (#34)
- 27d9344 Refactored source handling, updated dependencies, and modularized runtime configuration
- 6ecceb3 Update release command in Makefile to accept TAG parameter
v2.0.0-alpha.3
Immutable
release. Only release title and notes can be modified.
v2.0.0-alpha.2
Immutable
release. Only release title and notes can be modified.
New Commands
-
ferret check— Validate FQL scripts for syntax and semantic errors without executing them. Processes all files (doesn't bail on first error), reports a summary. Supports stdin.ferret check script.fql ferret check ./queries/*.fql -
ferret fmt— Format FQL scripts with configurable style options (--print-width,--tab-width,--single-quote,--bracket-spacing,--case-mode). Supports--dry-runfor preview and stdin input.ferret fmt script.fql ferret fmt --dry-run script.fql -
ferret inspect— Compile and disassemble FQL scripts into bytecode. Subview flags for focused output:--summary— high-level program overview (functions, constants, registers, instructions, params)--bytecode— instruction listing with labels--constants— constant pool--functions— host + user-defined function definitions--spans— debug source spans- Flags can be combined; default shows full disassembly
ferret inspect script.fql ferret inspect -e "RETURN 42" --summary -
ferret repl— Interactive FQL shell, extracted from the oldexeccommand into its own command.
Changed Commands
exec→run— Renamed for brevity. Added-e/--evalflag for inline script execution.ferret run script.fql ferret run -e "RETURN 42"
Internal / Structural
- Upgraded to Ferret v2 (
v2.0.0-alpha.1) and Go 1.26.1 - Reorganized packages under
pkg/—browser,config,logger,repl,runtime,selfupdate,source - Shared
source.Resolve— common input resolution (file args,-eeval, stdin) used byrun,check,fmt,inspect - Shared
cmd/flags.goandcmd/errors.go** — common flag helpers (addEvalFlag) and error formatting (printErrorusingdiagnostics.Format) - Refactored browser management — modularized OS-specific implementations, improved process lifecycle handling
Runreturnsio.ReadCloserinstead ofio.Readerfor proper resource cleanup