Skip to content

0.5.2

Compare
Choose a tag to compare
@devlaam devlaam released this 02 Jul 15:39
· 30 commits to master since this release

Changes were in the code that is related to the use of families:

  • It is now possible to define a shared actor between all children of a parent actor. This has the advantage that a get on the actors name directly has the expected type, so casting is reduced.
  • It is now possible to reuse the actor defining types (such as RestrictDefine) as family defining types as well, provided you use the same base type for all actors. Since this is strongly advised, the reuse make code shorter. You can, of course, still use separate definitions.
  • Extra tests where introduced, which also pointed out some type errors in the code, rendering some particular use cases impossible. These have been corrected.
  • Relaying has been refactored, and is now based on the same code for each type of base actor.
  • Internal traits FamilyChild and FamilyParent interchanged. For historic reasons these were defined 'reversed'. This has no external consequences.
  • Ensured the code is compatible with Scala version 3.3.0 for a coming upgrade.