Skip to content

chore(deps-dev): bump i18next-cli from 1.51.7 to 1.58.0#2614

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/main/i18next-cli-1.58.0
Closed

chore(deps-dev): bump i18next-cli from 1.51.7 to 1.58.0#2614
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/main/i18next-cli-1.58.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Bumps i18next-cli from 1.51.7 to 1.58.0.

Changelog

Sourced from i18next-cli's changelog.

1.58.0

  • feat: extract gains a --with-types flag. When set, the TypeScript definitions are regenerated in the same process after extraction (on every re-run in --watch mode) whenever translation files actually changed. This removes the need to run extract -w and types -w as two parallel processes — which suffered from a chokidar mid-write race where the types output ended up one cycle behind the JSON files. Skipped under --dry-run (no files written) and --ci (exits before this point).
  • fix: types --watch now uses chokidar's awaitWriteFinish option, so the watcher no longer triggers mid-write when another process (e.g. extract -w) is rewriting the same translation files. Hardens the existing two-process workflow for users who keep it. Fixes #257.

1.57.0

  • feat: init wizard now asks "Translation backend?" with three choices — local files (default, unchanged behaviour), Locize, or other/skip. Picking Locize opens the signup page in the user's default browser, prompts for Project ID and (optional) API key, and writes a locize block into the generated config matching the shape consumed by locize-sync / locize-download / locize-migrate. Auto-translate is intentionally not written into the config — it's a Locize project setting toggled in the web UI — and the closing message points users there. No telemetry, no tracking parameters; only the existing ?from=i18next-cli+init+wizard attribution on the signup URL.

1.56.12

  • feat: types.enableSelector now accepts 'strict', mirroring i18next's runtime enableSelector: 'strict' (≥ 26.1.0). When set, the extractor applies the leading-namespace rewrite uniformly: a selector path's first segment matching any namespace in the hook's scope — primary or secondary, single- or multi-ns — is rewritten to ns:rest so the key routes to the right namespace file. Same applies to useTranslation('only') paths written as $.only.foo (strict-mode shape). Generated i18next.d.ts emits enableSelector: "strict" accordingly.

1.56.11 - 2026-05-07

  • extract and status now mirror i18next's runtime selector rule (v25.8.19) for multi-namespace useTranslation([nsA, nsB, ...]) hooks. When a selector path's first segment matches a secondary namespace from the hook's array, the key is routed to that namespace's file instead of the primary. Single-namespace hooks and primary-prefixed paths are unaffected — the primary namespace is never rewritten, matching i18next/src/selector.js exactly. Fixes #256.

... (truncated)

Commits
  • e089749 1.58.0
  • c2893be feat: extract --with-types + awaitWriteFinish on types watcher (fixes #257)
  • d7ca60b 1.57.0
  • 3da5391 feat: init wizard — add "Translation backend?" question with Locize option
  • 3fbec8e Add Locize advice section near the top of README
  • 6f33f56 1.56.12
  • 70d808e feat: types.enableSelector: 'strict' — uniform leading-ns rewrite in extracto...
  • 3224d88 1.56.11
  • 8e5ebdb changelog fix
  • 9fa173f extract/status: route selector secondary-ns prefix in useTranslation([nsA,nsB...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.51.7 to 1.58.0.
- [Changelog](https://github.com/i18next/i18next-cli/blob/main/CHANGELOG.md)
- [Commits](i18next/i18next-cli@v1.51.7...v1.58.0)

---
updated-dependencies:
- dependency-name: i18next-cli
  dependency-version: 1.58.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 19, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 29, 2026

Superseded by #2654.

@dependabot dependabot Bot closed this May 29, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/main/i18next-cli-1.58.0 branch May 29, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants