Skip to content

Releases: lanlin/nylas-php

bug fix

22 Jun 10:28
Compare
Choose a tag to compare

bug fix #14

bug fix

22 Jun 10:14
Compare
Choose a tag to compare
  1. bugfix #12 #13

  2. basic authorization bugfix

  3. some other modification

options bug fix

19 Jun 01:53
66efe03
Compare
Choose a tag to compare

log_file option validation bug fixed, thanks for @Grummfy's PR

bug fix

18 Jun 04:34
Compare
Choose a tag to compare
  1. fix bug setLogFile()

  2. add resource type support for log_file

  3. about the log file parameter

nylas-php use the guzzlehttp for request nylas.

but guzzlehttp only support a resource type as the debug handler (cURL CURLOPT_STDERR required).

so for anyone who wants to use psr/log interface to debug

you can init a temp resource, and pass the handler to nylas-php.

then get log content from temp resource after nylas-php call.

$handler = fopen('php://temp', 'w+');

$options =
[
    'log_file' => $handler,
    ...
];

$nylas = new Client($options);
$nylas->doSomething();
....

rewind($handler);
$logContent = stream_get_contents($handler);
fclose($handler);

$yourPsrLogger->debug($logContent);

validator update

28 Apr 06:41
Compare
Choose a tag to compare

validator rules update

api 2.1 support & php 7.4 support

27 Apr 04:21
Compare
Choose a tag to compare
Pre-release
  1. some new methods add for api 2.1
    createWebhook();
    updateWebhook();
    deleteWebhook();
    getTokenInfo();
    getApplication();
    updateApplication();
  1. php 7.4 support
  2. some modification for account methods, like
    getAccountInfo();
    reactiveAccount();
    cancelAccount();
  1. some modification for data validator
  2. update the description README.MD

upload api bug fix

18 Oct 01:55
Compare
Choose a tag to compare

new api support

28 May 03:50
Compare
Choose a tag to compare

there's some change for Nylas API 2.0 see the changelog https://changelog.nylas.com/

I made some update in this version:

  1. New API Endpoint: IP Addresses getIpAddresses()
$nylas->Accounts()->Manage()->getIpAddresses();
  1. New API Endpoint: Revoke All Tokens revokeAllTokens()
// $params = ['keep_access_token' => '???']
$nylas->Accounts()->Manage()->revokeAllTokens($params = []);
  1. some validation rules for add contacts

enable or disable json_decode error

11 Apr 13:30
Compare
Choose a tag to compare
$client = new \Nylas\Client(['off_decode_error' => true]);

This option can be used to control the exception throws when decoding the responded body.

When set to true, the body content will be returned directly without parsing when the json_decode error occurs.

webhook signature support

20 Dec 03:35
Compare
Choose a tag to compare

receive & parse webhook notification data.