Releases: wickedbyte/api-handler
Releases · wickedbyte/api-handler
v3.0.0
This is the first release under the WickedByte organization. It is an independently maintained fork of phoneburner/api-handler, originally released under the MIT license by the original project authors. This fork is neither affiliated with nor endorsed by PhoneBurner.
Installation
composer require wickedbyte/api-handler:^3.0This package depends on wickedbyte/http-tortilla ^3.0, which will be installed automatically.
Upgrading from phoneburner/api-handler
Update the namespace and package dependency in your code:
- use PhoneBurner\ApiHandler\ReadHandler;
- use PhoneBurner\ApiHandler\CreateHandler;
- use PhoneBurner\ApiHandler\DispatchMiddleware;
+ use WickedByte\ApiHandler\ReadHandler;
+ use WickedByte\ApiHandler\CreateHandler;
+ use WickedByte\ApiHandler\DispatchMiddleware;A simple find-and-replace of PhoneBurner\ApiHandler to WickedByte\ApiHandler across your codebase is sufficient.
Also update your composer.json:
- "phoneburner/api-handler": "^1.0"
+ "wickedbyte/api-handler": "^3.0"What's Changed
Breaking
- Renamed organization namespace from
PhoneBurner\ApiHandlertoWickedByte\ApiHandler - Updated composer package name from
phoneburner/api-handlertowickedbyte/api-handler - Updated dependency from
phoneburner/http-tortillatowickedbyte/http-tortilla^3.0
Fixed
- Fixed
DefaultHandler::$factoryuninitialized typed property that caused a fatal error at runtime when no response factory was explicitly set viasetResponseFactory()— the handler now correctly falls back toDefaultFactory
Other
- Added WickedByte copyright to LICENSE file (original PhoneBurner copyright preserved)
- PHP 8.2, 8.3, 8.4, and 8.5 are all supported and tested in CI
Full Changelog: v1.0.2...v3.0.0