Skip to content

2.0 #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 29 commits into from
Dec 10, 2013
Merged

2.0 #12

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
2022921
Require PHP >= 5.4.0
jsor Oct 21, 2013
95fb578
Change variable names to follow the A+ specs
jsor Oct 21, 2013
a4d6358
Add callable typehints
jsor Oct 21, 2013
fb0e424
Get rid of When/Util classes and move its methods to functions
jsor Oct 22, 2013
1f7bf12
Remove ResolverInterface and PromiseInterface from Deferred
jsor Oct 22, 2013
ee0d837
Refactor common promise tests into traits
jsor Oct 22, 2013
8dc158f
Remove PHP 5.3 versions from .travis.yml
jsor Oct 22, 2013
4116273
Replace array() with short syntax
jsor Oct 22, 2013
e33467c
Add standalone Promise class
jsor Oct 22, 2013
46048ec
Let Deferred use Promise class
jsor Oct 22, 2013
466e1be
CS fixes
jsor Oct 22, 2013
d80f0b0
Update readme for new Promise class
jsor Oct 22, 2013
17c2baa
Ensure FullfilledPromise/RejectedPromise are not created with a promise
jsor Oct 22, 2013
1922d45
Fix branch-alias
jsor Oct 22, 2013
1052c27
Fix typo in filename/classname
jsor Oct 22, 2013
f26c258
Update changelog
jsor Oct 22, 2013
b6d2d6f
Add FulfilledPromise and RejectedPromise to API docs
jsor Oct 22, 2013
03da574
Extend and restructure readme
jsor Oct 22, 2013
bbc9768
Revert phpunit php notice setting
jsor Oct 22, 2013
4807d43
Remove unneeded toClosue()
jsor Oct 24, 2013
e025703
Simplify code
jsor Nov 28, 2013
1193dae
Remove unneeded call_user_func()'s
jsor Nov 28, 2013
c09facc
Simplify some()
jsor Nov 28, 2013
219e7db
Refactor map() to use Promise instead Deferred
jsor Nov 28, 2013
0f21360
Ensure to resolve early when some() is called with < 1
jsor Nov 28, 2013
bdda7eb
Ensure value/reason arrays get not stacked up if already resolved
jsor Nov 28, 2013
894deb2
Remove unneeded max() check
jsor Nov 28, 2013
a13300b
Add new React\Promise\race() function
jsor Nov 28, 2013
e78de7d
Remove return value from Deferred::resolve and Deferred::reject
jsor Nov 28, 2013
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
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: php

php:
- 5.3.3
- 5.3
- 5.4
- 5.5

Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
CHANGELOG
=========

* 2.0.0 (xxxx-xx-xx)

New major release. The goal was to streamline the API and to make it more
compliant with other promise libraries and especially with the new upcoming
[ES6 promises specification](https://github.com/domenic/promises-unwrapping/).

* Add standalone Promise class.
* Add new React\Promise\race() function.
* BC break: Bump minimum PHP version to PHP 5.4.
* BC break: Remove ResolverInterface and PromiseInterface from Deferred.
* BC break: Change signature of PromiseInterface.
* BC break: Remove When and Util classes and move static methods to functions.
* BC break: FulfilledPromise and RejectedPromise now throw an exception when
initialized with a promise instead of a value/reason.
* BC break: React\Promise\Deferred::resolve() and React\Promise\Deferred::reject()
no longer return a promise.

* 1.0.4 (2013-04-03)

* Trigger PHP errors when invalid callback is passed.
Expand Down
Loading