Skip to content

0.0.3

Choose a tag to compare

@soerenmartius soerenmartius released this 10 Dec 23:09
· 10 commits to main since this release
4383b62

Changelog

Added

  • Add automatic JWT token refresh when API returns 401 Unauthorized
  • Add file watching to automatically reload credentials when Terramate CLI updates them
  • Add thread-safe credential management with mutex protection
  • Add StartWatching() and StopWatching() methods for credential file monitoring
  • Add comprehensive test suite for token refresh and file watching functionality
  • Add test coverage for file watcher stop/restart scenarios

Changed

  • JWT credentials now automatically refresh expired tokens without user intervention
  • MCP server and Terramate CLI can now safely share and update the same credential file
  • Credential file updates are atomic to prevent corruption during concurrent access

Fixed

  • Fix US region endpoint from api.us.terramate.io to us.api.terramate.io
  • Fix potential race condition in waitForRefresh method for improved context cancellation handling