Fixed: update mime version
Fixed: tilde operator for dependencies to allow for newer patch version
Fixed: updated mime and xxhashjs versions
Fixed: postcss peerDependency version 8.1.2 -> 8.0.0
Fixed: Replaced mkdirp with make-dir (PR#152)
Fixed: updated dev dependencies, resolved npm audit
issues
Added: support for PostCSS 8 (PR#148) Fixed: path resolution when to/from paths match (PR#136)
Fixed: Async API Added: support for PostCSS 8
Changed: updated postcss 6.0.1 > 7.0.2, postcss-import 10.0.0 > 12.0.0, and required nodejs version (PR#126) Changed: updated mime package
Fixed: ignore urls which starts with ~
(PR#119)
Fixed: ignore urls which starts with //
(PR#117)
Added: hash option - append
(PR#114)
Fixed: dependency security (#108) (#109)
Added: assetsPath
option for rebase
Fixed: wrap url by quotes for inlined svg (#78)
Fixed: force wrap url by quotes for optimizeSvgEncode
(#105)
Added: optimizeSvgEncode
option for inlined svg (#103)
Added: rebase
as fallback in copy (#104)
Added: PostCss 6 support
Added: multi
property for custom
Added: option to include fragment identifiers on inline data URIs
Added: support ignoring SVG fragment inlining warning
Changed: filter functions access to asset object Added: support crypto hash function methods Added: support for postcss's dependency messaging
Fixed: prepare asset without file path in decl (#94)
Fixed: hash url error (#89)
Fixed: match options before analyzing (pull-88)
- Fixed: bug with empty options (#87)
- Changed: es5 -> es6
- Added: multiple options for postcss-url as array
- Added: multiple
basePath
as array - Added: copy accept
basePath
param - Changed: hash function to xxhash
- Changed: arguments in custom url callback
- Changed: no processing callback in inline without
maxSize
- Changed:
filter
matches by asset path, relative to project (process.cwd) - Changed: copy can work without postcss
to
option, but requiredassetPath
- Fixed: node 6 compatibility (#68)
- Fixed: typo in an error message (#62)
- Added:
filter
option (#61)
- Fixed: now rebase url in old Internet Explorer filter
progid:DXImageTransform.Microsoft.AlphaImageLoader()
(#55)
- Fixed: windows compatibility (#52)
- 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