Commit graph

27772 commits

Author SHA1 Message Date
He-Pin(kerr)
afb38c5f17
chore: Remove deprecated methods in Futures (#2070) 2025-08-24 02:17:52 +08:00
He-Pin(kerr)
442ecd76c5
chore: Make timeoutCompletionStage accept java Duration. (#2063) 2025-08-24 02:09:56 +08:00
He-Pin(kerr)
8ca24f6a08
chore: Make afterCompletionStage accept Java duration. (#2067)
* chore: Make afterCompletionStage accept Java duration.

* Fix missing newline at end of pattens.excludes

---------

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2025-08-23 22:08:49 +08:00
He-Pin(kerr)
5a94aa36a0
chore: Remove validateDefaultTrustManager (#2068) 2025-08-23 22:01:07 +08:00
He-Pin(kerr)
db92fad13d
feat: Add CompletionStages util. (#2060) 2025-08-23 21:45:30 +08:00
He-Pin(kerr)
b146f5f4fc
chore: Remove AbruptIOTerminationException (#2065) 2025-08-23 19:59:34 +08:00
PJ Fanning
bd24ae69fd
remove deprecated monitor operation (#2056)
* remove deprecated monitor operation

* Update remove-deprecated-methods.excludes
2025-08-23 11:39:46 +01:00
PJ Fanning
19d4fd1bfa
remove deprecated method in AeronErrorLog (#2055)
* remove deprecated method in AeronErrorLog

* Update remove-deprecated-methods.excludes
2025-08-23 11:39:12 +01:00
He-Pin(kerr)
629b7d74fe
chore: Deprecate Patterns.timeout method. (#2050) 2025-08-23 18:21:21 +08:00
He-Pin(kerr)
5bf36c85d8
chore: Update .git-blame-ignore-revs (#2062) 2025-08-23 17:41:22 +08:00
He-Pin(kerr)
952b3f29b1
chore: bump scalafmt to 3.9.9 (#2047) 2025-08-23 17:34:23 +08:00
He-Pin(kerr)
0d1599ce0d
chore: Fix some sbt deprecations (#2051) 2025-08-23 17:32:18 +08:00
He-Pin(kerr)
b3d2b3fbf1
chore: disable batch if isVirtualized (#2046) 2025-08-23 16:59:39 +08:00
He-Pin(kerr)
c346c14660
chore: Remove wrong deprecation in IOResult. (#2054) 2025-08-23 16:55:41 +08:00
He-Pin(kerr)
57676cdc59
chore: Remove two deprecated methods in AbstractScheduler (#2052)
* chore: Remove two deprecated methods in AbstractScheduler

* add newline at end of scheduler.excludes

---------

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2025-08-23 16:43:26 +08:00
PJ Fanning
40dfb57c90
Scheduler: remove more deprecated methods (#2037)
* try to remove remaining deprecations in scheduler

* Update Scheduler.scala

* Update Cluster.scala

* mima
2025-08-22 16:24:15 +01:00
scala-steward-asf[bot]
63637f472c
Update docker-java-core, ... to 3.6.0 (#2045)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-08-22 08:14:33 +01:00
dependabot[bot]
3408633b02
chore(deps): bump actions/setup-java from 4 to 5 (#2044)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-22 08:12:19 +01:00
Mikhail Sokolov
5d139e8b7c
Add AsyncWriteJournal option for disabling Resequencer (#2026) (#2027)
* Add AsyncWriteJournal option for disabling Resequencer (#2026)

* Add @InternalApi as requested in review

* Update AsyncWriteJournal.scala

---------

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2025-08-21 08:32:00 +01:00
PJ Fanning
e0619c34fb
generate source with protobuf 32 (#2036)
* generate source with protobuf 32

* javafmt
2025-08-20 08:21:18 +01:00
Matthew de Detrich
adc1d669ce feat: Add materializeIntoSource 2025-08-18 14:09:43 +02:00
scala-steward-asf[bot]
28783fad61
Update sbt-develocity to 1.3.1 (#2034)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-08-17 02:13:10 +01:00
scala-steward-asf[bot]
098ba99905
Update netty-handler, netty-transport to 4.2.4.Final (#2035)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-08-17 02:12:44 +01:00
scala-steward-asf[bot]
8eaa673721
Update protobuf-java to 4.32.0 (#2033)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-08-17 02:10:07 +01:00
Ilya Kachalsky
97b3554871
Add JournalPersistFailed and JournalPersistRejected signals (#1961)
* Add `JournalPersistFailed` and `JournalPersistRejected` signals with debug logging when emitted

* Add tests for `JournalPersistFailed` and `JournalPersistRejected` signals

* fix comments, remove pekko version

* applyCodeStyle

* change license
2025-08-14 19:04:49 +01:00
PJ Fanning
53789a4296
remove Java8Cleaner (#2031) 2025-08-13 21:23:19 +01:00
PJ Fanning
96a84ca89b
use better byte buffer cleaner (#2020)
* use better byte buffer cleaner

* scalafmt

* Update ByteBufferCleaner.java

* Update actor/src/main/java/org/apache/pekko/io/ByteBufferCleaner.java

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

* Update DirectByteBufferPool.scala

* method handle

* Create ByteBufferCleanerSpec.scala

* invokeExact

* Update ByteBufferCleaner.java

* test buffer cleaner at init time

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-13 20:04:00 +01:00
dependabot[bot]
e7e71a3adf
chore(deps): bump sbt/setup-sbt from 1.1.11 to 1.1.12 (#2028)
Bumps [sbt/setup-sbt](https://github.com/sbt/setup-sbt) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/sbt/setup-sbt/releases)
- [Commits](234370af13...f20dc1bc1f)

---
updated-dependencies:
- dependency-name: sbt/setup-sbt
  dependency-version: 1.1.12
  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-08-13 13:52:13 +08:00
dependabot[bot]
3f71d29157
chore(deps): bump actions/checkout from 4 to 5 (#2025)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 11:01:51 +01: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
scala-steward-asf[bot]
fd1d7bb5af
Update aeron-client, aeron-driver to 1.48.6 (#2024)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-08-10 13:30:43 +08:00
PJ Fanning
957355cc3f
remove deprecated backoff classes and cluster-sharding settings (#2018)
* remove deprecated backoff classes

* remove unused deprecated methods from ClusterShardingSettings

* Update remove-deprecated-methods.excludes

* Update ClusterShardingSettings.scala

* Update remove-deprecated-methods.excludes

* Update remove-deprecated-methods.excludes

* mima
2025-08-08 09:02:29 +01:00
PJ Fanning
7af97edd86
remove deprecated stream operators (#2017)
* remove deprecated stream operators

* more deprecations
2025-08-08 09:02:08 +01:00
PJ Fanning
fc7ab2b8b5
remove unused code in actormaterializer (#2016)
* remove unused code in actormaterializer

* Update remove-deprecated-methods.excludes
2025-08-08 09:01:38 +01:00
PJ Fanning
5bfbfc5c89
with Java 17 min - we can call Thread.onSpinWait directly (#2021) 2025-08-08 08:57:52 +01:00
PJ Fanning
c11434abb4
remove final use of sun.misc.Unsafe (#1995)
* remove final use of sun.misc.Unsafe

* Update PekkoBuild.scala

* update exception handling

* Update Unsafe.java
2025-08-07 09:36:46 +01:00
PJ Fanning
4be8edcae4
try to remove some deprecated materializer methods (#2011)
* try to remove some deprecated materializer methods

* more changes

* mima

* Update StreamRefSettings.scala

* make deprecated code that can't be deleted package private

* Update StreamRefSettings.scala

* Update ActorMaterializer.scala
2025-08-07 09:36:01 +01:00
PJ Fanning
ad1ddf04c9
remove deprecated stream future operators (#2012)
* remove deprecated stream future operators

* Update maybe.md
2025-08-07 09:35:25 +01:00
PJ Fanning
7d5e5daa70
use CompletableFuture#failedStage (#2013) 2025-08-06 10:44:43 +08:00
PJ Fanning
1b8de23911
remove deprecated stream converters (#2006)
* remove deprecated stream converters

* Update StreamConverters.scala

* Update remove-deprecated-methods.excludes

* Update DslFactoriesConsistencySpec.scala
2025-08-05 15:21:35 +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
scala-steward-asf[bot]
4228496e8f
Update sbt, scripted-plugin to 1.11.4 (#2005)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-08-04 12:36:38 +01:00
PJ Fanning
2ff7868281
don't test SessionRenegotiationFirstOne on java 24 (#2003) 2025-08-04 10:05:38 +01:00
PJ Fanning
1762931994
remove more deprecations (#1997)
* remove more deprecations

* Update EventEnvelope.scala

* mima
2025-08-03 11:02:59 +01:00
PJ Fanning
0dd219fab4
remove more deprecated pekko-stream methods (#1996)
* remove deprecated setup methods

* remove deprecated lazyInit methods

* more deprecated methods

* Update SubFlow.scala

* scalafmt

* Update SubFlow.scala

* subflow/subsource

* Update DslFactoriesConsistencySpec.scala

* remove docs for removed operators
2025-08-03 10:55:37 +01:00
PJ Fanning
c8960e2783
fix build issue related to URL deprecation (#1999) 2025-08-03 10:55:16 +01:00
He-Pin(kerr)
7325c729ce
Make use of eq and ne. (#1994)
* chore: make use of eq instead of ==

* chore: make use of ne instead of !=
2025-08-03 17:32:32 +08:00
PJ Fanning
19788583ee
remove more deprecated code (#1984)
* remove more deprecated code

* Update DslFactoriesConsistencySpec.scala

* mima

* remove docs for removed FileIO operations

* more

* remove foreachparallel

* remove deprecated patterns

* tidy up

* Update remove-deprecated-methods.excludes
2025-08-02 13:18:20 +01:00
PJ Fanning
db60119b42
avoid sun.misc.Unsafe by using VarHandles (#1990)
* don't use unsafe to update nextName

Update Children.scala

Update Children.scala

use varhandle

Update AbstractActorCell.java

review comment

Update Children.scala

remove more usages of Unsafe

more

more

more

javafmt

Update LightArrayRevolverScheduler.scala

Update AbstractNodeQueue.java

Update AbstractBoundedNodeQueue.java

Revert "more"

This reverts commit ef119f4ebf9fa528a880dd13dd833e4e8c6effc8.

revert some promise actor changes

javafmt

* watchedBy

* Reapply "more"

This reverts commit ba2b43cd7d920a67e2e3ac9355c50c6b8169d451.

try again

* remove imports

* javafmt

* Update Unsafe.java

* Create util-unsafe-refactor.excludes

* internal api
2025-08-02 12:10:52 +01:00