Badge Matrix Versions Save

More advanced badges for projects using Travis or Sauce Labs

v7.5.0

4 years ago

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

6 years ago

Changes

  • Sped up calculation of gzip sizes in some cases. (#17)

v7.3.6

6 years ago

Changes

  • Fixed handling of @scoped packages in the size endpoint. (#16, @simonepri)

v7.0.1

7 years ago

Changed

  • npmcdn.comunpkg.com

v7.1.0

7 years ago

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.2.0

7 years ago

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.3.1

7 years ago

Added

  • README documentation for style parameter.

v7.3.0

7 years ago

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.0.0

7 years ago
  • 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

7 years ago
  • 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.