Releases: promises-aplus/promises-tests
Releases · promises-aplus/promises-tests
2.1.2
2.1.1
2.1.0
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
This release brings the test suite up to date with the newly-released version 1.1 of the Promises/A+ specification. Along the way, it vastly increases test coverage, both for new requirements of the 1.1 spec and for existing requirements from the 1.0 spec.
At the same time, we made some updates to the adapter interface, to encourage better practices in promise libraries:
- Adapters now have functions
resolved
anddeferred.resolve
, instead offulfilled
anddeferred.fulfill
. Although we only call these functions with non-thenable values, thus making both "fulfill" and "resolve" correct verbs for these cases, most promise libraries only provide resolve capabilities, and not direct fulfillment capabilities. - The function to return a
{ promise, resolve, reject }
object is now calleddeferred
instead ofpending
, keeping with common terminology and practice in promise libraries.