Skip to content

Commit

Permalink
Bump to 10.1.0 and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Nov 12, 2019
1 parent 49ae79c commit 5e4053e
Show file tree
Hide file tree
Showing 3 changed files with 203 additions and 195 deletions.
106 changes: 70 additions & 36 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# 10.1.0

- 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)

# 10.0.0

- Fixed minor parsing bugs.
Expand All @@ -11,18 +31,18 @@
- Improved Pascal representation

**Added languages**

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


# 9.0.0

* Tokei now has config files. You can now specify some commonly used arguments
- 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
Expand All @@ -33,22 +53,23 @@
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](https://anaconda.org/conda-forge/tokei).
* [Tokei's README has been translated
- Tokei is now available on [Conda](https://anaconda.org/conda-forge/tokei).
- [Tokei's README has been translated
to chinese.](https://github.com/chinanf-boy/tokei-zh#tokei-)
* `LanguageType` now implements `Hash`.
* Tokei now batches it's console output, this should result in a small
- `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
- 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
- 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
- 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
Expand All @@ -60,19 +81,20 @@
- @TheMrNomis SWIG
- @xnorme Added the `.vhdl` extension to VHDL


# 8.0.0
* A language's comments, and quotes are now available through the `LanguageType`

- A language's comments, and quotes are now available through the `LanguageType`
enum.
* You can filter by language using the `-t/--type` option. e.g. `tokei -t "Rust,C"`
- You can filter by language using the `-t/--type` option. e.g. `tokei -t "Rust,C"`
will print only Rust and C files.
* Tokei now understands terminal width and will expand to fit it. (Thanks
- Tokei now understands terminal width and will expand to fit it. (Thanks
to @Veykril)
* Added [comparison](./COMPARISON.md) document to compare Tokei to other
- Added [comparison](./COMPARISON.md) document to compare Tokei to other
code counters.
* Updated dependencies
- Updated dependencies

**Added languages**

- @BrandonBoone VB6, VBScript, XSLT
- @ialpert BrightScript
- @PJB3005 Dream Maker
Expand All @@ -83,17 +105,20 @@
Made various optimisations, up to 65% faster in some cases.

**Added languages**

- @DenialAdams Added Forsyth-Edwards-Notation (FEN)
- @DjebbZ Added ClojureC
- @grimm26 Added HCL/Terraform

# 7.0.2

- Updated dependencies.
- Changed how compilied serialization formats are handled.
- Fixed minor parser inaccuracies.
- Tokei should now recognise more python files from their shebang.

**Added languages**

- @ignatenko Added Meson
- @sprang Added Scheme
- @fengcms Added Vue
Expand All @@ -106,8 +131,8 @@ Made various optimisations, up to 65% faster in some cases.
- @kamilchm Added ReasonML
- @cyplp Added XSL


# 7.0.1

- Updated dependencies

# 7.0.0
Expand Down Expand Up @@ -136,24 +161,27 @@ Made various optimisations, up to 65% faster in some cases.
- Now can recognise file languages based on their filename.

**Added Languages:**

- @kazimuth CMake, Dockerfile, Rakefile, Scons

# 6.0.1

- Multiple exclude flags now allowed.

**Added Languages:**

- @seiks Added Fish Shell
- @XAMPPRocky Added Module-Definition
- @tbu- Added Vala

# 6.0.0

- Reworked internals
- Now uses serde_derive(_and thusly requires rust v1.15_)
- Now uses serde*derive(\_and thusly requires rust v1.15*)
- Now has better file based testing

**Added languages:**

- @tuncer Added Ur/Web
- @svisser Added PureScript
- @tjodden Add some common extensions for HTML, C++ and Makefile
Expand All @@ -164,11 +192,11 @@ Made various optimisations, up to 65% faster in some cases.
- Optimised internals

**Added languages:**

- @GungnirInd Added GDScript
- @tuncer Differentiate between sh and Bash, Added Cogent, F\*, F#
- @pthariensflame Added Agda


# 4.5.0

- Added Regex based hueristics so more expensive multi line handling isn't used
Expand All @@ -184,6 +212,7 @@ Made various optimisations, up to 65% faster in some cases.
instead of panicing

**Added languages:**

- @hauleth Added Elixir support

# 4.4.0
Expand All @@ -194,13 +223,14 @@ Made various optimisations, up to 65% faster in some cases.
- @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.

- @xpayn : Added `pm` extension to Perl.

# 4.3.0

Expand All @@ -210,8 +240,8 @@ Made various optimisations, up to 65% faster in some cases.
- 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_)
Expand All @@ -220,6 +250,7 @@ Made various optimisations, up to 65% faster in some cases.
- Razor(_cshtml_)

**Changes to existing languages Thanks to @mwilli20 :**

- Another Ada extension(_pad_)
- Assembly - Uses `' '` or `" "` and added another extension(_asm_)
- Bash - Uses `' '` or `" "`
Expand Down Expand Up @@ -247,18 +278,19 @@ Made various optimisations, up to 65% faster in some cases.
- Vimscript - Uses `" "` or `' '`
- Yaml - Uses `" "` or `' '`
- Zsh - Uses `" "` or `' '`
- Clojure - Removed `#`
- Forth - `( Comment)` style comments need a space after the opening paren
- 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
- 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
Expand Down Expand Up @@ -357,7 +389,6 @@ Tokei is now **~40%** faster.
- Ada
- Forth


# 4.0.0

Tokei now has a minimal version without `serde` for faster compilation.
Expand All @@ -367,14 +398,15 @@ Updated various dependencies.
Internal dependencies removed.

## Regressions

- CBOR is not supported till it supports `serde 0.8`

**Added languages**

- Handlebars


# 3.0.0

Tokei is now available as a library.

Tokei now has a lot more tests.
Expand All @@ -387,8 +419,8 @@ Fixed #44

Fixed #45


# 2.1.0

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.
Expand All @@ -397,11 +429,12 @@ Premilarily support for nested comments(_currently only supported for rust_)

Change in the output format [PR #35](https://github.com/XAMPPRocky/tokei/pull/35)

Moved `.sc` from Lisp to Scala.
Moved `.sc` from Lisp to Scala.

Internals changed to allow for multiple multi line comment formats.

**Added languages:**

- Isabelle

# 2.0.0
Expand All @@ -412,6 +445,7 @@ Added a progress message for when it is counting files.
Fixed #29

**Added languages:**

- Coq
- Erlang
- Kotlin
Expand All @@ -433,6 +467,7 @@ Added file counting.
Added Shebang support.

**Added languages:**

- Assembly
- LD Scripts
- Device Trees
Expand All @@ -444,7 +479,6 @@ Added Shebang support.

Changed the formatting so tokei looks nice for consoles of 80 column width.


# 1.4.0

Changed from handmade recursive file opening to [walkdir](https://github.com/BurntSushi/walkdir)
Loading

0 comments on commit 5e4053e

Please sign in to comment.