Skip to content

Commit

Permalink
Prepare release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
psrpinto committed Jan 3, 2019
1 parent ce44ca8 commit c581311
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
28 changes: 27 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,33 @@ All notable changes to this project are 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.4.0] - YYYY-MM-DD
## [1.4.0] - 2019-01-03
### Added
- Added support for Symfony 4
- Added service aliases for auto-wiring

Since services on Symfony 4 are private by default, instead of doing:

```php
public function someAction($id)
{
$ppc = $container->get('payment.plugin_controller');
}
```

you should instead inject `JMS\Payment\CoreBundle\PluginController\PluginController` into your controller actions:

```php
use JMS\Payment\CoreBundle\PluginController\PluginController;

public function someAction($id, PluginController $ppc)
{
}
```

### Changed
- Updated documentation to Symfony 4 directory structure

### Removed
- Removed support for PHP versions earlier than 5.6.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"target-dir": "JMS/Payment/CoreBundle",
"extra": {
"branch-alias": {
"dev-master": "1.3-dev"
"dev-master": "1.4-dev"
}
}
}

0 comments on commit c581311

Please sign in to comment.