Skip to content

v0.9.0 - dingo watch & cross-file type resolution

Latest

Choose a tag to compare

@erudenko erudenko released this 08 Jan 05:56
· 32 commits to main since this release
v0.9.0
6fc8fbc

What's New

🔥 dingo watch Command

Hot reload for development - automatically rebuilds and restarts your program when files change.

dingo watch main.dingo
dingo watch ./cmd/myapp
dingo watch main.dingo -- --port 8080

Features:

  • 500ms debounce to prevent rapid rebuilds
  • Graceful shutdown (SIGINT, then SIGKILL after 2s)
  • Cross-platform (macOS, Linux, Windows)
  • Timestamped output for rebuild events

🔧 Cross-File Type Resolution

Proper type resolution using go/types for accurate function return count detection. Fixes error propagation (?) for external package methods.

Bug Fixes

  • Fix transform.go colon handling in nested function calls
  • Fix method receiver detection in findEnclosingFunctionFallback
  • Default bare error propagation to single-return for unknown types

Downloads

Platform Binary
macOS (Apple Silicon) dingo-darwin-arm64
macOS (Intel) dingo-darwin-amd64
Linux (x64) dingo-linux-amd64
Linux (ARM64) dingo-linux-arm64
Windows (x64) dingo-windows-amd64.exe