Commit graph

2709 commits

Author SHA1 Message Date
Helena Edelson
d12bc13fcb Fix akka-bench-jmh warnings. (#27438) 2019-08-02 10:44:27 +02:00
Helena Edelson
914466c8c2
Fixed akka-stream-tests-tck warnings (#27436) 2019-07-30 08:33:48 -07:00
Arnout Engelen
80a920da52 Fix warnings in akka-actor-typed-tests (#27424) 2019-07-29 13:52:07 -07:00
Christopher Batey
6c416c2818 User serializer for protobuf3 (#27362)
* User serializer for protobuf3
2019-07-23 16:22:07 +02:00
Patrik Nordwall
86efe39afd Update to Jackson databind 2.9.9.1 to fix CVE-2019-12384 and CVE-2019-12814
* Block  gadget type for CVE-2019-12384
* Block gadget type CVE-2019-12814
* new classes blocked in SubTypeValidator.DEFAULT_NO_DESER_CLASS_NAMES,
  which we use from Akka so updating the dependency is enough
2019-07-11 13:51:05 +02:00
Arnout Engelen
8e952fa3a4
Update paradox-apidoc (#27270)
For easier referencing of typed javadsl/scaladsl classes
2019-07-10 08:11:31 +02:00
Christopher Batey
88e6933ba0 Remove warnings in persistence-tck (#27286) 2019-07-09 14:54:31 +02:00
James Roper
0037998bfb Use SPDX short identifier for license (#27277)
* Use SPDX short identifier for license

The SPDX license list (https://spdx.org/licenses/) defines a standard
for identifying licenses that allows tooling to unambiguously identify a
license. This changes Akka to use the SPDX short identifier for the
Apache 2 license.

Any developer wishing to publish their own build of Akka to bintray will
need to make this change, as bintray uses the SPDX short identifier to
verify that artifacts being published to free accounts are indeed open
source. So this will make it easier for people to publish their own
builds.

* Update Apache license URL

Co-Authored-By: Arnout Engelen <github@bzzt.net>
2019-07-09 12:54:32 +01:00
Patrik Nordwall
daac56cc40 use Scala 2.13 for last step in release script 2019-07-05 09:37:06 +02:00
Patrik Nordwall
e3dc7b16b3
Merge pull request #27005 from akka/documentSourceApply
Merge Source.apply and Source.from docs
2019-07-02 13:43:00 +02:00
Helena Edelson
c636058d0d
Upgrade sbt-scoverage, sbt-scalafix and sbt-header (#27225)
Upgrade sbt-scoverage from milestone to 1.6.0, sbt-scalafix to 0.9.5 and sbt-header to 5.2.0 #27224
2019-06-27 15:58:02 +01:00
Christopher Batey
df7e5578bb
Revert to 0.4.* of ssl config for 2.13 (#27152)
We've released 2.5.23 for 2.13 with 0.4.0 but this changes the default
behavior. This reverts that so the first release we are binary compat
for 2.13 will be 2.5.24.

For 2.6 we can still perhaps upgrade
to 0.4.0 and document or override the new behavior.

Refs #27142
2019-06-18 15:21:26 +01:00
Arnout Engelen
af3ee37d6c
Option to target system JDK instead of JDK8 (#27083)
Inspired by the proposal by @nvollmar in 0940dfc
2019-06-17 16:55:54 +02:00
Patrik Nordwall
beea76902e cross release again (#27140) 2019-06-14 08:57:41 +01:00
Patrik Nordwall
57fd889548
remove Jackson afterburner, since no visible improvement #24155 (#27064)
* remove Jackson afterburner, since no visible improvement #24155

* add back timeMessage benchmark

* improve custom mapper test
2019-06-13 21:53:21 +02:00
Christopher Batey
fd1acb9326 Upgrade to Aeron 1.19.1 (#27043)
* Upgrade to Aeron 1.19.1

No mention of on the wire incompatibilities in release notes for
versions 1.15->1.19

* fix compilation issue with new aeron

* Set default publication unblock timeout to 40s

This needs to be bigger than the liveness timeout. Aeron
defaults these to 5seconds and 10seconds. Akka uses 20s
for the liveness so use 40s for the unblock to keep the same
relation between the properties as Aeron has.

* Add publication unblock timeout in sharedmedia driver

* Update akka-remote/src/main/scala/akka/remote/artery/ArterySettings.scala

Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-06-13 21:44:29 +02:00
Patrik Nordwall
6660e8504a
Remove Jackson Smile format, #24155 (#27105)
* No clear advantage over CBOR
* One less choice for users
* CBOR seems to have a stronger specification and therefore potential
  for wider adoption
* Performance of CBOR is equals to Smile
* Smile can be slightly more compact
  (I think it does more to reduce repeated field names),
  but that might be better to solve with good compression
2019-06-13 17:40:24 +02:00
Christopher Batey
231f0d6bb1 Remove warnings from akka-stream-tests (#27114) 2019-06-13 13:06:02 +02:00
Christopher Batey
a568afd895
Trying this out as the other PR isn't running in travis (#27129)
* Update to Scala 2.13.0

* Update scalatest
2019-06-12 15:02:17 +01:00
Christopher Batey
49d7d2fa9b Remove removed modules from AkkaDiscipline plugin (#27099) 2019-06-07 09:57:23 +02:00
Christopher Batey
72cfc2485e
Netty is not optional for multi jvm test kit (#27072)
* Netty is not optional for multi jvm test kit

Netty is used internally and is always loaded even if artery is enabled.
That could be improved but for now netty is needed.

This fixes the Akka HTTP against master build
2019-06-05 10:22:26 +01:00
Patrik Nordwall
97b10273a6 support akka.build.version=file
* forward port from release-2.5 branch
* needed for nightly snapshots
2019-06-04 16:41:49 +02:00
Arnout Engelen
362d734444
Merge Source.apply and Source.from docs (#606) 2019-06-03 16:41:44 +02:00
Enno
c5e9b5918c
Set useful description in sbt setting (#27059) 2019-06-02 13:42:01 +02:00
Arnout Engelen
eca459e461 Include fan-out operators in the operator index (#27028) 2019-05-31 12:56:25 +02:00
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
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
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
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
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