Skip to content

v1.0.1

Latest
Compare
Choose a tag to compare
@CodeWithKyrian CodeWithKyrian released this 06 May 18:01
· 3 commits to main since this release

This patch release introduces an API improvement to the ClientBuilder for a more streamlined configuration experience.

✨ Enhancements

  • Simplified Client Identity Configuration: The ClientBuilder now features a new method withClientInfo(string $name, string $version). This single method replaces the previous separate withName(string $name) and withVersion(string $version) methods for setting your client application's identity. This makes the builder API slightly more concise.

⚠️ Deprecations

  • The methods ClientBuilder::withName(string $name) and ClientBuilder::withVersion(string $version) are now deprecated.
  • Please update your code to use the new ClientBuilder::withClientInfo(string $name, string $version) method.
  • The deprecated methods will be removed in a future v2.0.0 release. They will continue to function as before in the v1.x.x series to maintain backward compatibility.

📝 Documentation

  • The README.md and examples have been updated to reflect the new withClientInfo() method and the removal of the ClientInfo object from direct user configuration.