Releases: lingodotdev/lingo.dev
@lingo.dev/[email protected]
Patch Changes
- Updated dependencies []:
- @lingo.dev/[email protected]
[email protected]
[email protected]
Patch Changes
-
#972
b249484
Thanks @mathio! - support components with dot in name -
Updated dependencies [
b249484
]:- @lingo.dev/[email protected]
[email protected]
[email protected]
[email protected]
Minor Changes
-
#966
8b306bc
Thanks @VAIBHAVSING! - Add watch mode to CLI for automatic retranslation on file changesThis release introduces a new watch mode feature that automatically triggers retranslation when changes are detected in source files:
- New
--watch
flag: Enables file watching mode that monitors source files for changes - New
--debounce
flag: Configurable debounce delay (default: 5 seconds) to prevent excessive retranslations - Intelligent file pattern detection: Automatically determines which files to watch based on i18n.json bucket configurations
- Graceful error handling: Robust error recovery and process management
- Background operation: Non-blocking watch mode with proper cleanup on exit (Ctrl+C)
Usage:
# Enable watch mode with default 5-second debounce lingo.dev run --watch # Enable watch mode with custom debounce timing lingo.dev run --watch --debounce 7000 # Combine with other flags lingo.dev run --watch --target-locale es --bucket json
Technical Implementation:
- Uses
chokidar
for robust cross-platform file watching - Integrates seamlessly with existing CLI pipeline (setup → plan → execute)
- Maintains full compatibility with all existing CLI options and workflows
- Includes comprehensive documentation in
WATCH_MODE.md
This feature significantly improves developer experience by eliminating the need to manually retrigger translations during development.
- New
Patch Changes
@lingo.dev/[email protected]
[email protected]
Minor Changes
-
#958
84fd214
Thanks @chrissiwaffler! - feat: add Mistral AI as a supported LLM provider- Added Mistral AI provider support across the entire lingo.dev ecosystem
- Users can now use Mistral models for localization by setting MISTRAL_API_KEY
- Supports all Mistral models available through the @ai-sdk/mistral package
- Configuration via environment variable or user-wide config:
npx lingo.dev@latest config set llm.mistralApiKey <key>
Patch Changes
-
#962
0fc6385
Thanks @mathio! - format with prettier, add prettier check for PRs -
#955
cac5429
Thanks @mathio! - progressive push as chunks are processed -
Updated dependencies [
84fd214
]:- @lingo.dev/[email protected]
- @lingo.dev/[email protected]
- @lingo.dev/[email protected]
[email protected]
[email protected]
Minor Changes
-
#956
ce8c75c
Thanks @VAIBHAVSING! - feat: add EJS (Embedded JavaScript) templating engine support- Added EJS loader to support parsing and translating EJS template files
- EJS loader extracts translatable text while preserving EJS tags and expressions
- Updated spec package to include "ejs" in supported bucket types
- Added comprehensive test suite covering various EJS scenarios including conditionals, loops, includes, and mixed content
- Automatically installed EJS dependency (@types/ejs) for TypeScript support
Patch Changes
- Updated dependencies [
ce8c75c
]:- @lingo.dev/[email protected]
- @lingo.dev/[email protected]
- @lingo.dev/[email protected]