Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Conversation

@github-actions
Copy link

Release Notes for 2.1.1

Fixed

  • Fixes a BC break introduced in 2.1.0 whereby the Laminas\OAuth\Client was redefining the $config property defined in its parent Laminas\Http\Client, leading to type errors and property collisions.

2.1.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

BC Break,Bug

…t HTTP client

2.1.0 made changes to internal protected members, refactoring those that were prefixed with an underscore to remove the underscore.
Unfortunately, one of these, `Laminas\OAuth\Client::$config`, is also defined in the parent `Laminas\Http\Client`, and the two were of different types, leading to type errors (see laminas/laminas-twitter#6).

I've audited to determine what collisions exist, and this was the only one found.
As such, I've renamed the property, as well as all references to it internally, to avoid the collision.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Fix collisions between $config property of OAuth client and HTTP client
@weierophinney weierophinney merged commit fe06c17 into 2.2.x Mar 12, 2021
@weierophinney weierophinney deleted the 2.1.x-merge-up-into-2.2.x_604b7dd543d066.67026097 branch March 12, 2021 14:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant