-
Move to the TypeScript 7.1 release candidate and use its diagnostic helpers - thanks @johnnyreilly
-
The minimum supported TypeScript version is now 7.1.1-rc, the TypeScript 7.1 release candidate. The 7.1 beta is no longer supported: ts-loader now uses
flattenDiagnosticMessageandsortAndDeduplicateDiagnosticsfromtypescript/sync, which the beta does not have. -
The
typescriptpeer dependency range is now>=7.1.1-rc || >=7.2.0-0. It was>=7.1.0-beta, which did not admit the release candidate ortypescript@next. -
A file's errors are reported in file order: by position, then by error code. Before, they came in the order TypeScript's API returns them, which puts syntax errors ahead of type errors.
-
Two errors at the same place with the same code and text are both reported if they differ in their elaboration or related information. Before, the second was dropped.
-
Remove the
getCustomTransformers,resolveModuleNameandresolveTypeReferenceDirectiveoptions - thanks @johnnyreilly -
Breaking: the
getCustomTransformers,resolveModuleNameandresolveTypeReferenceDirectiveloader options are removed. Setting one now fails the build with an "unexpected loader option" error. The betas accepted them and did nothing with them, so a build that relied on one succeeded with different output and no notice. TypeScript's native API has no custom transformers, and ts-loader passes it no custom resolvers; a build that needs either should stay on ts-loader 9. -
Setting
projectReferences: truenow gives a warning that the option has no effect. Project references intsconfig.jsonare followed without it, and ts-loader does not build referenced projects to disk the waytsc --builddoes.
See v9 options that v10 removes.