tangwei/apidocs breaking changes
tangwei/apidocs v4.0.0 (November 25, 2026) is its newest release with breaking changes, 9 of them. The first: Removed Hyperf\ApiDocs\Swagger\GenerateResponses::getJsonContent. Every breaking API change we have recorded in tangwei/apidocs on Packagist: 9 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v4.0.0, released November 25, 2026. MIT license. Source repository
Packages on Packagist run on PHP. PHP end of life dates.
tangwei/apidocs v4.0.0 breaking changes
- Removed
Hyperf\ApiDocs\Swagger\GenerateResponses::getJsonContent
Hyperf\ApiDocs\Swagger\GenerateResponses::getJsonContent was removed in tangwei/apidocs v4.0.0 packagist.org - Signature changed
Hyperf\ApiDocs\Annotation\ApiResponse::__construct
Was public function __construct(null|string|object|array $returnType = null, public string|int|null $response = '200', public string $description = 'success'); now public function __construct(null|array|object|string $returnType = null... packagist.org - Signature changed
Hyperf\ApiDocs\Ast\ResponseVisitor::__construct
Was public function __construct(protected object $generateClass, protected string $generateClassName, protected array $propertyArr); now public function __construct(protected string $generateClassName, protected array $propertyArr, string... packagist.org - Signature changed
Hyperf\ApiDocs\Swagger\GenerateParameters::getJsonContent
Was protected function getJsonContent(string $className, ?Property $property = null): OA\JsonContent; now protected function getJsonContent(string $className, ?Property $property = null): Schema. packagist.org - Signature changed
Hyperf\ApiDocs\Swagger\GenerateProxyClass::phpParser
Was protected function phpParser(object $generateClass, $filePath, $propertyArr): array; now protected function phpParser(string $classname, $filePath, $propertyArr): array. packagist.org - Signature changed
Hyperf\ApiDocs\Swagger\GenerateResponses::getContent
Was protected function getContent(array|object|string $returnTypeClassName): array; now protected function getContent(array|object|string $returnTypeClassName, array $types = []): array. packagist.org - Signature changed
Hyperf\ApiDocs\Swagger\SwaggerCommon::getSwaggerType
Was public function getSwaggerType(mixed $phpType): string; now public function getSwaggerType(mixed $phpType): ?string. packagist.org - Signature changed
Hyperf\ApiDocs\Swagger\SwaggerComponents::buildPropertyFromReflection
Was protected function buildPropertyFromReflection(\ReflectionProperty $reflectionProperty): Property; now protected function buildPropertyFromReflection(ReflectionProperty $reflectionProperty): Property. packagist.org - Signature changed
Hyperf\ApiDocs\Swagger\SwaggerLlms::getSchemas
Was protected function getSchemas($data = [], array $components = []): array; now protected function getSchemas(array $data, array $components, array &$visited = []): array. packagist.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.