PackageTrack
Sign in Get early access

actors

Actors Model library for Dart. It is a thin wrapper around Dart's `Isolate` that makes them much easier to use.

0.11.0 renatoathaydes/actors

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Ships fairly regularly

a new release about every 5 months

Nearly every release is documented

notes for 16 of 16 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

18 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

18 releases · Feb 2019 to Oct 2023
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 0.11.0 16 Oct 2023
    Release notes

    Bump version to 0.11.0.

    Open source →
    Release notes
    • fixed handling of initialization errors. Introduced ActorInitializationException to represent such cases.
    • improved Actor initialization performance.
    Open source →
  2. 0.10.0 18 Sep 2023
    Release notes

    Bump version to 0.10.0.

    Open source →
    Release notes
    • added toSendable to Actor so that the Actor can be sent to another Actor via its Sendable object.
    • added method sendToAll to ActorGroup.
    • added create named constructor to Actor and ActorGroup to allow initializing Handler only on Isolate.
    Open source →
  3. 0.9.0 21 May 2023
    Release notes

    GH Actions force publish.

    Open source →
    Release notes
    • require Dart SDK 3.0+.
    • added init method to Handler to allow for the initialization of non-sendable state.
    Open source →
  4. 0.8.4 01 May 2022
    Release notes
    • require Dart SDK 2.16.
    • docs improvements.
    Open source →
  5. 0.8.3 01 May 2022
    Release notes
    • added close method to Handler to facilitate resource management.
    Open source →
  6. 0.8.2 07 Jan 2022
    Release notes Open source →
    Release notes
    • apply workaround to remove Dart bogus warning, see https://github.com/dart-lang/sdk/issues/48090.
    Open source →
  7. 0.8.1 06 Jan 2022
    Release notes

    Moved examples to example-projects/ to avoid publish warning.

    Open source →
    Release notes
    • upgraded to Dart 2.15.0 to use updated Isolate API.
    Open source →
  8. 0.8.0 06 Jan 2022
    Release notes

    Updated version and CHANGELOG.md

    Open source →
    Release notes
    • set debug name for Isolate backing an Actor (starts with Actor-0, then Actor-1 and so on).
    • completed separation of actors API from actual implementation with Isolate. In the future, this may allow implementing actors with web workers.
    Open source →
  9. 0.7.0 07 Mar 2021
    Release notes
    • Null-safety stable relese.
    Open source →
  10. 0.7.0-nullsafety.1 21 Nov 2020 pre-release
    Release notes

    Up version to 0.7.0-nullsafety.1

    Open source →
    Release notes

    This version should only be used if you're migrating to Dart with null-safety.

    • Allow Actors to send and return nullable types.
    Open source →
  11. 0.7.0-nullsafety.0 20 Nov 2020 pre-release
    Release notes

    Updated version to 0.7.0-nullsafety.0

    Open source →
    Release notes

    This version should only be used if you're migrating to Dart with null-safety.

    • Enabled null-safety.
    Open source →
  12. 0.6.1 17 Feb 2020
    Release notes
    • Propagate stacktrace to caller on Exception inside an Actor.
    Open source →
  13. 0.6.0 10 Aug 2019
    Release notes
    • Stopped exposing Isolate from Actor. This should allow a web implementation in the future.
    • Convert remote Error into a RemoteErrorException to be able to send it back to caller.
    • Fixed close() method so that Actors actually drop all subscriptions and allow the system to die when all Actors are closed.
    Open source →
  14. 0.5.0 07 Aug 2019
    Release notes
    • Created StreamActor to support Actors that return Streams.
    • Removed AllHandleWithNAcks GroupStrategy.
    • Created MultiHandler GroupStrategy, better implementation and more flexible than AllHandleWithNAcks.
    • Allow external implementations of GroupStrategy to be used.
    • Deprecated 'isolate' field in Actor. Will remove in the next version to allow web implementation.
    Open source →
  15. 0.4.0 04 Aug 2019
    Release notes
    • Allow all Messenger subtypes to be created from a function.
    • Added support for GroupStrategy, so ActorGroup can have different ways to send messages to actors.
    • Created RoundRobinGroupStrategy.
    • Created AllHandleWithNAcks.
    • All Messenger sub-types are now closeable.
    • Changed return type of Messenger.send from Future to FutureOr.
    Open source →
  16. 0.3.0 03 Mar 2019
    Release notes
    • Added ActorGroup.
    • Added LocalMessenger.
    Open source →
  17. 0.2.0 27 Feb 2019
    Release notes
    • Lighter message representation for smaller overhead.
    Open source →
  18. 0.1.0 27 Feb 2019
    Release notes
    • Initial version, created by Stagehand.
    • Implemented basic functionaliy of an Actor.
    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