Skip to content

v0.35.1

Choose a tag to compare

@griffin-goguava-ai griffin-goguava-ai released this 23 Jul 16:04

Syncs the Elixir port to Python guava-sdk 0.35.1.

New public API

  • Guava.Testing.MockCall (with a Guava.Testing.mock_call/1 shortcut) — an in-memory Guava.Call for fast, offline, deterministic unit tests of agent callbacks. Call a handler directly and assert on what it emits: commands/1 (command structs) / command_maps/1 (wire maps). Pre-seed reads a handler makes with set_field/3, put_variable/3, or the :fields/:variables options; drop recorded commands between simulated turns with clear/1. Implemented idiomatically — a %Guava.Call{} wired to a recorder process and a seeded ETS store, not a Call subclass.
  • This ports the previously-missed guava.testing.MockCall public API, bringing the testing surface to parity alongside the existing Guava.Testing.session/3 / roleplay/3.

Wire protocol

  • No changes. guava-sdk 0.35.1 introduced no wire or behavior changes relevant to the port (all upstream deltas were N/A); it surfaced the standing MockCall gap.

Housekeeping

  • Retired the internal Guava.Test.CommandRecorder; call_test.exs now dogfoods MockCall.
  • Docs: new unit-testing section in the testing guide; PARITY.md crosswalk updated. Version markers bumped to 0.35.1. See PARITY.md.

Install:

{:guava, "~> 0.35"}