Skip to content

v1.1.0

Choose a tag to compare

@javuto javuto released this 24 May 15:13
· 40 commits to main since this release
c186313

What's Changed

Features

  • Add daemon service mode with configurable sync interval and graceful shutdown
  • Add daemon sync loop for flags, certificates, secrets, and extensions
  • Add osquery restart integration when managed content changes
  • Add extension deployment support, including extension directory configuration, manifest retrieval, and binary deployment
  • Add YAML configuration as the default format while keeping JSON support
  • Add --log-format flag and LogFormat config field
  • Add --interval flag and Interval config field

Fixes

  • Fix --force flag destination wiring
  • Fix typo in error message and remove dead code in runScript
  • Fix config tests to use inline temp files instead of relative paths
  • Fix Makefile test targets to use the correct package path
  • Fix service files for daemon mode
  • Fix golangci-lint issues, including errcheck, gosimple, and unused warnings
  • Fix OS-independent behavior in TestGenURLs

Refactoring

  • Migrate logging from stdlib log to slog, then to zerolog
  • Refactor write helpers to return change detection state
  • Propagate change detection through flag and certificate retrieval

Tests

  • Add tests for action helpers
  • Add tests for CLI action functions
  • Add tests for service mode helpers
  • Add tests for osquery restart behavior
  • Add tests for extension deployment behavior
  • Improve config test coverage

CI and Release

  • Add golangci-lint and test pipeline for pull requests
  • Restrict release workflow to tag pushes
  • Add .golangci.yml
  • Update Makefile test targets

Documentation

  • Add production hardening design spec and implementation plan
  • Add zerolog migration design spec and implementation plan
  • Add daemon mode design spec and implementation plan
  • Add osquery lifecycle management spec and plan
  • Add extension deployment spec and plan
  • Update README for daemon mode, lifecycle management, extensions, and YAML config
  • Remove generated docs and update .gitignore

Commits

  • f40a2c8 Add production hardening design spec
  • f6e1a98 docs: add production hardening implementation plan
  • 41c3de4 fix: force flag destination pointed to Verbose instead of Force
  • 502a7f0 fix: typo in error message and dead code in runScript
  • 2cc000d fix: config test uses inline temp file instead of relative path
  • 34f4de4 refactor: migrate logging from stdlib log to log/slog
  • 3ad5dcf test: add tests for action helpers
  • a950687 test: add tests for CLI action functions
  • 4df3aa0 fix: Makefile test targets use correct package path
  • 9480802 ci: add golangci-lint and test pipeline for PRs
  • 13b6a26 docs: add zerolog migration design spec
  • c5a5639 docs: add zerolog migration implementation plan
  • 4165655 deps: add github.com/rs/zerolog dependency
  • e420f60 feat: add --log-format flag and LogFormat config field
  • c274b28 refactor: migrate main.go from slog to zerolog
  • 4f718fc refactor: migrate remaining source files from slog to zerolog
  • 17ef7b3 docs: add daemon mode design spec
  • 432cf63 docs: add daemon mode implementation plan
  • 901a47e feat: add --interval flag and Interval config field
  • f3a84c7 feat: add service.go with jitter helper and tests
  • d85b079 feat: register service command in CLI
  • d4faedb feat: add syncOnce helper for daemon sync loop
  • 2335f85 feat: implement serviceNode daemon loop with graceful shutdown
  • e13e32d fix: update service files for daemon mode
  • 491d64d docs: add osquery lifecycle management spec and plan
  • 56652a7 feat: change writeContentExists to return (bool, error) for change detection
  • d2d1b39 feat: propagate change detection through getFlags and getCert
  • f8c6f19 feat: add restartOsquery function for OS service manager integration
  • 3b9b98e feat: integrate osquery restart into daemon sync loop
  • 2695851 docs: add extension deployment spec and plan
  • 75ef2e2 feat: add ExtensionsDir config and extensions URL generation
  • 81a632c feat: add extension data types
  • 15bf7fe feat: add extension manifest retrieval and binary deployment
  • 6136c80 feat: integrate extension sync into daemon loop
  • 2d1aeb7 chore: bump version to 2.0.0
  • 9d154a4 fix: resolve golangci-lint errcheck, gosimple, and unused warnings
  • fc1b750 fix: check remaining os.WriteFile returns in helper tests
  • 7ffbe3a fix: make TestGenURLs OS-independent for CI
  • b51a977 ci: only run release workflow on tag pushes
  • 956ef26 docs: update README for v2.0.0 features
  • 3fe8770 chore: remove generated docs and update gitignore
  • 3b9d915 feat: migrate config to YAML by default, keep JSON support
  • 50c5713 chore: bump version to 1.1.0
  • c186313 Merge pull request #1 from alvarofraguas/main

New Contributors

Full Changelog: v1.0.0...v1.1.0