Releases: github-linguist/linguist
v9.0.0
This a major release as we've refactored Linguist::Repository
to isolate Rugged usage and allow users of Linguist to use their own methods of reading from the git repositories. The changes are non-breaking.
What's Changed
- Update CI to run against
main
rather thanmaster
by @lildude in #7058 - Update Ruby versions used in testing by @lildude in #7059
- Add .containerfile extension to Dockerfile by @lildude in #7056
- Add TypeSpec by @timotheeguerin in #6775
- Add OMNeT++ NED language by @adamgeorge309 in #7024
- Update heuristics to fallback to TSX language if .tsx file is not XML by @vicasas in #7049
- Add
.clangd
as a filename for YAML by @tahmid-khan in #7063 - Add
.ignore
as ignore list filename by @spenserblack in #7070 - Add SSH config aliases by @lildude in #7057
- Replace CMake grammar by @lildude in #7060
- Fix FreeBASIC capitalization by @DecimalTurn in #7072
- Improvements to VBA's Heuristic by @DecimalTurn in #7079
- Detect ts-proto generated files. by @bobthecow in #7082
- Replace Vue Grammar by @yuichkun in #7086
- Add MoonBit by @tonyfettes in #7097
- Replace 1C Enterprise grammar by @nixel2007 in #7096
- Mark pixi lock files as generated by @freundTech in #7111
- Add
.json.example
as JSON extension by @spenserblack in #7127 - Add
.buckconfig
to INI filenames by @spenserblack in #7128 - Add Hare by @MalloryA in #7130
- Add language:
Tact
, and extension toJSON
by @novusnota in #6689 - Refactor
Linguist::Repository
to isolate Rugged usage by @vdye in #7094 - Add
.easignore
as Ignore List filename by @spenserblack in #7129 - Change CSS colour to
rebeccapurple
by @DecimalTurn in #7136 - Add QuickBASIC by @DecimalTurn in #7080
- Add WORKSPACE.bzlmod to Starlark by @petemounce in #7121
- Add OMNeT++ MSG language by @adamgeorge309 in #7023
New Contributors
- @timotheeguerin made their first contribution in #6775
- @adamgeorge309 made their first contribution in #7024
- @vicasas made their first contribution in #7049
- @tahmid-khan made their first contribution in #7063
- @bobthecow made their first contribution in #7082
- @yuichkun made their first contribution in #7086
- @tonyfettes made their first contribution in #7097
- @freundTech made their first contribution in #7111
- @MalloryA made their first contribution in #7130
- @novusnota made their first contribution in #6689
- @vdye made their first contribution in #7094
- @petemounce made their first contribution in #7121
Full Changelog: v8.0.1...v9.0.0
v8.0.1
This is a quick patch release that just updates the Move grammar to fix syntax highlighting that broke with the last release.
What's Changed
- Update number of acceptable classification errors. by @DecimalTurn in #7026
Full Changelog: v8.0.0...v8.0.1
v8.0.0
This is a major release as this will be the first release shipping with the new centroid-based classifier. Massive thanks to @smola for adding this improvement.
This release will also see the default branch of this repo change from master
to main
. This won't affect any current PRs and the Codespaces dev env should continue to work as before.
If you're working off a local clone of this repo, you can update your refs for the new name as follows:
$ cd linguist
$ git fetch origin
$ git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
What's Changed
- Clarify sentence in CONTRIBUTING by @lishaduck in #6887
- Manually remove module in
.git
when replacing grammars by @lildude in #6990 - Add support for Java Template Engine by @maths22 in #6610
- VB6: Replace VB.NET's grammar by VBA's grammar by @DecimalTurn in #6894
- Remove backreferences in regex patterns for
XML Property List
andJavaScript
by @DecimalTurn in #6897 - Replace mcfunction grammar by @RitikShah in #6916
- Split Cairo out into separate Cairo and Cairo Zero languages by @mkaput in #6917
- Change Q# grammar repository by @ScottCarda-MS in #6934
- Add Noir by @critesjosh in #6432
- Add the Cylc language. by @oliver-sanders in #6832
- Add a TextMate grammar for PowerBuilder by @micha4w in #6875
- Mark
deno.lock
as generated by @lishaduck in #6885 - Add iCalendar Language by @DecimalTurn in #6940
- Add VCF data formats by @DecimalTurn in #6941
- Fix heuristic for extension
.yy
(JSON vs Yacc) by @DecimalTurn in #6976 - Replace Just grammar by @nefrob in #6985
- Optimization: Use
match?
instead ofmatch
by @DecimalTurn in #7003 - Add B4X by @DecimalTurn in #6965
- Replace the WDL language grammar by @claymcleod in #6972
- Add
uv.lock
as a TOML file by @edgarrmondragon in #7006 - Carbon language support by @btd2010 in #7011
- Add support for
HOSTS.TXT
files by @Alhadis in #7014 - Add
.peggy
for PEG.js by @spenserblack in #7017 - New Centroid-based Classifier by @smola in #5103
- Add vimscript alias to Vim Script by @jmdevin in #7020
- Add the LiveCode Script language. by @torocruzand in #6833
- Change PEG.js to use Peggy grammar by @spenserblack in #7018
- Add Dune (OCaml build system) by @kisaragi-hiu in #6814
- Add
.resource
extension to Robot Framework by @Noordsestern in #6500
New Contributors
- @lishaduck made their first contribution in #6887
- @maths22 made their first contribution in #6610
- @RitikShah made their first contribution in #6916
- @mkaput made their first contribution in #6917
- @ScottCarda-MS made their first contribution in #6934
- @critesjosh made their first contribution in #6432
- @oliver-sanders made their first contribution in #6832
- @micha4w made their first contribution in #6875
- @nefrob made their first contribution in #6985
- @claymcleod made their first contribution in #6972
- @edgarrmondragon made their first contribution in #7006
- @btd2010 made their first contribution in #7011
- @jmdevin made their first contribution in #7020
- @torocruzand made their first contribution in #6833
- @kisaragi-hiu made their first contribution in #6814
- @Noordsestern made their first contribution in #6500
Full Changelog: v7.30.0...v8.0.0
v7.30.0
What's Changed
- Make
max_tree_size
configurable per-repository by @issyl0 in #6806 - Pass custom tree size through
{git,github}-linguist
binaries by @issyl0 in #6825 - The
--tree-size
arg should always be an Integer by @issyl0 in #6826 - Rely on the
Linguist::Repository::MAX_TREE_SIZE
default value more by @issyl0 in #6830 - Add Luau language by @robloxiandemo in #6612
- Add BQN language by @skykanin in #6623
- Add Cron table language by @Nixinova in #6759
- Add NMODL Language by @matz-e in #6776
- Add Pkl language by @stackoverflow in #6730
- Register
.sublime-color-scheme
extension as JSON with Comments by @Nixinova in #6758 - Register
MODULE.bazel.lock
as JSON and generated by @dtolnay in #6783 - Add
Cargo.toml.orig
as TOML filename by @spenserblack in #6787 - Add
tsx
to TypeScript interpreters by @Alhadis in #6788 - Extend
justfile
file detection by @mkatychev in #6795 - Add templ language by @tris203 in #6798
- Update HCL/Terraform grammar to
hashicorp/syntax
by @dbanck in #6802 - Detect zig zon files by @softprops in #6820
- Add FIRRTL language by @seldridge in #6848
- Add support for RON (Rusty Object Notation) by @spenserblack in #6849
- Add Julia REPL by @adrhill in #6859
- Add support for Caddyfile by @willnorris in #6862
- Support
.envrc
file by @spenserblack in #6865
New Contributors
- @issyl0 made their first contribution in #6806
- @robloxiandemo made their first contribution in #6612
- @skykanin made their first contribution in #6623
- @k-yle made their first contribution in #6709
- @matz-e made their first contribution in #6776
- @stackoverflow made their first contribution in #6730
- @dtolnay made their first contribution in #6783
- @mkatychev made their first contribution in #6795
- @tris203 made their first contribution in #6798
- @dbanck made their first contribution in #6802
- @adrhill made their first contribution in #6859
- @willnorris made their first contribution in #6862
Full Changelog: v7.29.0...v7.30.0
v7.29.0
What's Changed
- Change VBA grammar source by @serkonda7 in #6678
- Switch Ruby VS Code extensions by @spenserblack in #6738
- Add Roc Language by @ryanb in #6633
- Replace SourcePawn grammar by @Sarrus1 in #6635
- Add Bluespec BH TextMate grammar by @quark17 in #6644
- Add
.bicepparam
to list of Bicep file extensions by @anthony-c-martin in #6664 - Add BitBake grammar and missing extensions by @ParksProjets in #6665
- Add SARIF as JSON alias by @orhantoy in #6674
- Add
cs.pp
extension to C# by @DecimalTurn in #6679 - Add Glimmer TS language by @gilest in #6680
- Add
jq
interpreters by @Alhadis in #6694 - Add Edge Language by @evoactivity in #6695
- Fix TextMate Scope for '.ice' Files by @InsertCreativityHere in #6714
- Add heuristics for C++ macros by @jtibshirani in #6715
- Add TextGrid data file format by @JJWRoeloffs in #6719
- Add highlighting and correct file extensions for TI Program by @TIny-Hacker in #6688
- Remove unnecessary alias for R by @InSyncWithFoo in #6724
- Add tmux.conf and .tmux.conf as shell filenames by @WuerfelDev in #6726
- Replace Common Lisp grammar source by @qingpeng9802 in #6728
- Add
.env.sample
as Dotenv filename by @spenserblack in #6732 - Add Pip Requirements language by @spenserblack in #6739
- Fix VBA heuristic for Access Option Compare statement by @DecimalTurn in #6742
- Change Lua grammar source by @kulothunganug in #6661
- Add SQLx query files as generated by @mercxry in #6748
- Add pnpm lockfiles as generated by @SuperchupuDev in #6749
- Add language: Mojo by @lattner in #6400
- Add Slint by @ogoffart in #6750
- Add Oberon language by @idrougge in #4645
New Contributors
- @serkonda7 made their first contribution in #6678
- @ryanb made their first contribution in #6633
- @Sarrus1 made their first contribution in #6635
- @ParksProjets made their first contribution in #6665
- @orhantoy made their first contribution in #6674
- @evoactivity made their first contribution in #6695
- @InsertCreativityHere made their first contribution in #6714
- @jtibshirani made their first contribution in #6715
- @TIny-Hacker made their first contribution in #6688
- @InSyncWithFoo made their first contribution in #6724
- @WuerfelDev made their first contribution in #6726
- @qingpeng9802 made their first contribution in #6728
- @kulothunganug made their first contribution in #6661
- @mercxry made their first contribution in #6748
- @SuperchupuDev made their first contribution in #6749
- @lattner made their first contribution in #6400
- @ogoffart made their first contribution in #6750
Full Changelog: v7.28.0...v7.29.0
v7.28.0
What's Changed
- Update color for Sway by @sdankel in #6498
- Ungroup Git Attributes and Ignore List from INI by @DecimalTurn in #6552
- Add ace_mode for Nasal by @BobDotCom in #6563
- Replace Open Policy Agent grammar by @ashutosh-narkar in #6575
- Register
deno.lock
as JSON by @spenserblack in #6590 - Replace Swift grammar by @jtbandes in #6603
- Change DM grammar source by @vvvv-vvvv in #6605
- Fix group name casing: prolog -> Prolog by @varungandhi-src in #6615
- Add Toit language by @floitsch in #6419
- Add support for EdgeQL languages by @DAlperin in #5780
- Address CodeQL security alerts by @lildude in #6609
- Add Praat scripting language by @JJWRoeloffs in #6620
- Add Glimmer JS language by @gilest in #6630
- Add support for the lean comment format to the tokenizer by @lildude in #6625
- Add support for Lean 4 by @eric-wieser in #6616
- Change grammar source for Genero language and rename by @sebflaesch in #6632
- Add Terraform Template language by @johnmays in #6604
New Contributors
- @ashutosh-narkar made their first contribution in #6575
- @vvvv-vvvv made their first contribution in #6605
- @varungandhi-src made their first contribution in #6615
- @floitsch made their first contribution in #6419
- @DAlperin made their first contribution in #5780
- @JJWRoeloffs made their first contribution in #6620
- @gilest made their first contribution in #6578
- @eric-wieser made their first contribution in #6616
- @sebflaesch made their first contribution in #6632
- @johnmays made their first contribution in #6604
Full Changelog: v7.27.0...v7.28.0
v7.27.0
What's Changed
- Update list of tree-sitter grammars by @lildude in #6460
- Address potential causes for "Your search did not match any code" issue when clicking a language in the stats bar by @DecimalTurn in #6468
- Bump mocha dependency version by @lildude in #6499
- Harden heuristics against
Regexp::TimeoutError
errors by @lildude in #6518 - Platform agnostic line endings by @DecimalTurn in #6530
- Add
pikchr
as an alias of Pic by @Alhadis in #6522 - Add support for Ruby Option Lists by @spenserblack in #6474
- Add an entry for Bluespec's other syntax by @quark17 in #6476
- Add
hosts
to Host file aliases by @DandelionSprout in #6486 - Cross-validation script: Add filter for extensions by @DecimalTurn in #6490
- Mark files under
htmlcov/
as generated by @spenserblack in #6491 - Add
.code-workspace
toJSON with Comments
by @wxh06 in #6502 - Add Rez by @cooljeanius in #6524
- Add .vs GLSL vertex shader extension by @FrostKiwi in #6536
- Create devcontainer configuration by @spenserblack in #6479
- Remove redundancy in
AsciiDoc
's regex pattern by @DecimalTurn in #6537 - Add Typst by @michidk in #6379
- Add language: Sweave by @grady in #6544
- Use ghcr.io for grammar compiler docker container by @lildude in #6322
- Improve and document using Codespaces and Devcontainers by @lildude in #6539
- Add Gradle Kotlin DSL by @lildude in #6541
- Revert "Use ghcr.io for grammar compiler docker container" by @lildude in #6546
New Contributors
- @quark17 made their first contribution in #6476
- @DandelionSprout made their first contribution in #6486
- @cooljeanius made their first contribution in #6524
- @FrostKiwi made their first contribution in #6536
- @grady made their first contribution in #6544
Full Changelog: v7.26.0...v7.27.0
v7.26.0
What's Changed
- Update licensed gem dependency by @lildude in #6333
- Update link to Ace modes by @lildude in #6344
- Fix
trim_trailing_whitespace
typo in.editorconfig
file by @ryandesign in #6349 - Document that Linguist only analyzes the default branch by @lildude in #6359
- Fix typos in troubleshooting.md by @DecimalTurn in #6365
- Update search query in PR template by @lildude in #6425
- Update Ruby versions used for testing by @lildude in #6423
- Update CODEOWNERS, gem metadata and enable CI for merge queues by @lildude in #6430
- Add TL-Verilog by @adamint in #5331
- Add grammar for Apex by @muenzpraeger in #6198
- Change colour for OCaml by @Teddy55Codes in #6284
- Add
.swcrc
to "JSON with Comments" by @g-plane in #6328 - Add
.teamcity
to vendored folders by @jamielennox in #6332 - Add
proto
alias for protobuf by @dimitropoulos in #6334 - Add MDX language by @wooorm in #6339
- Replace markdown grammar with maintained version by @wooorm in #6341
- Add
rust-script
to Rust interpreters by @fornwall in #6354 - Add
.bas
extension to VB6 and heuristics for VB6/VBA by @DecimalTurn in #6355 - Added case-insensitive matches for FreeBasic. by @XusinboyBekchanov in #6367
- Add RBS language by @ybiquitous in #6369
- Add support for WebAssembly Interface Types by @eduardomourar in #6376
- Add
.txx
extension to C++ by @wroyca in #6380 - Fix trailing whitespace & empty lines by @michidk in #6385
- Change source of "Adblock Filter List" grammar by @scripthunter7 in #6392
- Add
.scalafix.conf
and.scalafmt.conf
to HOCON filenames by @LaurenceWarne in #6404 - Add Nushell by @hustcer in #6403
- Fix up vendor regex for bootstrap by @tclem in #6410
- Add grammar for Nasal by @BobDotCom in #6406
- Add
vlcrc
to INI filenames by @Alhadis in #6415 - Make regexps in
heuristics.yml
more portable by @jorendorff in #6417 - Add language support for Go workspaces by @goto1134 in #6433
- Add grammar for LOLCODE by @KrazIvan in #6434
- Add D2 language support by @goto1134 in #6435
- Add
md
as an alias for Markdown by @lildude in #6338 - Add support for the Pact smart contract language by @emilypi in #5834
- Add VBA grammar by @DecimalTurn in #6440
- Update WDL's description by @aofarrel in #6319
- Add WGSL support by @joaogabrielzo in #6442
- Add
lkml
extension to LookML by @lildude in #6443 - Add language support for
hosts
files by @Alhadis in #6391
New Contributors
- @ryandesign made their first contribution in #6349
- @adamint made their first contribution in #5331
- @muenzpraeger made their first contribution in #6198
- @Teddy55Codes made their first contribution in #6284
- @g-plane made their first contribution in #6328
- @jamielennox made their first contribution in #6332
- @dimitropoulos made their first contribution in #6334
- @wooorm made their first contribution in #6339
- @fornwall made their first contribution in #6354
- @ybiquitous made their first contribution in #6369
- @eduardomourar made their first contribution in #6376
- @wroyca made their first contribution in #6380
- @michidk made their first contribution in #6385
- @hustcer made their first contribution in #6403
- @BobDotCom made their first contribution in #6406
- @jorendorff made their first contribution in #6417
- @goto1134 made their first contribution in #6433
- @KrazIvan made their first contribution in #6434
- @emilypi made their first contribution in #5834
- @aofarrel made their first contribution in #6319
- @joaogabrielzo made their first contribution in #6442
Addendum
#6417 introduced a regex for the .stl
heuristic which suffers from catastrophic backtracking which can cause timeouts on larger files in Ruby 3.2 and possibly other languages. This will be resolved in v7.27.0.
Full Changelog: v7.25.0...v7.26.0
v7.25.0
What's Changed
- Add clarification for override using alias + case-insensitive by @DecimalTurn in #6187
- Add ".plt" to Prolog extensions by @GeoffChurch in #6141
- Add support for flake.lock by @figsoda in #6166
- Amend Just language entry by @casey in #6167
- Add Kerboscript and Kickstart language by @Janik-ux in #5981
- Change FreeBasic color by @DecimalTurn in #6191
- Add
py
andpypy
interpreters for Python by @lordmauve in #6181 - Add Godot Resource Language by @lildude in #6185
- Add Dotenv as its own language by @lildude in #6199
- Update D365 Business Central, AL detection by @SBalslev in #6200
- Add Circom language support by @cryptopapi997 in #6204
- Change Svelte grammar source by @sebastinez in #6216
- Change Rust grammar source by @sebastinez in #6220
- Add color for PlantUML. by @Potherca in #6225
- Add colour for HCL by @tuunit in #6231
- Classify
.bash_functions
as Shell by @Nixinova in #6242 - Tune Perl/Raku heuristics by @mauke in #6264
- Add Pyret language by @Nixinova in #6257
- Adding JCL (Job Control Language) by @jaytay79 in #6249
- Update grammar compiler to use Go 1.20 by @lildude in #6296
- Add MODULE.bazel to Starlark language by @jsharpe in #6279
- Add Sway language by @sdankel in #6275
- Add .cnf to INI by @eggplants in #6309
- Exclude obsidian.md preferences by @sanjarcode in #6306
- Add support for Elvish transcripts. by @xiaq in #6302
- Create independent Snakemake language by @SilasK in #6270
- Add '.cppm' files as C++ sources. by @robert-andrzejuk in #6310
- Edit BASIC heuristic to avoid false positives + new sample by @DecimalTurn in #6320
- Add colour to PR Template and tweak CONTRIBUTING and README files by @lildude in #6312
- Add Erlang application resource file extension by @gionea in #6297
New Contributors
- @GeoffChurch made their first contribution in #6141
- @figsoda made their first contribution in #6166
- @casey made their first contribution in #6167
- @Janik-ux made their first contribution in #5981
- @lordmauve made their first contribution in #6181
- @SBalslev made their first contribution in #6200
- @cryptopapi997 made their first contribution in #6204
- @sebastinez made their first contribution in #6216
- @Potherca made their first contribution in #6225
- @tuunit made their first contribution in #6231
- @mauke made their first contribution in #6264
- @jaytay79 made their first contribution in #6249
- @jsharpe made their first contribution in #6279
- @sdankel made their first contribution in #6275
- @sanjarcode made their first contribution in #6306
- @SilasK made their first contribution in #6270
- @robert-andrzejuk made their first contribution in #6310
- @gionea made their first contribution in #6297
Full Changelog: v7.24.0...v7.25.0