Changelog¶
1.1.2 - Bugfix and new packaging¶
- Fix branch coverage rate comparison when used with --branch without actual branches. Fixes #23. PR #37 by marcegeek.
- Removed python 2.7, 3.5, 3.6 and 3.7 from CI. This version is the last where python versions < 3.8 are officially supported.
- Refactored project layout so that tests are not packaged in wheel.
condais not the backend virtual environment anymore. Fixes #35.
1.1.1 - Fixed support for latest Pillow and Python¶
- Fixed support for Python 3.12 by adding
setuptoolsrequirement explicitly. Fixed #32. - Fixed support for
Pillowversion 10 or greater. PR #33 by famura.
1.1.0 - Option to change or remove the badge name¶
- A new
-n/--namecommandline option can be used with all badge generation commands to override the badge label (left text). A--nonamecommandline flag can alternatively be used to remove the left part completely. PR #25 bynefrob.
1.0.6 - Bugfix¶
- Fixed the badge generator in "local" mode (badge created from local SVG template, not downloaded from shields.io). Fixes #19. PR #20 by
texnofobix.
1.0.5 - Bugfix¶
- Removed dependency to
xunitparserbecause its packaging relies onuse_2to3which is not supported anymore in setuptools. Fixes #18.
1.0.4 - Bugfix¶
genbadge coverage: fixedZeroDivisionErrorwhencoverage.xmlcontains 0 branches (in particular when--no-branchoption is set). Fixes #15
1.0.3 - technical release¶
setup.pyis now using the contents ofsetup.cfgfor download url and setuptools_scm. There is now a single configuration file. See setuptools_scm#582.
1.0.2 - technical release¶
- Fixed the release message.
1.0.1 - bugfix - defusedxml import¶
genbadge coveragecommand: fixedImporErrorwithdefusedxml. Fixed #14.
1.0.0 - security patch + simplified tests badge¶
-
The tests badge now simplifies when the success rate is 100%, which is the case in the vast majority of projects. Fixes #12
-
Now using
defusedxmlto fix a known vulnerability. Fixes #11
0.8.0 - New features¶
- Added
flake8command. Fixes #3. - Added a "silent" flag
-s. Fixes #10 - Added a verbosity flag
-v. Fixes #1 - Python 3.9 is now officially supported. Fixes #9
0.7.1 - Bugfix¶
- Fixed bug with writing to stdout. Fixed #8.
0.7.0 - Badges can be written to stdout¶
- Completed CLI help for subcommands. Fixes #5
- Badges can now be redirected to
stdoutusinggenbadge <cmd> -o -. Fixes #4
0.6.0 - Added coverage command¶
- New command
genbadge coverageable to generate a badge from acoverage.xmlcoverage report
0.5.0 - First public version¶
- Command group
genbadgewith global help -
Command
genbadge testsable to generate a badge from ajunit.xmltests report, with :- color depending on success percentage (50%/75%/90%)
- customization of input
junit.xmlfile and output SVG badge file, - custom source (
shields.ioby default or local SVG file template for offline usage). - "fail on threshold" option to return an error code 1 when the success percentage is strictly lower than the threshold.