github postcss/postcss 5.1.0
5.1 “King and President Zagan”

latest releases: 8.4.38, 8.4.37, 8.4.36...
7 years ago

King and President Zagan seal

PostCSS 5.1 brings few improvements for source maps and JSDoc.

Source Map

@markfinger improved source map support for new cases. He added absolute URI support in from/to options and added new map.from options for better control.

Some plugin developers forget to set correct Node#source for nodes. @TrySound add some help for developers. Now PostCSS will set <no source> source for sourceless nodes.

@montmanu add function value support for map.prev option.

JSDoc

We moved all API docs close to source and now PostCSS has JSDoc comments for every public method and property.

I hope it will make plugin development easy: API docs become better and some IDE will show docs in autocomplete.

You can check latest API on api.postcss.org.

Other

  • Move tests from Mocha/Chai to AVA.
  • Add declaration value type check in shortcut creating (by @gucong3000).
  • Result#warn now returns new created warning.
  • Don’t call plugin creator in postcss.plugin call.
  • Add source maps to PostCSS ES5 build.
  • Clean npm package from unnecessary docs.

Don't miss a new postcss release

NewReleases is sending notifications on new releases.