← Blog Home
By Brian Rue May 23rd, 2014 php, changelog

rollbar-php v0.9.0 released

We've released a new version of rollbar-php, version 0.9.0. It's available now on Packagist, or find the source on GitHub.

E_NOTICES NOW IGNORED BY DEFAULT

Rollbar can track ENOTICEs as 'info'-level events, but in practice this often turns into large amounts of data, even for relatively low-traffic projects. We've changed the defaults to now ignore ENOTICE errors.

If you do want E_NOTICEs to be sent to Rollbar, configure like this:

<?php
Rollbar::init(array(
  'access_token' => 'token here',
  // other current config...
  'included_errno' => (E_ERROR | E_WARNING | E_PARSE | E_NOTICE | E_CORE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR)
));

MAXERRNO IS DEAD, LONG LIVE INCLUDEDERRNO

The max_errno configuration option has been removed and replaced by included_errno. includederrno takes a bitmask, like the PHP errorreporting directive. The default includes everything more severe than ESTRICT, except ENOTICE.

X-ROLLBAR-ACCESS-TOKEN HEADER NOW SENT

A few months ago, we added a feature to the API tier: the access token can now be provided in a header, instead of being in the body of the request. This makes things easier on our API workload, especially for requests that result in 429 or 403 response codes (because of rate limits, account limits, disabled access tokens, etc.). It should result in slightly faster response times in those cases.

Join Our Community

Get the latest updates, tutorials and more, delivered to your inbox, once a month.

← Blog Home

Join Our Community

Get the latest updates, tutorials and more, delivered to your inbox, once a month.