Skip to content

Release Activities

Nathan Shively-Sanders edited this page Nov 12, 2020 · 29 revisions

This is the list of release activities needed for every TypeScript release. Additional activities are also needed if a new syntax is introduced or a new compiler option gets added.

Release Candidate Activities

tslib

  • Add all tslib updates
  • Review next version number

@definitelytyped/header-parser and retag

Once master's version is updated, the @definitelytyped packages must be aware of the nightly's new version so that functionality such as ATA continues to work.

  • Update @definitelytyped/typescript-versions to support the next version, and publish new version
    • in other words, if we're releasing TypeScript 3.9, the header parser needs to support 4.0.
    • Follow the instructions in typescript-versions' source to update dependents.

Release Activities

Release

  • Tag release branch
  • Update AUTHORS.md for the release (script)
  • Draft and publish new release
  • Close milestone corresponding to the release

Wiki

Handbook

npm

  • Publish new version of typescript
  • Publish new version of tslib (if needed) by creating a tag

Nuget

Visual Studio Marketplace

TypeScript-Sublime-Plugin

  • Update version of tsserver, test, and tag

dtslint and types-publisher

After the release version is published to npm:

  • Update @definitelytyped/typescript-versions: move the newly published version from supported to shipped (in the example above, that's 3.9), and publish new version of @definitelytyped.
  • Update dtslint and dts-critic's dependency to the new @definitelytyped/header-parser
  • Update @definitelytyped/publisher's dependency on dtslint. You may still need to clear caches on Travis, although it usually caches npm packages correctly.

Website

  • Update Handbook
  • Add new release notes page
  • Update playground
  • Update version strings in the download banner

Additional activities

When a new syntax or a new compiler option is introduced, find below the list of additional release activities needed:

New compiler option added

MSBuild tasks and targets

  • Add support for new option in MSBuild tasks and targets (see handbook)

Handbook

SchemaStore

New syntax introduced

Colorization

Babel

Handbook

  • Add new section for the new feature in the handbook
Clone this wiki locally