Release history
1.9.0 (2017-06-28)
-
Fix #68 - Add support for
chrome_image
.
1.8.0 (2017-06-19)
-
Fix #18 - Allow CURL to have SSL certificates
verification enabled ;
-
Fix #63 - Allow to use own url for API server ;
-
Fix #65 - The
setCURLClient(ICURClient $curlClient)
did not return $this
;
-
Fix #66 - Now the library allows to overwrite
some CURL options ;
-
Add support for PHP
7.1
and execute tests with Travis and PHP 7.1
;
-
Increase code coverage to
100%
;
-
Add a testing Apache Cordova App in the
src/test/resources directory
, this application allows to
manually test the php-pushwoosh library by receiving notification inside a very simple Android or iOS
application ;
-
Update all Grunt dependencies and update the build scripts (only useful for contributors) ;
-
Close #23 - Closing this issue, no serious
developer shoud use PHP without composer.
1.7.1 (2016-10-20)
-
Add response value to Pushwoosh Exceptions when a curl request execution fails.
1.7.0 (2016-09-15)
-
Fix #60 - Add missing campain in
\Gomoob\Pushwoosh\Model\Notification\Notification
class ;
-
Update development composer dependencies.
1.6.0 (2016-07-06)
-
Fix #50 - Add Firefox specific notification
properties support with a new
\Gomoob\Pushwoosh\Model\Notification\Firefox
class. Also now the
\Gomoob\Pushwoosh\Model\Notification\Platform
class adds utility constants for platforms, the
following constants are available IOS
, BLACKBERRY
, ANDROID
,
NOKIA_ASHA
, WINDOWS_PHONE_7
, MAC_OS_X
, WINDOWS_8
,
AMAZON
, SAFARI
, CHROME
, FIREFOX
;
-
BREAKING CHANGE - Fix #52 -
Abandon support for PHP
5.5.X
because end of life associated to PHP 5.5 is planned for 10 July 2016
(see http://php.net/supported-versions.php) ;
-
BREAKING CHANGE - Fix #53 -
Remove Baidu minimize link supported because this feature will be removed by Pushwoosh soon ;
-
BREAKING CHANGE - Remove
\Gomoob\Pushwoosh\Exception\PushwooshException->setData(array $data)
function because its not used
and their are no reasons to use it ;
-
Remove use of PHPUnit
getMock(...)
because its now deprecated, replace it with calls to
createMock(...)
instead.
1.5.3 (2016-06-26)
-
Fix #51 -
Fix field name for applications group in json request.
1.5.2 (2016-05-09)
-
Fix #47 -
CreateTargetedMessageRequest
, the auth
property was not injected in the request
payload ;
-
Improve and enforce Code Sniffer checks.
1.5.1 (2016-03-11)
-
Fix #44 -
PushwooshMock
- Abstract
method not implemented.
1.5.0 (2016-03-10)
-
Fix #40 - Content is supposed to be string type
only ;
-
Fix #41 - Fix pushStat endpoint call ;
-
Fix #37 - Implementation for
/createTargetedMessage
;
-
Fix #17 - Add the library to awesome-php ;
-
Add a new
IRequest
interface common to all requests ;
-
Add a new
IResponse
interface common to all responses ;
-
Add a new
DateCondition
which works with \DateTime
objects and supports the
BETWEEN
, EQ
, GTE
, IN
, LTE
, NOTEQ
and NOTIN
operators ;
-
Now the
IntCondition
supports the IN
, NOTEQ
and NOTIN
operators ;
-
Now the
StringCondition
supports the IN
, NOTEQ
and NOTIN
operators ;
-
Now the
Notification
class supports the campain
and timezone
properties ;
-
Improves the request implementations and add a new `isAuthSupported()` method to know if a specific request
supports the auth property.
1.4.0 (2016-01-07)
-
Fix #39, fix ios category id naming issue and add
support for send_rate ;
- Test the iOS
getCategoryId()
and setCategoryId($categoryId)
functions ;
-
Add new
preset
, getPreset()
and setPreset($preset)
attribute and
functions in the Notification
class ;
-
Add new
remotePage
, getRemotePage()
and setRemotePage($remotePage)
attribute and functions in the Notification
class ;
-
Add new
richPageId
, getRichPageId()
and setRichPageId($richPageId)
attribute and functions in the Notification
class ;
-
Add new
sendRate
, getSendRate()
and setSendRate($sendRate)
attribute and
functions in the Notification
class ;
-
Update composer dependencies.
1.3.1 (2015-12-28)
-
Fix #38, update minimum PHP version to 5.5.9.
1.3.0 (2015-12-28)
-
BREAKING CHANGE : Abandon PHP 5.4 support, now minimum required version is PHP 5.5 ;
-
Remove
array(...)
notations and replace them by [...]
;
-
BREAKING CHANGE : Implements the
JsonSerializable
and rename toJSON()
to jsonSerialize()
everywhere ;
-
Better Code Climate score.
1.2.0 (2015-12-25)
-
Add new
getPriority()
and setPriority($priority)
methods to the ADM
notification class ;
-
Add new
getBadges()
, setBadges($badges)
, getIbc()
,
setIbc($ibc)
, getLed()
, setLed($led)
, getPriority()
,
setPriority($priority)
, getVibration()
and isVibration()
to the
Android
notification class ;
-
Fix #31, add missing notification properties ;
-
Add a new
Chrome
notification class ;
-
Add a new
Platform::chrome()
method to get the Chrome Platform ;
-
Update the documentation to reflect new notification methods and classes ;
-
Enforce all unit test assertion by replacing
assertEquals(...)
by assertSame(...)
when possible ;
1.1.1 (2015-11-17)
-
Fix #30 - Fix typo on maxOSX.
1.1.0 (2015-11-13)
-
BREAKING CHANGE : Abandon PHP 5.3 support, now minimum required version is PHP 5.4 ;
-
Officially support PHP 7.0 (as PHP 7 is not already stable let us know if you encounter errors).
1.0.9 (2015-11-13)
-
Fix #28, fix exception message ;
-
Full review of exception messages, write additional unit test checks for them ;
-
Run unit test in Travis with PHP nightly builds, so now we should be sure the library is supported with PHP 7
;-).
1.0.8 (2015-10-19)
-
Fix #27, add a
.gitattributes
file
to lighten the dist package and improve download time.
1.0.7 (2015-10-15)
-
Move the
Gomoob\Curl
package into the Gomoob\Pushwoosh\Curl
package because
Gomoob\Curl
could lead to conflicts with other Gomoob libraries.
1.0.6 (2015-10-14)
1.0.5 (2015-04-26)
1.0.4 (2015-03-10)
1.0.3 (2015-02-16)
- Add an array of pushwoosh requests sent by the
Gomoob\Pushwoosh\Client\PushwooshMock
class.
1.0.2 (2015-02-13)
-
Add implementation of
Gomoob\Pushwoosh\Client\PushwooshMock
methods. The methods of the mock object
always return response objects with http status code equals to 200.
1.0.1 (2015-02-12)
1.0.0 (2015-01-18)
- Upgrade PDepend to version
~2.0
- Upgrade PHPMD to version
~2.1
- Upgrade PHP_CodeSniffer to version
~2.1
- Remove
php-cs-fixer
and use the PHP_CodeSniffer phpcbf
tool instead
- Now the Grunt build uses
load-grunt-tasks
- Upgrade all
package.json
dependencies
-
Fix #2, Replace the 3 first
badges on the home page by shields.id badges
-
Fix #3, Run Travis builds with
more PHP versions
-
Fix , Now the version is
compliant with Semantic Versionning
-
Fix #5, Use a code quality check
service
0.1.0 (2014-09-19)
- First stable version
- Increase code coverage to 94%
0.1.0-alpha5 (2014-09-17)
- Code coverage is now 100% on the
Gomoob\Pushwoosh\Model\Request
package
- Code coverage is now 100% on the
Gomoob\Pushwoosh\Model\Response
package
- Code coverage is now 100% on the
Gomoob\Pushwoosh\Model\Notification
package
- Add missing
Gomoob\Pushwoosh\Model\Request\GetTagsRequest
class
- Add an abstract
Gomoob\Pushwoosh\Model\Response\AbstractResponse
class common to all response
objects
- Add classes in the
Gomoob\Pushwoosh\Model\Condition
package to express conditions added to a
Pushwoosh notification
- Add a
Gomoob\Pushwoosh\Model\Notification\MinimizeLink
class
- Add a
Gomoob\Pushwoosh\Model\Notification\BlackBerry
class to configure specific BackBerry
settings
- Now the documentation is on Github Pages
0.1.0-alpha4 (2014-09-09)
- Now the package is loaded using a PSR-4 autoloader instead of a
PSR-0 autoloader
- Use PHP_CodeSniffer to ensure the code is compliant
with PSR-0 and
PSR-2 coding rules
- Upgrade Grunt dependency
grunt-phpunit
- Now the code is compliant with PSR-0 and
PSR-2 coding rules
- Reorganize attributes and functions in the
Gomoob\Pushwoosh\Model\Notification\ADM
class
- Reorganize attributes and functions in the
Gomoob\Pushwoosh\Model\Notification\Android
class
- Reorganize attributes and functions in the
Gomoob\Pushwoosh\Model\Notification\IOS
class
- Reorganize attributes and functions in the
Gomoob\Pushwoosh\Model\Notification\Mac
class
- Reorganize attributes and functions in the
Gomoob\Pushwoosh\Model\Notification\Safari
class
- Reorganize attributes and functions in the
Gomoob\Pushwoosh\Model\Notification\WNS
class
- Reorganize attributes and functions in the
Gomoob\Pushwoosh\Model\Notification\WP
class
- Updates the coding conventions in the
README.md
file
- Append indications for Pull Requests in the
README.md
file
- Ignore the
composer.lock
file from GIT
- Build the project on Travis CI
- Add Badge Poser badges in the
README.md
file
- Enable Coveralls to report code coverage with TravisCI
0.1.0-alpha3 (2014-06-25)
- Third alpha release
-
Complete the IOS notification implementation into the
Gomoob\Pushwoosh\Model\Notification\IOS
class
.
-
Remove a duplicated method in the
Gomoob\Pushwoosh\Model\Request\UnregistereDeviceRequest
class.
0.1.0-alpha2 (2014-06-13)
- Second alpha release
- Add a Contributing section in the README.md file
- Improves documentation
- Add a develop branch to the project
- Add several missing methods to the
Gomoob\Pushwoosh\Model\Notification\Notification
class
- Add a
Gomoob\Pushwoosh\Model\Notification\NotificationTest
unit test class
- Prepare test cases for not implemented request objects
0.1.0-alpha1 (2014-05-25)
- First alpha release which implements the following Pushwoosh REST Web Services :
/createMessage
/registerDevice
/setTags
/unregisterDevice