Blog |

rollbar-php v0.9.0 released

rollbar-php v0.9.0 released
Table of Contents

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 E_NOTICEs 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
E_NOTICE 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)
));

MAX_ERRNO IS DEAD, LONG LIVE INCLUDED_ERRNO

The max_errno configuration option has been removed and replaced by included_errno.
included_errno takes a bitmask, like the PHP error_reporting directive. The default includes
everything more severe than E_STRICT, except E_NOTICE.

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.

"Rollbar allows us to go from alerting to impact analysis and resolution in a matter of minutes. Without it we would be flying blind."

Error Monitoring

Start continuously improving your code today.

Get Started Shape