Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Prepare 2.1.0-RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Jan 21, 2017
1 parent 492cae1 commit 587efb3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 27 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- 5.6
- 7.0
- hhvm

Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Changelog
=========

2.1.0-RC1
---------

* **2016-11-27**: [BC BREAK] Removed all admin integration in favor of the CmfSonataAdminIntegrationBundle.
* **2016-06-19**: [BC BREAK] Removed `setParent()`/`getParent()` from the model `MenuNode`.
* **2016-06-18**: [BC BREAK] Removed all `*.class` parameters.
* **2016-05-25**: Use "auto" for publish workflow enabled flag. If auto and
CmfCoreBundle is not instantiated, publish workflow integration is not enabled.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The MenuBundle provides menus from a doctrine object manager with the help of Kn

## Requirements

* Symfony 2.3+
* Symfony 2.8+
* See also the `require` section of [composer.json](composer.json)

## Documentation
Expand Down
23 changes: 0 additions & 23 deletions UPGRADE-2.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,3 @@
- cmf_sonata_admin_integration.menu.menu_admin
- cmf_sonata_admin_integration.menu.node_admin
```
## Model
* Removed `setParent()`/`getParent()` from the model `MenuNode`. Use
`setParentObject()`/`getParentObject()` instead.

**Before**
```php
use Symfony\Cmf\Bundle\MenuBundle\Model\MenuNode;
// ...
$node = new MenuNode('some name');
$node->setParent($menuRoot);
```

**After**
```php
use Symfony\Cmf\Bundle\MenuBundle\Model\MenuNode;
// ...
$node = new MenuNode('some name');
$node->setParentObject($menuRoot);
```
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"require": {
"php": "^5.6|^7.0",
"symfony/framework-bundle": "^2.8|^3.0",
"symfony-cmf/core-bundle": "^2.0@dev",
"symfony-cmf/core-bundle": "^2.0",
"doctrine/phpcr-bundle": "^1.1",
"doctrine/phpcr-odm": "^1.4|^2.0",
"knplabs/knp-menu-bundle": "^2.0.0",
Expand Down

0 comments on commit 587efb3

Please sign in to comment.