Skip to content

Release 6.3.0: Response object, OpenAiException, retries, and PHPStan - #171

Merged
orhanerday merged 1 commit into
mainfrom
feat/production-features
Oct 11, 2026
Merged

orhanerday merged 1 commit into
mainfrom
feat/production-features

Conversation

@orhanerday

Copy link
Copy Markdown
Owner

Added

  • getLastResponse() and Response object for inspecting HTTP status, headers, and decoded JSON bodies.
  • setThrowOnError(true) and OpenAiException for clean error handling.
  • setRetries(maxRetries, baseDelayMs) with exponential backoff, jitter, and Retry-After support.
  • Static analysis with PHPStan (level 5) and PHPDoc shape annotations on core methods.
  • getDecisionsUsage() reporting endpoint.
  • Removed mock tests in favor of pure in-memory unit tests and real API tests.

See CHANGELOG.md for details.

@orhanerday
orhanerday merged commit 88097be into main Oct 11, 2026
1 check passed
@orhanerday
orhanerday deleted the feat/production-features branch October 11, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant