Releases: github-linguist/linguist
v9.3.0
What's Changed
- Added Nickel language by @mkatychev in #7432
- Add strategy that was used to detect the file's language by @DecimalTurn in #7405
- Tweaked tree-sitter query classification by @mkatychev in #7431
- Replace grammar for Slim by @Jeremy-Walton in #7465
- Add
.swig
and.swg
extension to SWIG by @Mizux in #7480 - Make use of additional editor modes by @Alhadis in #7494
- Replace Vanish and Nginx grammars by @lildude in #7524
- Add C3 by @rudywasfound in #7525
- Add ROS Interface by @jtbandes in #7523
- Rewrite and reformat documentation of
languages.yml
by @Alhadis in #7495 - Update VHDL syntax by @jevogel in #7508
- Improve recognizing generated Dart files by @marvin-kolja in #7448
- Add language QuakeC by @4LT in #7545
- Add Cooklang by @dubadub in #7497
- Add
.toml.example
extension by @spenserblack in #7478 - Add .env.template as Dotenv filename by @starwarswii in #7557
- Add sample for
*.toml
extension by @spenserblack in #7570 - Add
.ftlh
extension to Freemarker by @tajakobsen in #7551 - Add KoLMafia ASH language by @midgleyc in #5401
- Add Flix language by @sockmaster27 in #7010
- Add support for Bru (Bruno Markup Language) by @ludovicobesana in #7560
New Contributors
- @Jeremy-Walton made their first contribution in #7465
- @Mizux made their first contribution in #7480
- @rudywasfound made their first contribution in #7525
- @jevogel made their first contribution in #7508
- @marvin-kolja made their first contribution in #7448
- @4LT made their first contribution in #7545
- @dubadub made their first contribution in #7497
- @starwarswii made their first contribution in #7557
- @tajakobsen made their first contribution in #7551
- @midgleyc made their first contribution in #5401
- @sockmaster27 made their first contribution in #7010
- @ludovicobesana made their first contribution in #7560
Full Changelog: v9.2.0...v9.3.0
v9.2.0
What's Changed
- Correct command name in
github-linguist
usage by @zyoshoka in #7286 - Update licensed dependency version by @lildude in #7319
- Add KiCAD symbols by @stonedDiscord in #7301
- Add support for Sail by @Timmmm in #7339
- Coq has been renamed into the Rocq Prover. by @Zimmi48 in #7297
- Add Koka by @toh995 in #7320
- Add HIP language support by @Young-TW in #7334
- Add uv support as python interpreter by @sohang3112 in #7347
- Add Z3 extension to SMT-LIB by @ggelado in #7349
- Update C++ grammar by @mikomikotaishi in #7352
- Add language support for M3U playlists by @Alhadis in #7355
- Use 4d/language-4d grammar for 4D by @e-marchand in #7354
- Replace deleted LiveScript grammar by @sharktide in #7377
- Add BuildStream Language by @zyoshoka in #7385
- Mark Package.resolved as generated by @zyoshoka in #7393
- Update Vyper's color by @ThatOneCalculator in #7409
- Add MySQL View Definition Format by @DecimalTurn in #7402
- Add language support for Tor configuration files by @Alhadis in #7379
- Return a boolean from source map generated check by @ctmayn in #7398
- Add ReScript interface extension '.resi' by @namenu in #6161
- Add
.slnx
to XML extensions by @kasperk81 in #7084 - Add ZModel language by @jiashengguo in #7065
- Add Daslang language by @moleium in #7399
- Add Aiken Language by @rvcas in #6991
- Add Leo by @d0cd in #6970
- Add Clue language by @Markos-Th09 in #6356
- Add GDShader by @FireCatMagic in #7071
- Add support for Vento language by @oscarotero in #6733
- Update Leo color to latest brand colors. by @d0cd in #7425
New Contributors
- @stonedDiscord made their first contribution in #7301
- @Timmmm made their first contribution in #7339
- @Zimmi48 made their first contribution in #7297
- @toh995 made their first contribution in #7320
- @Young-TW made their first contribution in #7334
- @sohang3112 made their first contribution in #7347
- @ggelado made their first contribution in #7349
- @mikomikotaishi made their first contribution in #7352
- @e-marchand made their first contribution in #7354
- @sharktide made their first contribution in #7377
- @ThatOneCalculator made their first contribution in #7409
- @ctmayn made their first contribution in #7398
- @namenu made their first contribution in #6161
- @kasperk81 made their first contribution in #7084
- @jiashengguo made their first contribution in #7065
- @moleium made their first contribution in #7399
- @rvcas made their first contribution in #6991
- @d0cd made their first contribution in #6970
- @Markos-Th09 made their first contribution in #6356
- @FireCatMagic made their first contribution in #7071
- @oscarotero made their first contribution in #6733
Full Changelog: v9.1.0...v9.2.0
v9.1.0
What's Changed
- Add :Z to 'docker run -v' so that it works with Podman on Fedora by @vorburger in #7160
- Add mdsvex and Survex data by @mahtaran in #7194
- Add GPX to XML extensions by @nickswalker in #7192
- Add KDL language by @zkat in #7169
- Fix FreeBASIC heuristic by @DecimalTurn in #7186
- Add the
.apex
extension to the Apex language by @mmanela in #6975 - Fixed heuristic for the OMNeT++ MSG language by @adamgeorge309 in #7157
- Add Answer Set Programming and Linear Programming by @nickswalker in #7184
- Add MiniZinc by @nickswalker in #7190
- Updated OMNeT++ NED and MSG language name to be more human-friendly by @adamgeorge309 in #7195
- Add OverpassQL by @nickswalker in #7197
- Update references to go-enry in documentation by @lildude in #7198
- Switch ApacheConf to maintained upstream by @nisbet-hubbard in #7143
- Add Xmake language by @waruqi in #7199
- Add Jai language by @funkkiy in #7202
- Update extension list for HEEx by @jonatanklosko in #7220
- Use erlang-ls grammar for Erlang by @garazdawi in #7212
- Add
.h.in
to C by @donno2048 in #7227 - Refactor assembly language detection by @donno2048 in #7229
- Use proper JSONC grammar by @DecimalTurn in #7255
- Add linker script grammar by @donno2048 in #7253
- Add ISPC language support by @aneshlya in #7250
- Remove remaining backreferences by @DecimalTurn in #7238
- Remove atomic groups by @DecimalTurn in #7240
- Add Slang by @davidar in #7254
- Add fixtures_path to all_fixtures by @DecimalTurn in #7241
- Fix Assembly heuristics to remove char class duplication by @donno2048 in #7265
- Remove some lookaheads by @DecimalTurn in #7242
- Remove possessive qualifier for NASL by @DecimalTurn in #7259
- Add Tree-sitter Query language by @mkatychev in #7243
- Update PowerBuilder.tmbundle submodule by @micha4w in #7264
- Fix polynomial regexes by @lildude in #7268
- Update search example link in CONTRIBUTING.md by @zyoshoka in #7271
- Register
bun.lock
as JSON by @RiskyMH in #7193 - Add
Package.resolved
as a JSON filename by @zyoshoka in #7274 - Add BibTeX Style by @zyoshoka in #7280
New Contributors
- @vorburger made their first contribution in #7160
- @mahtaran made their first contribution in #7194
- @nickswalker made their first contribution in #7192
- @zkat made their first contribution in #7169
- @mmanela made their first contribution in #6975
- @nisbet-hubbard made their first contribution in #7143
- @waruqi made their first contribution in #7199
- @funkkiy made their first contribution in #7202
- @jonatanklosko made their first contribution in #7220
- @garazdawi made their first contribution in #7212
- @donno2048 made their first contribution in #7227
- @aneshlya made their first contribution in #7250
- @davidar made their first contribution in #7254
- @zyoshoka made their first contribution in #7271
- @RiskyMH made their first contribution in #7193
Full Changelog: v9.0.0...v9.1.0
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