All Versions
44
Latest Version
Avg Release Cycle
43 days
Latest Release
-

Changelog History
Page 2

  • v11.1.0 Changes

    April 13, 2020

    โž• Added Languages

    • @rubdos Arduino
    • @LuqueDaniel Pan
    • @itkovian Ren'Py

    • Added LanguageType::shebangs, LanguageType::from_file_extension, and LanguageType::from_shebang. (@solanav)

  • v11.0.0 Changes

    March 21, 2020

    Added languages

    ๐ŸŽ Thanks to some major internal refactoring, Tokei has received significant performance improvements, and is now one of the fastest code counters across any size of codebase. With Tokei 11 showing up to 40โ€“60% faster results than tokei's previous version. To showcase the improvements I've highlighted benchmarks of counting five differently sized codebases. Redis (~220k lines), Rust (~16M lines), and the Unreal Engine (~37.5M lines). In every one of these benchmarks Tokei 11 performed the best by a noticeable margin.

    ๐ŸŽ All benchmarks were done on a 15-inch MacBook Pro, with a 2.7GHz Intel Core i7 processor and 16GB 2133 MHz LPDDR3 RAM running macOS Catalina 10.15.3. Your mileage may vary, All benchmarks were done using hyperfine, using default settings for all programs.

    Tokei (~5k lines)

    Note This benchmark is not accurate due to tokei and loc both taking less than 5ms to complete, as such there is a high degree of error between these times and should mostly be considered equivalent. However it is included because it is notable that scc takes nearly 3x as long to complete on smaller codebases.
    Graph comparing programs running on the tokei source code

    Redis (~220k lines)

    Graph comparing programs running on the redis source code

    Rust (~16M lines)

    Graph comparing programs running on the rust source code

    Unreal (~37.5M lines)

    Graph comparing programs running on the unreal source code

  • v10.1.2 Changes

    February 16, 2020
    • โž• Added pyw extension to Python.
    • โšก๏ธ Updated dependencies
  • v10.1.1 Changes

    December 29, 2019
    • ๐Ÿ›  Fixed .tokeignore always working even when --no-ignore is present.
    • โšก๏ธ Updated dependencies

    โž• Added languages

    • @erikaxel Gherkin (Cucumber)
  • v10.1.0 Changes

    November 12, 2019
    • โž• Added cjsx extension to CoffeeScript.
    • ๐Ÿ’Ž Tokei will now recognise files with #!/usr/bin/env ruby as Ruby.
    • โšก๏ธ Updated dependencies.
    • Tokei now uses crossbeam channels over std::mpsc, which should have a noticeable performance improvement on large repos.
    • ๐Ÿ‘Œ Improved documentation for libtokei.

    โž• Added languages

    • @lzybkr PowerShell
    • @turbo MoonScript
    • @dtolnay Thrift
    • @Tranzystorek FlatBuffers
    • @NieDzejkob Emojicode
    • @DanteFalzone0 HolyC
    • @sci4me Odin
    • @fkarg Rusty Object Notation (RON)
  • v10.0.1

    July 04, 2019
  • v10.0.0 Changes

    June 10, 2019
    • ๐Ÿ›  Fixed minor parsing bugs.
    • Width is now limited to 80 unless you use the --files flag.
    • โž• Added the mjs extension to JavaScript.
    • โž• Added the tpp extension to C++.
    • ๐Ÿ‘€ You can now disable Tokei's git ignore detection, similar to ripgrep. See --help for options.
    • You can now add a .tokeignore file to your project to specify file paths for tokei to always ignore. This file uses the same syntax as .gitignore.
    • ๐Ÿ‘Œ Improved Pascal representation

    โž• Added languages

    • @hobofan solidity
    • @stefanmaric GraphQL
    • @jhpratt PostCSS
    • @evitalis RPM
    • @alexmaco Pony
    • @yjhmelody WASM, LLVM, Pest
    • @XAMPPRocky ASN.1
  • v9.1.1

    March 30, 2019
  • v9.1.0

    March 20, 2019
  • v9.0.0 Changes

    January 13, 2019
    • Tokei now has config files. You can now specify some commonly used arguments in a .tokeirc/tokei.toml. Namely columns to set the default column output, types to filter your count to just a single set of languages, and treat_doc_strings_as_comments which is a new option that allows you to specify whether to treat doc strings such as """ in Python as comments or code. The config files can be specified in two places, the current directory tokei is running in and your [system configuration directory](//docs.rs/tokei/struct.Config.html#method.from_config_files). The priority of options is as follows CLI > <current_directory> > <configuration_directory>.
    • Tokei is now available on Conda.
    • Tokei's README has been translated to chinese.
    • LanguageType now implements Hash.
    • Tokei now batches it's console output, this should result in a small performance boost.
    • There is now a --columns argument for manually setting tokei's output width.
    • The --sort argument is now case-insensitive.
    • ๐Ÿ“œ Tokei will now mark languages who's files failed to parse correctly as potentially inaccurate.
    • Due to a bug in trust-ci x86_64-unknown-netbsd versions are will not be available in GitHub releases. (You will still be able to install from source.)
    • ๐Ÿ‘ Due to toml-rs's lacking enum support the TOML output option has been disabled.

    โž• Added languages

    • @t-richards Liquid
    • @diaphore Added the .glsl extension to GLSL.
    • @ahmedelgabri Twig
    • @pmoura Logtalk
    • @alekratz Perl, Not Quite Perl
    • ๐Ÿ”Œ @XAMPPRocky Automake, .NET Resource, HLSL, INI, Unreal Plugin, Unreal Project, Unreal Shader, Unreal Shader Header, Unreal Markdown, Visual Basic, Visual Studio Solution, Visual Studio Project, Xcode Config,
    • @TheMrNomis SWIG
    • @xnorme Added the .vhdl extension to VHDL