Skip to content

Releases: spenserblack/repofetch

CLI Help Message Hotfix

23 Jan 15:32
v0.5.2
0e9c6a9
Compare
Choose a tag to compare

Fixed

  • Placement of -v, --version help in the help message

0.5.1

23 Jan 14:44
v0.5.1
ed23995
Compare
Choose a tag to compare

Added

  • -v/--version to print the version from the CLI
  • Repofetch::VERSION to get the version as a library

0.5.0

21 Jan 00:57
v0.5.0
df2cc7f
Compare
Choose a tag to compare

Added

  • Stat#format(theme) to create styled stats
  • Stat#style_label to style the label without mutating the original Stat instance
  • Plugin#matches_path? and Plugin#from_path to allow plugins to initialize from paths, not
    just git repositories

Changed

  • Bitbucket Cloud header to be bold and blue
  • Stat#style_label! to accept one or more styles as parameters
  • Plugin#matches_repo? to return false instead of raising an error when it is not overridden

Fixed

  • length of separator to match visual length of header

Potentially Breaking for 3rd-party Plugins

Changed

  • Repofetch::Util to be a module
  • clean_s to be called remove_format_params
  • Moved default_remote and default_remote_url to be in Repofetch::Util
  • Stat#to_s to return an unstyled value
  • Header text and stats will now automatically be bold and use the value returned by Plugin#primary_color

Bitbucket Cloud Bugfix

13 Jan 22:37
v0.4.4
fd6c522
Compare
Choose a tag to compare

Fixed

  • Bitbucket Cloud not getting automatically detected when running repofetch in a
    Bitbucket Cloud repository

0.4.3

12 Jan 17:25
v0.4.3
0b78dca
Compare
Choose a tag to compare

Added

  • Bitbucket Cloud plugin
  • Simple help message for the GitLab plugin (repofetch --plugin Repofetch::Gitlab -- --help)
  • --path option, which is an alias for --repository
  • SSH url stat to GitHub and GitLab plugins

Changed

  • "URL" stat in GitHub and GitLab plugins to "HTTP(S)"
  • GitLab header to be styled

Fixed

  • Confusing error on incorrect CLI args for the GitLab plugin

Breaking for users

Changed

  • The --plugin short option to -P
  • -p to be the short option for --path

Breaking for 3rd-party plugins

Changed

  • The exception that is caught when initializing a plugin from ArgumentError to Repofetch::PluginUsageError

0.4.2

01 Jan 20:57
v0.4.2
833b72e
Compare
Choose a tag to compare

Added

  • GitLab plugin
    • Enable by adding - repofetch/gitlab to your config file

Other

  • Publish gem with GitHub Actions

Breaking for 3rd-party plugins

Changed

  • Configuration to be a class variable on Repofetch instead of a value that's
    passed to various instantiation and rendering methods
  • Stats to automatically receive theme from the base Plugin class

0.4.1

15 Dec 22:38
v0.4.1
aa4a34f
Compare
Choose a tag to compare

Fixed

  • Repofetch failing when a git repository was not found even though a plugin was
    selected from the command-line (#227) (#225)

Other

  • Fixed and improved generated documentation

Breaking for 3rd-party plugins

Changed

  • Configuration to be a class variable on Repofetch instead of a value that's
    passed to various instantiation and rendering methods

0.4.1-rc.2

06 Dec 20:34
v0.4.1-rc.2
e07eb6b
Compare
Choose a tag to compare
0.4.1-rc.2 Pre-release
Pre-release

Other

  • Fixed and improved generated documentation

Breaking for 3rd-party plugins

Changed

  • Configuration to be a class variable on Repofetch instead of a value that's
    passed to various instantiation and rendering methods

0.4.1-rc.1

06 Dec 20:28
v0.4.1-rc.1
015f6be
Compare
Choose a tag to compare
0.4.1-rc.1 Pre-release
Pre-release

Other

  • Fixed and improved generated documentation

Breaking for 3rd-party plugins

Changed

  • Configuration to be a class variable on Repofetch instead of a value that's
    passed to various instantiation and rendering methods

Plugin-based Stat Fetcher

03 Dec 22:51
v0.4.0
119376c
Compare
Choose a tag to compare

repofetch is now a manager for stat fetchers, where each stat fetcher
is a plugin. For example, GitHub stats now use the Repofetch::Github
plugin.

View CONTRIBUTING.md to learn how to make your own plugin!

Added

  • Plugin support
  • Support for dotenv files for setting secret environment variables
    (e.g. GITHUB_TOKEN)

Changed

  • The format of the configuration file
  • The default location of the configuration file

Removed

  • Some GitHub stats that quickly used up the unauthenticated rate limit
    (these will probably be moved to a plugin that requires a GitHub
    token)
  • Emoji controls and label renames from the configuration file