From 5031153ba2e0c08489e89ca5f794ddc2e7400ed6 Mon Sep 17 00:00:00 2001 From: Felicity Chapman Date: Mon, 18 Mar 2019 16:17:20 +0000 Subject: [PATCH 1/2] Update JavaScript extraction notes and supported versions --- change-notes/1.20/extractor-javascript.md | 24 ++++--------------- .../1.20/support/versions-compilers.csv | 2 +- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/change-notes/1.20/extractor-javascript.md b/change-notes/1.20/extractor-javascript.md index b233e167faf7..a0d59b9f747c 100644 --- a/change-notes/1.20/extractor-javascript.md +++ b/change-notes/1.20/extractor-javascript.md @@ -2,25 +2,11 @@ # Improvements to JavaScript analysis -> NOTES -> -> Please describe your changes in terms that are suitable for -> customers to read. These notes will have only minor tidying up -> before they are published as part of the release notes. -> -> This file is written for lgtm users and should contain *only* -> notes about changes that affect lgtm enterprise users. Add -> any other customer-facing changes to the `studio-java.md` -> file. -> - -## General improvements - ## Changes to code extraction * Parallel extraction of JavaScript files (but not TypeScript files) on LGTM is now supported. The `LGTM_THREADS` environment variable can be set to indicate how many files should be extracted in parallel. If this variable is not set, parallel extraction is disabled. -* The extractor now offers experimental support for [E4X](https://developer.mozilla.org/en-US/docs/Archive/Web/E4X), a legacy language extension developed by Mozilla. -* The extractor now supports additional [Flow](https://flow.org/) syntax. -* The extractor now supports [Nullish Coalescing](https://github.com/tc39/proposal-nullish-coalescing) expressions. -* The extractor now supports [TypeScript 3.2](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-2.html). -* The TypeScript extractor now handles the control-flow of logical operators and destructuring assignments more accurately. +* Experimental support for [E4X](https://developer.mozilla.org/en-US/docs/Archive/Web/E4X), a legacy language extension developed by Mozilla, is available. +* Additional [Flow](https://flow.org/) syntax is now supported. +* [Nullish Coalescing](https://github.com/tc39/proposal-nullish-coalescing) expressions are now supported. +* [TypeScript 3.2](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-2.html) is now supported. +* The TypeScript extractor now handles the control flow of logical operators and destructuring assignments more accurately. diff --git a/change-notes/1.20/support/versions-compilers.csv b/change-notes/1.20/support/versions-compilers.csv index fb903ca08a61..51b07b98aa37 100644 --- a/change-notes/1.20/support/versions-compilers.csv +++ b/change-notes/1.20/support/versions-compilers.csv @@ -13,4 +13,4 @@ Java,"Java 11 [2]_. or lower","javac (OpenJDK and Oracle JDK) Eclipse compiler for Java (ECJ) batch compiler",``.java`` JavaScript,ECMAScript 2018 or lower,Not applicable,"``.js``, ``.jsx``, ``.mjs``, ``.es``, ``.es6``, ``.htm``, ``.html``, ``.xhm``, ``.xhtml``, ``.vue``, ``.json`` [3]_." Python,"2.7, 3.5, 3.6, 3.7",Not applicable,``.py`` -TypeScript [4]_.,"2.6, 2.7, 2.8, 2.9, 3.0, 3.1",Standard TypeScript compiler,"``.ts``, ``.tsx``" +TypeScript [4]_.,"2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2",Standard TypeScript compiler,"``.ts``, ``.tsx``" From 06fcd8a150a54e3281e14d6a5dbd1c8edee700a1 Mon Sep 17 00:00:00 2001 From: Felicity Chapman Date: Mon, 18 Mar 2019 17:07:58 +0000 Subject: [PATCH 2/2] Reword information on parallel extraction --- change-notes/1.20/extractor-javascript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/change-notes/1.20/extractor-javascript.md b/change-notes/1.20/extractor-javascript.md index a0d59b9f747c..eee09113ebbb 100644 --- a/change-notes/1.20/extractor-javascript.md +++ b/change-notes/1.20/extractor-javascript.md @@ -4,7 +4,7 @@ ## Changes to code extraction -* Parallel extraction of JavaScript files (but not TypeScript files) on LGTM is now supported. The `LGTM_THREADS` environment variable can be set to indicate how many files should be extracted in parallel. If this variable is not set, parallel extraction is disabled. +* Parallel extraction of JavaScript files (but not TypeScript files) on LGTM is now supported. If LGTM is configured to evaluate queries using multiple threads, then JavaScript files are also extracted using multiple threads. * Experimental support for [E4X](https://developer.mozilla.org/en-US/docs/Archive/Web/E4X), a legacy language extension developed by Mozilla, is available. * Additional [Flow](https://flow.org/) syntax is now supported. * [Nullish Coalescing](https://github.com/tc39/proposal-nullish-coalescing) expressions are now supported.