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.exsexample - Added
Agens.Prefixes - Added pass-through
argsandfinalizefunction toAgens.Serving Added
{:job_error, {job.name, step_index}, {:error, reason | exception}}event toAgens.Job- Added child specs to
AgensandAgens.Supervisor - Added
{:error, :job_already_running}when callingAgens.Job.run/2on running job - Added
{:error, :input_required}when callingMessage.send/1with emptyinput
Breaking Changes
- Removed
Registryusage andregistryconfiguration option - Changed
promptstoprefixesonAgens.Serving.Config - Added
inputto@enforce_keysand removednilas acceptedinputtype inAgens.Message
Fixes
- Removed
restart: :transientfromAgens.ServingandAgens.Agentchild specs
0.1.2
This release removes application environment configuration and moves to an opts-based configuration. See README.md for more info.
Features
- Configure
AgensviaSupervisoropts instead ofApplicationenvironment - Add
Agens.Agent.get_config/1 - Add
Agens.Serving.get_config/1 - Support sending
Agens.MessagewithoutAgens.Agent - Override default prompt prefixes with
Agens.Serving
Fixes
Agens.Job.get_config/1now wraps return value with:oktuple:{:ok, Agens.Job.Config.t()}Replaced
module() | Nx.Serving.t()withatom()inAgens.Agent.Config.t()
0.1.1
Initial release