Skip to content

v3.1.0 - Security and Bug Fixes

Choose a tag to compare

@Jonhvmp Jonhvmp released this 26 Nov 10:00
· 21 commits to main since this release
ff19999

Security Fixes

  • Added path traversal protection with sanitizePath() function
  • Fixed potential command injection in openInEditor()

Bug Fixes

  • Fixed formatDate() - now uses Math.floor instead of Math.ceil
  • Fixed parseTime() - returns null for invalid input
  • Fixed updateFrontmatter() - proper quote escaping
  • Fixed getNextTaskId() - added file locking for race conditions
  • Fixed editTask() - detects actual changes before saving
  • Fixed searchTasks() - correctly handles includeArchived
  • Fixed init() indices initialization in note.js
  • Fixed createMeetingNote() - checks if file exists
  • Removed dead code in config.js

Improvements

  • Better error handling in openInEditor() with spawn events
  • Added JSDoc type annotations
  • Cross-platform path handling

Tests

  • All 143 tests passing