Skip to content

Commit

Permalink
Merge pull request #5 from lukeyouell/develop
Browse files Browse the repository at this point in the history
1.2.0
  • Loading branch information
lukeyouell authored Jun 26, 2018
2 parents ee49159 + df16607 commit d604edd
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 222 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file.

## 1.2.0 - 2018-06-26

### Added
- Error logging

### Changed
- Code formatting

## 1.1.2 - 2018-04-16

### Changed
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,17 +320,17 @@ return [
| `requestTimeout` | Integer (seconds) |
| `fallbackIp` | Valid IP address |
| `cookieName` | Cookie name |
| `cookieDuration` | Integer (hours) |
| `cookieDuration` | Integer (hours) |

## Debugging

You can dump the API response:
You can dump the API response:

```twig
<pre>{{ location|json_encode(constant('JSON_PRETTY_PRINT')) }}</pre>
```

_Development mode must be turned on in Craft for this to work._
Errors are now logged. Simply search your logs for `geocookie`.

## Geo Cookie Roadmap

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "lukeyouell/craft-geocookie",
"description": "Collect information about a visitor's location based on their IP address and store the information as a cookie.",
"type": "craft-plugin",
"version": "1.1.2",
"version": "1.2.0",
"keywords": [
"craft",
"cms",
Expand Down
Loading

0 comments on commit d604edd

Please sign in to comment.