All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Types of changes
- Features for initial package features.
- Added for new features.
- Changed for changes in existing functionality.
- Deprecated for soon-to-be removed features.
- Removed for now removed features.
- Fixed for any bug fixes.
- Security in case of vulnerabilities.
- added composer script to update cacert.pem automatically after composer install or update.
- updated cacert.pem.
- Allow empty JSON response bodies to be processed correctly;
- renamed ResponseContext to ResponseContextAbstract (because it is abstract);
- renamed CONTRIBUTION.md to CONTRIBUTING.md;
- small README update.
- CODE_OF_CONDUCT.md, PULL_REQUEST_TEMPLATE.md, issue_template.md
- Response context handling was removed from NanoRest;
- response context handling was added to RequestContext instead.
- ROOT_DIRECTORY is defined in NanoRest namespace to avoid conflicts.
- ResponseContext::getHttpStatusMessage which returns HTTP status message.
- Started using NanoHttpStatus to detect HTTP error status;
- composer scripts.
- Updated README.
- RequestContext::setEncodeArraysUsingDuplication to build proper query strings in some cases.
- RequestContext::setHttpQueryCustomProcessor to add custom post-processor for query string.
- All usages of "uri" were replaced by "url" for consistency.
- Applied Scrutinizer badge.
- Fixed some typos;
- refactored some code for Scrutinizer.
- Removed error suppression for json_decode in JsonResponseContext
- The initial release of PHP Nano Rest;
- almost all types of synchronous CURL requests are available;
- SSL is being verified using ca-cert bundle which is also included;
- code is fully covered with tests;
- generation of docs failed - PhpDoc cannot build full class hierarchy;
- more to come - short syntax for most common requests, cookies, response type based on content-type header, etc.