All notable changes to JSend
will be documented in this file.
version 1.2.3 - 2016-03-15
Fixed
- Bug Fix SPL Exception usage.
version 1.2.2 - 2016-03-14
Fixed
- The JSend data property can also be a
JsonSerializable
object - When using
JSend::withError
the JSend status of the return instance is set toerror
.
version 1.2.1 - 2016-03-11
Fixed
- Improve property validation
- empty message error now throw exception
- a message error can be an object implementing the
__toString
method
- Improve HTTP response generation
- adding the
Content-Length
header - adding overiding possibility for all header
- adding the
version 1.2.0 - 2016-03-09
Added
JSend::__set_state
see PHP __set_state documentationJSend::__debugInfo
see PHP __debugInfo documentation
version 1.1.0 - 2016-03-04
Added
JSend::isSuccess
JSend::isFail
JSend::isError
1.0.0 - 2016-03-03
First release