Changelog
2.11.0 (2020-01-13)
This release was previously published using the "release candidate" pattern. No regressions were reported in the four weeks that followed, so the change set is being promoted to a true "minor" release.
The release notes for version 2.11.0-rc1 completely describes the changes included in this version.
<a name="2.11.0-rc1"></a>
Changelog
2.11.0-rc1 (2019-12-11)
In addition to bug fixes and new features, this release candidate includes a few refactorings which are not expected to influence JSHint's behavior.
typeof
value experimentally (dcef79a)yield
(6fdb4f6)<a name="2.10.3"></a>
Changelog
2.10.3 (2019-11-04)
u
flag (5ac5c46)singleGroups
for async functions (c5dcd90)static
as class method name (9cb3b20)<a name="2.10.2"></a>
Changelog
2.10.2 (2019-03-13)
<a name="2.10.1"></a>
Changelog
2.10.0 (2019-02-05)
This release introduces support for the three most recent editions of
JavaScript: ES7, ES8, and ES9. Users can enable support for any one of these
via the esversion
linting option.
Perhaps most notably, this includes "async functions." Since their standardization in ES2017, no feature has been more requested. We're happy to add support for this powerful new language feature. If the delay is any indication, extending JSHint's parser was no small task, and we were able to make many seemingly-unrelated corrections along the way.
That progress is easiest to see in JSHint's performance on Test262 (the official test suite for the JavaScript programming language). Version 2.9.6 passed 84% of those tests. Version 2.10.0 passes 96%. We're excited to push that number higher, especially considering that new language features and new tests are being added every day. If you're curious about what needs to be done, we maintain an "expectations file" describing every test JSHint is known to fail today.
This release also includes brand-new parsing logic for classes. We thank Ethan Dorta and Alex Kritchevsky, the two first-time contributors who made this possible!
let
token (030d6b4)globals
config in JavaScript API (0278731)noreturnawait
(70ab03d)regexpu
option (962dced)leanswitch
(1f008f2)<a name="2.9.7"></a>
Changelog
2.9.6 (2018-07-30)
for
stmt (56a4379)switch
statements (aa2be10)spyOnProperty
(827237f), closes #3183super
usage to valid forms (8f3f880)void
operand (3f920b5)<a name="2.9.5"></a>
Changelog
2.9.5 (2017-06-22)
if
syntax (#3103) (8c6ac87)for-in/of
head LHS as asnmt target (da52ad9)<a name="2.9.4"></a>
Changelog
2.9.4 (2016-10-20)
yield
operand (#3011) (b646aea)null
value from errors
array (#3049) (f7eb3d7)<a name="2.9.3"></a>