Releases: exogen/badge-matrix
Releases · exogen/badge-matrix
v7.5.0
New Feature
- When using Travis-based badges, allow the server to configure the default Travis endpoint using the
TRAVIS_ENDPOINT
environment variables. Defaults to the .org
Travis API.
- Allow badges to force the
.com
or .org
Travis API by beginning their URLs with /travis.com
or /travis.org
instead of /travis
.
v7.4.0
Changes
- Sped up calculation of gzip sizes in some cases. (#17)
v7.3.6
Changes
- Fixed handling of
@scoped
packages in the size
endpoint. (#16, @simonepri)
v7.3.1
Added
- README documentation for
style
parameter.
v7.3.0
Added
- Support for
style
query parameter, which is passed through to Shields.io on endpoints that use it for rendering, and used by badge-matrix
when it renders a browser matrix badge. Supported values are flat
and flat-square
.
v7.2.0
Added
- Render logos for
iphone
and ipad
browsers instead of rendering the Safari logo and nothing, respectively. The names shown for these browsers have also been tweaked.
v7.1.0
Added
- Since Sauce Labs introduced rate limiting, we now authenticate with their API if the
SAUCE_USERNAME
and SAUCE_ACCESS_KEY
environment variables are set.
v7.0.0
- On account of the
pretty-bytes
dependency being bumped to 4.x, the size
endpoint now renders sizes slightly differently (toPrecision(3)
rather than toFixed(2)
).
v6.0.0
- Follow shields.io's lead and switch from
canvas
to pdfkit
for text measurements. This simplifies deployment, as the Cairo buildpack is no longer required for deploying to Heroku. It also fixes a regression where canvas
started returning incorrect measurements, resulting in broken-looking badges.