Skip to content

Releases: Nixinova/LinguistJS

2.8.0

15 Sep 06:57
Compare
Choose a tag to compare

Version 2.8 of LinguistJS.

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

Changelog

View commits: 2.7.1...2.8.0

  • Added checking of gitattributes override rule linguist-detectable.
    • Added option checkDetected to control the application of linguist-detectable overrides.
  • Added lines of code totals to the output.
    • Added option calculateLines (defaults to true) to control whether LOC calculations are performed.

2.7.1

08 May 10:52
Compare
Choose a tag to compare

Version 2.7.1 of LinguistJS.

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

Changelog

View commits: 2.7.0...2.7.1

  • Fixed gitignore file reading not pertaining exactly to spec.
  • Improved performance by filtering out gitignored files during folder traversal.

2.7.0

08 Mar 11:54
Compare
Choose a tag to compare
2.7.0 Pre-release
Pre-release

Version for 2.7.0 of LinguistJS.

Release onto @pre tag. Will be upgraded to @latest if there are no further issues.

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

Changelog

View commits: 2.6.1...2.7.0 or 2.7.0-pre...2.7.0

2.7.0

  • Added CLI option --listFiles to list each matching file under each language result.
  • Fixed files that are by default marked vendored being removed even when marked as not vendored in gitattributes (#26).
  • Fixed a crash occurring when applying some language parents (#27).
  • Fixed gitattributes rules from parent folders being erroneously applied.

2.7.0 (RC)

Changes versus 2.7-pre

  • Fixed gitattributes comments being parsed as attributes data.
  • Fixed gitignores data being parsed root-relative instead of relative to the folder the file is in.

2.7.0-pre

01 Mar 11:05
Compare
Choose a tag to compare
2.7.0-pre Pre-release
Pre-release

Pre-release of version 2.7.0 of LinguistJS.

Install on npm using npm install linguist-js@2.7.0-pre.

This version is a pre-release released under the @pre tag on npm.
Due to a code rewrite I cannot ensure yet that classification has not changed in this version; further testing is required.
If this version does not contain any problems and classification is consistent with v2.6.1 this version will be promoted to @latest.

New Contributions

  • @drodil made their first contribution in #28 'fix: undefined group in final results'

Changelog

View commits: 2.6.1...2.7.0-pre

  • Added CLI option --listFiles to list each matching file under each language result.
  • Fixed files that are by default marked vendored being removed even when marked as not vendored in gitattributes (#26).
  • Fixed a crash occurring when applying some language parents (#27).
  • Fixed gitattributes rules from parent folders being erroneously applied.

2.6.1

23 Jul 12:33
Compare
Choose a tag to compare

Version 2.6.1 of LinguistJS.

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

Changelog

View commits: 2.6.0...2.6.1

  • Fixed file paths not resolving properly when analysing multiple folders (#25).

2.6

29 Jun 11:51
Compare
Choose a tag to compare
2.6

Version 2.6 of LinguistJS, now with a new alternatives object in the output.

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

Changelog

View commits: 2.5.6...2.6.0

  • Add alternatives key to list all possible alternative language classifications for files that do not have a definite match (#15, #19).

v2.5.6

28 Jun 06:13
Compare
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
Compare
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
Compare
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
Compare
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).