Skip to content

Releases: postcss/autoprefixer

1.0 “Plus ultra”

22 Dec 01:59
@ai ai
1.0
Compare
Choose a tag to compare

Notable Changes

  • Source map support. Autoprefixer now generates source map or modify previous source map (for example, from Sass).
  • Preserves code indentations. New parser now saves all spaces from input CSS, so output prefixed CSS will be with same code style. It makes Autoprefixer much better for text editors plugin and prevents Autoprefixer to uncompress CSS from Sass.
  • CSS parser was changed to PostCSS. It allows to add prefixes inside some new or custom at-rules and fix issue with comment in property name. Also it clean Autoprefixer code by moving some common CSS processor code to PostCSS.
  • Better vendor hacks detection. Autoprefixer will preserve outdated prefixed property if you it put right after unprefixed ones. Also fixed bug with same properties in one rule.
  • License was changed to MIT. New license is more free and allow to remove long LGPL preamble from each file.
  • Long browser names. Autoprefixer now understands firefox, explorer and blackberry browser aliases and ignore case in browser names. So you can set supported browsers like Firefox >= 22. Also you can select last n versions of some specified browser by last 2 Chrome versions requirement.

API Changes

  • Method compile() was renamed to process() and now return Result object with css and map properties. Instead of input file in file option, you should set input and output file names to from and to options to generate correct source map. Old compile() API show deprecated warning and will be removed in next 1.1 release.
  • Method inspect() was renamed to info() to fix name conflict with Console API.
  • There is no autoprefixer.rework method anymore. Just use autoprefixer.process(css).css after your Rework transformations.

Binary

  • Binary now will not concat output files. Concat requires extra code to support source map. Use special tools like grunt-concat-sourcemap.
  • New -d option to set output directory for multiple input files.
  • Syntax error now displays input file name.

Fixes

  • Add prefixes inside custom at-rules.
  • Add only necessary prefixes to selector inside prefixed at-rule.
  • Safer backgrounds list parser from PostCSS in gradient hack.
  • Prefix @keyframes inside @media.
  • Don’t prefix values for CSS3 PIE properties.
  • Use browserify to build standalone version.

0.8 “Unbowed, Unbent, Unbroken”

02 Sep 19:51
@ai ai
0.8
Compare
Choose a tag to compare

- Add more browsers to defaults (`> 1%, last 2 versions, ff 17, opera 12.1` instead of just `last 2 browsers`). - Keep vendor prefixes without unprefixed version (like vendor-specific hacks). - Convert gradients to old WebKit syntax (actual for Android 2.3). - Better support for several syntaxes with one prefix (like Flexbox and gradients in WebKit). - Add intrinsic and extrinsic sizing values support. - Remove never existed prefixes from common mistakes (like -ms-transition). - Add Opera 17 data. - Fix selector prefixes order. - Fix browser versions order in inspect.

0.7 “We Do Not Sow”

05 Aug 13:01
@ai ai
0.7
Compare
Choose a tag to compare

- Add vendor prefixes to selectors. - Add `::selection` and `::placeholder` selectors support. - Allow to load support data from Can I Use pull requests. - Remove deprecated API.

0.6 “As High As Honor”

16 Jul 13:52
@ai ai
0.6
Compare
Choose a tag to compare

- New faster API, which cache preprocessed data. Old API is deprecated. - A lot of perfomance improvements. - Add Opera 15 `-webkit-` prefix support. - Update Chrome 29 and Safari 7 prefixes data. - Add minor browsers in popularity select. - Better syntax error messages.

0.5 “Ours is the Fury”

19 Dec 23:15
@ai ai
0.5
Compare
Choose a tag to compare

- Rewrite Autoprefixer to be more flexible. - Use `css`, instead of Rework, to fix CSS parsing errors faster. - Fix a lot of CSS parsing errors.

0.4 “Winter Is Coming”

19 Dec 23:17
@ai ai
0.4
Compare
Choose a tag to compare

- Remove outdated prefixes. - Add `border-radius` and `box-shadow` properties to database. - Change degrees in webkit gradients.

0.3 “Growing Strong”

19 Dec 23:18
@ai ai
0.3
Compare
Choose a tag to compare

- Rename `autoprefixer.filter()` to `autoprefixer.rework()`. - Use own filters instead of Rework’s `prefix` and `prefixValue`. - Smarter value prefixer without false match “order” in “border”. - 40% faster. - Don’t add unnecessary properties instead of Rework’s `prefixValue`. - Don’t change properties order. - Sort properties and values in inspect output. - Add main to component config (by @jonathanong). - Fix documentation (by @putnik and @mvasilkov).

0.2 “Hear Me Roar!”

19 Dec 23:20
@ai ai
0.2
Compare
Choose a tag to compare

- Update parse libraries. - Use [Component](https://github.com/component/component) package manager to build standalone script. - Add inspect to standalone script.

0.1 “Fire and Blood”

19 Dec 23:21
@ai ai
0.1
Compare
Choose a tag to compare

* Initial release.