This document chronicles quick-lint-js' releases. This document's format is based on Keep a Changelog.
quick-lint-js' version numbers are arbitrary. quick-lint-js does not adhere to Semantic Versioning.
Unreleased
Beta release.
Changed
- CLI: The
--stdinoption (and-) no longer search for configuration files in the current working directory. Use the--path-for-config-searchoption to approximate the old behavior.
Added
- Various new errors (implemented by Himanshu)
- CLI:
--path-for-config-searchallows customizing where configuration files are found for--stdin - Partially implemented: Global variables can be configured using a
quick-lint-js.configfile - Syntax and schema errors in
quick-lint-js.configno longer crash quick-lint-js. Instead, these errors are highlighted similar to errors in JavaScript files.
Fixed
for (const x of xs)no longer warns about a missing initializer forx(E205) (implemented by Himanshu)- Building quick-lint-js with AddressSanitizer on Fedora no longer fails in
collect-copyright - Building quick-lint-js no longer fails if a directory called
brewexists anywhere in$PATH
0.3.0 (2021-07-02)
Beta release.
Security
- Vim plugin: Version 0.2.0 executed
node_modules/.bin/quick-lint-jswithout validating that the program is really quick-lint-js. The plugin now conservatively ignoresquick-lint-jsinnode_modulesby default.
Added
- New JS syntax:
.?, class fields,import.meta, top-levelawait,#privateProperties - Translations: Swedish (implemented by Kim "Linden")
- Emacs plugin (implemented by wagner riffel)
- Neovim plugin
- Errors and warnings are now documented on the website
- Various new errors and error message improvements (implemented by AidenThing, Daniel La Rocque, Erlliam Mejia, Himanshu, Lee Wannacott, Matheus Sousa)
- Shell completion for the CLI (Bash, Fish, Zsh) (implemented by Shivam Mehta)
--stdinCLI option allows reading JavaScript from standard input instead of a file (implemented by wagner riffel)- Partially implemented: Global variables can be configured using a
quick-lint-js.configfile
Fixed
- Using browser variables such as
documentandwindowno longer reports undesired undeclared variable warnings withstatements andevalno longer cause spurious undeclared variable warnings (implemented by Himanshu)++a[0];no longer reports an assignment-to-const-variable error ifawas declared withconst(implemented by Himanshu)'undefined' === typeof foo ? 3 : 4no longer reports a warning thatfoois undeclared (implemented by Himanshu)- Building tests with GCC 11.1.1 no longer fails due to
-Werror - Various crashes given invalid JavaScript no longer happen
- Building the VS Code plugin now works on Windows (implemented by Jimmy Qiu)
0.2.0 (2021-04-05)
Beta release.