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
JsonSerializableobject - When using
JSend::withErrorthe 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
__toStringmethod
- Improve HTTP response generation
- adding the
Content-Lengthheader - adding overiding possibility for all header
- adding the
version 1.2.0 - 2016-03-09
Added
JSend::__set_statesee PHP __set_state documentationJSend::__debugInfosee PHP __debugInfo documentation
version 1.1.0 - 2016-03-04
Added
JSend::isSuccessJSend::isFailJSend::isError
1.0.0 - 2016-03-03
First release