This repository has been archived by the owner on Jul 13, 2024. It is now read-only.
Releases: nicoespeon/gitgraph.js
Releases · nicoespeon/gitgraph.js
@gitgraph/[email protected]
Fix arrow color on fork commits
Thanks to @yappynoppy, arrow color is now the expected one for the first commit of the branch (#216).
Before:
After:
Add commit object to the mouseEventOptions object
Thanks to @srangos, you now have access to the Commit
object in mouse event callbacks.
For example:
gitGraph.canvas.addEventListener("commit:mouseover", function (event) {
// event.data.commit represents the commit being hovered
});
Accept options.details HTMLElement in commit method
Thanks to @raul-benito you can now pass an HTMLElement in options.details for commit operations.
This way you can provide a workaround in contexts where document.getElementById
is not working (e.g. shadow-dom in web components).
See #211 for details.
Add a dot font option
Text in commit dot
Add the ability to put some text in the commit dot:
branch.commit({
message: "Do something awesome",
commitDotText: "A1"
});
See #196.
Thx @carlorivera 🎉
Fix arrow angle on branching
Fix merge rendering with details
Fix tooltips on Firefox 53
See #164, thanks @moore3071 for this one 👍
Thanks also to @cardil for improving the gitflowsupport.html
example − see #163.