Skip to content

Commit

Permalink
2.0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrischmann committed Jul 9, 2016
1 parent 1270092 commit 43994c3
Show file tree
Hide file tree
Showing 12 changed files with 144 additions and 196 deletions.
40 changes: 23 additions & 17 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Changelog

## 2.0
### 2.0.0 (02.07.16)
### 2.0.1
* fixed a bug that removed array values ( [#89](https://github.com/rofrischmann/inline-style-prefixer/issues/89) )
* added array prefixing to the dynamic version
* improved prefixing performance


### 2.0.0
##### API Changes
* merged [inline-style-prefix-all](https://github.com/rofrischmann/inline-style-prefix-all) as `inline-style-prefixer/static`

Expand All @@ -17,55 +23,55 @@


## 1.0
### 1.0.4 (16.05.16)
### 1.0.4
* updated inline-style-prefix-all dependency to correct fallback value order

### 1.0.3 (24.03.16)
### 1.0.3
* replaced `Set` with ES5 alternative

### 1.0.2 (07.03.16)
### 1.0.2
* fixed a bug that caused crashes if `display` got either `null` or `undefined` assigned ( [#71](https://github.com/rofrischmann/inline-style-prefixer/pull/71#issue-139056802) )

### 1.0.1 (01.03.16)
### 1.0.1
* added `undefined` check for `userAgent` to prevent bowser errors

### 1.0.0 (29.02.16)
### 1.0.0
* pulled a bugfix by Khan Academy that dash-cases fallback properties ( https://github.com/Khan/inline-style-prefixer/commit/f41f3040ac27eeec3b7a1fb7450ddce250cac4e4 )
* using [inline-style-prefix-all](https://github.com/rofrischmann/inline-style-prefix-all) for `prefixAll` now
* `display` does not get removed anymore ( #65 )
* not throwing anymore if unsupported `userAgent` is provided ( #62 )

## 0.6
### 0.6.7 (26.01.16)
### 0.6.7
* Fixed a bug that caused `transition` with `cubic-bezier` to resolve false
* Replaced `for of` in favor of a basic `for` loop to not require `Symbol` to be available

### 0.6.6 (19.01.16)
### 0.6.6
* Prevent crashes if a value is `false` or `undefined`

### 0.6.5 (18.01.16)
### 0.6.5
* Plugins won't crash if a `number` value is passed
* Added default `options`

### 0.6.4 (18.01.16)
### 0.6.4
* support for prefixed `transition` properties *e.g. `transition: '-webkit-filter 200ms linear'`*
* wider support for **gradients** on all properties
* `prefixAll` now prefixes all plugin values
* uses default `userAgent` if no userAgent, `undefined` or `false` is passed

### 0.6.3 (09.01.16)
### 0.6.3
* added support for Cordova apps & in-app browser *(especially on iOS 8.4.x)*
* fixed Android Chrome detection *(on Android 4.x)*
* added some [FAQ](docs/FAQ.md)'s

### 0.6.2 (03.01.16)
### 0.6.2
* fixed dist files to register globally

### 0.6.1 (03.01.16)
### 0.6.1
* replaced multi-options with an object hash
* renamed `keepDefaults` to `keepUnprefixed`

### 0.6.0 (03.01.16)
### 0.6.0
* fixed a bug that caused the `display:flex` plugin to prefix incorrectly
* added `forceRun`-option to plugins to support plugins when using `prefixAll`
* added `keepDefault`-option to keep defaults after prefixing
Expand All @@ -74,14 +80,14 @@
* several data updates

## 0.5
## 0.5.4 (03.12.15)
## 0.5.4
* fixed a typo in `animationIterationCount`

## 0.5.3 (28.11.15)
## 0.5.3
* Added 2D Transform to the searchMap so IE 9 prefixes `transform`, `transformOrigin`, `transformOriginX` and `transformOriginY`
* Removed unsupported browsers from browser detection to avoid false prefixes

## 0.5.2 (24.11.15)
## 0.5.2
* Added Changelog
* Android detection for older Versions (< 5)
* added `flexWrap` to the properties list
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# <img src="docs/res/logo.png" width=400></div>
# inline-style-prefixer

**inline-style-prefixer** adds required **vendor prefixes** to your style object. It only adds prefixes if they're actually required by evaluating the browser's `userAgent` against data from [caniuse.com](http://caniuse.com/).
<br>

Alternatively it ships a static version that adds all available vendor prefixes.

[![Build Status](https://travis-ci.org/rofrischmann/inline-style-prefixer.svg)](https://travis-ci.org/rofrischmann/inline-style-prefixer)
[![Test Coverage](https://codeclimate.com/github/rofrischmann/inline-style-prefixer/badges/coverage.svg)](https://codeclimate.com/github/rofrischmann/inline-style-prefixer/coverage)
[![npm version](https://badge.fury.io/js/inline-style-prefixer.svg)](http://badge.fury.io/js/inline-style-prefixer)
[![npm downloads](https://img.shields.io/npm/dm/inline-style-prefixer.svg)](https://img.shields.io/npm/dm/inline-style-prefixer.svg)
![Dependencies](https://david-dm.org/rofrischmann/inline-style-prefixer.svg)
![Gzipped Size](https://img.shields.io/badge/gzipped-8.6kb-brightgreen.svg)

**inline-style-prefixer** adds required **vendor prefixes** to your style object. It only adds prefixes if they're actually required by evaluating the browser's `userAgent` against data from [caniuse.com](http://caniuse.com/).<br>
Alternatively it ships a static version that adds all available vendor prefixes.
![Gzipped Size](https://img.shields.io/badge/gzipped-8.50kb-brightgreen.svg)

## Installation
```sh
Expand Down Expand Up @@ -72,7 +73,7 @@ const output = {
```
`inline-style-prefixer/static`

![Gzipped Size](https://img.shields.io/badge/gzipped-2.5kb-brightgreen.svg)
![Gzipped Size](https://img.shields.io/badge/gzipped-2.40kb-brightgreen.svg)

If you only want to use the static version, you can import it directly to reduce file size. It was once shipped as a several package [inline-style-prefix-all](https://github.com/rofrischmann/inline-style-prefix-all).
```javascript
Expand Down
84 changes: 26 additions & 58 deletions dist/inline-style-prefix-all.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/inline-style-prefix-all.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 43994c3

Please sign in to comment.