Releases: Nixinova/LinguistJS
2.0.1
Version 2.0.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Changed file paths in CLI output JSON to be absolute instead of relative (#3).
- Fixed percentages in CLI output displaying
NaN
when the total byte count is0
.
2.0.0
Version 2.0 is out!
A major update to Linguist which includes a host of breaking changes.
Install on npm using npm install [email protected]
.
Changelog
- Breaking: Changed output schema:
count
→files.count
results
→files.results
languages.all
→languages.results
languages.data
→ (deleted)languages.markup
→ (deleted)languages.programming
→ (deleted)languages.prose
→ (deleted)languages.unknown
→unknown.{filenames|extensions}
languages.total.unique
→languages.count
languages.total.bytes
→languages.bytes
languages.total.unknownBytes
→unknown.bytes
- Breaking: Changed the default CLI output format from JSON to summary.
- Breaking: Changed CLI array arguments to require delimiters to be spaces instead of other characters.
- Breaking: Changed the name of option
ignoreFiles
toignoredFiles
. - Breaking: Changed the name of option
ignoreLanguages
toignoredLanguages
. - Added CLI option
--json
to display the results as JSON (the previous default behavior). - Removed CLI option
--summary
as it is now the default output format. - Removed CLI option
--files
to list all files parsed. - Removed deprecated option
ignore
which was superceded byignoredFiles
.
1.9.1
Version 1.9.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed a crash occurring when using both the
categories
andignoreLanguages
options together.
1.9.0
Version 1.9 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Add
ignoreLanguages
option to configure which languages to ignore. - Added alias
ignoreFiles
for optionignore
. - Added CLI argument
--tree
to traverse the output tree to a specific object instead of logging the entire results. - Deprecated option
ignore
as it is now ambiguous.
1.8.2
Version 1.8.2 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed known vendored files not being removed from output.
1.8.1
Version 1.8.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed input folder paths being case sensitive.
- Fixed dotfiles not showing up in the output.
1.8.0
Version 1.8 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added support for the first argument to
analyse()
to be an array of paths.
1.7.1
Version 1.7.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Changed file paths specified in option
ignore
to remain hidden even whenkeepVendored
is enabled. - Fixed file results not being listed when using globbed input.
- Fixed command-line arguments not being fully normalised.
1.7.0
Version 1.7.0 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added
categories
option to control which language categories (data
,markup
,programming
, and/orprose
) should be included in the output. - Fixed some files being incorrectly classified as binary.
1.6.1
Version 1.6.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Changed binary file checking to check file content as well as extension.
- Fixed filename matching not comparing the full base name to the list of filename matches.