Skip to content

Releases: lingodotdev/lingo.dev

@lingo.dev/[email protected]

01 Jul 09:02
Compare
Choose a tag to compare

Patch Changes

[email protected]

30 Jun 20:45
Compare
Choose a tag to compare

Patch Changes

[email protected]

26 Jun 15:47
Compare
Choose a tag to compare

Patch Changes

[email protected]

26 Jun 14:51
Compare
Choose a tag to compare

Patch Changes

[email protected]

26 Jun 13:50
Compare
Choose a tag to compare

Patch Changes

[email protected]

26 Jun 09:06
Compare
Choose a tag to compare

Minor Changes

  • #966 8b306bc Thanks @VAIBHAVSING! - Add watch mode to CLI for automatic retranslation on file changes

    This 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.

Patch Changes

@lingo.dev/[email protected]

26 Jun 15:47
Compare
Choose a tag to compare

Patch Changes

[email protected]

25 Jun 14:36
Compare
Choose a tag to compare

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

[email protected]

25 Jun 10:13
23c1c0b
Compare
Choose a tag to compare

Patch Changes

[email protected]

25 Jun 07:49
24423f1
Compare
Choose a tag to compare

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