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
.