Domantas Petrauskas
4afe7cf331
Configuring persistence plugins at runtime for EventSourcedBehavior ( #1518 )
...
* Add runtime journal plugin configuration to EventSourcedBehavior
* Add runtime journal plugin configuration test for event journals
* Add runtime journal plugin configuration test for snapshot store
* Mark SnapshotStorageEmulatorExtension class as internal API
* Add runtime journal plugin configuration test for event journals explicitly
* Address review comments
* Address review comments
* Add binary compat exclusions
* Fix test name
* Add Java API
* Use pekko option converters instead of scala jdk
2024-10-16 22:50:58 +01:00
Domantas Petrauskas
0e10d291db
Implement events by slice in testkit ( #1533 )
2024-10-16 21:51:34 +01:00
Domantas Petrauskas
9230df8b06
Implement EventsByTagQuery in PersistenceTestKitReadJournal ( #1532 )
...
* Initial implementation of events by tag in testkit
* Simplify implementation of events by tag in testkit
* Fix pekko imports
* Fix compilation on 2.12
* Add test for events having multiple tags
* Fix pekko import
* Fix test compilation on 2.12
* Remove redundant sorting by persistence ID
2024-10-16 15:19:59 +01:00
PJ Fanning
726ddbfd43
CI: setup-sbt ( #1531 )
...
* CI: setup-sbt
* Update dependency-graph.yml
2024-10-16 08:05:29 +01:00
PJ Fanning
bbbcaccd2c
revert zipWithIndex changes ( #1526 )
...
* revert zipWithIndex changes
* scalafmt
* Update FlowZipWithIndexSpec.scala
2024-10-14 09:28:14 +01:00
scala-steward-asf[bot]
d20f1028ff
Update sbt-dynver to 5.1.0 ( #1530 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-10-13 11:24:38 +01:00
scala-steward-asf[bot]
614b36257b
Update sbt-pekko-build to 0.4.1 ( #1529 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-10-13 11:18:44 +01:00
PJ Fanning
95e8355c4c
remove old resolver support ( #1523 )
2024-10-09 08:19:43 +01:00
Arnout Engelen
107c17f68a
Fix determining log class by stack on JDK21 ( #1522 )
...
Fixes #1521
It appears on JDK21 the lambda class is called e.g. `class org.apache.pekko.persistence.typed.EventSourcedBehaviorLoggingSpec$ChattyEventSourcingBehavior$$$Lambda/0x00007f1aa03e53b0` instead of e.g. `class org.apache.pekko.persistence.typed.EventSourcedBehaviorLoggingSpec$ChattyEventSourcingBehavior$$$Lambda$523/0x000000080053e040`
2024-10-08 13:45:02 +02:00
PJ Fanning
242145821f
v1.1.2 docs ( #1520 )
2024-10-07 13:50:16 +01:00
scala-steward-asf[bot]
fd9a0a4fc0
Update scala3-library to 3.3.4 ( #1506 )
...
* Update scala3-library to 3.3.4
* correctly determine logger class for Scala 3.3.4 stacktraces
Co-Authored-By: Wojciech Mazur <wmazur@virtuslab.com>
---------
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
Co-authored-by: Wojciech Mazur <wmazur@virtuslab.com>
2024-10-07 14:10:40 +02:00
PJ Fanning
b8c3dbe1e4
release 1.1.2 ( #1515 )
2024-10-07 13:10:28 +01:00
scala-steward-asf[bot]
6e1e06e650
Update metrics-core, metrics-jvm to 4.2.28 ( #1516 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-10-06 02:05:10 +01:00
scala-steward-asf[bot]
41dbdc48bf
Update junit-jupiter-engine to 5.11.2 ( #1517 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-10-06 02:04:48 +01:00
scala-steward-asf[bot]
4f95c405e6
Update netty-handler, netty-transport to 4.1.114.Final ( #1514 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-10-03 13:11:18 +01:00
PJ Fanning
1e09622775
reduce use of scala.collection.JavaConverters ( #1511 )
...
Update Index.scala
Update Index.scala
2024-10-02 10:40:51 +01:00
Clay Johnson
2698511938
Disabled Develocity local build cache ( #1512 )
...
sbt-develocity v1.1 ships with local and remote build cache support for the
`compile` and `test` tasks (see
https://gradle.com/develocity/releases/2024.2#build-caching-for-sbt ).
The local build cache is enabled by default, while the remote cache requires
configuring the nodes that are allowed to upload artifacts to the build cache
(see
https://docs.gradle.com/develocity/sbt-build-cache/#rolling_out_the_cache_in_your_organization ).
It's important to confirm that a project's build is ready to use the build cache
(local or remote) to avoid unexpected behaviors. Specifically, one should make
sure that all relevant inputs to the `compile` or `test` task are captured, as
otherwise the generated build cache key will be incorrect (this can lead to
erractic behavior, as entries from the cache will be reused when they
shouldn't). Refer to
https://docs.gradle.com/enterprise/sbt-plugin/#caching_the_compile_task to know
what are the build cache inputs captured for the `compile` task and
https://docs.gradle.com/enterprise/sbt-plugin/#caching_the_test_testonly_and_testquick_tasks
for the `test` task.
This commits disables the local build cache so that a proper rollout can be
planned (see
https://docs.gradle.com/develocity/sbt-build-cache/#rolling_out_the_cache_in_your_organization ).
Co-authored-by: Mirco Dotta <mdotta@gradle.com>
2024-10-02 11:23:20 +02:00
Matthew de Detrich
bc32e04b13
Fix CollectionUtil toSeq methods
...
Signed-off-by: Matthew de Detrich <mdedetrich@gmail.com>
2024-10-01 15:17:53 +02:00
PJ Fanning
711f711360
replace more uses of Util.immutableSeq ( #1509 )
...
* replace more uses of Util.immutableSeq
* Update ClusterClient.scala
* more changes
* Update NettySSLSupport.scala
* Update ClusterClient.scala
* Update ClusterClient.scala
2024-10-01 13:43:31 +01:00
PJ Fanning
090390a4f0
issue with full list copies in pekko-stream javadsl ( #1491 )
...
* commit
CollectionUtil
scalafmt
* build issue
* inline
* scala 3 compile issue
* continue use if Util.immutableSeq in Scala 2.12
* Update CollectionUtil.scala
2024-09-30 20:27:45 +01:00
PJ Fanning
6c9f1a6c8f
develocity 1.1.1 ( #1501 )
...
* develocity 1.1.1
* Update .scala-steward.conf
2024-09-29 19:05:18 +01:00
scala-steward-asf[bot]
54e90cc400
Update sbt-scalafix to 0.13.0 ( #1502 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-09-29 08:42:50 +01:00
scala-steward-asf[bot]
e4f4174ebd
Update guava to 33.3.1-jre ( #1503 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-09-29 02:55:37 +01:00
scala-steward-asf[bot]
14c5d768ab
Update junit-jupiter-engine to 5.11.1 ( #1504 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-09-29 02:55:09 +01:00
PJ Fanning
f24e43687b
mark stop() method as noinline ( #1485 )
...
* mark stop() method as noinline
* Update Dispatch.scala
2024-09-25 10:00:21 +01:00
PJ Fanning
78d6f175cc
revert to develocity 1.0.1 ( #1500 )
2024-09-25 09:22:11 +02:00
PJ Fanning
fb67f7f666
sbt 1.10.2 ( #1498 )
2024-09-23 15:06:35 +02:00
PJ Fanning
ab098af3e7
Revert "Update sbt to 1.10.2 ( #1496 )" ( #1497 )
...
This reverts commit 5ec5f0b3fc .
2024-09-22 22:23:15 +02:00
scala-steward-asf[bot]
de002f1340
Update protobuf-java to 3.25.5 ( #1494 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-09-22 02:10:40 +01:00
scala-steward-asf[bot]
eaca7f5c42
Update commons-io to 2.17.0 ( #1495 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-09-22 02:10:25 +01:00
scala-steward-asf[bot]
5ec5f0b3fc
Update sbt to 1.10.2 ( #1496 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-09-22 02:10:11 +01:00
PJ Fanning
57f13ec41b
revert to sbt develocity 1.0 ( #1493 )
2024-09-21 22:43:58 +01:00
hughsimpson
c3999a0df4
Fix downstream kamon instrumentation ( #1489 )
...
* add @noinline annotation to MessageBuffer.Node.apply
* add @noinline annotation to Envelope.copy
* add overriding defn of copy with @noinline annotation to ThreadPoolConfig
* add comments
2024-09-21 14:00:43 +01:00
João Costa
6ceb59ba26
Support primitives in Flow#collectType ( #1490 )
2024-09-20 21:05:18 +01:00
PJ Fanning
22a7385113
simplify scala 3 build in CI ( #1486 )
...
* simplify scala 3 build in CI
* Update scala3-build.yml
2024-09-17 21:52:06 +01:00
Arnout Engelen
2add3c2918
release notes for 1.1.1 ( #1469 )
2024-09-13 18:37:39 +01:00
Oliver Heger
8b2f60f494
Fix OSGi metadata ( #1480 )
...
Set the correct version range for `Import-Package` declarations to
`org.apache.pekko` packages.
Fixes #1479 .
Signed-off-by: Oliver Heger <oliver.heger@oliver-heger.de>
2024-09-12 22:31:33 +01:00
Andy(Jingzhang)Chen
c9fdad1dd1
add unit test protect ExtractEntityId can be shared safely ( #1475 )
...
* add unit test protect ExtractEntityId can be shared safely
Related with #1463
* chore: avoid the double evaluation of entityId in ClusterSharding (#1304 )
* chore: avoid the double evaluation of entityId in ClusterSharding
* new cacheable partial function
* optimized for review
* fix the right type
* Revert "chore: avoid the double evaluation of entityId in ClusterSharding (#1…" (#1464 )
This reverts commit b0e9886439 .
* grammar fix
* sort imports
---------
Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2024-09-12 12:55:42 +01:00
PJ Fanning
ffb31daeca
docs: logger names are Fully Qualified Class Names ( #1476 )
2024-09-12 11:51:12 +01:00
Arnout Engelen
09486097e7
KEYS: add second public key for Arnout Engelen ( #1472 )
...
If you want you can verify this key is plausible because it's been
used to sign Pekko and Akka commits since way back.
2024-09-10 00:06:26 +02:00
PJ Fanning
da2eff20ef
add some warnings to release notes ( #1467 )
2024-09-09 09:42:46 +01:00
scala-steward-asf[bot]
ad55d1c414
Update scala-library to 2.12.20 ( #1466 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-09-07 23:18:41 +01:00
scala-steward-asf[bot]
0473272a8c
Update netty-handler, netty-transport to 4.1.113.Final ( #1465 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-09-07 23:18:07 +01:00
PJ Fanning
498c4713ab
Revert "chore: avoid the double evaluation of entityId in ClusterSharding (#1…" ( #1464 )
...
This reverts commit b0e9886439 .
2024-09-07 21:57:02 +01:00
PJ Fanning
cfea22b71f
publish 1.0.3 docs ( #1462 )
2024-09-04 10:45:13 +01:00
PJ Fanning
d6be383779
release notes for 1.1.0 ( #1456 )
...
* release notes for 1.1.0
* more release notes
* more changes
* Update releases-1.1.md
2024-09-02 20:03:38 +01:00
scala-steward-asf[bot]
af75458563
Update sbt-develocity to 1.1.1 ( #1461 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-09-01 13:46:06 +08:00
Matthew de Detrich
5f2d690b89
Fix typos in optionalVia/unsafeOptionalVia
2024-08-30 12:37:40 +02:00
Andy(Jingzhang)Chen
d1ec224330
additional mailbox selector for typed props ( #1096 )
...
* additional mailbox selector for typed props
* add unit test
* chore change of unit test
* Revert "configuration typo"
This reverts commit 7917feb32a4b042124513d98068db832cc59a541.
* fix pekko imports
* mention interoperability in doc
* share configuration in tests
* revert configuration change
* fix new typo
* fix jdocs tests
* optimized import
* mention api version in doc
* resolve import issue
2024-08-28 19:12:35 +01:00
Andy(Jingzhang)Chen
db8d20ddea
feat: streamlined approach for Behaviors #1444 ( #1445 )
...
* feat: streamlined approach for Behaviors #1444
* rename method
* scaladsl and test
* simpler test
* add @since annotation
2024-08-28 18:05:20 +01:00