Skip to content

Commit 3dfdd1b

Browse files
Bump version to 5.5. (#57452)
1 parent 60f93aa commit 3dfdd1b

File tree

718 files changed

+16635
-155618
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

718 files changed

+16635
-155618
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "typescript",
33
"author": "Microsoft Corp.",
44
"homepage": "https://www.typescriptlang.org/",
5-
"version": "5.4.0",
5+
"version": "5.5.0",
66
"license": "Apache-2.0",
77
"description": "TypeScript is a language for application scale JavaScript development",
88
"keywords": [

src/compiler/corePublic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// WARNING: The script `configurePrerelease.ts` uses a regexp to parse out these values.
22
// If changing the text in this section, be sure to test `configurePrerelease` too.
3-
export const versionMajorMinor = "5.4";
3+
export const versionMajorMinor = "5.5";
44
// The following is baselined as a literal template type without intervention
55
/** The version of the TypeScript compiler release */
66
// eslint-disable-next-line @typescript-eslint/no-inferrable-types

src/testRunner/unittests/tsserver/projectReferences.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,14 @@ describe("unittests:: tsserver:: with project references and tsbuild", () => {
115115
};
116116
const files = [libFile, containerLibConfig, containerLibIndex, containerExecConfig, containerExecIndex, containerCompositeExecConfig, containerCompositeExecIndex, containerConfig];
117117
if (tempFile) files.push(tempFile);
118-
const host = createHostWithSolutionBuild(files, [containerConfig.path]);
118+
119+
const rootNames = [containerConfig.path];
120+
const host = createServerHost(files);
121+
// Can't use createHostWithSolutionBuild. This test used to work,
122+
// but no longer does since prepend isn't allowed in project references.
123+
// We just baseline and assert nothing about the output.
124+
solutionBuildWithBaseline(host, rootNames);
125+
119126
const session = new TestSession(host);
120127
return { files, session, containerConfig, containerCompositeExecIndex };
121128
}

tests/baselines/reference/ES3For-ofTypeCheck1.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
1+
error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
22
ES3For-ofTypeCheck1.ts(1,15): error TS2494: Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher.
33

44

5-
!!! error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
5+
!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
66
==== ES3For-ofTypeCheck1.ts (1 errors) ====
77
for (var v of "") { }
88
~~
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
1+
error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
22

33

4-
!!! error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
4+
!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
55
==== ES3For-ofTypeCheck2.ts (0 errors) ====
66
for (var v of [true]) { }

tests/baselines/reference/ES3For-ofTypeCheck4.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
1+
error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
22
ES3For-ofTypeCheck4.ts(2,17): error TS2494: Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher.
33

44

5-
!!! error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
5+
!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
66
==== ES3For-ofTypeCheck4.ts (1 errors) ====
77
var union: string | string[];
88
for (const v of union) { }
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
1+
error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
22

33

4-
!!! error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
4+
!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
55
==== ES3For-ofTypeCheck6.ts (0 errors) ====
66
var union: string[] | number[];
77
for (var v of union) { }

tests/baselines/reference/accessorWithES3.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
1+
error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
22
accessorWithES3.ts(4,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
33
accessorWithES3.ts(10,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
44
accessorWithES3.ts(15,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
55
accessorWithES3.ts(19,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
66

77

8-
!!! error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
8+
!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
99
==== accessorWithES3.ts (4 errors) ====
1010
// error to use accessors in ES3 mode
1111

tests/baselines/reference/accessorsNotAllowedInES3.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
1+
error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
22
accessorsNotAllowedInES3.ts(2,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
33
accessorsNotAllowedInES3.ts(4,15): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
44

55

6-
!!! error TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
6+
!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
77
==== accessorsNotAllowedInES3.ts (2 errors) ====
88
class C {
99
get x(): number { return 1; }

tests/baselines/reference/alwaysStrictNoImplicitUseStrict.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
error TS5053: Option 'noImplicitUseStrict' cannot be specified with option 'alwaysStrict'.
2-
error TS5101: Option 'noImplicitUseStrict' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
2+
error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration.
33
alwaysStrictNoImplicitUseStrict.ts(3,13): error TS1100: Invalid use of 'arguments' in strict mode.
44

55

66
!!! error TS5053: Option 'noImplicitUseStrict' cannot be specified with option 'alwaysStrict'.
7-
!!! error TS5101: Option 'noImplicitUseStrict' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
7+
!!! error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration.
88
==== alwaysStrictNoImplicitUseStrict.ts (1 errors) ====
99
module M {
1010
export function f() {

0 commit comments

Comments
 (0)