Skip to content

Commit

Permalink
Merge pull request #411 from recurly/release-2.12.2
Browse files Browse the repository at this point in the history
Release version 2.12.2
  • Loading branch information
bhelx authored Apr 26, 2019
2 parents 6f64f1d + c1473e2 commit 28465f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Recurly PHP Client Library CHANGELOG

## Version 2.12.2 (April 26th, 2019)

* Ensure nested resources have the same client as their parent [PR](https://github.com/recurly/recurly-client-php/pull/409)
* Make `Recurly_Client::$apiUrl` private [PR](https://github.com/recurly/recurly-client-php/pull/410)

## Version 2.12.1 (March 15th, 2019)

* Fix issue with _verifyUri [PR](https://github.com/recurly/recurly-client-php/pull/402)
Expand All @@ -14,7 +19,7 @@ Note: This version contains a bug with the _verifyUri method. Please use 2.12.1
* Ensure that the client can only connect to recurly domains to improve security [878e844](https://github.com/recurly/recurly-client-php/pull/401/commits/878e8444ad7aa675fed956d610e8c44158787047)

### Upgrade Notes
If you are using the `Recurly_ExportFile` class, you must now use `getDownloadUrl()` to get the download url rather than accessing this property directly.
1. If you are using the `Recurly_ExportFile` class, you must now use `getDownloadUrl()` to get the download url rather than accessing this property directly.
```php
# if you are accessing the download url directly
$url = $export_file->download_url;
Expand All @@ -23,6 +28,8 @@ $url = $export_file->getDownloadUrl();
```
If you are using `$export_file->download($fp)` and not accessing the url directly, you should not be affected.

2. If your test environment changes the `Recurly_Client::$apiUrl` property, it will no longer work due to domain whitelisting. For a workaround, please see [this conversation](https://github.com/recurly/recurly-client-php/pull/408#discussion_r274063679).

## Version 2.11.2 (February 19th, 2019)

* Adds support for Amazon Region [PR](https://github.com/recurly/recurly-client-php/pull/394)
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Recurly_Client
private static $apiUrl = 'https://%s.recurly.com/v2';


const API_CLIENT_VERSION = '2.12.1';
const API_CLIENT_VERSION = '2.12.2';
const DEFAULT_ENCODING = 'UTF-8';

const GET = 'GET';
Expand Down

0 comments on commit 28465f3

Please sign in to comment.