inlang
inlang CLI

inlang CLI

工具
打开

3.9.0

Minor Changes

  • 324e183: inlang machine translate run by a coding agent (Claude Code, Cursor, Codex or Gemini CLI, detected from CLAUDECODE, CURSOR_AGENT, CODEX_THREAD_ID or GEMINI_CLI) without a translation provider or key no longer falls back to the community service. It fails, sends nothing, and prints the choices for the agent to put to the user: General Translation, by running again with --provider gt --no-browser; the community service, by adding INLANG_MACHINE_TRANSLATE_PROVIDER=demosjarco to .env.local; or a bring-your-own key. This holds in a terminal too, where the agent can't answer the menu, and with --no-browser, which no longer signs in before the user has chosen. Once the project chose General Translation, an agent's sign-in also never asks which project or organization to use, even in a terminal; it fails with the steps instead of waiting for an answer. CI without an agent keeps using the community service as before.

    When --provider gt has no key, the error now says to remove --provider gt from the command before setting INLANG_MACHINE_TRANSLATE_PROVIDER=demosjarco or a bring-your-own key, since the flag overrides both.

    A community-service choice saved in .env or .env.local no longer prints "You chose this service in .env or .env.local…" on every run; the run only names the service.

  • a45f59d: inlang machine translate translates messages again whose source changed since they were translated. Translations edited by hand since are kept and listed once. The command records what each translation was made from in project.translations.lock.json next to project.inlang; commit it. The first run records the existing translations as they are. --no-update-changed only adds missing translations, as before.

Patch Changes

  • 96acb39: The README and BYOK docs describe what inlang machine translate does under a coding agent in a project that chose no provider: it stops and lists the choices to ask the user about, instead of using --no-browser to sign in or falling back to the community service. The README also says that a signed-in run without a project ID lists your projects, or your organizations, to pick from, and asks you to run it again with GT_PROJECT_ID.
  • 1c80816: In GitHub Actions, a run of inlang machine translate without a translation provider that falls back to the community service adds a notice to the run's summary with a link to General Translation's CI setup and how to turn the notice off.
  • 1f28970: Outside a terminal, as for coding agents, inlang machine translate signed in to a General Translation account with projects now lists them (name, organization, ID) and says to ask the user which one to use, then run again with GT_PROJECT_ID=<ID> in the shell, without signing in again. For a new project, it points to the dashboard. An account with no projects and several organizations lists the organizations and says to ask the user to create a project in one of them on the dashboard and share its ID, in one step.
  • Updated dependencies [324e183]
    • @inlang/sdk@4.3.1

3.8.0

Minor Changes

  • 7572c35: inlang machine translate takes --provider <name>, with the same values as INLANG_MACHINE_TRANSLATE_PROVIDER (gt, google, deepl, openai or demosjarco), so a project can commit its provider in a package.json script, such as inlang machine translate --provider gt --project ./project.inlang, on every platform. INLANG_MACHINE_TRANSLATE_PROVIDER in the shell overrides it for one machine, and it overrides the setting in .env.local and .env. --provider gt counts as the project choosing General Translation: without a key, a run in CI fails and explains how to set GT_API_KEY and GT_PROJECT_ID instead of using the community service, and a run in a terminal signs in without asking which provider to use. An unsupported value fails every run.

Patch Changes

  • c1b1615: The General Translation sign-in links that inlang machine translate opens or prints carry utm_source=inlang and utm_medium=cli, so General Translation can count the sign-ups that start in the inlang CLI.

3.7.2

Patch Changes

  • e32c449: The README and the bring-your-own-key guide call General Translation the recommended provider instead of the default, since the CLI asks which provider to use, and their General Translation links carry UTM parameters.

3.7.1

Patch Changes

  • bbefcc9: The README on npm no longer starts with the inlang.com marketplace's frontmatter, which npm showed as a heading, and the package has a description for npm search. The inlang CLI's README also shows how to machine translate with General Translation, and gives Node.js 20.3 as the minimum version.

3.7.0

Minor Changes

  • ae5a52a: @inlang/cli now declares Node.js 20.3 or later. Its @inlang/sdk already requires Node.js 20, without which the CLI can't open a project, and signing in to General Translation needs 20.3.

  • 6121bcd: General Translation is the default machine translation provider for inlang machine translate. Without a provider setting or a bring-your-own key, the command uses the General Translation key from GT_API_KEY (or .env / .env.local next to project.inlang). In an interactive terminal without a key, it asks which translation provider the project should use. General Translation (recommended) signs in, in the browser or, where none can be shown or with --no-browser, with a code; lets you choose one of your General Translation projects or create one; and saves a development key to .env.local and the project ID to gt.config.json, so teammates use the same project. Community translation service uses the free community service, as before, and saves that choice to .env.local, so later runs don't ask again. Other links to the setup for another provider and saves nothing. In CI and other non-interactive runs without a key, it keeps using the free community service, as before, and prints how to set up General Translation. A project that chose General Translation, with a project ID in gt.config.json or GT_PROJECT_ID, or with INLANG_MACHINE_TRANSLATE_PROVIDER=gt, fails instead and explains how to get a key, so a missing CI secret never sends its text to another service. In a terminal, such a project signs in without offering other services. A General Translation key whose project ID differs from gt.config.json's fails with a project ID mismatch, as in gt. On a machine signed in to General Translation, as with the gt CLI, such a run saves a development key instead, without asking; without a project ID, it creates a project only for an account that has none. Outside a terminal, --no-browser signs in with a code, as gt login --no-browser does, so coding agents can have a person complete the sign-in; the setup steps tell agents to do this.

    Bring-your-own keys keep working and still take precedence over General Translation when no provider is set. A provider setting, in the shell, .env or .env.local, takes precedence over any key. INLANG_MACHINE_TRANSLATE_PROVIDER=gt selects General Translation explicitly. General Translation authentication, billing and service failures never fall back to another provider. INLANG_MACHINE_TRANSLATE_PROVIDER=demosjarco still selects the community service. Each run that uses it now names it in one line instead of a three-line warning.

    A run with nothing to translate no longer needs a provider.

    Unreadable or invalid gt.config.json fails instead of being treated as an unconfigured project. Equivalent project paths, including --project . from inside the inlang project, find the same adjacent GT configuration and credentials.

  • 943a559: inlang machine translate now translates every plural form a locale needs when the provider uses context (Russian one, few, many and * for an English one and *). Each form's context names its input, the form and the numbers it is used for, even when source and target category names match. Exact-number forms retain their exact meaning. Forms a translation already has are kept. A literal other it has doesn't replace the catch-all, which is added next to it, unless the source writes its catch-all as other too: Paraglide selects a literal other only for its category, such as French many for millions. With a provider without context, or when a translation's selectors differ from the source's or it has a select value the source doesn't (whose forms couldn't be translated, and would lose numbers to the forms added), such messages get the source's forms, as before, and are reported.

Patch Changes

  • ab7f174: inlang check now suggests inlang machine translate when translations are missing or empty.

  • cf2dbc6: inlang machine translate sends at most 4 batch requests at once, or 16 for a provider that translates one text per request (the community service sends 6 of them at a time), and keeps translating unrelated messages when an individual text fails. A rate-limited request (429, or Google's 403 for a per-minute quota) is sent again up to 3 times, after the provider's Retry-After or 2, 4 and 8 seconds, waiting at most a minute in total; other failures aren't retried. The community service instead sends a request up to 3 times on a 429, a server error or a network failure, after 5 and 10 seconds. Authentication, billing, and service failures, and rate limits that outlast the retries, stop new requests. It still saves the translations that came back, says how many, and exits with code 1; run it again to translate the rest. If that save fails, it reports both why translation stopped and why the save failed. A new message gets a language only when all its translations came back; a message that exists keeps those that did. A blank source text is copied as it is instead of being sent for translation.

  • 8338378: Signing in to General Translation from inlang machine translate now says what it is waiting for while it loads your projects and organizations and creates the project and key.

  • 6121bcd: inlang machine translate writes the translation files as soon as each target locale is done, one locale at a time, while the requests of all locales still share the provider's request slots. A run that is stopped, times out in CI or hits a provider failure keeps every locale it finished, so the next run doesn't translate and pay for them again. A provider failure or Ctrl+C sends no further requests and saves the translations that came back, from requests already in flight too; a second Ctrl+C quits without saving them. A failed text doesn't stop the other locales.

  • 3039d2f: inlang machine translate no longer writes a translation that came back empty, or with a variable or markup tag of the source dropped, added or changed, or with markup that doesn't nest, such as a translated {count}, another currency option or a missing </link>, and doesn't create a new message that would have one. It saves the other translations, lists the rejected ones by locale with their bundle ids and why, and exits with 1. A message without forms counts as new here too, and a message that isn't created isn't listed in the plural warnings.

    An exact-number or single-number plural form may spell out its own count, including ICU # (such as Arabic duals). Other variables, currency and unit formatters, and markup must still be preserved; changed formatter options and added expressions are rejected.

  • 0c61998: inlang machine translate reports messages whose plurals need forms the source doesn't have in a target locale, such as Russian few and many for an English one and other. It still translates the source's forms, as before. The missing forms stay missing until they are added by hand; whether those numbers fall back to another form depends on the message format (i18next shows the message key). A translation whose selectors aren't the source's, in any order, such as a hand-written plural of a text or a text without the source's plural, is left as it is, and reported when it has an empty form, including a select value only it has, or lacks one its selectors need. A translation without forms gets the source's, with the source's selectors, like a new one: only with all its translations. The report lists the forms and message ids by locale, the first five and how many more. It is printed before anything is written, so a failed write keeps it, and leaves out a message that isn't created because one of its translations failed.

    It also warns when a locale's plural rules are unknown.

  • 0aacd29: License under MIT, copyright General Translation, Inc. Packages previously under Apache-2.0 or ISC, or with no declared license, now declare MIT and ship a LICENSE file.

  • Updated dependencies [0aacd29]

  • Updated dependencies [7992423]

  • Updated dependencies [ac172cb]

    • @inlang/sdk@4.3.0

3.6.0

Minor Changes

  • 6c909cd: Add shared bundle descriptions for translator and agent guidance. Preserve descriptions through SDK queries, migrations, imports, snapshots and project saves, with a Git-tracked companion file for formats without native metadata. Use descriptions as context for OpenAI and DeepL CLI translations.

Patch Changes

  • Updated dependencies [6c909cd]
    • @inlang/sdk@4.2.0

3.5.1

Patch Changes

  • Updated dependencies [053a10b]
    • @inlang/sdk@4.1.2

3.5.0

Minor Changes

  • b7fc8cb: Add OpenAI as a provider for machine translation.

    Setting INLANG_MACHINE_TRANSLATE_PROVIDER to "openai" now allows machine translation through openai Responses API ("/v1/response" endpoint). You need to provide a key with the INLANG_OPENAI_API_KEY env.

    The model/agent and reasoning effort can be optionally provided by the INLANG_OPENAI_MODEL and INLANG_OPENAI_REASONING_EFFORT envs. If unspecified, the default model is "gpt-6-luna".

Patch Changes

  • Updated dependencies [8042b14]
  • Updated dependencies [2d066b5]
  • Updated dependencies [0ab2a1e]
    • @inlang/sdk@4.1.1

3.4.5

Patch Changes

  • 4354472: inlang check --unused-messages supports i18next projects with @inlang/plugin-i18next 6.5.0 or later. With an older i18next plugin, it asks to update the plugin's module URL. The docs say which checks work with i18next, next-intl and Paraglide JS, and explain how to move from validate and lint to check.
  • Updated dependencies [a5c53fa]
    • @inlang/sdk@4.1.0

3.4.4

Patch Changes

  • Updated dependencies [9725173]
    • @inlang/sdk@4.0.4

3.4.3

Patch Changes

  • Updated dependencies [77e4888]
    • @inlang/sdk@4.0.3

3.4.2

Patch Changes

  • 83903d8: inlang check --unused-messages supports next-intl projects with @inlang/plugin-next-intl 2.4.0 or later. With an older next-intl plugin, it asks to update the plugin's module URL instead of suggesting the Paraglide matcher, and the note under incomplete results no longer only shows a Paraglide example.
  • Updated dependencies [6e2c188]
    • @inlang/sdk@4.0.2

3.4.1

Patch Changes

  • Updated dependencies [1c1913c]
  • Updated dependencies [d04deba]
    • @inlang/sdk@4.0.1

3.4.0

Minor Changes

  • 1438de0: Add inlang check, which reports a project's settings and plugin errors, translation problems and unused messages, grouped by check or as JSON for CI and editors.

    npx @inlang/cli check --project ./project.inlang
    
    • All checks run by default: missing and empty translations, empty forms, missing or unknown variables, missing markup, missing plural/select forms and selectors, and unused messages. Per-check flags such as --missing-translations or --unused-messages run only those checks.
    • --locales de,fr reports only findings for these locales and validates them against the project's settings (--languageTags is accepted as an alias).
    • Unused messages are found with the project's usage-analysis plugin (@inlang/plugin-m-function-matcher ≥ 2.3.0 for Paraglide) in the source under the project's parent directory, or --source <paths...>. Git-ignored files (outside git: dot directories and a top-level dist, build and coverage), node_modules, Paraglide's compiled output and known build tool configs are skipped. When usages can't all be resolved, e.g. a dynamic m[`${fieldName}_label`](), check lists the file, line and code instead of reporting unused messages. With an older matcher, it asks to update the module URL in settings.json.
    • --format json prints the full report (with a version).
    • Exits with 1 when there are findings or project errors, and with 0 otherwise or with --no-fail.

    inlang validate and inlang lint are deprecated and hidden from --help. Both keep working and print a deprecation warning: validate still only reports settings and plugin errors, and lint does nothing else, as in CLI v3.

  • 4dfcb04: Add inlang cloud. It lists what is coming in inlang Cloud: automatic handoff between designers, developers and translators; AI translation that follows your terminology and tone and fits the design; and smart message keys. It then opens a short form where you can tell us what your team needs. For Paraglide JS projects, Paraglide JS is pre-selected in the form. --no-open prints the form's URL instead of opening it; the browser is never opened in CI, when the output is piped, or on Linux without a display. --json prints the features and the form's URL as JSON. inlang --help points to the command.

Patch Changes

  • 42b5c9b: machine translate only changes the translated messages in translation files. The CLI saves with the SDK, which now passes the current files to the plugin's export, so plugins that support it keep every unchanged message, the key order and the formatting of the files as they are.

  • 43f9216: The CLI no longer collects telemetry or error reports. Unexpected errors in a command now exit with code 1 instead of 0.

  • 3d2a49c: inlang machine translate puts the variants it translates into an existing message at their place in the source message. It appended them, so with en = one, * and de = *, de became *, one, and runtimes that select the first matching variant (Paraglide JS) never selected one. The target message's variants are now ordered like the source: translated variants go to their source position, existing variants keep their text, and a variant the source doesn't have (e.g. a plural category of the target language) stays after the one it followed. Because variants are ordered by id, the variants from the first one that moves on get new ids. Messages that weren't translated, and their entries in the translation files, don't change.

  • 772c0c8: Make machine translate resilient on large projects when using the community-operated service at translate.demosjarco.dev.

    • Requests to the service are limited to 6 in flight, matching the Cloudflare Workers per-invocation connection limit, instead of firing every bundle at once. Google and DeepL are unaffected.
    • Each request to the service now times out after 20 seconds instead of 15, leaving room for slower models and gateway fallbacks.
    • Throttled (429), server-error (5xx), timed-out and network-failed requests are retried up to 2 times (3 attempts total), waiting 5 seconds before the first retry and doubling the wait for each retry after it.
    • When the service is still unavailable for some translations, only those translations are skipped: every translation that succeeded is saved, and the command fails once with a single summary error instead of discarding the whole run.
  • 29ade49: machine translate no longer rewrites the translation files when nothing was translated. Before, it always re-exported every file, which could reformat files in git without any new translation. When translations are added, the files are still exported as before.

  • b0d8a4f: New messages, variants and bundles get uuid v7 ids instead of random uuid v4 ids, so they keep the order they were created in. Messages and variants are ordered by id (selectBundleNested, exports), and the database already creates uuid v7 ids, but insertBundleNested / upsertBundleNested (used by editors), the deprecated createMessage / createVariant helpers and inlang machine translate created v4 ids: variants a person added in an editor, or the variants of a machine-translated message, came out in random order. Runtimes like Paraglide JS select the first matching variant, so the order is part of the message. Existing ids don't change.

  • Updated dependencies [5c0a84b]

  • Updated dependencies [2390c5a]

  • Updated dependencies [f45a761]

  • Updated dependencies [356a50a]

  • Updated dependencies [ad469a7]

  • Updated dependencies [fa0777c]

  • Updated dependencies [94cf565]

  • Updated dependencies [691caec]

  • Updated dependencies [4ecf2bd]

  • Updated dependencies [b38facf]

  • Updated dependencies [abfd521]

  • Updated dependencies [56923c5]

  • Updated dependencies [b0d8a4f]

  • Updated dependencies [fb83c18]

  • Updated dependencies [3e9bd54]

    • @inlang/sdk@4.0.0

3.3.9

Patch Changes

  • Updated dependencies [68eefaf]
  • Updated dependencies [56891d6]
  • Updated dependencies [5df91b6]
    • @inlang/sdk@3.1.0

3.3.8

Patch Changes

  • 8a3538c: Fix CLI validation on Linux systems where Lix uses its WebAssembly fallback.

3.3.7

Patch Changes

  • Updated dependencies [924dd7e]
    • @inlang/sdk@3.0.6

3.3.6

Patch Changes

  • Updated dependencies [c73ed13]
  • Updated dependencies [59715d2]
    • @inlang/sdk@3.0.5

3.3.5

Patch Changes

  • Updated dependencies [c81ef61]
    • @inlang/sdk@3.0.4

3.3.4

Patch Changes

  • Updated dependencies [3c1fbc6]
    • @inlang/sdk@3.0.3

3.3.3

Patch Changes

  • Updated dependencies [b012f5e]
    • @inlang/sdk@3.0.2

3.3.2

Patch Changes

  • Updated dependencies [78ad386]
    • @inlang/sdk@3.0.1

3.3.1

Patch Changes

  • Updated dependencies [fb46551]
  • Updated dependencies [aaf4e05]
  • Updated dependencies [5d7b021]
  • Updated dependencies [7ea66f8]
    • @inlang/sdk@3.0.0

3.3.0

Minor Changes

  • ca8003f: Add a free, third-party translation service as the default fallback for machine translate.

    When INLANG_MACHINE_TRANSLATE_PROVIDER is unset and neither INLANG_GOOGLE_TRANSLATE_API_KEY nor INLANG_DEEPL_API_KEY is set, the CLI now falls back to a free translation service at translate.demosjarco.dev instead of failing. This service is community-run and is not owned, operated, or maintained by inlang. The CLI prints a notice to that effect, noting that stability is not guaranteed and that you should provide your own API key for higher reliability and control. Select it explicitly with INLANG_MACHINE_TRANSLATE_PROVIDER=inlang, and optionally pin a model with INLANG_FREE_TRANSLATE_MODEL. If the service is unreachable, the CLI explains how to configure your own provider instead.

    See the updated BYOK guide for details.

  • e779b1e: Add an optional INLANG_FREE_TRANSLATE_ZDR environment variable for the free, third-party translation service.

    When set to true, the CLI passes a zdr=true query parameter to the free service so the request is processed with Zero Data Retention. This is scoped to the free service only and has no effect on the Google or DeepL providers. When unset, no ZDR parameter is sent and the service's default behavior applies.

  • 7d74143: Address review feedback on the free translation fallback for machine translate.

    • Renamed the fallback's identifiers so they no longer read as inlang-owned: select it with INLANG_MACHINE_TRANSLATE_PROVIDER=demosjarco (was inlang), and pin a model or opt in to Zero Data Retention with DEMOSJARCO_TRANSLATE_MODEL / DEMOSJARCO_TRANSLATE_ZDR (was INLANG_FREE_TRANSLATE_MODEL / INLANG_FREE_TRANSLATE_ZDR). Docs and runtime messages now consistently refer to it as the community-operated service at translate.demosjarco.dev.
    • A complete outage of the fallback service now fails machine translate with a non-zero exit code instead of logging success. Partial, per-bundle translation failures keep the existing warn-and-continue behavior.
    • The fallback now also treats request timeouts, HTTP 429 throttling, and malformed responses as a service outage (previously only network errors and 5xx responses were detected), each pointing you at configuring Google or DeepL instead.

Patch Changes

  • d60b2a0: Use format=html when translating through the free hosted translation service (translate.demosjarco.dev), now that it supports it. Message patterns are serialized with placeholders wrapped in <span class="notranslate">, matching the same convention the Google and DeepL providers already rely on to keep placeholder markup untouched during translation.

3.2.0

Minor Changes

  • de2941e: Add DeepL API support for machine translate.

    Set INLANG_MACHINE_TRANSLATE_PROVIDER=deepl and INLANG_DEEPL_API_KEY to translate with your own DeepL API key. Google Translate remains the default provider when INLANG_MACHINE_TRANSLATE_PROVIDER is unset. Free DeepL keys ending in :fx automatically use the api-free.deepl.com endpoint.

    See the updated BYOK guide for setup instructions for both Google and DeepL.

Unreleased

Minor Changes

  • Add DeepL API support for machine translate. Set INLANG_MACHINE_TRANSLATE_PROVIDER=deepl and INLANG_DEEPL_API_KEY to use DeepL. Google Translate remains the default provider.

3.1.15

Patch Changes

  • 8f99e90: Remove the hosted RPC fallback for machine translate. Users must set INLANG_GOOGLE_TRANSLATE_API_KEY with their own Google Cloud Translation API key before running machine translation.

3.1.14

Patch Changes

  • Updated dependencies [eccea01]
    • @inlang/sdk@2.10.2

3.1.13

Patch Changes

  • Updated dependencies [bf2af52]
    • @inlang/sdk@2.10.1

3.1.12

Patch Changes

  • Updated dependencies [6680ac1]
    • @inlang/sdk@2.10.0

3.1.11

Patch Changes

  • Updated dependencies [a853d5f]
    • @inlang/sdk@2.9.3

3.1.10

Patch Changes

  • Updated dependencies [b292999]
    • @inlang/sdk@2.9.2

3.1.9

Patch Changes

  • Updated dependencies [bcd4335]
    • @inlang/sdk@2.9.1

3.1.8

Patch Changes

  • Updated dependencies [f1dfc25]
    • @inlang/sdk@2.9.0

3.1.7

Patch Changes

  • Updated dependencies [6e6ee7f]
    • @inlang/sdk@2.8.0

3.1.6

Patch Changes

  • b8d0b20: Fix CLI commands not terminating by removing the shutdown wait on fileQueueSettled.

    Also silence known non-actionable shutdown noise from background file queue processing when the DB is already closed.

3.1.5

Patch Changes

  • Updated dependencies [6defee0]
    • @inlang/sdk@2.7.0

3.1.4

Patch Changes

  • Updated dependencies [9553df6]
    • @inlang/sdk@2.6.2

3.1.3

Patch Changes

  • Updated dependencies [c6708ee]
    • @inlang/sdk@2.6.1

3.1.2

Patch Changes

  • f82adb5: Move @inlang/rpc to devDependencies to avoid npm install failures for the bundled CLI.

3.1.1

Patch Changes

  • Updated dependencies [c1d8e5a]
    • @inlang/sdk@2.6.0
    • @inlang/rpc@0.3.53

3.1.0

Minor Changes

  • fea4e68: Prefer the INLANG_GOOGLE_TRANSLATE_API_KEY environment variable for machine translations, with an RPC fallback.

    We are moving toward a Bring Your Own Key (BYOK) model while keeping an RPC fallback for now.

    Before

    npx @inlang/cli machine translate --project ./project.inlang
    

    After

    export INLANG_GOOGLE_TRANSLATE_API_KEY="your-google-api-key"
    npx @inlang/cli machine translate --project ./project.inlang
    

    If the API key is not set, the CLI will warn and fall back to the inlang RPC translation service.

Patch Changes

  • fea4e68: Fix CLI build banner to avoid duplicate createRequire declarations when bundling SQLite from lix.

  • 9d73b90: Await the Lix file queue before closing or exiting to avoid "DB has been closed" errors in CLI workflows.

    Refs: https://github.com/opral/paraglide-js/issues/526

  • Updated dependencies [e9d7a74]

  • Updated dependencies [65c33c2]

  • Updated dependencies [9d73b90]

  • Updated dependencies [2e8318b]

  • Updated dependencies [323295a]

    • @inlang/sdk@2.5.0
    • @inlang/rpc@0.3.52

3.0.12

Patch Changes

  • Updated dependencies [22089a2]
    • @inlang/sdk@2.4.9

3.0.11

Patch Changes

  • Updated dependencies [56acb22]
    • @inlang/sdk@2.4.8

3.0.10

Patch Changes

  • Updated dependencies [bd2c366]
    • @inlang/sdk@2.4.7

3.0.9

Patch Changes

  • Updated dependencies [49a7880]
    • @inlang/sdk@2.4.6

3.0.8

Patch Changes

  • Updated dependencies [083ff1f]
    • @inlang/sdk@2.4.5

3.0.7

Patch Changes

  • @inlang/sdk@2.4.4

3.0.6

Patch Changes

  • c1adffe: Fix typo and inconsistent casing in CLI help output

3.0.5

Patch Changes

  • @inlang/sdk@2.4.3

3.0.4

Patch Changes

  • @inlang/sdk@2.4.2

3.0.3

Patch Changes

  • Updated dependencies [5a991cd]
    • @inlang/sdk@2.4.1

3.0.2

Fix @inlang/rpc is a bundled dependency that is not published on npm

3.0.0

Major Changes

  • 4b710df: Upgrade to the inlang SDK v2.

    BREAKING:

    - inlang lint
    
    • Machine translate now takes locales instead of languageTags as argument
    - inlang machine-translate --languageTags en,de
    + inlang machine-translate --locales en,de
    

2.18.1

Patch Changes

  • 9d2aa1a: v2 message bundle persistence - initial store implementation

2.18.0

Minor Changes

  • 2806698: force release cli, as it was missing from the changeset targets for some reason

2.17.0

Minor Changes

  • 3896fe6: fix: move dependencies to dev dependencies to avoid "unpublished dependency" issues

2.16.10

Patch Changes

  • Updated dependencies [00ad046]
  • Updated dependencies [00ad046]
    • @lix-js/fs@2.0.0
    • @lix-js/client@2.0.0
    • @inlang/sdk@0.35.1

2.16.9

Patch Changes

  • Updated dependencies [ae47203]
    • @inlang/sdk@0.35.0

2.16.8

Patch Changes

2.16.7

Patch Changes

  • Updated dependencies [a958d91]
    • @inlang/sdk@0.34.9

2.16.6

Patch Changes

  • Updated dependencies [10dbd02]
    • @inlang/sdk@0.34.8

2.16.5

Patch Changes

  • Updated dependencies [5209b81]
    • @inlang/sdk@0.34.7

2.16.4

Patch Changes

  • Updated dependencies [f38536e]
    • @inlang/sdk@0.34.6

2.16.3

Patch Changes

  • Updated dependencies [b9eccb7]
    • @inlang/sdk@0.34.5

2.16.2

Patch Changes

  • Updated dependencies [2a90116]
    • @inlang/sdk@0.34.4

2.16.1

Patch Changes

  • Updated dependencies [bc17d0c]
    • @inlang/sdk@0.34.3

2.16.0

Minor Changes

  • 35cd140: Fix cli for new projects without git

2.15.3

Patch Changes

  • af8a397: Filter inlang machine translate to call rpc only if hasMissingTranslations

2.15.2

Patch Changes

  • 3c959bc: experimental sdk persistence v0
  • Updated dependencies [3c959bc]
    • @inlang/sdk@0.34.2

2.15.1

Patch Changes

  • Updated dependencies [9165e64]
    • @lix-js/client@1.4.0
    • @inlang/sdk@0.34.1

2.15.0

Minor Changes

  • 5b8c053: sdk helper functions stringifyMessage, normalizeMessage INLANG_CLI_EXPERIMENTAL inlang validate --dump --save

Patch Changes

  • Updated dependencies [5b8c053]
    • @inlang/sdk@0.34.0

2.14.2

Patch Changes

  • cd9a3e1: add internal links
  • Updated dependencies [7bd98e4]
    • @lix-js/client@1.3.0
    • @inlang/sdk@0.33.1

2.14.1

Patch Changes

  • Updated dependencies [4941ca4]
  • Updated dependencies [d573ab8]
    • @lix-js/client@1.2.1
    • @inlang/sdk@0.33.0

2.14.0

Minor Changes

  • bc9875d: sdk multi-project test, MOCK_TRANSLATE_LOCAL for no server testing, inlang machine translate --nobar (-b) hides progressbar

Patch Changes

  • Updated dependencies [bc9875d]
    • @inlang/sdk@0.32.0

2.13.7

Patch Changes

  • Updated dependencies [c068dd2]
    • @inlang/sdk@0.31.0

2.13.6

Patch Changes

  • Updated dependencies [9b26a31]
    • @inlang/sdk@0.30.0

2.13.5

Patch Changes

  • 62dfa26: SDK Breaking change: LintReports get() and getAll() are now async, and non-reactive. Reduces (does not eliminate) excessive sdk resource consumption.
  • Updated dependencies [62dfa26]
    • @inlang/sdk@0.29.0

2.13.4

Patch Changes

  • Updated dependencies [8a8aec7]
    • @lix-js/client@1.2.0
    • @inlang/sdk@0.28.3

2.13.3

Patch Changes

  • Updated dependencies [d1b361e]
    • @lix-js/client@1.1.0
    • @inlang/sdk@0.28.2

2.13.2

Patch Changes

  • Updated dependencies [03fa6f2]
    • @lix-js/client@1.0.0
    • @lix-js/fs@1.0.0
    • @inlang/sdk@0.28.1

2.13.1

Patch Changes

  • Updated dependencies [1e43ae4]
    • @inlang/sdk@0.28.0

2.13.0

Minor Changes

  • 4837297: File locking for concurrent message updates through the load/store plugin api Auto-generated human-IDs and aliases - only with experimental: { aliases: true }

Patch Changes

  • Updated dependencies [4837297]
    • @inlang/sdk@0.27.0
    • @lix-js/client@0.9.0

2.12.6

Patch Changes

  • @inlang/sdk@0.26.5

2.12.5

Patch Changes

  • @inlang/sdk@0.26.4

2.12.4

Patch Changes

  • f75af45af: Use p-limit to constrain rpc concurrency in cli translate

2.12.3

Patch Changes

  • d9cf66170: update docs for apps and plugins
  • b7344152a: updated the docs

2.12.2

Patch Changes

  • Updated dependencies [32746a9ff]
    • @inlang/language-tag@1.5.1
    • @inlang/sdk@0.26.3

2.12.1

Patch Changes

  • Updated dependencies [244442698]
    • @inlang/language-tag@1.5.0
    • @inlang/sdk@0.26.2

2.12.0

Minor Changes

  • 2f160c130: refactor: clean up env variable usage

2.11.0

Minor Changes

  • ac7e6fe5e: fix: move bundled dependency to devDependencies

Patch Changes

  • eb60c0408: fix broken dependency

2.10.0

Minor Changes

  • 773ec8516: refactor: consolidate telemetry event

2.9.0

Minor Changes

  • 0bf93e5e6: refactor: telemetry for how commands are used

2.8.0

Minor Changes

  • 871972019: remove create-project in fsvor of manage.inlang.com

2.7.0

Minor Changes

  • 676c0f905: remove deprecated loadProject({nodeishFs})

2.6.0

Minor Changes

  • 488f2e33e: chore: add project group identify

2.5.0

Minor Changes

  • c38faebce: release fixed project id and catchup missed releases for cli and lix

2.4.0

Minor Changes

2.3.0

Minor Changes

2.2.0

Minor Changes

  • 1d0f167b4: Bug fix of internal #195

2.1.0

Minor Changes

2.0.0

Major Changes

  • 2cafaf56c: BREAKING: inlang project validate is now only inlang validate see https://github.com/opral/inlang/issues/1777

  • 34f1944a9: REFACTOR: --project paths now need to end with .inlang

    -inlang machine translate --project ../project.inlang.json
    +inlang machine translate --project ../project.inlang
    

1.21.0

Minor Changes

  • f8d864297: add sourceLanguageTag & targetLanguageTags options to machine translate command

1.20.0

Minor Changes

  • c90939a90: update README

1.19.0

Minor Changes

  • 4ccdb2da6: fix --no-fail flag

1.18.0

Minor Changes

  • 93dca7bb2: add --languageTags flag to lint cli command

1.17.0

Minor Changes

  • 561a03ebe: add global --project flag

1.16.0

Minor Changes

  • 2f924df32: added Modulesettings validation via the Typebox JSON Schema Validation. This ensure that users can exclusively use module settings when there are given by the moduel

1.15.0

Minor Changes

  • 870641305: improve: better error output with stack traces

1.14.0

Minor Changes

  • 5d8b3d015: fix headline

1.13.0

Minor Changes

  • bf448423f: fix: wording of project validate command

1.12.0

Minor Changes

  • c3524d113: removed the command project init

    De-facto can a project not be manually created. The project settings are app/library/plugin specific. Stating that a project can be manually created is misleading. And leadsto reports like #1448.

1.11.0

Minor Changes

  • 6f42758bb: force absolute path for settingsFilePath to intercept nodeishFs with absolute paths

1.10.0

Minor Changes

  • 1502c0deb: refactor: removed the project migrate command

    • migration command is not used anymore
    • removed the command to reduce complexity

    improve: the project init command forward to inlang.com/new

1.9.0

Minor Changes

  • 7bcb365ed: update config init deprecation

1.8.0

Minor Changes

  • e5ae186f: add better error handling

1.7.0

Minor Changes

  • aaf2c7e4: chore: update dependencies

1.6.0

Minor Changes

  • 25fe8502: refactor: remove plugin.meta and messageLintRule.meta nesting

1.5.0

Minor Changes

  • dcb20e90: improve: module init got new templates with testing and more

1.4.0

Minor Changes

  • 81b9d741: refactor: move 'config validate' command to 'project validate'
  • d0592709: improve: simplify init template

1.3.0

Minor Changes

  • 6ace5de0: update README of CLI to provide new commands module and project

1.2.0

Minor Changes

  • 973858c6: chore(fix): remove unpublished dependency which lead to installation failing

1.1.0

Minor Changes

  • 713385d3: add typesafety via JSON schema

0.13.3

Patch Changes

  • 1b7a054e: improve error DX and update links

0.13.2

Patch Changes

  • e7546f74: add nodejs minimum support

0.13.1

Patch Changes

  • 9171a188: fix lint table and config update plugin link quotes

0.13.0

Minor Changes

  • 1bc427b7: add config update command

Patch Changes

  • 74e18d43: fix typos and add one edge case

0.12.0

Minor Changes

  • 7bad2441: add --no-fail flag to lint command and output lint messages in tables

0.11.7

Patch Changes

  • 1cff6e4d: fix btoa with Buffer.from

0.11.6

Patch Changes

  • 943e29c1: added a missing group identifier event

0.11.5

Patch Changes

  • 3d248d71: fix wrong conditional on package.json checking

0.11.4

Patch Changes

  • 56c9d56f: fix auto major version

0.11.3

Patch Changes

  • 7ed241ae: fix config init validate step

0.11.2

Patch Changes

  • f5e76f98: introduce dynamic versions and fix Windows path bug

0.11.1

Patch Changes

  • 49adbea4: add inlang/sdk-js plugin

0.11.0

Minor Changes

  • 49269a2f: rework config init command to detect supported libraries

0.10.1

Patch Changes

  • 6a3063f0: support windows with open editor

0.10.0

Minor Changes

  • c67535d5: add --config option for monorepos

0.9.16

Patch Changes

  • c9208cc6: capture the used configs for roadmap priorization

0.9.15

Patch Changes

  • 95bfe307: add config validate

0.9.14

Patch Changes

  • 43a00f83: Added an info that inlang config init is work in progres.

0.9.13

Patch Changes

  • 99d9a2c3: remove double warning of no config found

0.9.12

Patch Changes

  • 9a7e72ac: add lint command to CLI

0.9.11

Patch Changes

  • b60740f9: refactoring

0.9.10

Patch Changes

  • caa9e747: add --force flag to machine translate command to raise awareness about translation quality

0.9.9

Patch Changes

  • 04f81ae8: Minor refactorings

0.9.8

Patch Changes

  • 4fc27086: Fix autogeneration of the config. The files have been resolved from the binary instead of cwd

0.9.7

Patch Changes

  • 2ff95127: Improved error messages and internal changes.

0.9.6

Patch Changes

  • f8b09192: Fixes "fetch" is not defined error in Node16 environments.

0.9.5

Patch Changes

  • 10947cea: refactoring of telemetry logic

0.9.4

Patch Changes

  • a05970cd: Fix machine translate command for CJS projects.

0.9.3

Patch Changes

  • 31f55f21: Dependencies are now declared as dev dependencies. The CLI is bundled, there was no need to define regular dependencies.
  • 32cfc814: Improve the README on NPM.

0.9.2

Patch Changes

  • Updated dependencies [98b140f1]
    • @lix-js/fs@0.0.3

0.9.0

Patch Changes

  • e0876036: add machine translate and open editor commands

0.8.0

Minor Changes

  • 55cf3902: added error monitoring to fix bugs faster

0.7.0

Minor Changes

  • 8d1bcc2c: added error monitoring to fix bugs faster

0.6.1

Patch Changes

  • 59696d8e: improved error message

0.6.0

Minor Changes

  • 270088f7: initial release of @lix-js/fs

0.5.5

Patch Changes

  • fe00ebf2: Showing a loading spinner for config generation.

0.5.4

Patch Changes

  • ed2f8332: refactored config generation