Commit graph

23529 commits

Author SHA1 Message Date
Christopher Batey
37f42d3220 Remove API may change from akka typed (#27027)
Note that it will become fully stable in 2.6.0 so this doesn't mean that there will be no more API changes.

* Remove from event sourced behavior
* Remove api may change settings from typed modules
* Dont check mima for typed until 2.6
2019-05-29 15:38:14 +02:00
Patrik Nordwall
11453aad5d
Merge pull request #27045 from chbatey/scalafmt-RC7
Upgrade scalafmt to 2.0.0-RC7
2019-05-29 15:21:11 +02:00
Johan Andrén
515be3a085
No printlns on my guard (#27046) 2019-05-29 13:43:36 +02:00
Christopher Batey
c46a75247a Upgrade scalafmt 2019-05-29 10:20:45 +01:00
Christopher Batey
96eed177dc
Make netty and aeron dependencies optional (#27017)
* Make netty and aeron dependencies optional
* Include agrona as a mandatory dependency (used in compression tables)
Refs #25169
2019-05-29 09:50:28 +01:00
Arnout Engelen
cd6d90097e
Use travis stages (#27032)
* Use travis stages (#27015)

* 'include' jobs

* run test for both scala versions
2019-05-29 09:48:54 +02:00
Arnout Engelen
34ac92df72
Fix some documentation whitespace (#27036) 2019-05-29 09:48:13 +02:00
Johan Andrén
fd45fcf58e
Complete ZipLatest when upstream completes without emitting #26711 2019-05-29 08:43:09 +02:00
Johan Andrén
e6cdb01aa1
Delegate stop method on TestKitJunitResource #27007 2019-05-29 08:29:49 +02:00
Christopher Batey
e7672a9802
Remove various features deprecated since 2.5.0 (#27023)
* Remove various features deprecated since 2.5.0
2019-05-29 07:10:40 +01:00
Christopher Batey
28fbd28e7a
Various internal stable markers (#27004) 2019-05-29 07:09:12 +01:00
Eric Loots
31f6170c62 Fix typo in expanded SRV query (#26998)
The "serviceName" is not prepended with an underscore when querying
for a DNS SRV record.
2019-05-27 15:32:57 +02:00
Johannes Rudolph
1bc9a5f388 act: TcpConnection: ignore late signals from SelectionHandler while shutting down (#26996) 2019-05-27 13:34:32 +02:00
Patrik Nordwall
7bd0cc746f
Merge pull request #27021 from akka/wip-release-script-213-workaround-patriknw
workaround in release script for missing Jackson dependency for Scala 2.13.0-RC2
2019-05-24 12:25:21 +02:00
Patrik Nordwall
9b46a789ab workaround in release script for missing Jackson dependency for Scala 2.13.0-RC2
* Thought that the `crossScalaVersions -= Dependencies.scala213Version` in
  the akka-serialization-jackson project would work also for the +buildRelease, but
  in dry-run it didn't so building twice with explicit Scala versions instead.
* akka-serialization-jackson is then excluded from the aggregate for 2.13
2019-05-24 11:31:21 +02:00
Patrik Nordwall
1d103227f2
Merge pull request #27016 from akka/wip-26866-whitesource-patriknw
remove upload of whitesource report from release script, #26866
2019-05-24 11:24:29 +02:00
Patrik Nordwall
799e3b6f46
Merge pull request #27013 from akka/wip-26971-typed-scheduler-patriknw
Specific minimal scheduler API for typed #26971
2019-05-24 11:23:02 +02:00
Patrik Nordwall
7c18a01b26
Merge pull request #26870 from akka/wip-24155-jackson2-patriknw
Jackson serializer as replacement for Java serialization, #24155
2019-05-24 11:20:49 +02:00
Johan Andrén
604523ba18 Specific minimal scheduler API for typed #26971
* migration guide entry
* ManualTime was making assumptions about scheduler
* Add API compile tests for good measure
* named scheduleAtFixedRate instead of schedule
2019-05-24 10:05:53 +02:00
Patrik Nordwall
1c09e07648 remove upload of whitesource report from release script, #26866
* to avoid it for milestones
* will be done by Travis on tag build instead
2019-05-24 09:11:12 +02:00
Patrik Nordwall
6122966fca Jackson serializer as replacement for Java serialization, #24155
* Copied from Lagom, with the following differences
  * Jsonable and CompressedJsonable not included
  * pcollection and guava modules not enabled by default
  * added scala and afterburner modules
* JSON, CBOR and Smile options (different serializers)
* JMH benchmark
* jackson version 2.9.9
* test polymorphism
* serializer for ActorRef
* Address serializer
* FiniteDuration serializer, same as java.time.Duration
* use blacklist from Jackson databind against gadgets
* disallow binding to open ended types, such as java.io.Serializable
* Configurable ObjectMapper ser/deser features
* testing date formats with WRITE_DATES_AS_TIMESTAMPS on/off
* ActorSystemSetup for ObjectMapper creation
  * and possibility to lookup created ObjectMapper via ObjectMapperProvider extension
* createObjectMapper without ActorSystem, needed by Lagom test
* add basic docs
* skip Scala 2.13 for akka-serialization-jackson for now, until the Jackson
  Scala module has been released
2019-05-24 09:03:45 +02:00
Nicolas Vollmar
dd6924465b Use function instead of scala partial function for java api #26970 (#26972)
* Use function instead of scala partial function for java api #26970

* Remove deprecated function #26970
2019-05-24 08:13:22 +02:00
Arnout Engelen
814cfa286c Scala 2.13.0 rc2 (#26967) 2019-05-24 08:11:50 +02:00
Patrik Nordwall
24a3bba135
Add reason for deprecating TypedActor, #25516 (#26993)
* Add reason for deprecating TypedActor, #25516

Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-05-24 08:07:58 +02:00
Johan Andrén
2051b7ce6b Routers.pool now takes a factory (#26987)
Previously took a Behavior which made it impossible to safely use an
AbstractBehavior with mutable state as routees without using Behaviors.setup
2019-05-23 18:26:17 +02:00
Patrik Nordwall
8d1dcea5d2
ClusterReceptionist using own ddata Replicator #26936 (#26994)
* ClusterReceptionist using own ddata Replicator #26936

* otherwise application configuration, such as role may break it
* creating it as a child actor, path will be same on all nodes
* rolling update from 2.5 not supported
* mention in migration guide

* update migration note about receptionist rolling update
2019-05-23 18:21:34 +02:00
Arnout Engelen
686b36962e
Don't branch while releasing (#26966)
Don't introduce a new branch while releasing, so the release is just a tag on
master.

Use -Dakka.build.version to pass version to sbt

See also #26675.
2019-05-23 17:48:48 +02:00
Christopher Batey
138ffe25d7
Hooks for Akka Persistence Typed lifecycle (#26999) 2019-05-23 15:10:32 +01:00
Johan Andrén
55ae1ad5c4
Stash before getting first listing in group router #26951 2019-05-23 14:58:19 +02:00
Patrik Nordwall
a6f717c9b0 fix a race condition in ClusterReadView #24710 (#26922)
* remove lazy initialization for _cachedSelf
* don't update _state and friends after close()
2019-05-23 14:08:25 +02:00
Arnout Engelen
3015f197f1
Typed testing docs: imports and scalatest dependency (#26890) 2019-05-23 14:05:06 +02:00
Patrik Nordwall
7815d16e94
Merge pull request #26997 from akka/wip-travis-branches-patriknw
specify travis safelist for branches
2019-05-23 13:02:13 +02:00
Patrik Nordwall
2fd7b83637 specify travis safelist for branches
* master, release-2.5
* release tags, e.g. v2.5.24, v2.6.0-M2
2019-05-23 08:39:39 +02:00
Patrik Nordwall
737eb30d04
Merge pull request #26995 from akka/wip-2.5.23-master-patriknw
update latestPatchOf25 to 2.5.23
2019-05-22 21:22:30 +02:00
Patrik Nordwall
7a2ce2826a update latestPatchOf25 to 2.5.23
* also minor update of release instruction
* moved some mima filters to 2.5.x
2019-05-22 16:39:19 +02:00
Arnout Engelen
dcf61a83c0
More specific test timing expectations (#26918)
* More specific test timing expectations (#22098)

* Add another retry to justify the wider expectMsg margin
2019-05-22 16:38:10 +02:00
Patrik Nordwall
7e31ff719b
Merge pull request #26943 from akka/wip-26942-ddata-alias-patriknw
add missing unapply for response types in DData Typed, #26942
2019-05-21 21:12:33 +02:00
Patrik Nordwall
0458b5624d
Merge pull request #26980 from helena/deprecate-actor-typedactor
Deprecate akka.actor.TypedActor #25516
2019-05-21 21:06:23 +02:00
Patrik Nordwall
6dc7898a2a
Merge pull request #26981 from helena/deprecate-serde-class-opt
Deprecate Serialization.deserialize that takes  parameter #25945
2019-05-21 20:52:28 +02:00
Patrik Nordwall
80fd6532e0
Merge pull request #26984 from akka/raboof-patch-1
Discovery: clarify what versions migration applies to
2019-05-21 20:47:59 +02:00
Dale Wijnand
5a893fff7b Use Def.settings (#26945) 2019-05-21 18:35:42 +02:00
Patrik Nordwall
a4a61649f6 add InternalStableApi annotation (#26949) 2019-05-21 16:29:11 +01:00
Helena Edelson
593f9501b5 * Deprecate akka.actor.TypedActor #25516 2019-05-21 10:38:38 -04:00
Christopher Batey
14d070298d Remove extra cherrypick step from contributing (#26939) 2019-05-21 08:31:00 -04:00
Charies Gavin
7e9366095e Update cluster-metrics.md (#26937)
delete duplicate dependency content
2019-05-21 08:30:17 -04:00
Arnout Engelen
4ac513a523
Unicode arrows (#26965) 2019-05-21 13:35:11 +02:00
Arnout Engelen
f9f3d2b683
Clarify what versions migration applies to 2019-05-21 10:42:34 +02:00
Helena Edelson
36ff77124c Deprecate Serialization.deserialize that takes parameter #25945 2019-05-20 17:39:46 -04:00
Patrik Nordwall
9f76d55c2b
Merge pull request #26969 from akka/wip-26956-ByteStringSpec-patriknw
fix ByteStringSpec for Scala 2.13, #26956
2019-05-20 15:20:13 +02:00
Johan Andrén
7c6025b06a
Snapshot when stages stopped incorrect and can cause crash #26902 2019-05-20 13:56:23 +02:00