All notable changes to Jsend will be documented in this file.
- None
- Bug Fix SPL Exception usage.
- None
- None
- None
- The JSend data property can also be a
JsonSerializableobject - When using
JSend::withErrorthe JSend status of the return instance is set toerror.
- None
- None
- None
-
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
- None
- None
JSend::__set_stateJSend::__debugInfo
- None
- None
- None
JSend::isSuccessJSend::isFailJSend::isError
- None
- None
- None
First release