React Git Info Versions Save

Get Git commit information in your React App

v2.0.1

2 years ago

https://www.npmjs.com/package/react-git-info/v/2.0.1

What's Changed

v2.0.0

4 years ago

https://www.npmjs.com/package/react-git-info/v/2.0.0

What's changed

  • Breaking Change: GitInfo().branch is now undefined when in a detached HEAD state
  • TypeScript type definitions are now included in the npm distribution (#4) - Thanks @Snaptags
  • Faster performance thanks to reduced number of calls to Git (#5) - Thanks @Snaptags
  • CI builds (#8)

v1.1.0

4 years ago

https://www.npmjs.com/package/react-git-info/v/1.1.0

What's Changed

  • Tags for the branch HEAD are now available under tags property (#3) - Thanks @jfemia !

v1.0.1

4 years ago

https://www.npmjs.com/package/react-git-info/v/1.0.1

What's Changed

  • Do not use git branch --show-current to get the current branch. Instead use git rev-parse --abbrev-ref HEAD increasing compatibility with older git versions (#2).