Skip to content

Releases: MontFerret/cli

v2.0.0-alpha.5

09 Apr 19:08
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

v2.0.0-alpha.5 Pre-release
Pre-release

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

01 Apr 14:28
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

v2.0.0-alpha.4 Pre-release
Pre-release

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

27 Mar 21:38
Immutable release. Only release title and notes can be modified.
5d34cf9

Choose a tag to compare

v2.0.0-alpha.3 Pre-release
Pre-release

Changelog

  • b80ca8f Add CodeQL analysis workflow configuration (#33)
  • 5d34cf9 New "build" command (#32)
  • b0ff4b5 Updated README with CLI v2 changes and improved documentation

v2.0.0-alpha.2

25 Mar 00:02
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

v2.0.0-alpha.2 Pre-release
Pre-release

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-run for 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 old exec command into its own command.

Changed Commands

  • execrun — Renamed for brevity. Added -e/--eval flag 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, -e eval, stdin) used by run, check, fmt, inspect
  • Shared cmd/flags.go and cmd/errors.go** — common flag helpers (addEvalFlag) and error formatting (printError using diagnostics.Format)
  • Refactored browser management — modularized OS-specific implementations, improved process lifecycle handling
  • Run returns io.ReadCloser instead of io.Reader for proper resource cleanup

v1.11.1

07 May 17:25
b7902f3

Choose a tag to compare

What's Changed

Full Changelog: v1.11.0...v1.11.1

v1.11.0

28 Mar 18:02
69a63c4

Choose a tag to compare

Updated:

  • Upgraded Ferret to v0.18.0
  • Updated other dependencies

v1.10.0

07 Feb 22:20

Choose a tag to compare

Updated

  • Upgraded Ferret to v0.17.0
  • Updated other dependencies

v1.9.0

16 Nov 15:47
119d23e

Choose a tag to compare

Changelog

  • 119d23e Updated dependencies and Go version (#9)

v1.8.1

16 Nov 12:55
ba44249

Choose a tag to compare

Changelog

  • 5f6cf53 Fixed installation of revive linter
  • ba44249 Merge pull request #8 from MontFerret/chore/update-dependencies
  • 9bf8987 Updated dependencies
  • 3d75f45 Updated version of Go

v1.8.0

11 Feb 00:37

Choose a tag to compare

Updated

  • Upgraded Ferret to v0.16.6