Skip to content

Releases: IonicaBizau/git-stats

2.8.0

19 Nov 14:30

Choose a tag to compare

Forgot to return the config data in getConfig––thanks @joeyhipolito for fixing! 🍰

2.7.0

19 Nov 11:56

Choose a tag to compare

Fixed the getConfig method error sending.

2.6.0

19 Nov 10:50

Choose a tag to compare

getConfig is a sync method, but still accepts a callback function as legacy feature.
The callback handler was not triggered when the result was successful. That would break the git-stats-importer functionality.

2.4.0

12 Nov 12:10

Choose a tag to compare

This update is part of the biggest process of cleaning up my GitHub projects:

  • Some of the repos were merged with other repos. 🎈
  • Obsolete repositories (actually these that didn't have any functionality) were been deleted. 🔥
  • Most of them got better documentation using blah configuration. 📖 📚 📝

Changes

  • Improved documentation 📝
  • Added/updated the the CONTRIBUTING.md file. 📖
  • Integrated json2md with blah to get the best flexibility in generating documentation. 💫

Regarding the integration of json2md into blah, read this blog post I wrote.

2.3.0

01 Nov 15:18

Choose a tag to compare

Previously we were using ~/.git-stats-config.json to store Git Stats configuration. That was cool, but now I'm improving this. This was changed in ``~/.git-stats-config.jswhich shouldmodule.exports` an object. 💫

This simplifies the things. For example, to set the colors, we don't need to manually write strange weird ANSI characters in a JSON file, but use the couleurs package. That means we can npm i -g <pack> && npm link <pack> and require("<pack>") in our config file.

And here is what I did to replicate GitHub's spooky contributions calendar:

var Couleurs = require("couleurs");

module.exports = {
    theme: {
        background: "#FFFFFF"
      , foreground: "#565656"
      , squares: {
            "⬚": Couleurs("◼", "#EEEEEE")
          , "▢": Couleurs("◼", "#FFEE4A")
          , "▤": Couleurs("◼", "#FFC501")
          , "▣": Couleurs("◼", "#FE9600")
          , "◼": Couleurs("◼", "#03001C")
        }
    }
};

And the result is:

image

Pretty cool, right? 🎨

2.2.0

12 Oct 14:44

Choose a tag to compare

  • Added iterate-object as dependency.

2.1.0

12 Oct 14:41

Choose a tag to compare

  • Use node path/to/migration-script.js instead of ./path/to/... to be compatible with Windows.
  • Added the --raw option which dumps the raw json.
  • Improved the removeCommit method (the date is not mandatory anymore).

2.0.1

06 Oct 11:55

Choose a tag to compare

  • Fixed the description
  • Removed progress as dependency (it was not used).

2.0.0

21 Sep 19:00

Choose a tag to compare

  • Use the CLP library to parse the arguments. Fixed #43.
  • Browser client /cc #46
  • Show the correct time range /cc #45
  • EncloseJS binary /cc #42
  • Ignore commits with the same hash. /cc #39
  • Support for repositories without remote url /cc #29
  • Single repository related graphs /cc #13
  • Fix the filled square character /cc #14
  • Fix the output on small terminals /cc #28
  • All contributors related graphs /cc #27

1.6.0

06 Jul 19:13

Choose a tag to compare

Fixed the black square character. Now that's supposed to have a better support cross-operating systems. Fixed #14.

You can upgrade by running npm i -g git-stats@latest. 🎉