Repository navigation
Releases
Releases · bowser-js/bowser
v2.15.1
Changes
- fix: stop matching the Bing app as Google Search @bardrop (#647)
- fix: detect UC Browser from UCMobile, UCPC and UBrowser tokens @bardrop (#648)
- docs: fix dead docs page link in README @farisbasha (#649)
- feat: detect Bertina Browser @abertina (#651)
- fix: report Chrome OS as desktop @lagudafuadtosin (#645)
- feat: detect the Freebox Revolution browser @copilot-swe-agent (#646)
- fix: report Blink for Edge on Android and WebKit for Edge on iOS @lagudafuadtosin (#637)
- fix: fall back to the Chrome/ version for Chromium builds without one @lagudafuadtosin (#640)
- fix: read the UC Browser version from UCBrowser/ before Version/ @lagudafuadtosin (#638)
- fix: read the real iOS version on iOS 26, where the UA OS version is … @lagudafuadtosin (#636)
- fix(types): allow undefined from compareVersion @Hugohong258 (#641)
- fix: stop the Opera version at the last number @lagudafuadtosin (#639)
- fix(ci): publish on Node 24 with npm pinned to 11.x @lancedikson (#643)
v2.15.0
Security
- fix: polynomial ReDoS in the Firefox-on-iPad user-agent rule (GHSA-f9xq-72p3-q9fv). A crafted User-Agent could block the Node.js event loop for seconds per
Bowser.parse()call. Thanks to @0xma1ware for the report. - fix: four more polynomial ReDoS patterns (Linespider, SlackBot and the generic fallback rule), found by CodeQL (#630).
Worth knowing before upgrading
- New detections change reported browser names. HeyTap, Vivo and Ladybird users are now reported under their own names instead of Chrome, and Motorola Edge phones are no longer reported as Microsoft Edge. Dashboards that group by browser name will shift.
- Bowser is now a dual package.
require('bowser')still returns the same UMD build.importnow resolves to a real ES module that also offersparse,getParser,BROWSER_MAP,ENGINE_MAP,OS_MAPandPLATFORMS_MAPas named exports. All published file paths still resolve. bundled.jsis ~11 KB larger gzipped (37 → 48 KB). It now uses current core-js 3 polyfills, whose fuller spec compliance makes them larger; it covers the same features as before. If you already ship polyfills, usees5.js(unchanged at ~7.5 KB gzipped) or the ES module build instead.
Changes
- perf: trim bundled.js to the 2.14.1 polyfill set, fix stale docs @naorpeled (#635)
- fix: expose the constant maps on the ESM namespace @lancedikson (#642)
- fix: keep ESM consumers on ES5, enable tree-shaking, trim bundled.js @naorpeled (#634)
- fix: bundled.js is not ES5 — restore ES5 output and guard it @naorpeled (#632)
- fix: restore ES5 output for bundled.js, close exports-map gaps, and cover all build artifacts @naorpeled (#631)
- fix: resolve open GitHub security findings @naorpeled (#630)
- Dual packaging, without breaking existing consumers @naorpeled (#628)
- feat: add Ladybird browser support @gmta (#627)
- feat: add support for HeyTap Browser and Vivo Browser identification @mrswapnilsahu (#621)
- fix: prevent Motorola Edge devices from being misidentified as Microsoft Edge @naorpeled (#612)
- feat: add copyright comment to bundle @naorpeled (#605)
- Add the ability to use an array of versions in Parser.satisfies() @Stas-tolpekin (#466)
v2.14.1
Changes
- FIX: attempt to resolve including not needed files in bundle @naorpeled (#604)
v2.14.0
Changes
- [FEAT]: Add Smart TV platform detection @copilot-swe-agent (#582)
- [FEAT]: Add Brave browser support @copilot-swe-agent (#597)
- [FEAT]: Add Line spider detection @hijamoya (#600)
- [FEAT]: Add DuckDuckGo browser support @jonathanKingston (#595)
- [FEAT]: Add Slack bot detection @hijamoya (#596)
v2.13.1
Changes
- [REVERT]: rollback addition of named exports @naorpeled (#591)
v2.13.0
Changes
- [FEAT]: add support for latest MacOS @naorpeled & @seijikohara (#580)
- [FEAT]: add Sogou browser support @naorpeled & @NotEvenANeko (#579)
- [FEAT]: add LibreWolf browser detection as standalone type @copilot-swe-agent (#578)
- [FEAT]: add support for AI crawl bots @naorpeled (#577)
- [FEAT]: add more bot platforms @luciomartinez (#542)
- [FEAT]: Add some named exports for tree shaking support with Vite and modern bundlers @copilot-swe-agent (#566)
- [FEAT]: Add Support for HarmonyOS User-Agent Detection @copilot-swe-agent (#567)
- [CHORE]: Add Copilot instructions for repository @copilot-swe-agent (#574)
v2.12.1
Changes
- [REVERT] rollback default export to
=syntax in type definitions @naorpeled (#570)
v2.12.0
Changes
- [DOCS]: remove artifact links from README @meirroth (#549)
- [CI]: add release drafter @naorpeled (#545)
- [DOCS]: fix link to doc page on README.md @pastak (#543)
- [FEAT]: add bot as a platform @luciomartinez (#540)
- [FEAT]: update types of parser methods @cwenwen (#449)
- [FIX]: fixed getBrowserTypeByAlias docs @idmadj (#467)
- [FEAT]: Nokia Vendor @daniol (#448)
- [FIX]: correct default export in type definitions @radiosilence (#465)
- [FEAT]: Pale Moon Browser Support @mehmetakify (#495)
- [FEAT]: added missing type definitions for isEngine, isOS, isPlatform, compareVersion @matheushahnn (#500)
- [DOCS]: resolve typos @naorpeled (#528)
- [CI]: move to Github Actions @naorpeled (#530)
- [FIX]: fix compatibility with Next.js middleware @connor-baer (#516)
v2.11.0
What's Changed
- [ADD]: Add detection for Miui Browser #436
- [ADD]: Add support for using alias in 'is' method #437
- [FIX]: Add missing typescript property declaration by @Cordazar in #438
- [FIX]: Update @returns of Parser.prototype.parse #427
- [CHORE]: bump http-proxy from 1.18.0 to 1.18.1 #442
- [CHORE]: bump yargs-parser from 13.1.1 to 13.1.2 #440
- [CHORE]: bump elliptic from 6.5.1 to 6.5.3 #431
- [CHORE] bump lodash from 4.17.15 to 4.17.19 #428
New Contributors
Full Changelog: 2.10.0...v2.11.0