[BCB] Removed symfony/http-foundation

Moved HttpFoundation from require to suggest
Devs using Session component will need to include it manually
This will allow devs to use Ratchet with a stable minimum-requirement
This commit is contained in:
Chris Boden 2012-07-24 10:26:24 -04:00
parent 97d1b8a770
commit ccf14c0c51
4 changed files with 16 additions and 12 deletions

View File

@ -7,6 +7,6 @@ php:
before_script: before_script:
- curl -s http://getcomposer.org/installer | php - curl -s http://getcomposer.org/installer | php
- php composer.phar install - php composer.phar install --dev
script: phpunit --coverage-text script: phpunit --coverage-text

View File

@ -15,7 +15,9 @@ CHANGELOG
* BC: Renamed "WampServer" to "ServerProtocol" * BC: Renamed "WampServer" to "ServerProtocol"
* BC: New "WampServer" component passes Topic container objects of subscribed Connections * BC: New "WampServer" component passes Topic container objects of subscribed Connections
* Option to turn off UTF-8 checks in order to increase performance * Option to turn off UTF-8 checks in order to increase performance
* BC: Moved Symfony HttpFoundation from require to suggest (devs using Sessions will have to require manually)
* Switched dependancy guzzle/guzzle to guzzle/http (no API changes) * Switched dependancy guzzle/guzzle to guzzle/http (no API changes)
* Ratchet no longer requires a minimun-stability option in composer
* mbstring no longer required * mbstring no longer required
* 0.1.5 (2012-07-12) * 0.1.5 (2012-07-12)

View File

@ -6,7 +6,6 @@
, "homepage": "http://socketo.me" , "homepage": "http://socketo.me"
, "repository": "https://github.com/cboden/Ratchet" , "repository": "https://github.com/cboden/Ratchet"
, "license": "MIT" , "license": "MIT"
, "minimum-stability": "beta"
, "authors": [ , "authors": [
{ {
"name": "Chris Boden" "name": "Chris Boden"
@ -18,6 +17,9 @@
"forum": "https://groups.google.com/forum/#!forum/ratchet-php" "forum": "https://groups.google.com/forum/#!forum/ratchet-php"
, "issues": "https://github.com/cboden/Ratchet/issues" , "issues": "https://github.com/cboden/Ratchet/issues"
} }
, "suggest": {
"symfony/http-foundation": "2.1.*"
}
, "autoload": { , "autoload": {
"psr-0": { "psr-0": {
"Ratchet\\Tests": "tests" "Ratchet\\Tests": "tests"
@ -28,9 +30,8 @@
"php": ">=5.3.3" "php": ">=5.3.3"
, "react/socket": "0.1.*" , "react/socket": "0.1.*"
, "guzzle/http": "2.8.*" , "guzzle/http": "2.8.*"
, "symfony/http-foundation": "2.1.*"
} }
, "require-dev": { , "require-dev": {
"react/socket": "0.1.*" "symfony/http-foundation": "2.1.*"
} }
} }

17
composer.lock generated
View File

@ -1,5 +1,5 @@
{ {
"hash": "8e06f011f15dae3364497835c0e86e08", "hash": "f74a1251297b2939109e9d52228f0b0d",
"packages": [ "packages": [
{ {
"package": "evenement/evenement", "package": "evenement/evenement",
@ -31,18 +31,19 @@
}, },
{ {
"package": "symfony/event-dispatcher", "package": "symfony/event-dispatcher",
"version": "v2.1.0-BETA3" "version": "v2.1.0-BETA4"
}, }
{ ],
"package": "symfony/http-foundation", "packages-dev": [
"version": "v2.1.0-BETA3" {
"package": "symfony/http-foundation",
"version": "v2.1.0-BETA4"
} }
], ],
"packages-dev": null,
"aliases": [ "aliases": [
], ],
"minimum-stability": "beta", "minimum-stability": "stable",
"stability-flags": [ "stability-flags": [
] ]