Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Releases: nicoespeon/gitgraph.js

@gitgraph/[email protected]

07 May 02:31
Compare
Choose a tag to compare

Fix arrow color on fork commits

27 Jan 19:07
Compare
Choose a tag to compare

Thanks to @yappynoppy, arrow color is now the expected one for the first commit of the branch (#216).

Before:

Arrow color problem

After:

Arrow color is the correct one

Add commit object to the mouseEventOptions object

29 Dec 21:54
Compare
Choose a tag to compare

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

04 Dec 03:00
Compare
Choose a tag to compare

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

24 Aug 01:47
Compare
Choose a tag to compare

Thanks to @prudy, you can now specify a font for the dot text. Font defaults to commit message font.

See #201.

Text in commit dot

09 Jul 13:27
Compare
Choose a tag to compare

Add the ability to put some text in the commit dot:

image

branch.commit({
  message: "Do something awesome",
  commitDotText: "A1"
});

See #196.

Thx @carlorivera 🎉

Fix arrow angle on branching

08 Aug 20:34
Compare
Choose a tag to compare

Fix #159 with #171, credits to @yodalee 🎉 👏

Fix merge rendering with details

13 Jun 19:44
Compare
Choose a tag to compare

See #166 (fixed by #168).

Thanks @csombok for fixing this one 🎉 👍

Fix tooltips on Firefox 53

25 May 09:12
Compare
Choose a tag to compare

See #164, thanks @moore3071 for this one 👍

Thanks also to @cardil for improving the gitflowsupport.html example − see #163.

Fix arrows rendering for multiple branches from same commit

03 May 21:53
Compare
Choose a tag to compare