!per #16797 rename defer to deferAsync, remove Seq version
This commit is contained in:
parent
ba8756d485
commit
d782cf59af
10 changed files with 61 additions and 126 deletions
|
|
@ -1,8 +1,8 @@
|
|||
.. _migration-2.4:
|
||||
|
||||
################################
|
||||
Migration Guide 2.3.x to 2.4.x
|
||||
################################
|
||||
##############################
|
||||
Migration Guide 2.3.x to 2.4.x
|
||||
##############################
|
||||
|
||||
The 2.4 release contains some structural changes that require some
|
||||
simple, mechanical source-level changes in client code.
|
||||
|
|
@ -160,8 +160,11 @@ Default interval for TestKit.awaitAssert changed to 100 ms
|
|||
Default check interval changed from 800 ms to 100 ms. You can define the interval explicitly if you need a
|
||||
longer interval.
|
||||
|
||||
persistenceId
|
||||
=============
|
||||
Akka Persistence
|
||||
================
|
||||
|
||||
Mendatory persistenceId
|
||||
-----------------------
|
||||
|
||||
It is now mandatory to define the ``persistenceId`` in subclasses of ``PersistentActor``, ``UntypedPersistentActor``
|
||||
and ``AbstractPersistentId``.
|
||||
|
|
|
|||
|
|
@ -8,6 +8,14 @@ Migration Guide Akka Persistence (experimental) 2.3.3 to 2.3.4 (and 2.4.x)
|
|||
is provided for Persistence while under the *experimental* flag. The goal of this phase is to gather user feedback
|
||||
before we freeze the APIs in a major release.
|
||||
|
||||
|
||||
defer renamed to deferAsync
|
||||
===========================
|
||||
The ``defer`` method in ``PersistentActor`` was renamed to ``deferAsync`` as it matches the semantics
|
||||
of ``persistAsync`` more closely than ``persist``, which was causing confusion for users.
|
||||
|
||||
Its semantics remain unchanged.
|
||||
|
||||
Renamed EventsourcedProcessor to PersistentActor
|
||||
================================================
|
||||
``EventsourcedProcessor`` is now deprecated and replaced by ``PersistentActor`` which provides the same (and more) API.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue