- fix Ruby 3.4 compatiblity, drop Ruby 2.3 and older support (#195)
- fix typos (#194)
- show code context for error messages (#167)
- defer initialisation of ExecJS context to fix #165
- update UglifyJS to 3.4.8
- update UglifyJS to 3.4.9
- update UglifyJS to 3.4.7
- update UglifyJS to 3.4.6
- update UglifyJS to 3.4.5
- update UglifyJS to 3.4.4
- update UglifyJS to 3.4.3
- update UglifyJS to 3.4.2
- update UglifyJS to 3.4.1
- update UglifyJS to 3.3.28
- update UglifyJS to 3.3.22
- update UglifyJS to 3.3.20
- update UglifyJS to 3.3.15
- update UglifyJS to 3.3.14
- update UglifyJS to 3.3.5
- update UglifyJS to 3.3.4
- update UglifyJS to 3.3.3
- update UglifyJS to 3.3.2
cascade
compress option is merged intocollapse_vars
- update UglifyJS to 3.2.2
- show harmony suggestion when using for-of loops
- update UglifyJS to 3.2.1
- update UglifyJS to 3.2.0
- remove Angular ngInject processing
- add unsafe_math compress option
- add reduce_funcs compress option
- add parse options
- add shebang output option
- add keep_infinity compress option
- add quote_style output option
- add side_effects compress option
- add switches compress option
- more helpful error Message in Harmony mode
Dropped options:
- output: angular
- mangle: except => reserved
- mangle_properties: ignore_quoted => keep_quoted
- enclose
- squeeze, copyright and screw_ie8 options
- experimental ES6/Harmony mode based on UglifyJS2 Harmony branch
- update UglifyJS to 2.8.22
- update UglifyJS to 2.8.21
- update UglifyJS to 2.8.20
- update UglifyJS to 2.8.17
- update UglifyJS to 2.8.16
- update UglifyJS to 2.8.14
- update UglifyJS to 2.8.13
- fix NoMethodError on
Uglifier.compile(source, source_map: false)
(#114) - update UglifyJS to 2.8.12
- update UglifyJS to 2.8.11
- update UglifyJS to 2.8.9
- Update UglifyJS to 2.8.7
- update UglifyJS to 2.8.5
- default passes to 1
- allow source_map option to be
true
instead of a hash
- fix
reduce_vars
compressor option - add
passes
compressor option - update UglifyJS to 2.8.4
- disable
reduce_vars
by default as it causes JS errors (#110)
- update UglifyJS to 2.8.0
- add reduce_vars compress option
- enable
reduce_vars
andcollapse_vars
compress options by default - unused top-level function and variable removal with
toplevel
compress option - add
top_retain
compress option to specify list of top-level variables to always retain - add
unsafe_comps
andunsafe_proto
options
- update UglifyJS to 2.7.5
- implement ignore_quoted and debug options for mangle_properties
- update UglifyJS to 2.7.4
- add wrap_iife output option to wrap IIFEs in parenthesis
- add top-level keep_fnames option that implies both compressor and mangler keep_fnames
- update UglifyJS to 2.7.3
- update UglifyJS to 2.7.0
- split JS dependencies to separate files
- drop support for Ruby 1.8
- remove json as dependency
- discard unused function arguments only in unsafe mode
- add
keep_fnames
option to preserve function names in compressed code - add
collapse_vars
option to collapse single-use variables - backwards incompatible changes to source map options
- support for inline base64 encoded source maps
- mangle property names option (disabled by default)
- update UglifyJS to 2.6.2
- update UglifyJS to 2.4.24
- fix compatibility with experimental Alaska ExecJS runtime
- copyright comment preservation also includes comments starting with a bang (!)
- update UglifyJS to 2.4.16
- allow metadata to be appended to minified code
- no changes
- update UglifyJS to 2.4.15
- update UglifyJS to 2.4.14
- update UglifyJS to 2.4.13
- process Angular @ngInject annotations
- add keep_fargs option
- change
ascii_only
default to true
- update UglifyJS to 2.4.8
- add drop_console compress option
- update UglifyJS to 2.4.7
- update UglifyJS to 2.4.6
- document missing mangler and output options
- update UglifyJS to 2.4.3
- use JSON gem instead of multi_json
- update UglifyJS to 2.4.1
- fix issues with some Unicode JS identifiers (#47, #58)
- fix IE8 compatibility
- update UglifyJS to 2.4.0
- add
negate_iife
compressor option - escape null characters as \x00, so that null followed by number isn't interpreted as octal (#47)
- update UglifyJS to 2.3.6
- fix JScript compatibility
- update UglifyJS to 2.3.4
- update to UglifyJS 2.3.0
- add enclose and screw_ie8 options
- fix compatibility with Sprockets 2.9.0
This release is backwards incompatible for JS compressor options.
- update UglifyJS to 2.2.5
- change compressor arguments to align with UglifyJS2
compile_with_map
: generate source maps for minified code