Sourced from i18next-cli's changelog.
1.95.4
- fix(lint): the summary line ("Linter found N potential issues.") comes after the report instead of before it, so a long report no longer scrolls it out of view in a terminal (#338)
- fix(extract, instrument): with
messageFormat: 'icu', literal braces next to each other or to an apostrophe are quoted as one ICU quoted text.{}in<Trans>children was written as'{''}', which ICU reads as{'}, and an apostrophe right after a brace left the quote open over a following{name}. Thanks@zzoraemon043(#340)1.95.3
- fix(extract): an object member read through destructuring resolves like the member itself: after
const { bar } = props(also renamed, nestedconst { bar: { status } } = propsor({ bar: { status } }: Props),items.map(({ bar }) => …)andfor (const { bar } of items)),bar.statusgives its keys asprops.bar.statusdoes. Follow-up to #3301.95.2
- fix(extract): only real comments are read for
t()calls. A//or/*in a string, template, regex literal or JSX text (a URL in anhref,accept="image/*") no longer extracts the calls after it a second time (withoutkeyPrefix, in another namespace, or as a pattern that kept stale keys). Files that start with a BOM or a hashbang get the right key locations, andinstrumentno longer rewrites them at wrong offsets (#337)
58a9a42
1.95.4989834e
changelog for 1.95.492f1ab8
changelog: #340
under Unreleasedd754618
fix(extract): quote adjacent literal braces as one ICU quoted text (#340)877a7c5
changelog: #338
under Unreleased0344224
fix(lint): print the summary after the report, so a long report does not
scro...25dd74d
1.95.3d709fe0
changelog for 1.95.3a5ad16c
changelog: #330
destructuring follow-up under Unreleased1252127
fix: an object member read through destructuring resolves like the
member its...