Releases: IonicaBizau/git-stats
2.8.0
Forgot to return the config data in getConfig––thanks @joeyhipolito for fixing! 🍰
2.7.0
Fixed the getConfig method error sending.
2.6.0
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
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
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:
Pretty cool, right? 🎨
2.2.0
- Added
iterate-objectas dependency.
2.1.0
- Use
node path/to/migration-script.jsinstead of./path/to/...to be compatible with Windows. - Added the
--rawoption which dumps the raw json. - Improved the
removeCommitmethod (thedateis not mandatory anymore).
2.0.1
- Fixed the description
- Removed
progressas dependency (it was not used).
2.0.0
- 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
Fixed the black square character. Now that's supposed to have a better support cross-operating systems. Fixed #14.
- Upgraded to
[email protected]where the square character was fixed as well. Thanks @SanketDG! 🍰 - Upgraded to
[email protected].
You can upgrade by running npm i -g git-stats@latest. 🎉
