Releases: src-d/enry
Releases · src-d/enry
v2.1.0
New Features
- sync to the latest github/linguist v7.5.1
- a new API call for getting HTML colors for languages
enry.GetColor(language)
Generated from linguistlanguages.yml
Fixes
- content-based heuristics improved and new disambiguations were added
(.vba for Vim script, .sql for TSQL, GraphQL) - shebang-based heuristic ignore
osascript -l
that can be non-interpretable language - vending detection improvements:
testdata
is ignored as Go fixtures,bulma.css
as well - 21 new languages added (1 removed: Bro)
- Altium Designer
- Cabal Config
- Dhall
- EditorConfig
- HolyC
- JavaScript+ERB
- Jsonnet
- Motorola 68K Assembly
- ObjectScript
- Rich Text Format
- SSH Config
- Svelte
- TSQL
- TSX
- WebVTT
- Wollok
- ZAP
- ZIL
- Zeek
- ZenScript
- mcfunction
New contributors
v2.0.0
New features
- First release with go module support.
- Import directly from
github.com/src-d/enry/v2
- Optional Flex-based tokenizer, same as Linguist uses.
Hidden behind-tags flex
, improves content classifier accuracy.
Fixes
- Optional oniguruma-based tokenizer now is based on new Oniguruma v6.x and
produces consistent with RE2 results on all the samples from Linguist (including non-utf8).
Full list of issues tracked under v2.0.0 milestone.
v1.7.3
New Features
- CLI application, when used in file mode
enry <filename>
, now includes information about file vendoring #217 - CLI application defaults are now follow GIthub Linguist #214
OnlyProgramming Languages
andMarkup
files are reported
-all
allows for previous behaviour
-prog
was removed
-mode=bytes
is default (instead offiles
before)
Fixes
-mode=lines/bytes
produces actual results- unusable enry-java JAR artefact is not published on GH release any more.
It's only on distributed though Maven.
New contributors
v1.7.2
v1.7.1
v1.7.0
New Features
#189 sync to linguist v7.2.0
Generations of heuristics disambiguating files with the same extensions was simplified, that means
- quality of the judgements that enry makes about language was improved
- updates with Linguist upsteam will be done more frequently
Summary of the upstream changes
6 languages removed:
- Arduino
- KiCad Board
- Matlab
- PAWN
- Sublime Text Config
- XPM
43 languages added:
- AngelScript
- Asymptote
- Ballerina
- Cloud Firestore Security Rules
- CoNLL-U
- Common Workflow Language
- DataWeave
- EML
- Edje Data Collection
- F*
- FIGlet Font
- Git Attributes
- Git Config
- Glyph Bitmap Distribution Format
- HAProxy
- HTML+Razor
- HXML
- HiveQL
- Ignore List
- JSON with Comments
- Java Properties
- KiCad Legacy Layout
- LTspice Symbol
- MATLAB
- Modula-3
- Nearley
- Nextflow
- Pawn
- Pod 6
- PostCSS
- Quake
- RPC
- Roff Manpage
- Slice
- Solidity
- SugarSS
- Windows Registry Entries
- X BitMap
- X Font Directory Index
- X PixMap
- YARA
- YASnippet
- Zig
Known Issues
Although Languages and Heuristics were synced with upstream, it's not reproducing 100% of linguist yet
- The missing parts are tracked under #155
- Current difference is documented in https://github.com/src-d/enry/#divergences-from-linguist