Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Quick setup
0. Install the PHP SDK with [Composer](https://getcomposer.org/)

php composer.phar require launchdarkly/launchdarkly-php
php composer.phar require "guzzlehttp/guzzle:5.*"
php composer.phar require "guzzlehttp/cache-subscriber:0.1.*"
php composer.phar require "guzzlehttp/guzzle:6.2.1"
php composer.phar require "kevinrob/guzzle-cache-middleware": "1.4.1"

1. After installing, require Composer's autoloader:

Expand Down Expand Up @@ -49,8 +49,8 @@ Using Guzzle

To use Guzzle it must be required as a dependency:

php composer.phar require "guzzlehttp/guzzle:5.*"
php composer.phar require "guzzlehttp/cache-subscriber:0.1.*"
php composer.phar require "guzzlehttp/guzzle:6.2.1"
php composer.phar require "kevinrob/guzzle-cache-middleware": "1.4.1"

It will then be used as the default way of fetching flags.

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.0
1.0.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to stick with the pre-1.0 versions? if so this should be 0.8.0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should definitely bump the major version if this is an API-breaking change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine either way, but FYI: http://semver.org/#spec-item-4

10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
"php": ">=5.5"
},
"require-dev": {
"guzzlehttp/guzzle": "6.2.1",
"kevinrob/guzzle-cache-middleware": "1.4.1",
"phpunit/phpunit": "4.8.26",
"phpdocumentor/phpdocumentor": "2.*",
"predis/predis": "1.0.*",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This goes away because it is not compatible with Guzzle 6: https://github.com/guzzle/cache-subscriber

"guzzlehttp/guzzle": "5.*",
"guzzlehttp/cache-subscriber": "0.1.*",
"zendframework/zend-serializer": "2.7.*"
},
"suggested": {
"predis/predis": "1.0.*",
"guzzlehttp/guzzle": "5.*",
"guzzlehttp/cache-subscriber": "0.1.*"
"guzzlehttp/guzzle": "6.2.1",
"kevinrob/guzzle-cache-middleware": "1.4.1",
"predis/predis": "1.0.*"
},
"autoload": {
"psr-4": {
Expand Down
Loading