View Source Changelog

0.1.3

This release introduces a single-file Phoenix LiveView example that can be run with elixir examples/phoenix.exs.

In addition, this release removes the use of Registry, adds better error handling, and improves GenServer usage, including better child specs.

Features

  • Added examples/phoenix.exs example
  • Added Agens.Prefixes
  • Added pass-through args and finalize function to Agens.Serving
  • Added {:job_error, {job.name, step_index}, {:error, reason | exception}} event to Agens.Job

  • Added child specs to Agens and Agens.Supervisor
  • Added {:error, :job_already_running} when calling Agens.Job.run/2 on running job
  • Added {:error, :input_required} when calling Message.send/1 with empty input

Breaking Changes

Fixes

0.1.2

This release removes application environment configuration and moves to an opts-based configuration. See README.md for more info.

Features

Fixes

  • Agens.Job.get_config/1 now wraps return value with :ok tuple: {:ok, Agens.Job.Config.t()}
  • Replaced module() | Nx.Serving.t() with atom() in Agens.Agent.Config.t()

0.1.1

Initial release