Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Latest commit

 

History

History
219 lines (127 loc) · 6.73 KB

CHANGELOG.md

File metadata and controls

219 lines (127 loc) · 6.73 KB

Change log

6.0.0

Breaking

  • Updates to PostCSS 8 (#86, #87)
  • Drops nodejs <10 support.

Under the hook

  • Minor documentation tweaks (#78, #84)

5.0.0

Breaking

  • Updates to PostCSS 6 (#70, #71, #72).
  • Drops nodejs 0.12 support.

4.2.0

Features:

  • Add cache option to cache resolved dimensions (#73).

4.1.0

Features:

  • relative option supports what relativeTo option did in 3.x: if a string is passed, paths are generated relatively to a path in that string. A behavior of relating to input files by passing true is kept untouched.

Under the hood:

4.0.1

Bugfixes

  • Works fine with no options provided (#45).

4.0.0

Breaking

  • Removes relativeTo option, introduces relative one.

    There is no need to specify a particular file to relate to anymore - set relative to true and Assets would resolve URLs relatively to the current CSS file.

    This solves the issue when you have stylesheets in different folders and want relative paths — previously there was an option to relate only to a single directory.

    (#42)

Features

  • Load paths now accept globs:

    var options = { loadPaths: ["images", "assets/**/img"] };

    (#40)

  • Load paths now also accept single strings:

    var options = { loadPaths: "assets/**/img" };

Bugfixes

  • Really fixes the SVG rendering on Internet Explorer.
  • SCSS flags are preserved (#43).
  • No more funky file names in the repo to make Windows archiver happy (#35).
  • Allows numbers to be returned from the cachebuster function.

Under the hood

  • Coverage hits 100%.
  • Automated tests against the latest stable nodejs, v0.12 and v4.
  • Builds are automatically tested on Windows by AppVeyor.
  • Switches tests from Mocha to AVA.
  • Uses Calipers for image measurement instead of image-size.
  • Replaces custom function mapper with postcss-functions.
  • Extracts assets processing logic to the Assets module.
  • Cleans up dependencies.

3.0.3

Bugfixes

  • no longer uses private image-size fork, so properly installs on Windows (#30, #32);
  • properly calculates dimensions of SVGs with percentage values of width/height attributes (#33).

3.0.2

Bugfixes

  • IE understands generated SVG (#24).

3.0.1

Bugfixes

  • Preserves Microsoft filters (#27).

Under the hood

  • Uses ESLint instead of JSHint/JSCS.

3.0.0

API updates

  • better PostCSS 5.0 API conformance (#25).

2.1.4

Since private image-size fork was removed, releases 2.1.0—3.0.2 has stopped working. While 3.0.3 release fixes this for the 3.0.x versions, this release is fixing the same for the 2.1.x.

Bugfixes

  • no longer uses private image-size fork (#37)

2.1.3

Bugfixes

  • better PostCSS plugin API conformance (#21). This allows plugin to be used with Webpack.

2.1.2

Under the hood

  • PostCSS Plugin Guidelines conformance (#20);
  • continious integration tests on both Node.js and io.js;
  • shows coverage statistics on the repository page.

2.1.1

Bugfixes

  • fix path separator handling on Windows (#19).

Under the hood

  • covers 99% of the code;
  • explains code with comments.

2.1.0

API updates

  • extends cachebuster to support modifying the filename (#17, docs).

Bugfixes

Under the hood

  • uses Gulp for development routines;
  • validates code style with JSHint and JSCS.

2.0.0

API updates

  • Renames url() function to resolve() #13
  • Resolves assets relative to the source file #7
  • Starts throwing errors instead of warnings #8
  • Fixes a bug when complex URL declarations were crashing Gonzales #15

Under the hood

  • Tests with Mocha/Chai instead of Tape #12
  • Updates dependencies upto the latest versions

1.1.4

Allows to use common PostCSS plugin API (#6) Fixes quotes when inlining SVG (#14)

1.1.3

Base64-encodes with Buffer.

1.1.2

Cachebuster recognizes resolved paths.

1.1.1

Uses PostCSS 4.0.

1.1.0

Introduces cachebuster.

1.0.0

0.9.1

Inlines SVG as UTF-8, not Base64.

0.9.0

Hello, world.