Skip to content

Releases: ringcentral/ringcentral-php

3.0.3

12 Aug 07:26
856f9f6
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.2...3.0.3

3.0.2

05 Aug 06:29
69a4f0d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.1...3.0.2

Note:

Breaking Change: Added $body Parameter to delete Method

Change Summary:
The delete method in our HTTP client now includes a new $body parameter. This change allows users to pass a request body with DELETE requests.

Previous Method Signature:

public function delete($url = '', $queryParameters = [], array $headers = [], $options = [])

New Method Signature:

public function delete($url = '', $body = null, $queryParameters = [], array $headers = [], $options = [])

Impact on Existing Code:

  1. Existing code that calls the delete method without a $body argument will continue to function as before, as the $body parameter is optional and defaults to null.
  2. However, codebases that rely on positional arguments in method calls will need to update their calls to handle the new parameter, particularly if they are passing arguments that previously matched queryParameters, headers, or options.

Recommended Action:

  1. Review all instances of the delete method call in your codebase.
  2. Update method calls to explicitly specify parameters using named arguments where necessary, especially if your code relies on the position of parameters after $url.

Example After Changes with request body

`$body = array(
'records' => array(
'id1',
'id2'
)
);

delete(
'https://api.example.com/resource',
$body,
['param1' => 'value'], // Query parameters
['Content-Type' => 'application/json'] // Headers
);`

3.0.1

12 Mar 03:00
ebda301
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.0...3.0.1

3.0.0

31 May 09:16
3e47c19
Compare
Choose a tag to compare

What's Changed

  • feat: add WebSocket subscription support
  • misc: show deprecated warning at pubnub subscription
  • misc: show deprecated warning at password login

Full Changelog: 2.3.6...3.0.0

2.3.6

03 May 16:48
bc9ea7d
Compare
Choose a tag to compare

Support PubNub library 6.x

2.3.4

20 Jan 03:20
ef72779
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.3.3...2.3.4

2.3.3

15 Dec 18:29
Compare
Choose a tag to compare

Adds support for the Conversational Intelligence APIs

2.3.2

09 Aug 23:40
26a8c19
Compare
Choose a tag to compare

Updates for improved compatibility with RingCentral Video and Analytics APIs.

Minor update to reduce warnings

03 Jun 23:55
a1934ac
Compare
Choose a tag to compare

This release made minor changes to how a developer authenticates to the platform, but changing how input parameters for the config hash are checked. The changes help reduce warnings and no longer mandate that developers pass null values for keys if the key is not used.

2.3.0

23 Feb 20:04
cfcd947
Compare
Choose a tag to compare
Merge pull request #100 from ringcentral/jwt-pkce-auth

Updated login and authURL methods for JWT and PKCE support