PackageTrack
Sign in Get early access

actor_system

An implementation of the actor model in the Dart language. An actor processes only one message at a time, even if the processing is asynchronous.

0.9.6 blimster/actor_system

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships unpredictably

gaps range from 8 days to 8 months

Nearly every release is documented

notes for 22 of 22 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

22 releases · first in 2022

0 releases in the last 12 months

see the full history below

Release timeline

22 releases · Nov 2022 to Mar 2024
2023 2024 2025 2026
Release Pre-release

Releases

latest 22
  1. 0.9.6 17 Mar 2024
    Release notes
    • Add an optional parameter done to ProtocolBuilderMessage.build. done is called, when the protocol is completed.
    Open source →
  2. 0.9.5 17 Mar 2024
    Release notes
    • Add ProtocolController to handle messages in context of a protocol.
    Open source →
  3. 0.9.4 03 Aug 2023
    Release notes
    • ActorStopped exception can be constructed with a string again.
    Open source →
  4. 0.9.3 03 Aug 2023
    Release notes
    • It is now possible to configure the defailt mailbox size for an actor system.
    • ActorStopped exception contains information about the affected actor and message.
    Open source →
  5. 0.9.2 03 Aug 2023
    Release notes
    • Bugfix: sender and correlationId from current context was determined in the wrong point of time. Thus, wrong values could be return from ActorContext.sender and ActorContext.correlationId.
    Open source →
  6. 0.9.1 22 Jul 2023
    Release notes
    • Bugfix: "one message at a time" was not fulfilled for async message processing.
    Open source →
  7. 0.9.0 27 Jun 2023
    Release notes
    • BREAKING CHANGE: if the correlationId is not explicitly set as parameter of ActorRef.send() it is implicitly set set from the context of the current actor (if available).
    Open source →
  8. 0.8.1 20 Jun 2023
    Release notes
    • The key zoneSenderKey to set or get an actor as the sender in the current Zone is now public.
    Open source →
  9. 0.8.0 19 Jun 2023
    Release notes
    • BREAKING CHANGE: it is no longer possible to exclitly specifying a sender, when sending a message to an actor. Instead, it is implcitly set, if the message was sent in the context of an actor.
    Open source →
  10. 0.7.2 08 Mar 2023
    Release notes
    • It is now possible to set callback function to be callled when an actors is added or removed from a system by using the setters ActorSystem.onActorAdded and ActorSystem.onActorRemoved.
    Open source →
  11. 0.7.1 06 Mar 2023
    Release notes
    • It is now possible to get metrics of an actor system by using ActorSystem.metrics.
    • It is now possbile to get a list of all available actor paths by using ActorSystem.actorPaths. ^
    Open source →
  12. 0.7.0 04 Mar 2023
    Release notes
    • BREAKING CHANGE: parameter path of lookupActor() and lookupActors() must be absolute.
    • BREAKING CHANGE: parameter path of createActor() and lookupActor() must not end with a slash.
    • Bugfix: it was possible to create more than one actor on the same path.
    • Improved handling of an empty fragment in validActorPath() and copyWith() of UriExtension.
    Open source →
  13. 0.6.0 21 Feb 2023
    Release notes
    • BREAKING CHANGE: renamed UriExtension.copy() to UriExtension.copy() and renamed parameter fragment to tag.
    • Added named parameter tag to actorPath().
    Open source →
  14. 0.5.1 20 Feb 2023
    Release notes
    • Added helper to copy an Uri.
    Open source →
  15. 0.5.0 11 Feb 2023
    Release notes
    • BREAKING CHANGE: renamed ExternalActorCreate to CreateActor.
    • BREAKING CHANGE: renamed ExternalActorLookup to LookupActor.
    • BREAKING CHANGE: renamed ActorSyste.externalCreate to ActorSyste.externalCreateActor.
    • BREAKING CHANGE: renamed ActorSyste.externalLookup to ActorSyste.externalLlookupActor.
    • Added BaseContext.lookupActors()
    Open source →
  16. 0.4.0 08 Feb 2023
    Release notes
    • BREAKING CHANGE: moved cluster functionality to an separate package.
    • BREAKING CHANGE: renamed library actor_builder to actor_system_helper.
    • BREAKING CHANGE: reaname class WhenLikeActorBuilder to ActorBuilder.
    • BREAKING CHANGE: class ActorBuilder no longer has a method actor(). Use orActor(), orSkip() or orThrow() instead.
    • BREAKING CHANGE: replaced ActorSystem.registerFactory(Pattern, ActorFactory) by ActorSystem.addActorFactory(PathMatcher, ActoryFactory).
    • It is now possible to stop an actor. This can be done by calling ActorRef.shutdown() or sending the constant shutdownMsg to the actor.
    • An actor can now throw a SkipMessage while executing a message. In contrast to all other exceptions thrown by an actor, the actor is not restarted.
    • Added ActorContextExtension on ActorContext with getters senderOrSkip, replyToOrSkip and correlationIdOrSkip. Use these methods to get null safe versions of sender, replyTo and correlationId. If a value is null, a SkipMessage is thrown.
    Open source →
  17. 0.3.0 08 Jan 2023
    Release notes
    • BREAKING CHANGE: removed parameter useExistingActor from BaseContext.createActor().
    • BaseContext.createActor() has a new parameter sendInit. If set to true, an initMsg is sent after the actor is created.
    • ActorRef.send() now has a new parameter correlationId. An actor can read the correlation id from its context.
    • WhenLikeActorBuilder has new methods isTrue() and isInit().
    Open source →
  18. 0.2.2 24 Dec 2022
    Release notes
    • ActorRef.send() now has a new parameter sender.
    Open source →
  19. 0.2.1 23 Dec 2022
    Release notes
    • Prefixed all logger names in library actor_system with actor_system.system. and all logger names in library actor_cluster with actor_system.cluster..
    Open source →
  20. 0.2.0 22 Dec 2022
    Release notes
    • Improved package score on pub.dev
    • More useful version of README.md
    • BREAKING CHANGE: Refactored WhenLikeActorBuilder.equals(Object?, Actor) to WhenLikeActorBuilder.isEqual<T>(T, FutureOr<void> Function(ActorContext, T))
    Open source →
  21. 0.1.1 28 Nov 2022
    Release notes
    • Changed dependency from msgpack_dart to msgpack_dart_with_web to support web
    Open source →
  22. 0.1.0 25 Nov 2022
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive