question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Breaking changes for 4.3

See original GitHub issue

For 4.3, we used the Mozilla browser-compat-data to remove types and features which are not used in any browser.

We base the lib.dom.d.ts on the specifications from W3C and WHATWG. These specifications are like all projects, and have some cruft on them over time. Now, we check the data powering caniuse.com to see if there are any implementations of a specification before including the types from that spec in the lib.dom.d.ts.

This is automated and running across a lot of specifications, so there’s a possibility it has some overreach and we’re open to bringing some back if we missed a common case. Some of the types removed: Account (this is now free to use in your own apps 🎉), AssertionOptions, RTCStatsEventInit, MSGestureEvent, DeviceLightEvent, MSPointerEvent, ServiceWorkerMessageEvent and WebAuthentication.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ortacommented, Oct 13, 2022

If you followed the linked issue, you’d see that we’re open to PRs for it, https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1380#issuecomment-1250255126

1reaction
Stef-Gijsbertscommented, Jun 19, 2021

(I’m not sure where to mention this. If there is a better place, please let me know.)

I suspect the automation overreached. I think it removed RTCRtpEncodingParameters.maxFramerate, which is supported in Safari. I think the reason it was removed is that at the time of checking, there was no known “Supported” status for any browser on the caniuse page. But just now, the status for Safari was set to “Supported”.

It might be worth considering to adjust the automation, such that it does not remove a feature if its status for a major browser is “Unknown”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Announcing TypeScript 4.3 - Microsoft Developer Blogs
The second major change here is that TypeScript can now better-relate, and infer between, different template string types. To see this, take the ......
Read more >
Upgrade 4.3 to 4.4 MINOR version - Neo4j
Breaking changes between Neo4j v3.5 and Neo4j v4.x · Configuration settings · Neo4j SSL framework · Breaking changes between Neo4j v1.7 drivers and...
Read more >
4.3 Migration Guide - 4.x - CakePHP Cookbook
Breaking Changes ¶. Behind the API, some breaking changes are necessary moving forward. They usually only affect tests. Log ...
Read more >
The New Features and Breaking Changes in TypeScript 4.4
With an improvement of the control flow analysis for Type Guard, TS 4.4 performs now a correct analysis for const and readonly properties...
Read more >
Eclipse Vert.x 4.3.3 released! | Blog
The 4.3.3 release notes as well as deprecations and breaking changes can be found on the wiki. This release also provides support for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found