Commit graph

55 commits

Author SHA1 Message Date
PJ Fanning
92ca0314c0
silence compiler warnings new in scala 2.13.17 (#2255)
* silence compiler warning new in scala 2.13.17

* Update FrequencySketch.scala
2025-09-21 23:01:40 +08:00
He-Pin(kerr)
4f2434b650
chore: Drop @unused annotation from pekko (#2241) 2025-09-20 13:28:02 +08:00
He-Pin(kerr)
870d4499cc
chore: sort imports (#2235) 2025-09-20 11:30:05 +08:00
He-Pin(kerr)
8254acc0e8
chore: Remove ccompat.JavaConverters (#2234) 2025-09-20 01:12:16 +08:00
He-Pin(kerr)
9b2853c730
chore: Use scala.jdk.DurationConverters (#2205) 2025-09-20 01:05:11 +08:00
He-Pin(kerr)
875840d3b8
chore: Remove pekko.util.FutureConverters (#2207)
* chore: Remove pekko.util.FutureConverters
2025-09-20 00:42:52 +08:00
PJ Fanning
04f5fcd1b7
chore: Use Scala Option Converter (#2203)
* chore: Use Scala Option Converter
---------

Co-authored-by: He-Pin <hepin1989@gmail.com>
2025-09-19 23:34:29 +08:00
He-Pin(kerr)
8c48393cd3
chore: Remove pekko.dispatch.ExecutionContexts.parasitic (#2208)
* chore: Remove pekko.dispatch.ExecutionContexts.parasitic

* .
2025-09-19 22:17:20 +08:00
PJ Fanning
f2b677dfa0
remove scala 2.12 support (#1986)
* remove scala 2.12 support

* move around some source because we don't need as many source dirs

* move more files

* remove annotations

* remove annotations

* Create remove-scala-2.12-support.excludes

* remove some scala-2.12 refs

* remove compat.PartialFunction

* Update remove-scala-2.12-support.excludes
2025-09-13 10:03:10 +01:00
He-Pin(kerr)
42c2b493cb
chore: Remove japi.option method (#2193)
* chore: Remove japi.option method

* .
2025-09-12 03:04:35 +08: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
18d7ff815a
bind instanceof to named variables (#2088)
* bind instanceof to named variables

* Update StashJavaAPITestActors.java

* Update InteractionPatternsTest.java
2025-08-25 13:44:38 +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
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
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
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
9e540b1236
remove deprecated names annotations (#1985) 2025-07-31 20:03:35 +01:00
He-Pin(kerr)
9577b01b10
chore: bump scalafmt to 3.9.7 (#1916) 2025-06-24 10:27:14 +02:00
PJ Fanning
05044a65d3
protobuf-java 4.29.3 (#1795)
* try protobuf-java 4.30.0

* regen code

* javafmt

* mima

* Create protoc4-upgrade.excludes

* more mima

* Update protoc4-upgrade.excludes
2025-04-17 23:10:33 +02:00
scala-steward-asf[bot]
919d9c9309
Update protobuf-java to 3.25.6 (#1748)
* Update protobuf-java to 3.25.6

* regenerate protobuf classes with protoc 25.6

---------

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-27 11:26:18 +01: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
PJ Fanning
67c3423fc8
leveldb: update doc to match what we test (#1691) 2025-01-06 19:10:10 +01:00
scala-steward-asf[bot]
dad6b9f6e3
Update scala-library to 2.13.15 (#1505)
* Update scala-library to 2.13.15

* Update link-validator.conf

* fix `-Wconf` to match new semantics

Override order reversed, see also https://github.com/scala/scala/releases

---------

Co-authored-by: Arnout Engelen <arnout@bzzt.net>
Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2025-01-03 20:21:05 +01:00
PJ Fanning
0fa708382c
Add new migration strategy for Pekko Persistence snapshots (#1423)
* Add new migration strategy for Pekko Persistence snapshots

Update reference.conf

Update SnapshotSerializerSpec.scala

new impl

* add more tests

* add akka mode test

* rename file

* Update SnapshotSerializerMigrationAkkaSpec.scala

* extend akka test

* Update reference.conf

* Update SnapshotSerializer.scala

* rename config

* fix name of tests
2024-08-21 11:58:16 +01:00
scala-steward-asf[bot]
fa1351b213 Reformat with scalafmt 3.8.2
Executed command: scalafmt --non-interactive
2024-06-16 07:56:40 +01:00
PJ Fanning
7647f13b9d
fix some typos (#1358) 2024-06-08 10:17:13 +01:00
PJ Fanning
64e07dcf1b
new durable state persistence exceptions (#1271)
* new persistence exceptions

typos

scalafmt

add annotation

refactor due to review comments

Update DurableStateExceptionSpec.scala

Delete PersistenceException.scala

refactor

Update DurableStateStoreException.scala

refactor again

* refactor again

* Update DurableStateStoreException.scala

* more generic exception

* add javadoc
2024-04-22 21:17:10 +02:00
PJ Fanning
e3410bcaa8
Pekko becomes TLP (#1214) 2024-03-22 14:16:08 +01:00
He-Pin(kerr)
df302b8ee6
feat: Add create method to PFBuilder. (#947) 2024-01-15 17:37:14 +08:00
PJ Fanning
8c688dad2e
use more of StandardCharsets (#952)
* use more of StandardCharsets

* scalafmt
2024-01-14 23:50:50 +01:00
Matthew de Detrich
8cb7d256dc Remove @inline annotations and enable Scala 2 inliner 2023-12-30 03:41:12 +01:00
PJ Fanning
7332626430
Use recoverWith instead of recover in SnapshotSerializer akka backwards compatibility (#841) (#843)
Co-authored-by: Łukasz Krenski <sakulk@gmail.com>
2023-12-12 11:34:18 +01:00
PJ Fanning
d8943ce391
support reading akka-persistence snapshots (#837) (#838)
* support reading akka-persistence snapshots

* add test

* Update SnapshotSerializerSpec.scala
2023-12-11 09:51:30 +01:00
Naoki Yamada
201992d984 Fix invalid scaladoc links which cannot be found (#353)
* Add enough package name
* Fix invalid syntax of links to a method
2023-09-26 19:26:45 +08:00
Naoki Yamada
b7a5f673a9
add external javadoc links (#353) (#674)
Co-authored-by: Naoki Yamada <yamada.naoki@tis.co.jp>
2023-09-23 19:08:15 +01:00
PJ Fanning
4f570ea24c
Yet more Akka version numbers in deprecation warnings (#545)
* Yet more Akka version numbers in deprecation warnings

more

* more akka version numbers

Update ClusterMessageSerializer.scala

more changes
2023-08-07 00:47:04 +01:00
Matthew de Detrich
17403a4faa Cleanup more state in PersistenceSpec 2023-07-07 10:35:14 +02:00
Matthew de Detrich
8d990a631a Properly cleanup state after SharedLeveldbJournalSpec exits 2023-07-06 17:36:55 +02:00
PJ Fanning
b0fdac259b
adjust ASF header (#450) 2023-06-22 14:19:26 +01:00
PJ Fanning
01379c4171
Scala3 doc build does not like java @Deprecated mixed with Scala @deprecated (#406)
* Scala3 doc build does not like java `@Deprecated` mixed with Scala `@deprecated`

* Update ActorSource.scala
2023-06-16 15:27:11 +01:00
PJ Fanning
1612950702
fix up refs to Akka in source code (#374)
* fix up refs to Akka in source code

* Update distributed-data.md
2023-06-07 14:51:57 +01: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
0a8b8a572f
set license headers on conf files (#227) 2023-03-03 13:24:19 +01:00
PJ Fanning
7e653454a9
use pekko: in urls and fix other branding issues (#184)
* use pekko: in urls and fix other branding issues

* update comments

* fix artery test

* test changes

* scalafmt

* try to fix some tests and fixing more akka refs

* more akka refs

* more changes

* more akka refs

* Update LeaseMajoritySpec.scala

* Update docs/src/main/paradox/testing.md

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* Update docs/src/main/paradox/project/migration-guides.md

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* Update actor/src/main/scala/org/apache/pekko/serialization/Serialization.scala

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* Update scripts/release-train-issue-template.md

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* revert link-validation change

* Update JacksonModule.scala

* revert key name changes to fix 2 tests

* fix one test

* more test trouble

* more test issues

* fix hashing test

* Update RouterTest.java

* update code comment

---------

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>
2023-02-22 12:48:15 +01:00
PJ Fanning
2df8d99786
change deprecated versions to use Akka in name (#209)
* change deprecated versions to use Akka in name

* scalafmt

* update markdown
2023-02-21 11:13:05 +01:00
PJ Fanning
c32fcf1f0a
update more akka refs to use pekko name (#200) 2023-02-17 10:49:40 +01:00
Johannes Rudolph
c4887c68b0
fix binary protobuf descriptor data (#168)
Fixes #164, #167
2023-02-13 10:38:42 +01:00