- Travis: update node version to 10
- bump lodash
- Maintenance owner moved from nodeca to js-kyle
- Maintenance release.
- Deps bump.
- Travis: update minimal node version to 8.
- Added maintenance warning to readme.
- Maintenance release.
- Drop node v4 support (test v6 & latest).
- Deps: Bump lodash 3 -> 4.
- DevDeps: freeze versions of CSSWring & uglify-js.
- Added PUG engine support, thanks to @scottty881.
- Fixed CSSO 2.+ support, #229.
- Added option
noSourceMapProtection
to skip insert XSSI protection sequence into generated sourcemaps.
- Fixed sourcemaps for autoprefixer/csswring (when both enabled), #214. Thanks to @jeroenvisser101.
- Internal API update (caused by autoprefixer API change):
autoprefixer-core
->autoprefixer
- Dropped of old
autoprefixer
&csswring
versions. Update those modules, if used.
- Fixed source maps
sourcesContent
field for Less 2.x engine. - Added stylus sourcemaps support.
fs-tools
->mkdirp
.
- (!) Added
node-sass
sourcemaps support, thanks to @inukshuk. - Added support for
node-sass
helpers, errors and confuguration. Thanks to @inukshuk & @rhyzx.
- Updated API compatibility for postcss-related modules (autoprefixer, csswring).
Now you have to add
postcss
dependency to make those work right. Thanks to @netsgnut. - Version bump to notify users about possible
postcss
dependency.
- SASS engine: pass file name, thanks to @cgc.
- LESS engine: improved deps (imports) tracking for 2.0+, thanks to @alexanderweiss.
- EJS 2.0+ support, thanks to @jeremyruppel.
- Added node-sass 2.0 support, thanks to @gabooh.
- Fixed examples compatibility with LESS 2.x (#182, thanks to @tikotzky)
- Loger improvements (#176, thanks to @jisaacks)
- added
.level()
method - methods are now chainable
- tests
- added
- Fixed iteration over bower main files (#166, thanks to @mileszim)
- Fixed SASS indented style support (#184, thanks to @rodrigoscna)
- Bumped
mimoza
dependency & updated api calls appropriately.
- Added LESS 2.0 support, thanks to @tikotzky.
- Better csswring options - don't break IE hacks, clear all comments, #171, thanks to @tortuetorche.
- Internal API updates. Need more fresh dependencies in your projects:
autoprefixer
->autoprefixer-core
csswring
v1 -> v2
- Don't search bower's deprecated
component.json
anymore. - Fixed broken line maping in
safety_colons
processor, when content starts with empty string (affected coffescripts, started with block comment).
- Fixed
stub
directive (#144).
- Fixed generated sourcemaps to work in Firefox, #151.
- Bumped
hike
dependency (should work faster now)
- Fixed jade
include
support.
- (!) Added macros support. No more need to use ejs for embedding inline variables.
- Fixed bower packages loading. Always load first file, if array specified (#147).
- Maintenance release (updated pako dependency).
- Improved reporting on SASS errors.
- Allow pass plain objects as helpers.
- Bugfixes for mode without source maps.
- NEW. Finally, added sourcemaps support.
- Removed
/?body=1
- not needed anymore, after sourcemaps added. - Removed
Asset.writeTo()
method. Manifest.compile()
are now sync and throw exception on error.- Removed non mainstream engines: eco, coco, haml-coffee, livescript.
- Wiki tutorial, how to create addons with new engines support.
- Reworked example.
- Don't strip mincer directives from generated files
- added
csswring
compressor, as alternative tocsso
- less features, but or with sourcemaps support. - Added support for coffee-script block comments
- Fix root path comparison, #124
- Improved
bower.json
support, #134 - Logger now prefer to use
originalUrl
if exists - Removed patches of old LESS support. Just upgrate LESS too.
- Added compatibility with Jade 1.0.0+ API.
- Added compatibility with AutoPrefixer 1.0.0+ API.
- Removed
deflate
support as useless & not safe (see #118 for details). - Simplified server logic.
- Examples/readme fixes.
- Fixed custom processor declaration (@kramerc).
- Allow configure options of UglifyJS.
- Rolled back uglifier defaults, since last update caused Safari bugs. See mishoo/UglifyJS#326 . If you have speed issues - make sure, that input javascripts are not minified.
- Added LiveScript support (@tomchentw)
- Disable
compress
option forUglifyJS
by default. (!!!) That DOES NOT disable minification, just some options. Usingcompress
gives just 1% gain on gzipped result, but can cause huge performance loss if mincer receives already minified file on input.
- Fixed regression caused ignore of js/css compressions.
- Allow use all JST engines as in-middle pipeline processors. That allows to
have
*.jst.hbs.jade
that will generate Handlebars JST from HTML generated with Jade.
- Significantly boosted cache speed
- Fix SASS engine, to follow new SASS api. SASS 0.5.0+ required
- Fixed broken circular dependency protector
- Added
autoprefixer
support - Added simplified way to enable/disable processors
- Added location info for CoffeeScript compiler error (thanks to @grindars)
- Fixed
eco
engine - Fixed gzipped asets generation
- Synced with
sprockets
2.10.0
- Fixed
less
helpers & addedless
tests (thanks to @btd)
- Fixed assets unserialisation from cache
- Added compilation cache. Usage:
env.cache = new Mincer.FileStore("/path/to/cache");
- Minor fixes
- API cleanup
- removed lazySources stuff, due bad implementation
- setting options in engines renamed to
configure
(unified name) - simplified engines init
- removed compile() method in favor of synchronous compilations
- Added
Template.lib
hash to override libriaries, used by default - Added
bower.json
support - Added embedded JS/CSS compressors (
csso
&uglify
) - Improved windows support ('' separators in paths)
- Added support for literate CoffeeScript
.litcoffee
. Closes #73. - Added
Coco
(Coffescript dialect) support, thanks to @utkarshkukreti - Added preliminary engines cache (currently for LESS only)
- Improved visual look for 404 and other errors (show text in reply body)
- Improved BSD compatibility, thanks to @utkarshkukreti
- Improved
node_sass
support. Closes #76, thanks to @joshuairl.
- Added ECO engine (thanks to @abravalheri).
- Allow use EJS as JST engine alongside as processor (thanks to @abravalheri).
- Improve Windows support (thanks to @abravalheri).
- Expose original HTTP request object inside Server log event.
- Provide filename for EJS engine (thanks to @CamShaft)
- Fix for LESS > v1.3.2 (improved paths calculation)
- Added SASS support (thanks to @moddular)
- Fixed Paths#clearPaths helper.
- Simplify
asset_path
(and dependent built-in) hepers registration.
- Fix extensionless assets path resolving
- Added bower component.json require support
- Provide stubbed implementation of context
-_path
helpers - Sync with Sprockets up to v2.6.0
- Improve and fix typos in usage examples. Closes #35.
- Improve work with extension-less requires.
- Sync with Sprockets up to v2.4.5
- Add JST support. Haml Coffee became JST backend. Closes #7.
- Add Jade JST backend.
- Fix directive processor to work on M$ Windows. Closes #30.
- Fix example server compression usage. Closes #32.
- Fix call-stack overflow on massive requires. Closes #31.
- Monitor stylus
@import
and auto-depend-on them. Closes #23. - Fix error reporting to show file that cause error. Closes 26.
- Forced UTF-8 charset for text assets, to avoid problems with JS loaders
- Allow request non-bundled assets (without dependencies). Closes #15.
- Fix problem with CoffeScript options got mangled by compiler. Closes #17.
- Add Haml Coffee Engine support. Related to #16.
- Use
process.hrtime()
for timer when available. - Allow using custom
Server
logging by providing#log()
method.
- Fix assets fresh/stale checks. Closes #13.
- Allow specify options of the CoffeeScript engine. Closes #11.
- Update Node API for 0.8 compatibility with shims for Node 0.6.
- Update dependencies to be node v0.8 compatible.
- Fix typo in Base#findAsset() fo Manifest.
- Fix Asset#digestPath getter. Now it does not drops
path
component. - Fix extension aliases registration. Now
app.css
will match:app.css
,app.styl
,app.less
,app.css.styl
, etc. - Improve js/css compressors, now these functions accept
context
along withdata
of asset. - Fixed RegExp generation for
Base#eachLogicalPath
calls.
- Do not compress small assets (less than 500KB). See #8.
- Fix DirectiveProcessor
require_self
and some other command handlersthis
scope. Fixes #9. - Drop support of
If-Modified-Since
header check - using only ETags. - Add Asset#isCompiled flag.
- Small fixes and code improvements.
- Fix
If-None-Match
header test (304 reply) - Add test of
If-Modified-Since
header for assets server - Added more headers to 304 reply
- Improved examples.
- Added
Environment#precompile()
for making sure assets are "fresh" and compiled without using Manifest - for development purposes. - Improved error reporting of jsCompressor/cssCompressor.
- Fix timer's output.
- Added CLI script
mincer
to build assets.
- First release.