Skip to content

Releases: smhg/gettext-parser

8.0.0

09 Feb 10:36
Compare
Choose a tag to compare
  • breaking: switch to ESM (replace require with import to use this gettext-parser in your project)
  • breaking: dropped support for node <=17

7.0.1

03 Jun 15:02
Compare
Choose a tag to compare
  • return early while parsing comments (thx @JonasBa)

7.0.0

05 May 08:43
Compare
Choose a tag to compare
  • add a validation option (disabled by default) to PO parsing (thx @vkhytskyi-allegro)
  • breaking: the method signatures below changed
previous use current use
po.parse (input, defaultCharset) po.parse (input, options)
po.stream (defaultCharset, transformOptions) po.stream (options, transformOptions)

6.0.0

12 Aug 08:59
Compare
Choose a tag to compare
  • add newline to end of po output (thx @kevinlul)
  • update dependency readable-stream (which drops support for Node <12)

5.1.2

06 Apr 08:03
Compare
Choose a tag to compare

5.1.1

14 Mar 14:07
Compare
Choose a tag to compare

5.1.0

10 Mar 08:51
Compare
Choose a tag to compare
  • add flag to disable character escaping (thx @sinnstudio-nas)

5.0.0

14 Feb 10:48
Compare
Choose a tag to compare
  • added support for obsolete messages (lines starting with #~) (thx @KapitanOczywisty @flozz)
  • breaking: changed line folding when disabled (set to 0): folding will still happen on newline characters (\n). (thx @KapitanOczywisty @lxg)

4.2.0

08 Nov 12:12
Compare
Choose a tag to compare
  • add eol parameter to po.compile (mainly to make tests run on Windows) (thx @jayvdb)

4.1.0

08 Nov 10:02
Compare
Choose a tag to compare