langsys-js-react 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 0.6.3 - 2026-08-16
2
+
3
+ ### Changed
4
+
5
+ - **Base SDK bumped to `langsys-js-typescript@^0.6.3`** — fixes `<select>` option text being harvested twice by the tokenizer. Inherited; no wrapper API change.
6
+
7
+ **What this means if you put a `<select>` inside `<Translate>`** (which this README documents as a supported pattern — `<option>` text is harvested):
8
+ - **Content without a `<select>` is unaffected** and does not rebase.
9
+ - **Affected blocks re-key**, because the token list feeds the `custom_id`. Migration is automatic and lookup-only: the base SDK tries the corrected id, then the 0.6.0–0.6.2 id, then the pre-0.6.0 legacy id, and always *registers* the corrected one — so the older keys only shrink and nothing loses its translations.
10
+ - **If you render with `langsys-php` and hydrate with this SDK**, affected blocks may appear to *gain* translations after upgrading. That's expected: the ids previously diverged from PHP's and now converge on them, so blocks PHP had already translated start resolving here.
11
+
1
12
  ## 0.6.2 - 2026-08-16
2
13
 
3
14
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langsys-js-react",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "React binding for the Langsys translation SDK — realtime continuous translations with automatic token discovery, delivered as hooks and a <Translate> component.",
5
5
  "author": "Langsys",
6
6
  "license": "MIT",
@@ -61,7 +61,7 @@
61
61
  "react": "^18.0.0 || ^19.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "langsys-js-typescript": "^0.6.2"
64
+ "langsys-js-typescript": "^0.6.3"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@eslint/js": "^9.0.0",