From b71f80351b7cf9c99e72d79ba89d3466301532b7 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Mon, 8 Apr 2019 09:41:22 -0700 Subject: [PATCH 1/2] Create an ATA cache per patch version of TS Previously, we created one cache per minor version. This changes allows us to invalidate the ATA cache by releasing a new patch version of Typescript. --- src/tsserver/server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tsserver/server.ts b/src/tsserver/server.ts index 0dc57ca520ad5..80a9422e24a03 100644 --- a/src/tsserver/server.ts +++ b/src/tsserver/server.ts @@ -29,7 +29,7 @@ namespace ts.server { process.env.USERPROFILE || (process.env.HOMEDRIVE && process.env.HOMEPATH && normalizeSlashes(process.env.HOMEDRIVE + process.env.HOMEPATH)) || os.tmpdir(); - return combinePaths(combinePaths(normalizeSlashes(basePath), "Microsoft/TypeScript"), versionMajorMinor); + return combinePaths(combinePaths(normalizeSlashes(basePath), "Microsoft/TypeScript"), version); } case "openbsd": case "freebsd": @@ -37,7 +37,7 @@ namespace ts.server { case "linux": case "android": { const cacheLocation = getNonWindowsCacheLocation(process.platform === "darwin"); - return combinePaths(combinePaths(cacheLocation, "typescript"), versionMajorMinor); + return combinePaths(combinePaths(cacheLocation, "typescript"), version); } default: return Debug.fail(`unsupported platform '${process.platform}'`); From 30f04a92a686f18c9918e27fd06f8c53585ea21a Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Mon, 8 Apr 2019 09:51:53 -0700 Subject: [PATCH 2/2] Bump version to 3.4.3 --- src/compiler/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/core.ts b/src/compiler/core.ts index 79d4732191afb..c0bec428d079f 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -3,7 +3,7 @@ namespace ts { // If changing the text in this section, be sure to test `configureNightly` too. export const versionMajorMinor = "3.4"; /** The version of the TypeScript compiler release */ - export const version = `${versionMajorMinor}.2`; + export const version = `${versionMajorMinor}.3`; } namespace ts {