Skip to content

0.28.0

Choose a tag to compare

@searls searls released this 15 Mar 20:47
· 126 commits to master since this release

Warning: This release breaks backwards-compatibility for less users! If you use Lineman to compile less files, please read these notes.

We're currently working on slimming down the lineman npm package's dependencies to only what is really core to most web applications. This means that certain functionalities that have previously been built into every Lineman project will be extracted into Lineman plugins over the coming weeks. The first of these is lineman-less. Expect lineman-sass to come next. If you have feedback on this process, please feel free to pile-on in #193 or #201

Migrating your project to using lineman-less

If you use Less, please install lineman-less to continue compiling your less templates:

$ npm install --save-dev lineman-less

Note that going forward, Lineman will expect a single less file (by default, at app/css/main.less) to use the @import directive to require all other less files your project needs, whether they're located somewhere relative to app/css or vendor/css.

The reason for this particular change is that it's particularly bad form to naively concatenate a bunch of Less files and hope for the best. In fact, most people using Lineman and Less have been forced to override the (what could be fairly called "incorrect") default configuration for years now, and we think it's worth breaking backwards-compatibility to correct these defaults. If for some reason you need to rely on the old Less concatenation behavior, your options are to override the new defaults yourself or remain on a version of Lineman prior to 0.28.0 until you can override those defaults or migrate to the new non-concatenation style.