Releases: i18next/i18next-scanner
Releases · i18next/i18next-scanner
v4.4.0
What's Changed
- Update parser to support multiple fallback keys by @scottgonzalez in #251
- Support new plural suffixes with JSON v4 format by @scottgonzalez in #252
New Contributors
- @scottgonzalez made their first contribution in #251
Full Changelog: v4.3.0...v4.4.0
v4.3.0
What's Changed
- refactor: remove the traverse code in parseJSXElement to eliminate redundant calls for setting translation keys by @cheton in #250
- chore: bump vinyl and vinyl-fs to the latest release to fix vulnerability issue by @cheton in d54293b
- refactor: call the
defaultValue
helper to determine the value of a translation key when parsingTrans
components by @cheton in bcfd2cd
Full Changelog: v4.2.0...v4.3.0
v4.2.0
v4.1.3
v4.1.2
v4.1.1
v4.1.0
What's Changed
- Update conflicting default translation message by @hogansghost in #236
New Contributors
- @hogansghost made their first contribution in #236
Full Changelog: v4.0.0...v4.1.0
v4.0.0
What's Changed
-
feat: rework the
nodesToString
function to output expected element index or tag name by @cheton in #234Adds
supportBasicHtmlNodes
andkeepBasicHtmlNodesFor
options to thetrans
object that supports for simple html elements. Learn moretrans: { supportBasicHtmlNodes: true, // Enables keeping the name of simple nodes (e.g. <br/>) in translations instead of indexed keys. keepBasicHtmlNodesFor: ['br', 'strong', 'i', 'p'], // Which nodes are allowed to be kept in translations during defaultValue generation of <Trans>. }
Full Changelog: v3.3.0...v4.0.0
v3.3.0
What's Changed
- feat: add
allowDynamicKeys
option that allows inferring dynamic keys within the custom handler by @delphiactual in #233
New Contributors
- @delphiactual made their first contribution in #233
Full Changelog: v3.2.0...v3.3.0
v3.2.0
What's Changed
- chore: use let instead of const to fix type error by @sitek94 in #225
- feat: add metadata attribute for passing context information about the translation key/string by @mmohajer in #230
New Contributors
Full Changelog: v3.1.0...v3.2.0