Skip to content

Releases: fetchai/uAgents

v0.13.0

03 Jul 12:02
f36ecb8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.4...v0.13.0

v0.12.4

03 Jul 11:23
6eee42e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.12.3...v0.12.4

v0.12.3

25 Jun 10:13
8b140b5
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.12.2...v0.12.3

v0.12.2

28 May 18:13
6737e5f
Compare
Choose a tag to compare

What's Changed

  • fix(core): check for agents on bureau init by @jrriehl in #382
  • chore(core): bump version to 0.12.2 by @jrriehl in #383

Full Changelog: v0.12.1...v0.12.2

v0.12.1

28 May 15:46
eed6649
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.0...v0.12.1

v0.12.0

28 May 08:29
c5d6aee
Compare
Choose a tag to compare

What's Changed

Context

The Context class has been significantly refactored to achieve a more logical grouping of objects, including them only where they are needed and removing them where they are not. We also introduced a new Context interface class that should provide you with a distraction free overview of what the Context has to offer.

The refactoring results in slimmer contexts throughout the framework but also incurs some breaking changes:

  • Some known Context methods were relocated to the uagents.communication module including:

    • Context.send_raw_exchange_envelope(...) which is now replaced by Communication.send_exchange_envelope(...) and slightly altered to accept envelopes and a list of endpoints
    • Context.send_sync_message(...) is moved to uagents.communication as well and provides a practical usage example of the above method
  • ctx.name, ctx.identifier and ctx.address are moved to ctx.agent (see uagents.agent.AgentRepresentation)

  • ctx.wallet was removed from the Context: use agent.wallet instead

  • ctx.send() and ctx.send_raw() no longer handle the actual http requests of sending the message, but only put the envelope in a queue which is constantly processed by the Dispenser (see uagents.communication)

  • ctx.experimental_broadcast has been renamed to ctx.broadcast

Envelope

The schema_digest field has had the protocol alias removed.

Storage

Storage has been unified with an interface class (StorageAPI) to prepare easier integration with other storage methods like ORM or DB adapters.

Dialogues

The experimental Dialogue class uagents.experimental.dialogues.Dialogue has also been updated in a few ways. Most notably:

  • instantiation now only needs the name of the dialogue everything else was made optional
  • the dialogue.storage property accepts the new StorageAPI compatible instances so to use the agents existing storage write storage=agent.storage, leaving it empty creates a new .json file for the dialogue
  • dialogues are specifically started with the dialogue.start_dialogue() method
  • a new dialogue.cleanup_interval property together with the existing dialogue.timeout property will give you more control over storage management

Commits

New Contributors

Full Changelog: v0.11.1...v0.12.0

v0.11.1

19 Apr 09:50
9bbdecb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.11.0...v0.11.1

v0.11.0

06 Mar 14:56
a84a015
Compare
Choose a tag to compare

New Features

  • feat: add stateful communication in experimental module by @Archento in #186
  • chore: rename broadcast method by @Archento in #250

Examples

Integrations

Other

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

08 Feb 14:09
e8cc7b7
Compare
Choose a tag to compare

New features

Fixes and other

Full Changelog: v0.9.3...v0.10.0

v0.9.3

12 Jan 09:43
dc9cda9
Compare
Choose a tag to compare

New Features

Full Changelog: v0.9.2...v0.9.3