Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
- There were circumstances where non-human traffic would throw an error because the 'HTTP_USER_AGENT' didn't exist.
  • Loading branch information
Mark Notton committed Jul 1, 2019
1 parent d751b4b commit 2b242d0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.1.6 - 2019-07-01
### Fixed
- There were circumstances where non-human traffic would throw an error because the 'HTTP_USER_AGENT' didn't exist.

## 1.1.5 - 2019-03-20
### Fixed
- The new version of Googlebot (smartphone) emulates Chrome 41, which shouldn't really be flagged as an unsupported browser given it's actually a bot. So there are now user agent exceptions (specifically tailored to Google for now) that will allow trusted bots to access the site regardless of version number or browser name. In a future update this will be manageable via the plugins settings.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Or manually in your compsoer.json:

```
"require": {
"marknotton/agent": "^1.1.4"
"marknotton/agent": "^1.1.6"
}
```

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "marknotton/agent",
"description": "Query the server-side information from the users agent data.",
"type": "craft-plugin",
"version": "1.1.5",
"version": "1.1.6",
"keywords": [
"craft",
"cms",
Expand Down Expand Up @@ -33,7 +33,7 @@
"extra": {
"name": "Agent",
"handle": "agent",
"schemaVersion": "1.1.5",
"schemaVersion": "1.1.6",
"hasCpSettings": false,
"hasCpSection": false,
"changelogUrl": "https://github.com/marknotton/craft-plugin-agent/blob/master/CHANGELOG.md",
Expand Down
2 changes: 1 addition & 1 deletion src/Agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Agent extends Plugin {

public static $plugin;

public $schemaVersion = '1.1.5';
public $schemaVersion = '1.1.6';

public function init() {

Expand Down

0 comments on commit 2b242d0

Please sign in to comment.