Skip to content

Conversation

elverkilde
Copy link
Contributor

@elverkilde elverkilde commented Mar 9, 2021

Description

I have put this directly in the constructor instead of a new option. It's a fairly non-standard option IMO, so I think that makes sense.

This will be a breaking change, as support for 7.1 is removed and several deprecated functions have been removed. Will be released with new major version.

Related to #95 and #232.

CHANGELOG

  • [CHANGED] internal HTTP client to Guzzle
  • [ADDED] optional client parameter to constructor
  • [CHANGED] useTLS is true by default
  • [REMOVED] curl_options from options
  • [REMOVED] customer logger
  • [REMOVED] host, port and timeout constructor parameters
  • [REMOVED] support for PHP 7.1
  • [CHANGED] lower severity level of logging to DEBUG level

@elverkilde elverkilde requested a review from damdo March 9, 2021 16:24
@elverkilde elverkilde force-pushed the guzzle branch 8 times, most recently from b14048f to d481182 Compare March 9, 2021 17:24
@elverkilde elverkilde force-pushed the guzzle branch 4 times, most recently from 7df744d to 4dbf217 Compare March 10, 2021 09:34
Copy link
Contributor

@damdo damdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one! 👍
A couple of minor comments

@elverkilde elverkilde added the release-major Major version bump label Mar 17, 2021
This is a major refactor:
* removing a lot of the curl-specific cruft
* removing the verbose logging from the tests
* lowering the severity of the logging to DEBUG level
* removing support for 7.1
* removing several deprecated parameters and options
@elverkilde elverkilde removed the release-major Major version bump label Mar 17, 2021
@elverkilde elverkilde added the release-major Major version bump label Mar 17, 2021
@elverkilde elverkilde merged commit 1a5d9d7 into master Mar 17, 2021
@elverkilde elverkilde deleted the guzzle branch March 17, 2021 08:59
@emmadesilva
Copy link

@elverkilde Hey! Sorry for pinging you here but I just wanted to check something. Was the removal of curl_options an intended change, or just a side effect?

The reason I'm asking is because it breaks self signed certificates (which are very useful for local development) when using Laravel Broadcasting.

Since v5.0.3 no longer works on Laravel 10, this means that there is now no way to use self signed certificates when self-hosting Pusher, for example with Soketi (who documents this issue here https://docs.soketi.app/getting-started/backend-configuration/laravel-broadcasting#self-signed-certificates)

If this was an intentional removal, would you mind letting us know why it was removed? Else, would it be possible to get it added back to the package? I'm happy to try making a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-major Major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants