- Add Google Site Verification to the bot list.
- Handle invalid quality values that look like numbers.
- Add COMODO SSL Checker bot
- Add Swiftype bot
- Add WhatsApp detection
- Add Android Oreo detection
- Add support for QQ Browser Mac & Mac Lite.
- Add support for Electron Framework.
- Add support for Facebook in-app browser.
- Add support for Otter Browser.
- Add Android webview detection.
- Add Google Drive API, Proximic Spider, NewRelic pinger and SocialRank bots.
- Add Pinboard in-app browser to the bot exception list.
- All browser detection methods can now compare versions.
- All platform detection methods can now compare versions (except
#linux?
and#firefox_os?
). - Add
browser/aliases
, so you can have methods on the base object (e.g.browser.mobile?
). See README for instructions. - Remove official support for Rails 3 and Ruby 2.1.
- Add AWS ELB bot.
- Add CommonCrawl and Yahoo Ad Monitoring bots.
- Add Google Stackdriver Uptime Check bot.
- Add Microsoft Bing bots (adldxbot, bingpreview, and msnbot-media).
- Add Stripe and Netcraft bots.
- Add support for loading browser without extending Rails' helpers.
- Add Watchsumo bot.
- Match Alipay.
Browser::Platform#windows?
can now compare versions.Browser::Platform#mac?
can now compare versions.- Detect QQ Browser.
- Fix issue with Mac user agents that didn't include the version.
- Add PrivacyAwareBot, ltx71, Squider and Traackr to bots.
- Match Google Structured Data alternative bot.
- Match MicroMessenger (WeChat).
- Match Weibo.
- Detect Windows & Mac OS versions.
- Fix issue with version detection when no actual version is provided (i.e. the user agent doesn't have any version information).
- Fix issue when user agent is set to
nil
. - Fix issue with user agent without version information.
- Fix Rails integration.
Browser#platform
now returns instance ofBrowser::Platform
, instead of aString
. It contains information about the platform (software).Browser#device
was added. It returns information about the device (hardware).Browser#accept_language
now returns a list ofBrowser::AcceptLanguage
objects.Browser#bot
now returns aBrowser::Bot
instance.- Safari running as web app mode is not recognized as Safari anymore.
- ruby-2.3+ will always activate frozen strings.
- List of all commits since last release