Skip to content

Releases: lingui/js-lingui

v3.11.0

07 Sep 22:42
Compare
Choose a tag to compare

3.11.0 (2021-09-07)

Bug Fixes

  • 'compile --watch' not watching for correct file based on format (#1088) (ab68c06)
  • add extract-template for po-gettext format (#1089) (ea00f55)
  • country-coded language breaks plurals with po-gettext (#1131) (6b60b8a)
  • extractors CLI validation and accept require and require.resolve (#1126) (c50a06e)
  • fallbackLocales to false causing unexpected behaviour (#1123) (60e3952)
  • fix testing suite #1098 (1144cc7)
  • keys with leading number was generating bad object keys (#1127) (8bb2983)
  • no files being found when catalogs.include has more than one entry (#1108) (04efd85)
  • sideEffects to false for shrinking bundle size (#1129) (57cd2e5)
  • unicode chars were removed from .po files when extracting (#1125) (d688329)
  • wrong detect whether a translation is plural (#1119) (48b6644)

Features

  • Add debounce option to compile and extract CLI (#1101) (a13334c)
  • Cloud service providers & Translation.io (#1107) (cbc87b5)

v3.10.4

16 Jun 15:34
Compare
Choose a tag to compare

3.10.4 (2021-06-16)

Bug Fixes

  • remoteLoader parse complex structures failed #1087 (cee63c4)

v3.10.3

14 Jun 18:00
Compare
Choose a tag to compare

3.10.3 (2021-06-14)

Bug Fixes

v3.10.2

08 Jun 22:59
Compare
Choose a tag to compare

3.10.2 (2021-06-08)

Bug Fixes

  • remoteLoader should return an object instead of export (d461695)

v3.10.1

08 Jun 16:30
Compare
Choose a tag to compare

3.10.1 (2021-06-08)

Bug Fixes

v3.10.0

08 Jun 16:21
Compare
Choose a tag to compare
v3.10.0 Pre-release
Pre-release

3.10.0 (2021-06-08)

USE 3.10.1 or newer please, 3.10.0 included a bug on ESM development

Bug Fixes

  • po-gettext format issues with CLI (#1073) (a529aca)
  • reduce size of ESM packages (#1066) (9990eba) REVERTED, WASN'T READY TO BE DEPLOY YET...
  • use correct case for PO file header MIME-Version (#1074) (f31afc5)

Features

  • load remote catalogs with remoteLoader() (#1080) (e73a4b3)

v3.9.0

18 May 11:01
Compare
Choose a tag to compare

3.9.0 (2021-05-18)

Bug Fixes

  • ESM dev entrypoint was causing unexpected behaviors (#1059) (2b8d70b)
  • lineNumbers false was removing the entire origin (#1060) (2d25f2c)

Features

This is a breaking change but released as minor because has solution, we just extracted out the typescript extractor in favor or babel.

  • configurable and extendable extractors with Lingui config (#1065) (263ee59)

If you want to keep the previous functionality:

  extractors: [
   require.resolve("@lingui/cli/api/extractors/babel")
    require.resolve("@lingui/cli/api/extractors/typescript")
  ],

v3.8.10

19 Apr 09:40
Compare
Choose a tag to compare

3.8.10 (2021-04-19)

Bug Fixes

v3.8.9

09 Apr 12:29
Compare
Choose a tag to compare

3.8.9 (2021-04-09)

Bug Fixes

v3.8.8

09 Apr 11:43
Compare
Choose a tag to compare

3.8.8 (2021-04-09)

Bug Fixes

  • unicode char was not extracting correctly (3653f6f)