Unverified Commit ebb70d57 authored by chris48s's avatar chris48s Committed by GitHub
Browse files

gh-badges v2.2.0 (#3501)

parent 6fe566de
# Changelog
## 2.1.0
## 2.2.0
### Deprecations
- `labelColor` and `color` are now the recommended attribute names for label color and message color.
- `colorA` (now an alias for `labelColor`),
- `colorB` (now an alias for `color`) and
- `colorscheme` (now an alias for `color`)
are now deprecated and will be removed in some future release.
### New Features
- Semantic color aliases. Add support for:
- ![success](https://img.shields.io/badge/success-success.svg)
- ![important](https://img.shields.io/badge/important-important.svg)
- ![critical](https://img.shields.io/badge/critical-critical.svg)
- ![informational](https://img.shields.io/badge/informational-informational.svg)
- ![inactive](https://img.shields.io/badge/inactive-inactive.svg)
- Add directory field to package.json (to help tools find this package in the repo)
### Bug Fixes
- Prevent bad letter spacing when whitespace surrounds badge text
### Dependencies
- Bump anafanafo
- Use caret instead of tilde for dependencies
### Internals
- Generate JSON badges without using a template
- Refactoring
- Testing improvements
### Node support
- Declare support for all currently maintained Node versions
- Explicitly test on all supported versions
## 2.1.0 - 2018-11-18
gh-badges v2.1.0 implements a new text width measurer which uses a lookup table, removing the dependency
on PDFKit. It is no longer necessary to provide a local copy of Verdana for accurate text width computation.
......
{
"name": "gh-badges",
"version": "2.1.0",
"version": "2.2.0",
"description": "Shields.io badge library",
"keywords": [
"GitHub",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment