Skip to content

Releases: softwareventures/tsconfig

v8.1.0

25 Aug 12:50
8989a8e
Compare
Choose a tag to compare

8.1.0 (2024-08-25)

Features

  • engines: remove node engine version restrictions from package.json (d7f7677)
  • webworker: Add "WebWorker.ImportScripts" platform library (c61e767)
  • webworker: Add "WebWorker.ImportScripts" platform library (58371ee)
  • webworker: Add "WebWorker.Iterable" platform library (c3d2860)
  • webworker: Add "WebWorker.Iterable" platform library (d5531c8)

v7.3.0

25 Aug 12:45
7b809b8
Compare
Choose a tag to compare

7.3.0 (2024-08-25)

Features

  • webworker: Add "WebWorker.ImportScripts" platform library (c61e767)
  • webworker: Add "WebWorker.Iterable" platform library (c3d2860)

v7.2.0

25 Aug 12:41
7ff31b5
Compare
Choose a tag to compare

7.2.0 (2024-08-25)

Features

  • engines: remove node engine version restrictions from package.json (d7f7677)
  • webworker: Add "WebWorker.ImportScripts" platform library (58371ee)
  • webworker: Add "WebWorker.Iterable" platform library (d5531c8)

v6.1.0

25 Aug 16:37
3dac0b4
Compare
Choose a tag to compare

6.1.0 (2024-08-25)

Features

  • engines: remove node engine version restrictions from package.json (d7f7677)
  • webworker: Add "WebWorker.ImportScripts" platform library (c61e767)
  • webworker: Add "WebWorker.ImportScripts" platform library (58371ee)
  • webworker: Add "WebWorker.Iterable" platform library (c3d2860)
  • webworker: Add "WebWorker.Iterable" platform library (d5531c8)

v5.2.0

25 Aug 12:39
58371ee
Compare
Choose a tag to compare

5.2.0 (2024-08-25)

Features

  • webworker: Add "WebWorker.ImportScripts" platform library (58371ee)
  • webworker: Add "WebWorker.Iterable" platform library (d5531c8)

v8.0.0

19 Apr 18:06
6cd9442
Compare
Choose a tag to compare

8.0.0 (2024-04-19)

⚠ BREAKING CHANGES

  • TypeScript code now compiles to
    ES2020. This breaks compatibility with obsolete
    versions of Node and obsolete browsers. If you
    need to support these older systems either
    override compilerOptions.target or use Babel
    to compile down to older ES syntax.
  • stripInternal: The allowSyntheticDefaultImports
    option is no longer set. This option is not
    appropriate for most projects. It should only be
    set for projects that are transpiled using Babel
    (or similar). See
    https://www.typescriptlang.org/tsconfig#allowSyntheticDefaultImports
  • stripInternal: The stripInternal option is no
    longer set, meaning TypeScript will no longer
    exclude type declarations for code marked
    @internal. This option was unsafe because
    TypeScript does not check that the resulting
    declarations are valid. Projects that relied on
    this option should consider using api-extractor
    (https://api-extractor.com/) instead, or override
    this option to true in their tsconfig.
  • types: Ambient type declarations are no
    longer included in the compilation by default
    (tsconfig specifies the option "types": []).
    Consuming projects that require ambient types
    should list them explicitly in their tsconfig.
    For example, projects that target node should
    add a dependency on @types/node and specify
    {"compilerOptions": {"types": ["node"]}}.
  • commonjs: The commonjs, dom-commonjs, and
    webworker-commonjs configurations are obsolete
    and have been removed. Instead of commonjs, use
    the top level configuration (replace
    "@softwareventures/tsconfig/commonjs" with
    "@softwareventures/tsconfig"). Instead of
    dom-commonjs, use the dom configuration (replace
    "@softwareventures/tsconfig/dom-commonjs" with
    "@softwareventures/tsconfig/dom"). Instead of
    webworker-commonjs, use the webworker
    configuration (replace
    "@softwareventures/tsconfig/webworker-commonjs"
    with "@softwareventures/tsconfig/webworker").
    The CommonJS-specific configurations are obsolete
    now since the corresponding base configurations
    use "Node16" module resolution and compile to
    "Node16" modules. This is equivalent to compiling
    to CommonJS modules and following CommonJS
    resolution rules when that is what node would
    expect, and compiling to ES Modules and following
    ES Module resolution rules when that is what node
    would expect.
  • allowUnusedLabels: Unused labels will now raise a
    compiler error. This usually indicates a broken
    attempt to write an object literal.
    See https://www.typescriptlang.org/tsconfig#allowUnusedLabels
  • allowUnreachableCode: Provably unreachable code will
    now raise a compiler error. See
    https://www.typescriptlang.org/tsconfig#allowUnreachableCode
  • deps: tsconfig now has a peer
    dependency on typescript v5.2.2 or later.
    Consuming projects should upgrade typescript to
    at least that version.

Features

  • allowUnreachableCode: set allowUnreachableCode: false (12cd394)
  • allowUnusedLabels: set allowUnusedLabels: false (b4b046c)
  • commonjs: delete commonjs, dom-commonjs, and webworker-commonjs configurations (16938ee)
  • compile against ES2020 API (f4f7c65)
  • compile TypeScript to ES2020 (9127e31)
  • deps: bump peer dependency on typescript to ^5.2.2 (daeafbf)
  • module: compile to Node16 modules, and use Node16 module resolution (5e1bd84)
  • stripInternal: delete allowSyntheticDefaultImports option (b524c77)
  • stripInternal: delete stripInternal option (dbc5a14)
  • types: don't include ambient type declarations in the compilation (1d5e397)

v8.0.0-alpha.3

30 Mar 20:42
83750a5
Compare
Choose a tag to compare
v8.0.0-alpha.3 Pre-release
Pre-release

8.0.0-alpha.3 (2024-03-30)

v7.1.1

30 Mar 20:42
27d8c70
Compare
Choose a tag to compare

7.1.1 (2024-03-30)

v8.0.0-alpha.2

07 Dec 22:05
f4f7c65
Compare
Choose a tag to compare
v8.0.0-alpha.2 Pre-release
Pre-release

8.0.0-alpha.2 (2023-12-07)

⚠ BREAKING CHANGES

  • TypeScript code now compiles to
    ES2020. This breaks compatibility with obsolete
    versions of Node and obsolete browsers. If you
    need to support these older systems either
    override compilerOptions.target or use Babel
    to compile down to older ES syntax.

Features

  • compile against ES2020 API (f4f7c65)
  • compile TypeScript to ES2020 (9127e31)

v8.0.0-alpha.1

24 Nov 14:12
b524c77
Compare
Choose a tag to compare
v8.0.0-alpha.1 Pre-release
Pre-release

8.0.0-alpha.1 (2023-11-24)

⚠ BREAKING CHANGES

  • stripInternal: The allowSyntheticDefaultImports
    option is no longer set. This option is not
    appropriate for most projects. It should only be
    set for projects that are transpiled using Babel
    (or similar). See
    https://www.typescriptlang.org/tsconfig#allowSyntheticDefaultImports
  • stripInternal: The stripInternal option is no
    longer set, meaning TypeScript will no longer
    exclude type declarations for code marked
    @internal. This option was unsafe because
    TypeScript does not check that the resulting
    declarations are valid. Projects that relied on
    this option should consider using api-extractor
    (https://api-extractor.com/) instead, or override
    this option to true in their tsconfig.
  • types: Ambient type declarations are no
    longer included in the compilation by default
    (tsconfig specifies the option "types": []``). Consuming projects that require ambient types should list them explicitly in their tsconfig. For example, projects that target node should add a dependency on @types/node and specify {"compilerOptions": {"types": ["node"]}}`.
  • commonjs: The commonjs, dom-commonjs, and
    webworker-commonjs configurations are obsolete
    and have been removed. Instead of commonjs, use
    the top level configuration (replace
    "@softwareventures/tsconfig/commonjs" with
    "@softwareventures/tsconfig"). Instead of
    dom-commonjs, use the dom configuration (replace
    "@softwareventures/tsconfig/dom-commonjs" with
    "@softwareventures/tsconfig/dom"). Instead of
    webworker-commonjs, use the webworker
    configuration (replace
    "@softwareventures/tsconfig/webworker-commonjs"
    with "@softwareventures/tsconfig/webworker").
    The CommonJS-specific configurations are obsolete
    now since the corresponding base configurations
    use "Node16" module resolution and compile to
    "Node16" modules. This is equivalent to compiling
    to CommonJS modules and following CommonJS
    resolution rules when that is what node would
    expect, and compiling to ES Modules and following
    ES Module resolution rules when that is what node
    would expect.
  • allowUnusedLabels: Unused labels will now raise a
    compiler error. This usually indicates a broken
    attempt to write an object literal.
    See https://www.typescriptlang.org/tsconfig#allowUnusedLabels
  • allowUnreachableCode: Provably unreachable code will
    now raise a compiler error. See
    https://www.typescriptlang.org/tsconfig#allowUnreachableCode
  • deps: tsconfig now has a peer
    dependency on typescript v5.2.2 or later.
    Consuming projects should upgrade typescript to
    at least that version.

Features

  • allowUnreachableCode: set allowUnreachableCode: false (12cd394)
  • allowUnusedLabels: set allowUnusedLabels: false (b4b046c)
  • commonjs: delete commonjs, dom-commonjs, and webworker-commonjs configurations (16938ee)
  • deps: bump peer dependency on typescript to ^5.2.2 (daeafbf)
  • module: compile to Node16 modules, and use Node16 module resolution (5e1bd84)
  • stripInternal: delete allowSyntheticDefaultImports option (b524c77)
  • stripInternal: delete stripInternal option (dbc5a14)
  • types: don't include ambient type declarations in the compilation (1d5e397)