UADetect 5.0.0 #125
Closed
hiteacheryouare
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
About
UADetect is the library that makes interacting with the
NavigatorAPI a breeze, and continuing with that motto, UADetect 5 brings many new features, with complete type definitions (for real this time), and the sunset of some redundant components.What's New
vibrate, orregisterServiceWorkerdeviceMemorylanguagecameraaudioComplete Type Definitions
We want to start this section by apologizing for the miscommunication regarding type definitions in the past. We believed that publishing the entire
types/directory with npm would allow editors to just pick up the entire definitions, and to our credit, it was working on our systems, but that is also because we wrote the library. Now, npm only publishes theindex.d.tsfile, which imports all of the other files, which meansOUR LIBRARY IS NOW FULLY STRONGLY TYPED
Breaking Changes/Depreciations
It's always sad to see some of our beloved components go the way of the dinosaurs, but in keeping the library fresh, and modern, some must be removed in order to make room for other features, while keeping the library as small as possible. Here are the removed components:
versioncodeNamemozillaengineGeckodoNotTrackStatusThis discussion was created from the release UADetect 5.0.0.
Beta Was this translation helpful? Give feedback.
All reactions