- All
proccess*
-methods are async now. node
updated to 12 version.vow
replaced with nativePromise
.inherit
replaced with native classes.
- Source map support
- Switch to
uglify-es
to support ES6 (@stochastical [#141]).
- Fixed path processing in Windows (@raulleo [#139]).
uglify-js
updated to2.8.29
coa
updated to1.0.3
minimatch
updated to3.0.4
vow
updated to0.4.16
- Freeze hash function was moved to separate package borschik-hash (@blond [#132]).
- Support for node 0.8.0 was dropped (@Yeti-or [#133]).
csso
updated to^3.0.0
.uglify-js
updated to2.8.14
.minimatch
updated to3.0.3
.vow
updated to0.4.15
.
- Fixed path processing in
css
tech (@blond #124).
uglify-js
updated to2.7.4
.minimatch
updated to3.0.3
.coa
updated to1.0.1
.inherit
updated to2.2.6
.vow-fs
updated to0.3.6
.
csso
updated to2.0.0
.
- Fix
enb-borschik
error processing #112 csso
update to 1.7.0 with a lot of fixes and speed improvements #116uglify-js
updated to 2.6.2 #113, #108, #106- UglifyJS has clear pretty error output. #114
Error: Unexpected token: name (foo) (line: 7437, col: 12, pos: 312592)
7435 | };
7436 | } else {
7437 | let foo = 'bar';
--------------------^
7438 | result = {
7439 | result: 0
csso
updated to 1.5.4
uglify-js
updated to 2.6.1csso
updated to 1.5.1
uglify-js
updated to 2.4.24csso
updated to 1.4.2
- You can now freeze
.woff2
,.js
,.css
and.cur
files. vow-fs
was updated to0.3.4
.
You can now freeze .eot
files.
You can now freeze .ico
files.
New features
- Add support for per directory freeze nesting level.
New features
- borschik now supports
techOptions
as object in API #72
// old API (also supported)
borschik.api({
techOptions: '{ "uglify": { "warnings": true } }'
});
// new API
borschik.api({
techOptions: {
uglify: {
warnings: true
}
}
});
New features
- borschik now supports input as string #69. Use
inputString
andbasePath
options in API
borschik.api({
basePath: '.',
inputString: 'var a = 1;',
tech: 'js'
}).then(function(result) {
}, function(error) {
});
Fixes
- Fix SVG filters inlining #64
- Add
encodeURI
inlining method #62
- Improve compatibility with LESS #59
- UglifyJS options support in JS tech.
$ borschik --input=myfile.js --tech-options='{"uglify":{"output":{"max_line_len": 100},"warnings":true}}'
- Add support to use
borschik.link()
with node.js
- SemVer support
- Add wildcard support for freeze_path. This feature break compatibility:
- path to freeze relative to config now (like
paths
orfollow_symlinks
) - path must be valid wildcard (paths like
./i/
must be replaced with./i/**
)
- path to freeze relative to config now (like
- Add support for freeze nesting path. This options improve server performance for projects with a lot of freeze files.
- Add support for custom tech options.
- New
borschik.include()
syntax for JS tech.
- borschik can inline .jpg files now.
- Update dependencies: csso@1.3.10, uglify-js@2.4.6, vow@0.3.12
- borschik can inline .ttf files now.
- Write bad result to output when minimize is failed
This version is partially incompatible with 0.3.x
- New plugin system. See doc for details
- Resource inlining support. See doc for details
- New js-include notations. See doc for details
- Use vow instead of q for promises
- Remove deprecated technologies:
css-fast
andjs-link
json-links
tech renamed tojson
- OmetaJS and CoffeeScript techs moved from main repo to plugins
- Fix some issues with freeze in html tech (#30, #39)
- Update UglifyJS to 2.4.0
- Fix regression after #7
- Fix follow_symlinks behaviour
- CSS tech now removes duplicates @import
- Update documentation for English and Russian
Update dependencies versions
- coa ~0.4.0
- inherit ~1.0.4
- q ~0.9.5
- ometajs ~3.2.4
- uglify-js ~2.3.6
- istanbul ~0.1.42
- mocha ~1.12.0
- UglifyJS updated to ~2.3
- CSSO updated to 1.3.7
- Fix problem with freeze and mkdir (veged#90)
- Merge
js
andjs-link
techs.js-link
is deprecated and will be deleted soon
- fix some Windows issues