Skip to content

Commit

Permalink
Updated the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Jun 23, 2013
1 parent 9547525 commit 59ee344
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
## 2.0.0 (2013-XX-XX)

* Made the RouterVoter comaptible with SensioFrameworkExtraBundle param converters
* Added the possibility to match routes using a regex on their name in the RouterVoter
* [BC break] Refactored the RouterVoter to make it more flexible
The way to pass routes in the item extras has changed.

Before:

```php
'extras' => array(
'routes' => array('foo', 'bar'),
'routeParameters' => array('foo' => array('id' => 4)),
)
```

After:

```php
'extras' => array(
'routes' => array(
array('route' => 'foo', 'parameters' => array('id' => 4)),
'bar',
)
)
```

The old syntax is kept until the final release, but using it will trigger a E_USER_DEPRECATED error.

## 2.0.0 alpha 1 (2013-06-23)

* [BC break] Refactored the way to mark items as current
Expand Down

0 comments on commit 59ee344

Please sign in to comment.