Skip to content

v0.0.6-alpha

Choose a tag to compare

@cocopuff2u cocopuff2u released this 19 Dec 02:02
· 61 commits to main since this release
70d4eea

Main App Changes

  • Improved application logging for cleaner, more useful diagnostics
  • Memory and startup optimizations to prevent potential leaks
  • Removed over 1,600 lines of unused code

Security Improvements

  • Rule IDs containing ../ or / are now rejected
    • Prevents writing files outside the project directory
  • Rules must have a non-empty ID and title before they can be saved

Error Handling

  • Save operations now display user-friendly error alerts instead of failing silently
  • Added explicit error types for:
    • Rule saving
    • Baseline saving

Stability & Reliability

  • Fixed potential crashes caused by force unwraps
  • Fixed a memory leak in the memory monitoring system
  • Added additional validation to prevent path traversal via rule IDs

Performance

  • Cached regex patterns for faster string processing

Code Quality & Internal Improvements

  • Added reusable rule validation methods
  • Improved GitHub API requests by including a proper User-Agent header
  • Introduced a ViewModel foundation to support future refactoring

Compliance Editor Changes

Fixes

  • ODV values now correctly display compliance-specific values
    • (e.g., STIG, CIS Level 1, CIS Level 2) instead of always showing “recommended”
  • Added support for enum-type ODV hints
    • Valid values now display as a bullet list in the sidebar
  • Min/Max validation now displays correctly when only one value is defined
  • Fixed version lookup for platform-specific enforcement info
  • Resolved caching issues where ODV values could display stale data when switching frameworks

New Features & Improvements

  • Expanded ODV hint section, now displaying:
    • Data type (string, number, boolean, enum)
    • Description and help text
    • Validation range (Min, Max, or Range)
    • Regex pattern (for string validation)
    • Valid values list (for enum types)
  • Keyboard navigation improvements:
    • ↑ / ↓ — Navigate rules while keeping selection visible
    • Space — Toggle enable/disable for the selected rule
  • Results section is now hidden when a rule has no result data (e.g., manual rules)
  • Discussion, Check, References, and Tags sections now hide automatically when empty
  • Mobileconfig section is hidden when no mobileconfig data exists
  • ODV and Results text fields now expand vertically for long values
  • Compliance value layout updated:
    • Changed from side-by-side to stacked layout
    • Prevents long values from running off-screen
  • Clicking any field in the Documentation Author area now opens the Author Sheets
    • (User-requested feature)

Audit Builder Hub Changes

No changes in this release

Documentation Builder Hub Changes

No changes in this release

Rule Builder Hub Changes

No changes in this release