Skip to content

Releases: Nixinova/LinguistJS

v2.5.6

28 Jun 06:13

Choose a tag to compare

Version 2.5.6 of LinguistJS.

Install on npm using npm install linguist-js@2.5.6.

Changelog

View commits: 2.5.5...2.5.6

  • Changed fetching of data files to fallback to using the packaged files if the fetch request fails (#21).
  • Fixed packaged data files having formatting issues.

v2.5.5

25 Jun 08:31

Choose a tag to compare

Version 2.5.5 of LinguistJS.

Install on npm using npm install linguist-js@2.5.5.

Changelog

View commits: 2.5.4...2.5.5

  • Fixed a crash occurring when parsing heuristics with negative inline PCRE flags.
  • Changed cached data files to be compressed when packaged.
  • Updated documentation of --ignoredFiles.

2.5.4

11 Jan 07:44

Choose a tag to compare

Version 2.5.4 of LinguistJS.

Install on npm using npm install linguist-js@2.5.4.

Changelog

View commits: 2.5.3...2.5.4

  • Fixed gitattributes wildcards not being applied into subfolders (#17).

2.5.3

03 Sep 05:28

Choose a tag to compare

Version 2.5.3 of LinguistJS.

Install on npm using npm install linguist-js@2.5.3.

Changelog

View commits: 2.5.2...2.5.3

  • Fixed a crash occurring when parsing heuristics for .txt files (#16).

2.5.2

28 Jun 08:19

Choose a tag to compare

Version 2.5.2 of Linguist.

Install on npm using npm install linguist-js@2.5.2.

Changelog

View commits: 2.5.1...2.5.2

  • Fixed file extensions with multiple delimiters not being prioritised over basic extensions.
  • Fixed modeline checking not trimming comments from the first line.
  • Fixed modeline checking being applied to the first line even when it does not contain a modeline.
  • Fixed fallback language detection not being applied when an ambiguous interpreter is declared in a shebang line.

2.5.1

26 Jun 09:34

Choose a tag to compare

Version 2.5.1 of Linguist, which fixes issues with applying heuristics.

Install on npm using npm install linguist-js@2.5.1.

Changelog

View commits: 2.5.0...2.5.1

  • Fixed heuristics not being applied to files.
  • Fixed heuristics with multiple rules not being parsed.

2.5.0

14 May 04:50

Choose a tag to compare

Version 2.5.0 of Linguist!

Install on npm using npm install linguist-js@2.5.0.

Changelog

View commits: 2.4.2...2.5.0

  • Added boolean option offline to allow the use of pre-packaged metadata files instead of having them fetched from GitHub at runtime.
  • Added linguist-js as an alias of the linguist executable.

2.4.2

19 Mar 20:07

Choose a tag to compare

Version 2.4.2 of LinguistJS.

Install on npm using npm install linguist-js@2.4.2.

Changelog

View commits

  • Fixed a crash occurring because of outdated file caches. (#12, #13)
  • Fixed heuristics not being applied when using raw file input.

2.4.1

24 Feb 00:31

Choose a tag to compare

Version 2.4.1 of Linguist.

Install on npm using npm install linguist-js@2.4.1.

Changelog

View commits

  • Fixed parsing of gitignore statements not matching its specification.
  • Fixed generated file names being applied case-sensitively.
  • Fixed generated files not being excluded from the input when using raw file mode.
  • Fixed modeline language selection not working for languages containing non-alphanumeric characters.

2.4.0

18 Feb 21:40

Choose a tag to compare

Version 2.4.0 of Linguist!

Install on npm using npm install linguist-js@2.4.0.

Changelog

View commits

  • Added boolean option checkModeline (defaults to true) to check the modeline of files for explicit classification.
  • Fixed shebang statements not taking priority over other methods of disambiguation.