Skip to content

Commit

Permalink
Bumped version to 1.9, updated changelog and readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
itsgoingd committed Sep 1, 2015
1 parent 90d7c4d commit 2e3b13d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
1.9
- added Lumen support (thanks dawiyo)
- added aliases for all Clockwork parts so they can be resolved by the IoC container in Laravel and Lumen
- fixed Laravel framework initialisation, booting and running timeline events not being recorded properly (thanks HipsterJazzbo, sisve)
- fixed how Laravel clockwork:clean artisan command is registered (thanks freekmurze)
- removed Lumen framework initialisation, booting and running timeline events as they are not supported by Lumen

1.8.1
- fixed SQL data storage initialization if PDO is set to throw exception on error (thanks YOzaz)

Expand Down
2 changes: 1 addition & 1 deletion Clockwork/Clockwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Clockwork implements LoggerInterface
/**
* Clockwork version
*/
const VERSION = '1.8.1';
const VERSION = '1.9';

/**
* Array of data sources, these objects provide data to be stored in a request object
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This extension provides out of the box support for Laravel, Slim 2 and CodeIgnit
To install latest version simply add it to your `composer.json`:

```javascript
"itsgoingd/clockwork": "~1.8"
"itsgoingd/clockwork": "~1.9"
```

### Laravel
Expand Down Expand Up @@ -75,8 +75,6 @@ Clockwork::endEvent('event_name');

### Lumen

**NOTE: Lumen support is experimental, available in `1.x-dev` version.**

Once Clockwork is installed, you need to register the Clockwork service provider, in your `bootstrap/app.php`:

```php
Expand All @@ -93,7 +91,7 @@ $app->middleware([
```

By default, Clockwork will only be available in debug mode (`APP_DEBUG` set to true), you can change this and other settings via environment variables.
Simply specify the setting as environment variable prefixed with `CLOCKWORK_`, eg. CLOCKWORK_ENABLE, [full list of available settings](https://raw.githubusercontent.com/itsgoingd/clockwork/v1/Clockwork/Support/Laravel/config/clockwork.php).
Simply specify the setting as environment variable prefixed with `CLOCKWORK_`, eg. `CLOCKWORK_ENABLE`, [full list of available settings](https://raw.githubusercontent.com/itsgoingd/clockwork/v1/Clockwork/Support/Laravel/config/clockwork.php).

Clockwork also comes with a facade, which provides an easy way to add records to the Clockwork log and events to the timeline. The facade will be automatically registered when you enable facades for your Lumen app, in `bootstrap/app.php`:

Expand Down

0 comments on commit 2e3b13d

Please sign in to comment.