@lingo.dev/_sdk@0.16.1

lingodotdev/lingo.dev@lingo.dev/_sdk@0.16.1Mar 20, 2026by github-actions[bot]

AI Summary

SDK update focusing on robust error handling and message clarity.

Key Highlights

  • Improved API error messages by parsing server JSON responses
  • Network errors now propagate instead of being silently treated as 'not authenticated'
  • Deduplicated error handling into shared helpers
  • Removed unused workflowId parameter

Full Release Notes

### Patch Changes

-   [#2051](https://github.com/lingodotdev/lingo.dev/pull/2051) [`9991515`](https://github.com/lingodotdev/lingo.dev/commit/9991515adad3773d40791b18f2e6105235145609) Thanks [@AndreyHirsa](https://github.com/AndreyHirsa)! - SDK: Improved API error messages by parsing server JSON responses instead of using HTTP status text. Removed try/catch from whoami so network errors propagate instead of being silently treated as "not authenticated". Deduplicated error handling into shared helpers. Removed unused workflowId parameter.

    CLI: Auth failures now show specific error messages (e.g., "Invalid API key" vs generic "Authentication failed").