Commit graph

60 commits

Author SHA1 Message Date
PJ Fanning
497c7c1b6c
use CompletionStage in more Java tests (#2094) 2025-08-26 08:58:30 +01:00
PJ Fanning
5a8e161ec5
use Java CompletionStage instead of Scala Future in pekko-persistence Java APIs (#2092)
* Don't use Scala Futures in Java APIs

Sketching out #1417 - incomplete and notably not bothering
with binary compatibility yet, just to illustrate the idea.

* javafmt

* javafmt

* Update SnapshotStore.scala

* scalaAnyToUnit

* use ExecutionContexts.parasitic

* Update SnapshotStore.scala

* Update LambdaPersistencePluginDocTest.java

* parasitic

* Update LambdaPersistencePluginDocTest.java

* docs

* recovery

* javafmt

* Update LambdaPersistencePluginDocTest.java

---------

Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2025-08-25 23:30:16 +01:00
PJ Fanning
56470a4569
Java Docs: use instanceof with name binding (#2087)
* Java Docs: use instanceof with name binding

* remove changes in generated code

* Update docs/src/test/java/jdocs/ddata/protobuf/TwoPhaseSetSerializer2.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* merge issue

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-25 13:45:13 +01:00
He-Pin(kerr)
00b0a99278
chore: bump javafmt to 0.10.0 (#2081)
* chore: bump javafmt to 0.10.0

* chore: format with javafmt
2025-08-25 19:32:35 +08:00
He-Pin(kerr)
8e21fd0269
chore: Remove FI (#2078) 2025-08-24 16:51:54 +08:00
He-Pin(kerr)
806d33c90e
chore: Remove OverflowStrategy#dropNew (#2073) 2025-08-24 05:24:43 +08:00
He-Pin(kerr)
afb38c5f17
chore: Remove deprecated methods in Futures (#2070) 2025-08-24 02:17:52 +08:00
He-Pin(kerr)
db92fad13d
feat: Add CompletionStages util. (#2060) 2025-08-23 21:45:30 +08:00
PJ Fanning
08d3896310
remove old deprecated dns code (#2023)
* remove old deprecated dns code

* remove test that uses old deprecated and now removed code

* Update DnsCompileOnlyDocSpec.scala

* Update remove-deprecated-methods.excludes

* mima

* try to fix docs

* more issues
2025-08-10 08:52:41 +01:00
He-Pin(kerr)
836ae6025e
chore: Remove Java api Option (#2007) 2025-08-05 20:34:45 +08:00
He-Pin(kerr)
08ea94bb4b
chore: Migrate to pekko.japi.function (#2001)
* chore: Remove javaapi.Function

* chore: Remove javaapi.Function2

* chore: Remove javaapi.Procedure

* chore: Remove javaapi.Predicate

* chore: Remove javaapi.Creator

* chore: Remove javaapi.Effect

* chore: Add mima

* Update actor-typed/src/main/mima-filters/2.0.x.backwards.excludes/javaapi-functions.excludes

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update stream/src/main/mima-filters/2.0.x.backwards.excludes/javaapi-functions.excludes

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update persistence/src/main/mima-filters/2.0.x.backwards.excludes/javaapi-functions.excludes

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update actor/src/main/mima-filters/2.0.x.backwards.excludes/javaapi-functions.excludes

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-05 10:45:25 +08:00
PJ Fanning
6a995664ea
move jdk9 source code (#1976)
* move jdk9 source code

* Update Events.scala

* javafmt

* unused import

* remote classes

* Update JFRRemotingFlightRecorder.scala

* stream tests

* javafmt

* doc links

* remove PekkoDependWalker

* build issues

* remove mention of JDK 9

* Update JavaFlowSupport.java
2025-07-31 10:36:49 +01:00
He-Pin(kerr)
ec7fdc7d0f
feat: Add groupedAdjacentBy and GroupedAdjacentByWeighted operators. (#1937) 2025-07-10 10:54:46 +08:00
He-Pin(kerr)
9577b01b10
chore: bump scalafmt to 3.9.7 (#1916) 2025-06-24 10:27:14 +02:00
He-Pin(kerr)
e6662e12de
feat: Add dropRepeated stream operator. (#1868) 2025-05-29 06:43:17 +08:00
He-Pin(kerr)
d286408673
chore: update Scala 3 to 3.3.6 (#1817)
* chore: test with scala 3.3.6

* chore: bump version to 3.3.6-RC3

* chore: bump version to 3.3.6
2025-05-08 00:56:24 +08:00
He-Pin(kerr)
2469f729f7
feat: Add support for switching scheduler (#1724) 2025-01-23 03:55:15 +08:00
He-Pin(kerr)
189c893531
chore: Add doc about virtual thread executor. (#1737) 2025-01-21 15:52:16 +08:00
scala-steward-asf[bot]
5b2aab6f7a
Update scalafmt-core to 3.8.4 (#1717)
* Update scalafmt-core to 3.8.4

* Reformat with scalafmt 3.8.4

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.8.4' to .git-blame-ignore-revs

* remove postfixOps imports

Assuming we want to keep the default
`rewrite.avoidInfix.excludePostfix = false` - otherwise
we can drop this commit

---------

Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2025-01-18 10:36:38 +08:00
虎鸣
898b2936e1 feat: Add Sink.none operator 2024-12-28 19:12:21 +08:00
Matthew de Detrich
60c480aecd Add optionalVia and unsafeOptionalDataVia 2024-08-21 14:54:21 +02:00
PJ Fanning
6cdd3e9f49
make SchedKey final (#1365) 2024-06-14 10:02:09 +01:00
He-Pin(kerr)
a9584ec520
feat: Add UntypedAbstractActorWithTimers (#1361) 2024-06-14 16:14:55 +08:00
He-Pin(kerr)
2c3e9b43b6
chore: Add Source.fromArray operator for Java dsl. (#1248) 2024-04-30 22:52:39 +08:00
He-Pin(kerr)
77532c1bb5
feat: Add retry with predicate (#1269) 2024-04-23 20:34:16 +08:00
He-Pin(kerr)
68bd00659e
chore: Add Source.iterate operator. (#1244) 2024-04-03 01:10:19 +08:00
He-Pin(kerr)
c818001180
chore: Fix scala constructor finding tests for scala 3. (#1220)
* chore: Fix scala constructor finding tests for scala 3.

* reorder imports
2024-03-24 00:27:25 +08:00
He-Pin(kerr)
55477ac6eb
Add missing java api for StreamTestKit (#1186)
* Add missing java api for StreamTestKit

* polish

* chore: Add more methods to streamKit

---------

Co-authored-by: naosense <pingao777@gmail.com>
2024-03-20 23:31:25 +08:00
He-Pin
daf84d7870 chore: Fix ActorDocSpec on Scala 3.3 2024-01-30 17:34:11 +08:00
Luigi
abad72d869
feat: Add Sink.exists operator (#990)
* feat: +Flow.exists & Sink.exists

* chore: Update some doc and code.

* chore: Update method names in doc.

---------

Co-authored-by: He-Pin <hepin1989@gmail.com>
2024-01-30 14:31:23 +08:00
He-Pin
1e64e31d25 chore: Fix up ForAll comping in nightly build. 2024-01-29 14:29:58 +08:00
Laglangyue
f6da401abf
feat: Add Sink#forall operator (#989)
Co-authored-by: Jiafu Tang <jiafu.tang@qq.com>
2024-01-28 17:54:07 +08:00
He-Pin(kerr)
a2b5b5df22
chore: Run JDK9Test compiling to validate syntax. (#1050)
* chore: Check java9+ classes in paradox.

* Update .github/workflows/generate-doc-check.yml

Co-authored-by: AndyChen <chinatc@outlook.com>

---------

Co-authored-by: AndyChen <chinatc@outlook.com>
2024-01-27 22:14:35 +08:00
He-Pin(kerr)
2431eb4083
feat: Add Flow/Sink#foldWhile operator. (#1012) 2024-01-22 19:14:34 +08:00
He-Pin(kerr)
51b7ac519a
feat: Add collectFirst stream operator. (#984) 2024-01-20 19:39:22 +08:00
He-Pin(kerr)
19da73673d
feat: Add collectWhile operator. (#964) 2024-01-17 01:07:47 +08:00
He-Pin(kerr)
bd8ee25b80
feat: Add mapWithResource stream operator. (#931) 2024-01-16 18:29:05 +08:00
He-Pin(kerr)
df302b8ee6
feat: Add create method to PFBuilder. (#947) 2024-01-15 17:37:14 +08:00
kerr
cf70478201
feat: Add dimap operator to Flow. (#942) 2024-01-15 15:01:34 +08:00
kerr
057fe066e8
chore: Fix compiling error in AsSubscriber.java and FromPublisher.java (#953) 2024-01-15 11:12:25 +08:00
PJ Fanning
6883d15576
use StandardCharsets (#934) 2024-01-13 12:40:16 +01:00
He-Pin
d829637ef2 chore: Fix RecipeAdhocSource test. 2023-12-28 17:58:37 +08:00
He-Pin
8d2141a5c9 =str Deprecate statefulMapConcat operator. 2023-09-02 00:50:10 +08:00
He-Pin
bd3270cd3e +str Add Flow contramap.
Signed-off-by: He-Pin <hepin1989@gmail.com>
2023-08-11 17:27:50 +08:00
PJ Fanning
b0fdac259b
adjust ASF header (#450) 2023-06-22 14:19:26 +01:00
He-Pin
008bdd5190 =sbt Upgrade to Scala 2.12.18 and 2.13.11. 2023-06-03 21:38:07 +08:00
Matthew de Detrich
480f516398
Unwrap single string interpolation syntax 2023-05-24 16:28:02 +02:00
Matthew de Detrich
07df607192 Add FunctionConverters, FutureConverters and ObjectConverters 2023-05-08 12:03:37 +02:00
PJ Fanning
5322174ecc replace 2551 with 7354 2023-03-09 05:00:01 +08:00
PJ Fanning
1969f7580d change 2552+ port numbers 2023-03-09 05:00:01 +08:00