---
title: Major Client Update For Elixir
published: "2017-11-29"
publisher: Honeybadger
author: Joshua Wood
category: Elixir articles
tags:
  - Elixir
  - Honeybadger
description: "This month we released a new version of our hex package, which includes a major refactor of the internal client logic as well as some new features, improvements, and bug fixes."
url: "https://www.honeybadger.io/blog/honeybadger-for-elixir-v0-7/"
---

This month we released a new version of our hex package, which includes a major refactor of the internal client logic as well as some new features, improvements, and bug fixes.

We're super excited to share the release of [honeybadger](https://hex.pm/packages/honeybadger) v0.7 with you! Here are the highlights:

## Better Async Handling

The Honeybadger client now uses a separate process (via `GenServer`) to report errors in the background, instead of spawning new tasks. A supervision tree is started with the client as a child.

We think this is a much better way to do asynchronous work like ours, and it should result in improved performance in applications which report a lot of errors. Check out the [Pull Request](https://github.com/honeybadger-io/honeybadger-elixir/pull/93).

## Improved Phoenix Support

Errors reported from `Plug` now automatically include the controller and action name from Phoenix.

This was previously possible by including our `Plug` directly in each controller, but not if you added it to the Phoenix router, which is a much nicer way to get error reporting in all Phoenix controllers:

```elixir
defmodule MyPhoenixApp.Router do use Crywolf.Web, :router use Honeybadger.Plug pipeline :browser do [...] end end
```

The controller name is also used to help group similar errors in the Honeybadger UI, so this update should make error grouping more logical in some applications. Check out the [Pull Request](https://github.com/honeybadger-io/honeybadger-elixir/pull/108).

## New Ways to Notify

The client now supports sending more arbitrary errors to Honeybadger. For instance, you can call `Honeybadger.notify/1` with a `string` or a `map`:

```elixir
# With just an error message: Honeybadger.notify("oops!") # With a map: Honeybadger.notify(%{ class: "CustomError", message: "oops!" })
```

Check out the [Pull Request](https://github.com/honeybadger-io/honeybadger-elixir/pull/104).

## Smarter Stack Traces

When calling `Honeybadger.notify` with custom arguments, the accuracy of the generated stack trace has been improved. Check out the [Pull Request](https://github.com/honeybadger-io/honeybadger-elixir/pull/100).

## Test Your Configuration

We've added a new mix task which can be invoked with `mix honeybadger.test`. When invoked, the task will report a test exception to your Honeybadger project, verifying that your application is configured correctly. Check out the [Pull Request](https://github.com/honeybadger-io/honeybadger-elixir/pull/107).

## Bug Fixes, Etc.

Last but not least, we fixed a bunch of bugs and made even more improvements, making v0.7 the most stable release yet.

Check out the [CHANGELOG](https://github.com/honeybadger-io/honeybadger-elixir/blob/master/CHANGELOG.md) for a full list of fixes included in this release.

## A Special Thanks

I would like to specially thank [Parker Selbert (@sorentwo)](https://github.com/sorentwo), who was a major contributor to the v0.7 release. Thanks Parker, this release wouldn't have been possible without you!

---

## Try Honeybadger for FREE

Intelligent logging, error tracking, and Just Enough APM™ in one dev-friendly platform. Find and fix problems before users notice.

[Start free trial](https://app.honeybadger.io/users/sign_up)

[See plans and pricing](https://www.honeybadger.io/plans/)
