Skip to content

Releases: DamonOehlman/detect-browser

2.4.0

17 Apr 22:38
Compare
Choose a tag to compare

Added support for detecting the Samsung Internet browser (#62) - thanks @emmaschultz

2.3.0

11 Apr 13:54
Compare
Choose a tag to compare

Add bot detection for a few common crawlers (#61) - thanks @triptec

2.2.0

26 Mar 10:29
Compare
Choose a tag to compare

Facebook and Instagram in-app browser detection support (#58) thanks to @alexabidri.

2.0

25 Sep 08:40
Compare
Choose a tag to compare
2.0

This is a significant change to the way that detect-browser behaves. Prior to this release, simply requiring the module would mean that a browser detection action would occur. This, however, will not produce consistent behaviour across ES6 and node module resolution systems. As such, a detect function is now made available and must be invoked for the detection to be completed (as per the example below - or the examples included in the README):

const { detect } = require('detect-browser');
const browser = detect();

// handle the case where we don't detect the browser
if (browser) {
  console.log(browser.name);
  console.log(browser.version);
}

Additionally, the implementation of the module has been condensed into a single file with the view to having compliance with other module packaging systems as well as browserify. It is expected that there will be patch changes to detect-browser over the coming months as integration with other tools is explored.

1.9.0

16 Aug 12:25
Compare
Choose a tag to compare

Added support for kakaotalk browser - @5punk

1.8.0

10 Aug 01:14
Compare
Choose a tag to compare

Support added for:

A big thanks to @5punk for implementing support here and also the test coverage. Also a willingness to pitch in a take care of some long standing issues!

1.7.0

02 Apr 05:51
Compare
Choose a tag to compare

Support for using detect-browser in an isomorphic react application context (thanks @jordanell).

v1.6.0

08 Jan 05:48
Compare
Choose a tag to compare

1.5.0

19 Sep 23:54
Compare
Choose a tag to compare

Support added for Chrome on iOS (thanks @gsotirov).

Correct Opera Detection Implemented

09 Jul 02:14
Compare
Choose a tag to compare

Thanks to @knomedia on this one for bringing the package up to date with real world opera.