- Fixed: copy/rename of hash and query string for filenames (#40)
- Fixed: fallback callback is working again (#33)
- Changed: Messages are now passed via postcss messages api (no more console.warn)
- Added: callbacks might have now postcss result object as last param. Handy to send some messages.
- Added: New
fallback
option to use if max size is exceeded or url contains a hash (#30)
- Added: New copy value for
url
option (#29)
- Changed: upgraded to postcss v4.1.x
- Fixed: whitespace before and after url() value are now supported and preserved (#27)
- Added: related postcss declaration object has been added as a 2nd parameter to the url callback for custom processing
- Fixed: url that are just hashes are ignored completely (#25)
- Fixed: url with hashes are ignored for inline mode only (#23)
- Added: compatibility with postcss v4.x
- Removed: compatibility with postcss v3.x
- Fixed: dependency issue related to "directory-encoder" (#22)
- Changed: SVGs are now in plain text (not base64 encoded) (3c04f7a, #18)
- Fixed: URLs with hashes (e.g. SVG fragments) are now ignored (c3a9abc, #20)
- Use Node's native buffer.toString("base64"). The js-base64 library was producing incorrect base64 for certain files (#17)
- Data URIs are ignored correctly (#15)
url
now accept a function to allow custom transformation of the url string- All absolute url protocols are now ignored (not just /https?/).
- Fix absolute urls being mangled (#13)
- Fix MaxSize issue (#9)
- Fix bug which leads to not correct base64 code
- Add
maxSize
(size in kbytes) andbasePath
(base path for images to inline) options for inline mode.
- Fix non-working base64 encoding
First release