NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4201 most downloaded on npm
A platform detection library that works on nearly all JavaScript platforms.
Last release 6 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 2.4 years
Most releases are documented
notes for 12 of 15 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
15 releases · first in 2011
Nothing published for this version
Nothing published for this version
Nothing published for this version
Reverted breaking change from v1.3.2
Reverted breaking change from v1.3.2
Placed more common consumer Windows OS names before Windows Server names
New behaviour: Windows Server names are placed before consumer Windows OS names eg. "Windows 7 / Server 2008 R2" → "Windows Server 2008 R2 / 7"
One column per quarter.
"Windows Server 2008 R2 / 7" → "Windows 7 / Server 2008 R2" (Breaking change #112 ; reverted in v1.3.3 )
Added Firefox on iOS and PaleMoon as browsers
Added Windows 10, Chrome OS and OpenBSD as OSes
Added Google Nexus devices as products
Added EdgeHTML as a layout engine
Placed more common consumer Windows OS names before Windows Server names eg. "Windows Server 2008 R2 / 7" → "Windows 7 / Server 2008 R2" (Breaking change #112 ; reverted in v1.3.3 )
Set correct architecture for Chrome 39+ on Mac
Exposed window.platform when loaded in the presence of an AMD loader
Ensured that platform.js does not detect Node.js when used in a browserified module
Added layout engine details for iOS browsers
Improved detection of default Android browsers, IE Mobile 11, Firefox Mobile and Microsoft Edge
Improved detection of Windows Phone 10
Improved detection of Blink
Added Microsoft Edge as a browser
Added Safari 8.0, IE Tech Preview, IE Mobile 11, Breach and Opera Mini 8 as browsers
Added Safari 8.0, IE Tech Preview, IE Mobile 11, Breach and Opera Mini 8 as browsers
Added Windows 10 as an OS
Added "Mobile" postfix for newer Opera Mobile
Added "like Chrome vX" to platform.description for Chromium-based Opera browsers
Fixed detection of 64-bit Chrome running on Windows
Renamed "Turbo / Uncompressed" to "Turbo/Uncompressed"
Renamed "Windows Phone OS" to "Windows Phone"
Removed desktop mode indicators for older Opera Mobile/Mini
Added support for IE11 identifying as other browsers
Added support for IE11 identifying as other browsers
Fixed Node.js, Narwhal and RingoJS detection
Removed testing for Narwhal and Node 0.6
Renamed "Windows Phone" to "Windows Phone OS" for consistency
Added special case of platform.os.family for Windows 7
Added context objects support for platform.parse()
Added context objects support for platform.parse()
Added IE 11, Opera 15+ and BlackBerry 10 as browsers
Added PS3/4, Wii, Wii U, Xbox 360, Xbox One, Samsung Galaxy S3 and S4 as products
Added HTC, Nintendo, and Microsoft as manufacturers
Added Firefox OS and Windows 8.1 as OSes
Added Blink as a layout engine
Renamed "Mac OS X" to "OS X" and "Iron" to "SRWare Iron"
Fixed detection of platform.os.architecture on Node.js
Added detection of Rhino running with require support
Fixed Firefox Mobile on Android being detected as Android Browser
Fixed detection of Chrome Mobile
Prevented errors from being thrown when parsing unknown UAs
Added detection of correct global variable in Browserified module
Prevented Browserify from erroring during compilation
Changed AMD module name back to anonymous
Made platform.os an object
Changed AMD module name back to anonymous
Added PS Vita and Google TV as products
Added Chrome Mobile for Android and iOS as a browser
Fixed issue with Node.js detection
Fixed issue where Konqueror is always detected as using KHTML instead of WebKit
Renamed "Fennec" to "Firefox Mobile"
Detected Opera Mini/ Mobile desktop modes
Changed AMD module name to "platform"
Added platform.ua
Changed AMD module name to "platform"
Added Windows 2000 SP1 and Haiku as OSes
Added WebPositive as a browser
Added platform.parse support for PhantomJS, Adobe AIR, and Opera with UA masking
Avoided IE platform preview checks in platform.parse
Fixed platform.parse inconsistencies in Opera
Improved Opera Mobile detection
Improved formatting of platform.os
Added platform.parse , platform.prerelease and platform.manufacturer
Added platform.parse , platform.prerelease and platform.manufacturer
Added HP TouchPad, Nokia N9, and Samsung Galaxy S and S2 as products
Added Raven, Amazon Silk, and WebKit Nightly as browsers
Added Windows 8, CentOS, Debian, Fedora, FreeBSD, Gentoo, Kubuntu, Linux Mint, Red Hat, SuSE, Ubuntu and Xubuntu as browsers
Fixed Safari 2.x and Opera 9.25 bugs
Fixed issue with Opera UA masking
Fixed issue with Opera being detected as Firefox
Fixed Opera Mini version detection
Fixed issue with multiple toString definitions
Renamed x86 and x86_64 to 32-bit and 64-bit
Improved Narwhal/Ringo detection
Added support for like Chrome 17+ -style descriptions and update Chrome build info
Renamed Platform.js to platform.js
Renamed Platform.js to platform.js
Added support for Opera identifying as other browsers
Added Tasman as a layout engine
Fixed issue with IE6/7 null values
Fixed issue with Ringo detection
Simplified IE platform preview detection
Fixed issue with Closure Compiler munging platform name
Initial release
Fixed issue with Closure Compiler munging platform name
You can’t perform that action at this time.
Your coding agent can read these notes before it upgrades. Set up the MCP server →