# Changelog

All notable changes to `i18nexus-cli` will be documented in this file.

## 5.1.1

- Updated to `@i18nexus/cli` 5.1.1: fixes the published `pull` package contents, avoids the Node.js 22.23.0 `node-fetch` regression on modern Node.js when no proxy is configured, and updates `ws` for the latest audit advisory.

## 5.1.0

- Updated to `@i18nexus/cli` 5.1.0: React Native support for `init` (syncs through the `start` script and the EAS `eas-build-post-install` hook), translation file detection in `locales/` and `src/locales/`, and a root `locales/` default download path for i18next projects in React Native apps. See the `@i18nexus/cli` changelog for details, including the default-path behavior change for React Native apps.

## 5.0.3

- Moved the CLI implementation to `@i18nexus/cli`.
- Kept `i18nexus-cli` as a compatibility wrapper.

## 5.0.2

- Added a README link to the i18nexus Getting Started guide

## 5.0.1

- Updated installation docs to recommend `--save-dev` for app projects using `pull` and `listen`, with global installation reserved for direct terminal usage.

## 5.0.0

- Added `i18nexus init` for browser authentication, project creation, language and namespace setup, existing translation import, local translation file setup, package script setup, and MCP setup.
- Added `--plural-category` to `update-string` for updating plural set forms.
- Updated `bulk-add-strings` to accept up to 500 strings per file and validate oversized input before submitting.
- Changed string metadata inputs from `notes` to `description`: use `--description` for `add-string` and `update-string`, and use `description` in `bulk-add-strings` JSON files.
- Clarified CLI copy and docs for `description` and `ai_instructions` when `Use description as AI context` is on or off.

## 4.1.0

- Added `bulk-add-strings`.

## 4.0.0

- Changed `i18next` default pull path to always use `public/locales`.
- Changed `react-intl` default pull path to use `src/messages` when a `src` directory exists.

## 3.8.2

- Improved WebSocket reliability with reconnection handling.

## 3.8.1

- Fixed `--compact` default handling so JSON remains pretty-printed unless `--compact` is explicitly passed.

## 3.8.0

- Added `--compact` output option.

## 3.7.0

- Removed tunnel usage from WebSockets.

## 3.6.1

- Added `I18NEXUS_API_ORIGIN` support.

## 3.6.0

- Added `listen` for live translation updates, including an initial pull on startup.
- Added conditional namespace handling.
- Improved timeout handling and connection-lost logging.
- Removed extra logging.

## 3.5.0

- Added support for AI instructions.

## 3.4.0

- Added the `--confirmed` flag to `pull`.

## 3.3.1

- Changed `pull` to fetch languages individually.

## 3.3.0

- Added app-directory detection for `i18next`.

## 3.2.0

- Added `next-intl` pull format support.

## 3.1.0

- Added `add-namespace`.

## 3.0.0

- Added optional `.env` loading opt-out.

## 2.1.0

- Added HTTP proxy support.

## 2.0.2

- Renamed `apiKey` option usage to `api-key`.

## 2.0.1

- Added `add-string`.
- Added `update-string`.
- Added `delete-string`.
- Added JSON import support and import validation checks.
- Updated API paths.
- Reorganized folders and made minor cleanup updates.

## 1.0.1

- Added environment variable handling.
- Fixed the versioning bug and removed dev dependencies.
- Added a README subheader.

## 1.0.0

- Initial release.
