Releases: spenserblack/repofetch
Releases · spenserblack/repofetch
CLI Help Message Hotfix
Fixed
- Placement of
-v, --version
help in the help message
0.5.1
Added
-v
/--version
to print the version from the CLIRepofetch::VERSION
to get the version as a library
0.5.0
Added
Stat#format(theme)
to create styled statsStat#style_label
to style the label without mutating the originalStat
instancePlugin#matches_path?
andPlugin#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 parametersPlugin#matches_repo?
to returnfalse
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 moduleclean_s
to be calledremove_format_params
- Moved
default_remote
anddefault_remote_url
to be inRepofetch::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
Fixed
- Bitbucket Cloud not getting automatically detected when running
repofetch
in a
Bitbucket Cloud repository
0.4.3
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
toRepofetch::PluginUsageError
0.4.2
Added
- GitLab plugin
- Enable by adding
- repofetch/gitlab
to your config file
- Enable by adding
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
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
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
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
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