Skip to content

Commit 43994c3

Browse files
author
rofrischmann
committed
2.0.1 release
1 parent 1270092 commit 43994c3

12 files changed

+144
-196
lines changed

Changelog.md

+23-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# Changelog
22

33
## 2.0
4-
### 2.0.0 (02.07.16)
4+
### 2.0.1
5+
* fixed a bug that removed array values ( [#89](https://github.com/rofrischmann/inline-style-prefixer/issues/89) )
6+
* added array prefixing to the dynamic version
7+
* improved prefixing performance
8+
9+
10+
### 2.0.0
511
##### API Changes
612
* merged [inline-style-prefix-all](https://github.com/rofrischmann/inline-style-prefix-all) as `inline-style-prefixer/static`
713

@@ -17,55 +23,55 @@
1723

1824

1925
## 1.0
20-
### 1.0.4 (16.05.16)
26+
### 1.0.4
2127
* updated inline-style-prefix-all dependency to correct fallback value order
2228

23-
### 1.0.3 (24.03.16)
29+
### 1.0.3
2430
* replaced `Set` with ES5 alternative
2531

26-
### 1.0.2 (07.03.16)
32+
### 1.0.2
2733
* 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) )
2834

29-
### 1.0.1 (01.03.16)
35+
### 1.0.1
3036
* added `undefined` check for `userAgent` to prevent bowser errors
3137

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

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

43-
### 0.6.6 (19.01.16)
49+
### 0.6.6
4450
* Prevent crashes if a value is `false` or `undefined`
4551

46-
### 0.6.5 (18.01.16)
52+
### 0.6.5
4753
* Plugins won't crash if a `number` value is passed
4854
* Added default `options`
4955

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

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

61-
### 0.6.2 (03.01.16)
67+
### 0.6.2
6268
* fixed dist files to register globally
6369

64-
### 0.6.1 (03.01.16)
70+
### 0.6.1
6571
* replaced multi-options with an object hash
6672
* renamed `keepDefaults` to `keepUnprefixed`
6773

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

7682
## 0.5
77-
## 0.5.4 (03.12.15)
83+
## 0.5.4
7884
* fixed a typo in `animationIterationCount`
7985

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

84-
## 0.5.2 (24.11.15)
90+
## 0.5.2
8591
* Added Changelog
8692
* Android detection for older Versions (< 5)
8793
* added `flexWrap` to the properties list

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
# <img src="docs/res/logo.png" width=400></div>
1+
# inline-style-prefixer
2+
3+
**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/).
4+
<br>
5+
6+
Alternatively it ships a static version that adds all available vendor prefixes.
27

38
[![Build Status](https://travis-ci.org/rofrischmann/inline-style-prefixer.svg)](https://travis-ci.org/rofrischmann/inline-style-prefixer)
49
[![Test Coverage](https://codeclimate.com/github/rofrischmann/inline-style-prefixer/badges/coverage.svg)](https://codeclimate.com/github/rofrischmann/inline-style-prefixer/coverage)
5-
[![npm version](https://badge.fury.io/js/inline-style-prefixer.svg)](http://badge.fury.io/js/inline-style-prefixer)
610
[![npm downloads](https://img.shields.io/npm/dm/inline-style-prefixer.svg)](https://img.shields.io/npm/dm/inline-style-prefixer.svg)
711
![Dependencies](https://david-dm.org/rofrischmann/inline-style-prefixer.svg)
8-
![Gzipped Size](https://img.shields.io/badge/gzipped-8.6kb-brightgreen.svg)
9-
10-
**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>
11-
Alternatively it ships a static version that adds all available vendor prefixes.
12+
![Gzipped Size](https://img.shields.io/badge/gzipped-8.50kb-brightgreen.svg)
1213

1314
## Installation
1415
```sh
@@ -72,7 +73,7 @@ const output = {
7273
```
7374
`inline-style-prefixer/static`
7475

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

7778
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).
7879
```javascript

dist/inline-style-prefix-all.js

+26-58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/inline-style-prefix-all.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)