Skip to content

Latest commit

 

History

History
107 lines (74 loc) · 4.31 KB

CHANGELOG.md

File metadata and controls

107 lines (74 loc) · 4.31 KB

Changelog

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.

3.0.0 - 2026-03-19 (Project Forked)

Forked from phoneburner/api-handler.

This project 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.

This is a major release that includes significant changes to the project structure and development environment, as well as updates to the project's dependencies and configuration. The most significant user-facing change is the renaming of the organization namespace from PhoneBurner to WickedByte, which will need to be updated in any code that depends on this project.

Fixed

  • Fixed DefaultHandler::$factory uninitialized typed property that caused a fatal error at runtime when no response factory was explicitly set

Changed

  • Breaking: Renamed organization namespace from PhoneBurner\ApiHandler to WickedByte\ApiHandler
  • Breaking: Updated composer package name from phoneburner/api-handler to wickedbyte/api-handler
  • Updated dependency from phoneburner/http-tortilla to wickedbyte/http-tortilla
  • Dev: Replaced phoneburner/coding-standard with wickedbyte/coding-standard
  • Dev: Updated all development dependencies to latest versions
  • Dev: Updated GitHub Actions to run on PHP version matrix (8.2, 8.3, 8.4, 8.5)
  • Dev: Updated default Docker PHP version to 8.5, renamed docker-compose.yml to compose.yml
  • Dev: Various Dockerfile improvements (heredoc delimiters, apt cache locking, zip extension)
  • Dev: Made GITHUB_TOKEN optional (only needed for API rate-limit relief)

Added

  • Added WickedByte copyright to LICENSE file
  • Dev: Added homepage and prefer-stable to composer.json
  • Dev: Added CODE_OF_CONDUCT.md, updated CONTRIBUTING.md and SECURITY.md

1.0.2 - 2025-11-13

Added

  • Add explicit support for PHP 8.5 in composer.json constraints.
  • [Development Docker Image] Add PHP_VERSION and WITH_XDEBUG environment variables and build args to make Docker image more flexible.

Changed

  • Remove composer.json repository override for 'phoneburner/php-coding-standard' (as it is now available on Packagist)
  • [Development Docker Image] Switch from PECL to PIE for installing PHP extensions.
  • [Development Docker Image] Optional Xdebug extension is no longer installed by default.
  • [Development Docker Image] Install git, fixing Composer root-version warning message.

Fixed

  • Fix whitespace issues in .gitattributes

1.0.1 - 2025-07-30

Added

  • This changelog.

1.0.0 - 2025-07-30

Added

  • Initial stable release of the API Handler library
  • Support for PHP 8.4 alongside 8.2 and 8.3
  • CRUD operations through dedicated handlers:
    • CreateHandler for resource creation
    • ReadHandler for resource retrieval
    • UpdateHandler for resource modification
    • DeleteHandler for resource removal
  • Response transformation capabilities with TransformableResponse
  • PSR-7 and PSR-15 compliance for HTTP message interfaces and server request handlers
  • Middleware support through DispatchMiddleware
  • Flexible response factories

Changed

  • Updated for Tortilla 2 compatibility with static returns
  • Modified response handling to return mutated instances instead of the same instance
  • Using the develop branch for HTTP Tortilla dependency

Fixed

  • Allow null return for all hydrator calls
  • Fixed PHPStan return annotations to properly handle null values
  • Resolved static analysis issues with PHPStan
  • Addressed code quality issues with Rector

Security

  • Initial security review completed for v1.0.0 release