Commit graph

2679 commits

Author SHA1 Message Date
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
Arnout Engelen
814cfa286c Scala 2.13.0 rc2 (#26967) 2019-05-24 08:11:50 +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
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
Dale Wijnand
5a893fff7b Use Def.settings (#26945) 2019-05-21 18:35:42 +02:00
Patrik Nordwall
a9f4f2dd96
akka.build.version property, #26958 (#26959)
* akka.build.version property, #26958

* and use timestamped snapshot version if "timestamp" is passed in
* to support publishing snapshots with same version for Scala 2.12 and 2.13
  with +publish
* remove stampVersion plugin, since it's no longer needed

* store currentDateTime in system property

* to survive reloads
2019-05-20 11:31:46 +02:00
Philippus Baalman
70c3d08b5a Update typesafe config to 1.3.4 (#26875)
Link to latest version of the Typesafe Config Library API docs
2019-05-07 12:47:26 +02:00
Patrik Nordwall
54e5f0829b remove duplicate build with Scala 2.12 in release
* that was a workaround for building with 2.11
2019-05-03 13:37:31 +02:00
Arnout Engelen
629383545f
Clean up paradox output (#26759)
Fix some validation problems
2019-05-02 18:23:33 +02:00
Arnout Engelen
282b38e832
Remove akka-contrib (#26769)
* Remove akka-contrib #26183

This module has been deprecated since 2.5 and is removed in 2.6
2019-05-02 12:09:11 +02:00
Christopher Batey
efc3adc08d
Make artery the default remoting (#26772) 2019-05-01 08:12:09 +01:00
Arnout Engelen
9c64b18b59
Update r-b plugin (#26820) 2019-04-29 09:22:08 +02:00
Arnout Engelen
a8bd5af1fb
Remove akka-agent #26184 2019-04-26 16:55:50 +02:00
Arnout Engelen
96c8ef4257 Remove akka-camel (#26768)
* Remove akka-camel

This module has been deprecated since 2.5.0 and will now be removed in 2.6.

If there is interest it can be moved to a separate community-maintained repo.

* Add note to migration guide

* Remove from allModules as well
2019-04-25 15:55:25 +02:00
Christopher Batey
39b344c508 Remove actor dsl (#26784)
* Removals of actor dsl
* Mima for actor dsl removal
* Remove inbox doc test
* Keep main in echo server example
2019-04-25 15:53:27 +02:00
Ignasi Marimon-Clos
42d4fc90a7 Setup previousVersions for akka-coordination (#26767)
(cherry picked from commit defbbae19e59a9540700678b1c6e863a46b0f660)
2019-04-24 11:52:29 +02:00
Arnout Engelen
8394f7c33d Update MiMa: drop 2.4, add 2.5 (#26765)
* Update MiMa: drop 2.4, add 2.5

We promise binary compatibility across minor versions, which would in theory
mean we should check compatibility between 2.4 and 2.6.

However, since 2.4 is EOL, we no longer guarantee bincompat with it. In
practice this should not make much of a difference, since only in rare cases
would a change be binary compatible with 2.5 but not with 2.4.

* Don't run 2.11 on travis
2019-04-19 07:54:25 +01:00
Christopher Batey
0ab7a96ae2
Remove Scala 2.11 for Akka 2.6 (#26760)
* Remove Scala 2.11 for Akka 2.6

* Remove unused import

* Update akka-actor/src/main/scala-2.13/akka/compat/Future.scala

Co-Authored-By: chbatey <christopher.batey@gmail.com>

* Update akka-actor/src/main/scala-2.13/akka/compat/Future.scala

Co-Authored-By: chbatey <christopher.batey@gmail.com>

* Remove last few bits of 2.11
2019-04-19 07:53:27 +01:00
Johannes Rudolph
d6eb1f237c Update to sbt-scalafmt 2.0.0 (#26777)
This should have the performance improvements in.
2019-04-18 17:46:12 +02:00
Arnout Engelen
306187046f
Fix multi-node-testkit warnings (#26754) 2019-04-16 20:26:38 +02:00
Arnout Engelen
e390f1397b
Fix warnings in akka-remote (#26735) 2019-04-16 20:26:09 +02:00
Christopher Batey
8dd6f790bd Remove warnings in akka-cluster (#26739)
Also undeprecate isTerminated but mark it internal
2019-04-16 19:10:31 +02:00
Arnout Engelen
7372d2b735
Fix remaining akka-testkit warnings (#26752)
* Fix remaining akka-testkit warnings

Mostly in tests and 2.13

* Add issue link

* MiMa exclude for multi-node-testkit

We don't promise bincompat there anyway, but perhaps good to keep mima there
so at least we don't break things accidentally
2019-04-16 18:33:38 +02:00
Christopher Batey
d17d303110
Remove warnings in persistence typed module (#26748) 2019-04-16 16:12:28 +01:00
Christopher Batey
3abc3583b6
Remove warnings in akka-cluster-sharding-typed (#26747)
* Remove warnings in akka-cluster-sharding-typed

* Revert entity create in java dsl and actor benchmark changes
2019-04-16 15:09:41 +01:00
Arnout Engelen
e500dda6b7 Fix warnings in akka-actor-typed (#26738) 2019-04-16 15:55:36 +02:00
Christopher Batey
1820b982bf Remove warnings in akka stream testkit module (#26751) 2019-04-16 15:13:21 +02:00
Christopher Batey
b26655705a Remove warnings in persistence query module (#26749) 2019-04-16 13:37:04 +02:00
Helena Edelson
5576c233d0 Clean up Java version related build properties #26662 2019-04-16 09:10:42 +02:00
Christopher Batey
3811da6509 Remove future from discipline settings (#26725)
It isn't related to discipline
2019-04-16 09:09:46 +02:00
Arnout Engelen
e3932e5dfa Fix warnings in akka-osgi #26088 2019-04-16 09:09:00 +02:00
Arnout Engelen
549ccb78a6 Fix akka-actor-testkit-typed warnings (#26741)
* Fix akka-actor-testkit-typed warnings
* 2.13 deprecation
2019-04-15 13:11:07 -07:00
Arnout Engelen
ee67c113e5
Enable fatal warnings by default (with excludes) #26088 (#26726) 2019-04-15 11:39:38 +00:00
Christopher Batey
10e525062a Compiler warnings for actor-tests and remote-tests (#26685) 2019-04-15 08:54:16 +00:00
Christopher Batey
f798481de5 Enable fatal warnings for cluster metrics and slf4j (#26678) 2019-04-05 17:06:02 +02:00
Johan Andrén
4bb60bbcc8
akka-cluster-sharding compiler warnings as fatal errors (#26648) 2019-04-05 14:56:33 +02:00
Johan Andrén
38e63a0e41 akka-persistence compiler warnings as fatal errors (#26654) 2019-04-05 14:43:23 +02:00
Johan Andrén
7e7901ad49
akka-stream compiler warnings as fatal errors (#26673) 2019-04-05 13:06:33 +02:00
Johan Andrén
d699332b53 akka-cluster-tools compiler warnings as fatal errors (#26647) 2019-04-04 15:35:18 +02:00
Arnout Engelen
cc1138523e Correctly parse stream signatures (#26659) (#26669)
That were spread over multiple lines since switching to scalafmt
2019-04-04 13:21:44 +02:00
Patrik Nordwall
9a19a73f9a
Merge pull request #26672 from akka/wip-latestPatchOf25-2.5.22-patriknw
update latestPatchOf25 to 2.5.22
2019-04-04 12:37:48 +02:00
Christopher Batey
5a81e973b4 Make compilation options for akka typed modules strict (#26565) 2019-04-04 10:58:21 +02:00
Patrik Nordwall
a8f8409bfa update latestPatchOf25 to 2.5.22 2019-04-03 16:37:39 +02:00
eugene yokota
1a2cf3d4c6 Allow build to run on JDK 8 (#26642)
Ref #26233

Currently Akka fails to build on sbt community build, which runs on JDK 8. Likely it will fail on Scala community build as well due to `--ignore-source-errors`.
This makes the flag conditional based on the running JDK.

It will be useful for Scala toolchain to be able to validate its latest using latest Akka if possible.
2019-04-03 15:28:55 +02:00
Arnout Engelen
abbbfb5b54
Use sbt-paradox-apidoc plugin (#26660)
Instead of using custom code here. Checked with 'meld' that the result
is the same, except for problems that were already there (filed #26659).
2019-04-03 13:14:27 +02:00
Arnout Engelen
76479b8770
[not for merge] Warnings as errors in akka-actor (#26634)
Warnings as errors in akka-actor
2019-04-03 13:13:44 +02:00
Patrik Nordwall
b5b592c8f9
Remove Scala 2.11 from crossScalaVersions (#26656)
* Remove Scala 2.11 from crossScalaVersions

* because +buildRelease doesn't work with mixed crossScalaVersions
* let's use akka.build.scalaVersion when building for 2.11
* aggregatedProjects adjusted depending on akka.build.scalaVersion is 2.11 or not,
  there excluding/including the -typed modules

* update travis to use akka.build.scalaVersion
2019-04-02 15:16:01 +02:00
Enno
24212d3334 Add title and version to Scaladoc pages (#26632) 2019-04-01 09:38:42 +02:00
Arnout Engelen
2a9fa71a3a
Add "-no-link-warnings" for 2.11 scaladoc (#26639) 2019-03-29 16:54:27 +01:00
Christopher Batey
65ccada280 Lease API + use in cluster singleton and sharding, #26480 (#26629)
* lease api
* Cluster singleton manager with lease
* Refactor OldestData to use option for actor reference
* Sharding with lease
* Docs for singleton and sharding lease + config for sharding lease
* Have ddata shard wait until lease is acquired before getting state
2019-03-28 13:31:56 +01:00