Commit graph

27772 commits

Author SHA1 Message Date
He-Pin(kerr)
e0f6a88435
=str Switch the type parameter order of UnfoldResourceSource. (#615) 2025-08-02 17:30:06 +08:00
PJ Fanning
b0bf1923a7
remove Unsafe.isIsJavaVersion9Plus (#1993)
* remove Unsafe.isIsJavaVersion9Plus

* Update Unsafe.java

* Update Unsafe.java
2025-08-02 09:26:53 +01:00
Matthew de Detrich
8ba5e48a1e Add back Scala 3 inline 2025-08-02 09:55:13 +02:00
He-Pin(kerr)
7bf6cf4969
=str Switch the type parameter order of UnfoldResourceSourceAsync (#616) 2025-08-02 14:48:35 +08:00
PJ Fanning
4bcfc9c7e2
Remove use of sun.misc.Unsafe in Mailbox (#1894)
* remove use of Unsafe in Mailbox

* scalafmt

* use varhandles

* remove cast

* Update Mailbox.scala
2025-08-01 09:24:05 +01:00
PJ Fanning
814962569e
don't use unsafe to update nextName (#1892)
* don't use unsafe to update nextName

* Update Children.scala

* Update Children.scala

* use varhandle

* Update AbstractActorCell.java

* review comment

* Update Children.scala
2025-08-01 08:53:45 +01:00
PJ Fanning
5aad47eb6c
remove deprecated code from pekko-remote (#1983)
* remove deprecated code from pekko-remote

* undo disassociate changes

* Update Transport.scala

* Update remove-deprecated-methods.excludes

* Update remove-deprecated-methods.excludes
2025-08-01 08:53:11 +01:00
PJ Fanning
666796ca7a
create jobs to publish 1.2 snapshots (#1987) 2025-07-31 20:05:03 +01:00
PJ Fanning
9e540b1236
remove deprecated names annotations (#1985) 2025-07-31 20:03:35 +01:00
PJ Fanning
c54e0ef89c
remove deprecated code from testkit (#1981)
* remove deprecated code from testkit

compile issues

* Update StreamTestKit.scala

* mima

* Update remove-deprecated-methods.excludes
2025-07-31 13:42:38 +02:00
PJ Fanning
1c1ca52ae4
move mima files back to 1.1.x (#1982) 2025-07-31 11:29:22 +01: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
PJ Fanning
2b5b3f8f43
remove some more deprecated code from pekko-actor (#1969)
* remove some deprecated code from pekko-actor

Update Scheduler.scala

Update AbstractActor.scala

mima filters

remove more deprecated code from pekko-actor

revert

* Delete TypedActorRemoteDeploySpec.scala

* Update remove-deprecated-methods.excludes
2025-07-31 09:07:14 +01:00
PJ Fanning
63b671c898
remove some deprecated cluster code (#1959)
* remove some deprecated cluster code

* build issues

* Update Member.scala

* mima checks
2025-07-31 08:31:11 +01:00
PJ Fanning
a4199b8a9c
remove deprecated code from distributed-data (#1965)
* remove deprecated code from distributed-data

* Create remove-deprecated-methods.excludes
2025-07-31 08:30:50 +01:00
PJ Fanning
efc50b993e
remove some deprecated code from streams module (#1958)
* remove some deprecated code from streams module

* Create remove-deprecated-methods.excludes
2025-07-31 08:30:22 +01:00
He-Pin(kerr)
af6b408cfd
=str Make SubFlow and SubSource a final class. (#619) 2025-07-31 14:30:43 +08:00
scala-steward-asf[bot]
23518214bb
Update aeron-client, aeron-driver to 1.48.5 (#1973)
* Update aeron-client, aeron-driver to 1.48.5

* ThreadHints is deprecated

* Update Dependencies.scala

---------

Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2025-07-30 18:23:41 +01:00
PJ Fanning
772f2146f1
remove javaunidoc --no-module-directories (#1978) 2025-07-30 16:45:20 +01:00
PJ Fanning
b6849b9564
simplify forkjoin code (#1975)
* simplify forkjoin code

* Create simplify-forkjoin.excludes
2025-07-30 16:14:33 +01:00
scala-steward-asf[bot]
d73899ed77
Update logback-classic to 1.5.18 (#1972)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-30 15:38:53 +02:00
PJ Fanning
f23107fc43
Remove java8 home and scala steward pins related to java 11 and java 17 (#1968)
* remove use of java8 home

* scala deprecations

* upgrade paradox

* getId is deprecated

* remove targetSystemJdk build option

* Update JdkOptions.scala
2025-07-30 13:34:30 +01:00
PJ Fanning
1b9c197fd7
persistence deprecations (#1966)
* persistence deprecations

* Create remove-deprecated-methods.excludes
2025-07-30 07:51:42 +01:00
PJ Fanning
2323878ae1
Remove some deprecated code in pekko-actor (#1945)
* remove some deprecated code from pekko-actor

* Update Scheduler.scala

* Update ActorCreationTest.java

* remove more code

* Update DnsProvider.scala

* Update DnsProvider.scala

* Update AbstractActor.scala

* mima filters

* Update remove-deprecated-methods.excludes

* Update Scheduler.scala
2025-07-29 08:57:15 +01:00
PJ Fanning
4355abd9ec
build with java 17 (#1967) 2025-07-29 08:56:37 +01:00
PJ Fanning
50fe0a8a39
protect 1.2.x branch (#1964) 2025-07-27 11:16:23 +01:00
scala-steward-asf[bot]
0ca804c7af
Update commons-codec to 1.19.0 (#1963)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-27 08:27:16 +01:00
scala-steward-asf[bot]
65ef18b881
Update junit-jupiter-engine to 5.13.4 (#1957)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-22 14:50:34 +08:00
PJ Fanning
ab80e8776e
Release notes for 1.2.0-M2 (#1943)
* init release notes

* more changes

* Update releases-1.2.md

* Update releases-1.2.md

* Create publish-1.2-docs.yml
2025-07-21 10:27:41 +01:00
scala-steward-asf[bot]
28ddae6f0e
Update jackson-core to 2.19.2 (#1953)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-20 08:47:11 +01:00
scala-steward-asf[bot]
78430e0ff7
Update sbt-develocity to 1.3 (#1954)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-20 08:46:45 +01:00
scala-steward-asf[bot]
fa38254262
Update commons-io to 2.20.0 (#1955)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-20 08:46:15 +01:00
PJ Fanning
947ee49293
Release notes 1.1.5 (#1931) (#1952)
* pekko 1.1.5: release notes

* fix wrong PR link

merge issues
2025-07-18 09:19:23 +01:00
scala-steward-asf[bot]
8a72e21078
Update netty-handler, netty-transport to 4.2.3.Final (#1950)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-15 15:56:27 +08:00
Piotr Sowiński
6ef6ae1446
Allow overriding dispatcher in mapWithResource (#1949)
* Allow overriding the dispatcher in mapWithResource

Closes #1948
2025-07-15 12:21:24 +08:00
scala-steward-asf[bot]
5ca1b3846e
Update sbt-pekko-build to 0.4.5 (#1946)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-13 06:27:46 +01:00
scala-steward-asf[bot]
7a0a63c225
Update jimfs to 1.3.1 (#1944)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-12 19:23:29 +01:00
He-Pin(kerr)
0199e84444
chore: Make calculateDelay a public method. (#1940)
* chore: Make calculateDelay a public method.

* Update backoff-calculation.excludes

* move file

---------

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2025-07-12 21:34:08 +08:00
scala-steward-asf[bot]
46debb4ce9
Update docker-java-core, ... to 3.5.3 (#1941)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-11 20:28:37 +01:00
scala-steward-asf[bot]
b41b2dcca2
Update typesafe:config to 1.4.4 (#1942)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-11 20:28:12 +01:00
Tomassino-ibm
d89f2eec8b
Fix typed persistence stack overflow with many read only commands (#1919)
* Update unstash stack overflow test to have it actually fail

Taken changes from https://github.com/apache/pekko/pull/1336 to have a test that fails

* Fix possible stack overflow in persistence-typed

This commit adds code to break recurrent calls in persistence-typed while unstashing read-only commands that could lead to a stack overflow, fixing issue #1327 (limited to EventSourcedBehavior)

The fix can be enabled using a feature flag, by default it is disabled

* bin compat exclude and scalafmt

* Also fix the same stack overflow issue in DurableStateBehavior

The fix is enabled by the same feature flag used by the fix of EventSourcedBehavior

* Enable by default the fix for the stack overflow

Also rename parameter

* Refactor code to make it more explicit that the old code path is unchanged

This commit changes how `onMessage` and `onCommand` are implemented to make it clearer that, when the `recurse-when-unstashing-read-only-commands` flag is set to true, the old code path is used.

Moreover, the while loop in onCommand has been changed into a tail recursive function

These changes have been applied to both EventSourcedBehavior and DurableStateBehavior

---------

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2025-07-11 10:32:43 +01:00
He-Pin(kerr)
ec7fdc7d0f
feat: Add groupedAdjacentBy and GroupedAdjacentByWeighted operators. (#1937) 2025-07-10 10:54:46 +08:00
He-Pin(kerr)
c6af89b083
Update/sbt scalafmt 2.5.5 (#1938)
* Update sbt-scalafmt to 2.5.5

* chore: Fix scalafmtConfigSettings usage.

---------

Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-07 19:13:19 +08:00
He-Pin(kerr)
60a84ce2e2
feat: Add Source#create method (#1823) 2025-07-07 11:06:46 +08:00
PJ Fanning
bca81b55ec
fix spelling of Algorithm (#1932)
* fix spelling of Algorithm

* Update JacksonSerializer.scala

* Create pr-4682-rename-internal-algoritm-class.backwards.excludes

* move file
2025-07-06 11:52:39 +01:00
scala-steward-asf[bot]
e83fa469f6
Update junit-jupiter-engine to 5.13.3 (#1934)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-06 11:28:50 +01:00
scala-steward-asf[bot]
e96e15d012
Update sbt, scripted-plugin to 1.11.3 (#1935)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-06 11:26:10 +01:00
dependabot[bot]
5bc61f6303
chore(deps): bump sbt/setup-sbt from 1.1.9 to 1.1.11 (#1923)
---
updated-dependencies:
- dependency-name: sbt/setup-sbt
  dependency-version: 1.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-29 14:17:49 +08:00
scala-steward-asf[bot]
d96e3e522f
Update junit-jupiter-engine to 5.13.2 (#1928)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-06-29 14:10:49 +08:00
scala-steward-asf[bot]
bdd50a8e37
Update sbt-dynver to 5.1.1 (#1927)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-06-29 14:10:17 +08:00