Botbuilder-js: [4.6.1 Breaking Change] 4.6.1 libraries were transpiled with TypeScript 3.7.2

Created on 21 Nov 2019  路  2Comments  路  Source: microsoft/botbuilder-js

Versions

What package version of the SDK are you using. 4.6.1

Describe the bug

4.6.1 was transpiled with [email protected] which led to unintentional breaking changes for TypeScript consumers of the botbuilder-js libraries.

The breaking changes revolve around the inclusion of getters and setters in the .d.ts files in TypeScript 3.7.0.

As such, we need to cut a new patch release (4.6.2) with a lower version of TypeScript.

Steps to resolution:

  1. Remove un-pinned typescript devDependency from root package.json
  2. Pin typescript devDependency (pre-3.7.0) in each library's package.json (botbuilder, etc.)
  3. Release 4.6.2 libraries with pinned new devDependency

[bug]

FYI @juanar @Batta32 @enzocanoo this is the bug the skills team was encountering in the TypeScript BF-Solutions work.

P0

Most helpful comment

4.6.2 is released to npm. 馃巻

All 2 comments

I should have noted above that we are may someday ship with libraries transpiled using [email protected].

Because of the breaking changes outlined above, we need to have a discussion for potentially moving up to [email protected]

4.6.2 is released to npm. 馃巻

Was this page helpful?
0 / 5 - 0 ratings