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

Changelog History
Page 4

  • v5.0.0 Changes

    • Optimised internals

    โž• Added languages:

    • @GungnirInd Added GDScript
    • @tuncer Differentiate between sh and Bash, Added Cogent, F*, F#
    • @pthariensflame Added Agda
  • v4.5.0 Changes

    • โž• Added Regex based hueristics so more expensive multi line handling isn't used if there are no multi line comments in the file.
    • Now uses the ignore crate for getting files. Which now also makes determining language from path/file parallelised
    • File counting used to only be parallelised per language, now it is also parallelised per file per language.
    • ๐Ÿ“š Updated homepage, and documentation links
    • @rmbreak Tokei will now not add directories with foo.bar like syntax to a language.
    • @Michael-F-Bryan tokei will now exit gracefully when a feature is missing instead of panicking

    โž• Added languages:

    • ๐Ÿ‘ @hauleth Added Elixir support
  • v4.4.0 Changes

    • Simplified language definitions, now consolidated into a single JSON file.
    • ๐Ÿ›  Fixed regression where lines and files weren't sorted.
    • ๐Ÿ›  @llogiq : made clippy fixes
    • @lligo : Added long verbose name

    โž• Added languages:

    • @little-dude : Tcl(tcl)
    • @svenstaro : GLSL(vert, tesc, tese, geom, frag, comp)
    • @not-fl3 : Elm(elm)

    ๐Ÿ”„ Changes to existing languages:

    • @xpayn : Added pm extension to Perl.
  • v4.3.0 Changes

    • ๐Ÿ–จ @lligo : Tokei no longer panics on non-character-boundary when printing file names.
    • Fixed regression where no comment style files(json, markdown) weren't counted.
    • Tokei can now handle files in different encodings.(using the encoding library)
    • ๐Ÿ–จ Tokei now prints errors instead of sliently skipping them.
    • ๐Ÿ–จ Tokei can now print unused extensions using -v option.

    โž• Added languages:

    • Asp(asa, asp)
    • Asp.NET(asax, ascx, asmx, aspx, master, sitemap, webinfo)
    • Hex(hex)
    • Intel Hex(ihex)
    • ReStructuredText(rst)
    • Razor(cshtml)

    ๐Ÿ”„ Changes to existing languages Thanks to @mwilli20 :

    • Another Ada extension(pad)
    • Assembly - Uses ' ' or " " and added another extension(asm)
    • Bash - Uses ' ' or " "
    • Batch - They don't use quotes for strings, added ::
    • Cold Fusion - Uses ' ' or " "
    • D - Uses " " or
    • Dart - Uses " " or ' ' or """ """ or ''' '''
    • Forth - Uses " " but new, doesn't have a preset
    • Fortrans - Use " " or ' '
    • Idris - Uses " " or """ """
    • Julia - Uses " " or """ """
    • Kotlin - Uses " " or """ """
    • Lisp - Comments can be nested
    • Moustache - Uses " " or ' '
    • Nim - Uses " " or """ """
    • Pascal - Uses ' '
    • Perl - Uses " " or ' '
    • Php - Uses " " or ' '
    • Python - Uses " " or ' ' or """ """ or ''' '''
    • ๐Ÿ’Ž Ruby - Uses " " or ' '
    • Sass - Uses " " or ' '
    • Sql - Uses ' '
    • Toml - Uses " " or ' ' or """ """ or ''' '''
    • Typescript - Uses " " or ' ' or
    • Vimscript - Uses " " or ' '
    • Yaml - Uses " " or ' '
    • Zsh - Uses " " or ' '
    • ๐Ÿšš Clojure - Removed #
    • ๐Ÿ’… Forth - ( Comment) style comments need a space after the opening paren
    • Haskell - Has nested comments
    • Idris - Has nested comments
    • Jai - Has nested block comments
    • Julia - Has nested block comments
    • Kotlin - Has nested block comments
    • Pascal - Pascal should be multiline from { or (* to } or *)
    • Perl - Perl5 and earlier for multiline comments need =pod to =cut.
    • Swift - Has nested block comments

    Tokei's code count

    -------------------------------------------------------------------------------
     Language            Files        Lines         Code     Comments       Blanks
    -------------------------------------------------------------------------------
     Rust                   13         2413         1596          601          216
    -------------------------------------------------------------------------------
     |ib\language\languages.rs          693          420          197           76
     |anguage\language_type.rs          500          386          102           12
     .\src\main.rs                      314          256           17           41
     |lib\language\language.rs          356          166          166           24
     .\src\lib\utils\fs.rs              129          107            9           13
     |\lib\utils\multi_line.rs          149           89           39           21
     .\src\lib\utils\macros.rs           59           50            3            6
     .\src\lib\stats.rs                  63           45           12            6
     .\src\lib\lib.rs                    76           25           47            4
     .\src\lib\build.rs                  31           23            0            8
     .\src\lib\sort.rs                   28           19            6            3
     .\src\lib\language\mod.rs           11            6            3            2
     .\src\lib\utils\mod.rs               4            4            0            0
    -------------------------------------------------------------------------------
     Markdown                4          492          492            0            0
    -------------------------------------------------------------------------------
     .\README.md                        252          252            0            0
     .\CHANGELOG.md                     202          202            0            0
     .\CONTRIBUTING.md                   25           25            0            0
     .\CONTRIBUTORS.md                   13           13            0            0
    -------------------------------------------------------------------------------
     YAML                    2           70           67            3            0
    -------------------------------------------------------------------------------
     .\cli.yml                           53           50            3            0
     .\.travis.yml                       17           17            0            0
    -------------------------------------------------------------------------------
     TOML                    1           80           65            0           15
    -------------------------------------------------------------------------------
     .\Cargo.toml                        80           65            0           15
    -------------------------------------------------------------------------------
     Autoconf                1            9            7            1            1
    -------------------------------------------------------------------------------
     .\src\lib\lib.rs.in                  9            7            1            1
    -------------------------------------------------------------------------------
     Total                  21         3064         2227          605          232
    -------------------------------------------------------------------------------
    
  • v4.2.0 Changes

    Tokei is now more precise, and shouldn't ever panic. Tokei now handles comments in quotes and more precise nested comments properly. ๐Ÿ›  Fixes #53

    Tokei's code count.

    -------------------------------------------------------------------------------
     Language            Files        Lines         Code     Comments       Blanks
    -------------------------------------------------------------------------------
     Rust                   13         2303         1487          594          222
    -------------------------------------------------------------------------------
     |ib\language\languages.rs          682          401          198           83
     |anguage\language_type.rs          467          359           96           12
     .\src\main.rs                      302          243           17           42
     |lib\language\language.rs          356          166          166           24
     .\src\lib\utils\fs.rs              116           95            9           12
     |\lib\utils\multi_line.rs          156           93           41           22
     .\src\lib\stats.rs                  54           36           12            6
     .\src\lib\build.rs                  31           23            0            8
     .\src\lib\lib.rs                    69           22           43            4
     .\src\lib\utils\macros.rs           27           20            3            4
     .\src\lib\sort.rs                   28           19            6            3
     .\src\lib\language\mod.rs           11            6            3            2
     .\src\lib\utils\mod.rs               4            4            0            0
    -------------------------------------------------------------------------------
     YAML                    2           68           65            3            0
    -------------------------------------------------------------------------------
     .\cli.yml                           49           46            3            0
     .\.travis.yml                       19           19            0            0
    -------------------------------------------------------------------------------
     TOML                    1           71           58            0           13
    -------------------------------------------------------------------------------
     .\Cargo.toml                        71           58            0           13
    -------------------------------------------------------------------------------
     Autoconf                1            9            7            1            1
    -------------------------------------------------------------------------------
     .\src\lib\lib.rs.in                  9            7            1            1
    -------------------------------------------------------------------------------
     Total                  17         2451         1617          598          236
    -------------------------------------------------------------------------------
    
  • v4.1.0 Changes

    Tokei is now ~40% faster.

    โž• Added languages

    • Ada
    • Forth
  • v4.0.0 Changes

    Tokei now has a minimal version without serde for faster compilation.

    โšก๏ธ Updated various dependencies.

    ๐Ÿšš Internal dependencies removed.

    Regressions

    • ๐Ÿ‘ CBOR is not supported till it supports serde 0.8

    โž• Added languages

    • ๐Ÿ– Handlebars
  • v3.0.0 Changes

    Tokei is now available as a library.

    โœ… Tokei now has a lot more tests.

    ๐Ÿ‘ Tokei now supports TOML

    ๐Ÿ›  Fixed #41

    ๐Ÿ›  Fixed #44

    ๐Ÿ›  Fixed #45

  • v2.1.0 Changes

    Tokei, can now output results in various formats(cbor, json, yaml)

    Conversely tokei can now take in results in those formats, and add them to the current run.

    ๐Ÿ‘ Premilarily support for nested comments(currently only supported for rust)

    ๐Ÿ”„ Change in the output format PR #35

    ๐Ÿšš Moved .sc from Lisp to Scala.

    Internals changed to allow for multiple multi line comment formats.

    โž• Added languages:

    • Isabelle
  • v2.0.0 Changes

    Major rewrite, now parallelized. ๐Ÿ‘ Can now support sorting files. โž• Added a progress message for when it is counting files. ๐Ÿ›  Fixed #29

    โž• Added languages:

    • Coq
    • Erlang
    • Kotlin
    • Idris
    • Nim
    • Oz
    • Prolog
    • Qcl
    • Scala
    • Unreal Script
    • Wolfram