Commit graph

25732 commits

Author SHA1 Message Date
Scala Steward
59e3bc8648
Update jul-to-slf4j, log4j-over-slf4j, ... to 1.7.31 (#30383) 2021-07-12 16:19:42 +02:00
Scala Steward
36f1a2bafe
Update commons-io to 2.10.0 (#30377) 2021-07-12 15:27:43 +02:00
franciscolopezsancho
bfbcef13de
missing line (#30390) 2021-07-12 14:37:46 +02:00
Patrik Nordwall
a219987801
benchmark: ByteString append and builder (#30313) 2021-07-12 11:53:08 +02:00
Ryan Burke
466802c641
Update scala-java8-compat to 1.0.0 (#30375)
The compat library added an `early-semver` versionScheme which means
that 1.0.0 is marked as binary incompatible with any version lower
than 0.9.1 - even though it's not.

For example:

```
[error] (update) found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[error]
[error] 	* org.scala-lang.modules:scala-java8-compat_2.13:1.0.0 (early-semver) is selected over 0.9.0
[error] 	    +- com.github.blemale:scaffeine_2.13:4.1.0            (depends on 1.0.0)
[error] 	    +- com.typesafe.akka:akka-actor_2.13:2.6.14           (depends on 0.9.0)
```

The `scalaModuleMimaPreviousVersion` has been set to `0.9.1` in the project, so upgrading
Akka to this should allow it to work with a lot of other libraries who have already done
the major update (supports Scala 3) to 1.0.0.
2021-07-09 15:19:18 +02:00
Scala Steward
3caa219dd5
Update sbt-reproducible-builds to 0.28 (#30380) 2021-07-09 15:18:10 +02:00
Scala Steward
aec7479665
Update sbt to 1.5.4 (#30382) 2021-07-09 15:12:04 +02:00
Patrik Nordwall
8468e6ae03
allow minor versions after Scala 3.0 (#30331) 2021-07-09 10:48:14 +02:00
economist
0bafbce327
stream: fix client-side mutual TLS bug (#29534)
Connected issues:
https://github.com/lightbend/ssl-config/issues/62
https://github.com/akka/akka-http/issues/1433

Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be>
2021-07-08 09:51:53 +02:00
Johan Andrén
0559165b3d
doc: make it clear inputBuffer has no effect in sample #30332 (#30337) 2021-07-07 15:17:57 +02:00
Scala Steward
3594faf646
Update gson to 2.8.7 (#30296) 2021-07-07 13:07:57 +02:00
Johan Andrén
3a3e643e07
akka-stream compiling on Scala 3 (#30324)
Changes:
* Private constructor for case class means private apply in Scala 3
* Logger class with Any instead of wildcard where needed
* Explicit import of internal implicit conversion import SinkToCompletionStage
* Hopefully source and binary compatible Scala 3 signature for GraphApply.create methods
* ZipLatestWith leaking private type
* Auto apply-to-lambda made explicit
* Internal async callback event class covariant
* Hub leaking private type
* Remove cycles in stream Buffer classes
* Avoid cyclic import in ResizableMultiReaderRingBuffer
* Safe cast of Subscribers
* Explicit import of internal implicit conversion SourceToCompletionStage
* Ambigous field name and method
* recover delegates using PF from javadsl not inferred, made explicit
* TcpStage completing promise with wrong type
* Collect aggregator empty value cannot be underscore with type ascription
* Some type alias shenanigans in QueueSink removed
* Explicit type on effectiveMaximumBurst in Throttle
* Override method return type not inferred in GraphInterpreter
* MutableCollectorState.accumulated getter got wrong type somehow
* TLS actor fallback case only applicable to null
* Some internal unchecked pattern matching removed
* Ok that createGraph is not present in Java API
* Separate impl per language for implicit actor system apply
2021-07-06 18:01:41 +02:00
Patrik Nordwall
7f3bfb1a30
Merge pull request #30281 from Captain1653/unchecked-cast
Remove unchecked cast from SourceTest and FlowTest
2021-07-06 11:06:21 +02:00
marcoderama
75031c00cb
Update cluster.md (#30352) 2021-07-06 11:05:03 +02:00
Patrik Nordwall
edf68f32ba
Merge pull request #30351 from akka/johanandren-patch-1
Clarify sharding stop message being local
2021-07-05 15:12:21 +02:00
Patrik Nordwall
1c988a2bf9
Merge pull request #30364 from johanandren/wip-30342-prefer-bytestring-length
A few ByteString.size switched to ByteString.length
2021-07-05 15:09:20 +02:00
Johan Andrén
0dfa9e7675 A few ByteString.size switched to ByteString.length #30342 2021-07-02 15:53:52 +02:00
Johan Andrén
9657f8430a
Revert "Hide private members in documentation (#20185) (#30356)" (#30357)
This reverts commit 55be471ffa.
2021-07-02 12:56:22 +02:00
Andrei Arlou
55be471ffa
Hide private members in documentation (#20185) (#30356) 2021-07-02 10:45:45 +02:00
Johannes Rudolph
dd289e7e2e
stream: actually read coalesce-writes setting from config (#30353) 2021-07-01 13:58:36 +02:00
Patrik Nordwall
53727df35a
stream: smart batching of writes in TcpStages (#30334)
Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>
2021-07-01 09:19:36 +02:00
Johan Andrén
e8e667c228
Clarify sharding stop message being local 2021-06-30 16:06:41 +02:00
Patrik Nordwall
8573c70883
Remove ApiMayChange for Replicated Event Sourcing, #30346 (#30347) 2021-06-28 17:11:55 +02:00
Arnout Engelen
bbae718ef7
Move more release instructions to the template (#30340)
* Move more release instructions to the template

Sparked by discussion in #17432

* use newer version in example

Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be>

* point to sonatype for snapshots

Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be>
2021-06-23 17:06:13 +02:00
Michael Rose
dd13277195
add missing thenUnstashAll call (#30305)
Add the missing `unstash` so that the next task would continue after a task successfully completed.
2021-06-21 14:49:31 +02:00
Levi Ramsey
99da637633
Fix word wrap in Stream Sink.combine docs (#30318) 2021-06-21 13:55:54 +02:00
Arnout Engelen
4d6ff8106e
Amend release script to update milestones (#30314) 2021-06-11 09:22:14 +02:00
Scala Steward
fa23288bb3
Update sbt-jmh to 0.4.3 (#30304) 2021-06-10 21:22:49 +02:00
Arnout Engelen
ceac670501
set sonatype profile name for publishing (#30306) 2021-06-09 15:20:42 +02:00
Scala Steward
d83cda8f56
Update scala-library to 2.12.14 (#30301) 2021-06-09 12:12:46 +02:00
Arnout Engelen
c593e3a33c
Install graphviz for publishing (#30293)
Otherwise generating scaladoc fails
2021-06-09 10:32:01 +02:00
Arnout Engelen
ce008dd53f
Use whitesource credential when publishing from GH Actions (#30291) 2021-06-08 17:35:19 +02:00
Nicolas Vollmar
3a96f06e3f
Handles handover done message in state oldest #29215 (#29216) 2021-06-08 14:36:13 +02:00
Yury Gribkov
3da5c2bdd0
Fix mapConcat context propagation (#30289)
* Fix mapConcat context propagation

* Remove default ContextPropagation implementation to reduce possible overhead when no Telemetry is in use

* fix pullFirstSubElement onPull

* CR follow up
2021-06-08 12:09:47 +02:00
Scala Steward
d69d04957b
Update jctools-core to 3.3.0 (#30100) 2021-06-08 11:27:28 +02:00
Arnout Engelen
39b4a5c57a
Publish from GitHub Actions (#30288)
* Publish from GitHub Actions

* Break out instructions into release train issue template
2021-06-08 09:05:16 +02:00
Scala Steward
2c524f110f
Update sbt-pgp to 2.1.2 (#30097) 2021-06-04 15:25:08 +02:00
Wayne Wang
dfd6ae20ea
support ipv6 in artery (#30190) 2021-06-04 08:32:37 +02:00
Yury Gribkov
390e9f675b
Fix context propagation (#30221)
* Introduce ContextPropagation for explicit intent
* Preserve upstream context in ZipWith, ZipLatest, ZipWithN, ZipLatestWith, Filter, Batch, Expand, GroupedWeightedWithin, IdleInject and Detacher
* Mark instrumented apply method as InternalStableApi
2021-06-03 17:31:26 +02:00
Jens Neumaier
7d1b412b22
Resolve snapshot check skipped for some events (#30225) (#30226) 2021-06-03 17:04:57 +02:00
Captain1653
e47af50f51 Remove unchecked cast from SourceTest and FlowTest 2021-06-03 00:03:26 +03:00
Johan Andrén
e43f2be6cd
Byte array allocation/copy hunt (#30266)
* Loads of byte array copy/allocations squashed
* Use a central place for the proto unsafe instead of ad hoc
* Extra docs on serializer toBinary about not mutating bytes after returned
* Found some more toArray:s that can potentially benefit from being unsafe
* Array handed to user callback so extra docs needed
* Unsafe reading of underlying bytes of strings fixed
2021-06-02 17:28:37 +02:00
Johan Andrén
b5cbf383d6
Move typed persistence tests away from LevelDB (#30224) 2021-06-02 17:15:18 +02:00
Arman Bilge
ab98618a25
Fix specificity of inherited attributes for {Source,Flow,Sink}.fromMaterializer (#30171) #30142 2021-06-02 16:17:31 +02:00
Lukas Rytz
41d5f1571b
Compile typed actors with Scala 3 (#30258) 2021-06-02 16:10:10 +02:00
Patrik Nordwall
3cafeb2639
Merge pull request #30177 from johanandren/wip-restart-source-incorrect-api-doc
Incorrect API:doc on RestartSource.onFailuresWithBackoff
2021-06-02 13:47:00 +02:00
Johan Andrén
5c7ff2188c
Don't put temporary actor refs in the heavy hitters table (#30214)
* Don't put temporary actor refs in the heavy hitters table #30212

* Formatting
2021-06-02 13:39:54 +02:00
Johan Andrén
d4fdf5639e
Deprecate LevelDB (#30213)
* Deprecate LevelDB

In preparation of moving into the testing infra (or deleting it completely) at some distant future point in time

* Remove leveldb tests where there also is an inmem one

* More details in deprecation text, recommend inmem + journal proxy for testing etc.
2021-06-02 13:37:52 +02:00
Patrik Nordwall
1c6f184127
Merge pull request #30237 from akka/rgc/fix-java-docs-on-tagging
fix(docs): java snippet showing how to tag events
2021-06-02 12:52:25 +02:00
Arman Bilge
e714f7bdbc
Inner stages of lazy/future stages should inherit attributes (#30161)
* Add tests for attributes inheritance
* Fix inheritance bugs revealed by tests
2021-06-02 12:48:14 +02:00