Project

General

Profile

Download (6.69 KB) Statistics
| Branch: | Revision:

git_sitools_idoc / flarecast / cots / audit / jslint4java / NEWS.markdown @ master

1
Revision history for jslint4java
2
================================
3

    
4
2.0.3 (2012-12-04)
5
------------------
6

    
7
 * Update to JSLint 2012-12-04.
8
   - This removes the `cap` option.
9
   - This removes the `widget` option.
10
   - This adds the `stupid` option (sigh).
11
   - This adds the `todo` option.
12
 * issue 81: Does not work with jslint.js >= 2012-05-09
13

    
14
2.0.2 (2012-01-05)
15
------------------
16

    
17
 * Update to JSLint 2012-02-03.
18
   - This removes the `adsafe`, `confusion` and `safe` options.
19
   - This adds the `anon` option.
20
 * issue 78: report unused variables.
21
   - This adds a `warnings` option, as it's not _strictly_ an error
22
     reported by JSLint.
23

    
24
2.0.1 (2011-10-19)
25
------------------
26

    
27
 * issue 62: Set default indent correctly.
28
 * issue 64: Make the maven plugin work with older maven versions.
29
 * issue 65: Don't blow up when the maven plugin writes a report.
30
 * Update to JSLint 2011-10-17.
31

    
32
2.0.0 (2011-06-12)
33
------------------
34

    
35
 * Add a maven plugin.
36
 * Update to JSLint 2011-07-11.
37
   - The nature of the boolean options has been inverted--beware!
38
     - `bitwise` now enables the use of bitwise operators.
39
     - `newcap` now means “ignore capitalisation of constructors”
40
     - `plusplus` now means “incr” and “decr” operators are tolerated.
41
     - `regexp` now means allow the use of “.” in regexes.
42
     - `undef` now means you can declare variables out of order.
43
     - `white` now means acceptance of non-compliant whitespace.
44
   - New options:
45
     - `sloppy`, which is the inverse of `strict`.
46
     - `confusion`, allows inconsistent types.
47
     - `vars`, to tolerate multiple `var` declarations per function (replaces `onevar`).
48
     - `eqeq`, to tolerate "==" and "!=".
49
     - `node`, to predefine node.js globals.
50
     - `properties`, to require declaration of all properties.
51
     - `unparam`, to allow unused parameters.
52
  - Removed options:
53
     - `onevar`
54
     - `strict`
55
 * The goodParts() api has been removed (it's the default now).
56
 * issue 57: cope with a BOM in files.
57

    
58
1.4.7 (2011-03-08)
59
------------------
60

    
61
 * Add OSGI bundle headers.
62
 * issue 52: Add checkstyle xml formatter.
63
 * issue 53: No files passed to the ant task is no longer an error (just an info message).
64
 * Update to JSLint 2011-03-07.
65
   * This adds the `continue` option, whilst removing `eqeqeq`, `immed` and `laxbreak` options.
66
   * JSLints interpretation of line and column numbers has changed.  I've tried to keep up.  Please [file a bug](http://code.google.com/p/jslint4java/issues) if errors aren't reported at the expected place.
67

    
68
1.4.6 (2011-01-02)
69
------------------
70

    
71
 * Update to JSLint 2010-12-23.
72
   * This outlaws a top-level "use strict"—stick it in a function instead.
73

    
74
1.4.5 (2011-01-02)
75
------------------
76

    
77
 * issue 47: Make thread safe.
78
 * issue 46: Clean API for JSLintBuilder.fromDefault().
79
 * issue 48: Kill JSLintBuilder.create()
80

    
81
1.4.4 (2010-11-08)
82
------------------
83

    
84
 * issue 45: Add support for “maxlen” option.  Thanks to pigulla for spotting.
85
 * Update dependencies:
86
   * rhino 1.7R2
87
   * JCommander 1.11
88

    
89
1.4.3 (2010-10-28)
90
------------------
91

    
92
 * issue 43: allow access to reports form the command line.
93
   * Thanks to rharding and stigkj for their assistance.
94
 * issue 44: stop IllegalAccessException warning from being emitted.
95
 * Update to JSLint 2010-10-26.
96

    
97
1.4.2 (2010-09-13)
98
------------------
99

    
100
 * issue 42: numeric keys throw exception.
101
 * Update JSLint to 2010-09-09.
102
 * Update to JCommander 1.7.
103
   * **[INCOMPATIBILITY]** This version is able to work with Java 5, so that is now the minimum version again.
104

    
105
1.4.1 (2010-08-05)
106
------------------
107

    
108
 * issue 40: StringIndexOutOfBoundsException on XmlResultFormatter.
109

    
110
1.4 (2010-07-27)
111
----------------
112

    
113
 * issue 35: Removed embedded JUnit.
114
 * issue 30: Add a "report" formatter to the ant task.
115
   * Also available on the command line with `--report`
116
 * issue 37: add a `--encoding` flag for specifying the encoding files on the command line.
117
 * issue 36: add a JUnit XML formatter.
118
 * issue 26: add support for `.data()` call in JSLINT.
119
   * This is only available in the Java API right now.
120
 * issue 39: add failureproperty to the ant task.
121
 * Use JCommander for flag processing.
122
   * **[INCOMPATIBILITY]** This means that command line option parsing has changed slightly.  You now have to say `--indent 2` instead of `--indent=2`.
123
   * **[INCOMPATIBILITY]** The minimum version of Java is now 6.
124
 * Update to JSLint 2010-07-14.
125
   * Adds options: es5, windows.
126
   * Removes options: sidebar.
127

    
128
1.3.3 (2009-12-02)
129
------------------
130

    
131
 * issue 8: add support for predef option.
132
 * Update to JSLint 2009-11-22
133
   * Adds "devel" option.
134

    
135
1.3.2 (2009-11-12)
136
------------------
137

    
138
 * issue 18: add support for external jslint.js.
139
 * issue 29: pretty up the docs some.
140
 * issue 32: clear up some non-partable tests.
141
 * Update to JSLint 2009-10-04.
142
   * Adds maxerr option.
143

    
144
1.3.1 (2009-07-30)
145
------------------
146

    
147
 * issue 21: Emit full filename in ant errors.
148
 * issue 22: Correct line & column numbers to be 1-based.
149
 * issue 23: State total error count in build failure message.
150
 * issue 24: make output more like javac for easier NetBeans parsing. (thanks, Ari Shamash!)
151
 * Update to JSLint 2009-07-25.
152

    
153
1.3 (2009-07-23)
154
----------------
155

    
156
 * **[INCOMPATIBILITY]** Rename package from net.happygiraffe.jslint to com.googlecode.jslint4java.  This means that the antlib url is now `antlib:com.googlecode.jslint4java`.
157
 * Add support for the indent option.
158
 * Switch build to maven.
159
 * Update to JSLint 2009-07-08.
160

    
161
1.2.1 (2008-09-07)
162
------------------
163

    
164
 * Recompile with Java 5.
165

    
166
1.2 (2008-09-07)
167
----------------
168

    
169
 * **[INCOMPATIBILITY]** Rewrite the ant task so that it always uses filesets.
170
 * **[INCOMPATIBILITY]** Rewrite the ant task so that it always uses filesets.
171
 * **[INCOMPATIBILITY]** Move antlib to be antlib:net.happygiraffe.jslint.
172
 * Update to JSLint 2008-09-04.
173
 * Add a `report()` call to get at `JSLINT.report()`.
174
 * Add in a formatter subelement to the jslint ant task.  Output can now be in either XML or plain text and may be written to a file.
175
 * **[INCOMPATIBILITY]** Default to failing the build if all files do not pass JSLint.  Add a haltonfailure attribute to disable this.
176

    
177
1.1 (2007-07-30)
178
----------------
179

    
180
 * Update to JSLint 2007-07-29.
181
 * Fixed Issue 1, a NullPointerException when encountering a fatal error.  Many thanks to Rod McChesney for pointing this out.
182
 * Added an Ant task to run JSLint as part of the build.  See the javadoc for details.
183
 * Added a Ruby script to automatically extract options & descriptions from JSLint.
184
 * All option descriptions now start with upper case.
185
 * Added a proper distribution (& src dist) to the build script.
186
 * Added a `resetOptions()` call to JSLint.
187
 * Switch to a more normal Rhino function call in JSLint.lint().
188

    
189
1.0 (2007-07-16)
190
----------------
191

    
192
 * original version