What's Changed
API
- Fix Observable.take scheduler annotation by @evgenyponomarev in #8289
- Add Streamable collect, blocking and withCancel operators by @akarnokd in #8333
- Add Streamable just overloads for 2-10 items by @jimi-21 in #8395
- Add Streamable count operator by @jimi-21 in #8396
- Add Streamable collectInto operator by @jimi-21 in #8397
Fixes
- Fix consumer retention in cache() upon subscribe-cancel race by @akarnokd in #8283
- Streamable.timer to dispose the executor/scheduler upon finish by @akarnokd in #8286
- Fix timeout handling in SchedulerToExecutorService.awaitTermination by @cuishuang in #8301
- Fix Streamable.forEach BiConsumer overload ignoring executor by @cuishuang in #8302
- Release replay buffers from cancelled consumers by @tianrking in #8317
- Fix finish error propagation in StreamableUsing by @myetcd in #8312
- Fix Streamable.fromStream not closing the Stream when the first hasNext fails by @Dev-next-gen in #8331
- Fix Streamable range traversal starts and maximum endpoints by @PHJ2000 in #8337
- Fix typos in Streamable Javadoc by @pei711 in #8339
- Fix typo in Flowable Javadoc (thos → those) by @pei711 in #8338
- Fix Streamable.intervalRange emitting nothing when start + count overflows by @Dev-next-gen in #8398
Tests
- Fix DispatchStreamProcessorTest.raceToStream flakiness by @akarnokd with @Copilot in #8275
- Await raceToStream subscriptions before cleanup by @2748109647 in #8354
- Add SchedulerSupport annotation validator by @akarnokd in #8292
- Isolate Maybe takeUntil race tests by @JimmyLiuJia in #8319
- Isolate Maybe zip race tests by @JimmyLiuJia in #8320
- Isolate Maybe timeout race tests by @JimmyLiuJia in #8321
- Isolate Maybe switchIfEmpty race tests by @JimmyLiuJia in #8328
- Isolate Maybe amb and concat race tests by @JimmyLiuJia in #8329
- docs: fix typos in documentation by @hamidzr in #8345
- Isolate Single zip race tests by @jimi-21 in #8357
- Isolate Single using and amb race tests by @jimi-21 in #8361
- Isolate Single cache and unsubscribeOn race tests by @jimi-21 in #8362
- Isolate Single takeUntil and timeout race tests by @jimi-21 in #8363
- Isolate Single flatMapIterable flowable race tests by @jimi-21 in #8364
- Isolate Completable amb and cache race tests by @jimi-21 in #8365
- Isolate Completable timeout and using race tests by @jimi-21 in #8366
- Isolate Completable concat race tests by @jimi-21 in #8367
- Isolate Completable merge race tests by @jimi-21 in #8368
- Isolate Maybe cache and unsubscribeOn race tests by @jimi-21 in #8369
- Isolate Maybe flatMapIterable and mergeArray race tests by @jimi-21 in #8370
- Isolate Maybe using race tests by @jimi-21 in #8371
- Isolate Flowable cache race tests by @jimi-21 in #8373
- Isolate Flowable amb race tests by @jimi-21 in #8374
- Isolate Observable amb race tests by @jimi-21 in #8375
- Isolate Observable cache race tests by @jimi-21 in #8376
- Make Completable repeatNormal deterministic by @jimi-21 in #8377
- Isolate Flowable concatMap race tests by @jimi-21 in #8380
- Isolate XFlatMap singlePublisher race test by @jimi-21 in #8381
- Isolate Flowable groupBy issue6982Case1 test by @jimi-21 in #8382
- Isolate Disposable race tests by @jimi-21 in #8383
- Isolate CompositeDisposable race tests by @jimi-21 in #8384
- Isolate DisposableHelper race tests by @jimi-21 in #8385
- Isolate ArrayCompositeDisposable race tests by @jimi-21 in #8386
- Isolate ListCompositeDisposable race tests by @jimi-21 in #8387
- Increase virtual TCK timeout to 50 ms by @jimi-21 in #8388
- Isolate ReplayCancellation race tests by @jimi-21 in #8389
- Isolate DeferredScalarSubscription race tests by @jimi-21 in #8390
- Isolate SubscriptionHelper race tests by @jimi-21 in #8391
- Isolate ArrayCompositeSubscription race tests by @jimi-21 in #8392
- Isolate FutureSubscriber race tests by @jimi-21 in #8393
- Isolate FutureObserver race tests by @jimi-21 in #8394
Other
- Pin unpinned GitHub Actions to commit SHAs by @akarnokd with @Copilot in #8273
- Update 4.x Getting Started documentation by @evgenyponomarev in #8290
- Update security policy with reporting guidelines by @akarnokd in #8284
- Update contribution guidelines for version targeting by @akarnokd in #8316
- Disable Checkstyle task for JDK 28 by @akarnokd in #8360
Dependabot
- chore(deps): bump actions/download-artifact from 4 to 8 by @dependabot[bot] in #8269
- chore(deps): bump actions/cache from 4 to 6 by @dependabot[bot] in #8268
- chore(deps): bump actions/github-script from 7 to 9 by @dependabot[bot] in #8270
- chore(deps): bump github/codeql-action/upload-sarif from 4.37.4 to 4.37.5 by @dependabot[bot] in #8271
- chore(deps): bump actions/upload-artifact from 4 to 7 by @dependabot[bot] in #8272
- chore(deps): bump github/codeql-action/upload-sarif from 4.37.5 to 4.37.6 by @dependabot[bot] in #8276
- chore(deps): bump gradle-wrapper from 9.6.1 to 9.7.0 by @dependabot[bot] in #8277
- chore(deps): bump org.junit.jupiter:junit-jupiter from 6.1.2 to 6.1.3 by @dependabot[bot] in #8282
- chore(deps): bump jupiterLauncherVersion from 6.1.2 to 6.1.3 by @dependabot[bot] in #8281
- chore(deps): bump github/codeql-action/upload-sarif from 4.37.6 to 4.37.7 by @dependabot[bot] in #8287
- chore(deps): bump com.google.guava:guava from 33.6.0-jre to 33.7.1-jre by @dependabot[bot] in #8293
- chore(deps): bump github/codeql-action/upload-sarif from 4.37.7 to 4.37.8 by @dependabot[bot] in #8296
- chore(deps): bump biz.aQute.bnd.builder from 7.3.0 to 7.4.0 by @dependabot[bot] in #8295
- chore(deps): bump actions/setup-java from 5.7.0 to 6.0.0 by @dependabot[bot] in #8298
- chore(deps): bump github/codeql-action/upload-sarif from 4.37.8 to 4.37.9 by @dependabot[bot] in #8300
- chore(deps): bump actions/setup-java from 6.0.0 to 6.0.1 by @dependabot[bot] in #8303
- chore(deps): bump github/codeql-action/upload-sarif from 4.37.9 to 4.38.0 by @dependabot[bot] in #8304
- chore(deps): bump codecov/codecov-action from 7.0.0 to 7.1.0 by @dependabot[bot] in #8305
- chore(deps): bump github/codeql-action/upload-sarif from 4.38.0 to 4.38.1 by @dependabot[bot] in #8306
- chore(deps): bump codecov/codecov-action from 7.1.0 to 7.1.1 by @dependabot[bot] in #8307
- chore(deps): bump github/codeql-action/upload-sarif from 4.38.1 to 4.38.2 by @dependabot[bot] in #8310
- chore(deps): bump org.mockito:mockito-junit-jupiter from 5.23.0 to 5.24.0 by @dependabot[bot] in #8308
- chore(deps): bump gradle-wrapper from 9.7.1 to 9.8.0 by @dependabot[bot] in #8309
- chore(deps): bump gradle/actions/wrapper-validation from 6.3.0 to 6.4.0 by @dependabot[bot] in #8314
- chore(deps): bump com.google.guava:guava from 33.7.1-jre to 33.7.2-jre by @dependabot[bot] in #8318
- chore(deps): bump github/codeql-action/upload-sarif from 4.38.2 to 4.38.3 by @dependabot[bot] in #8323
- chore(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2 by @dependabot[bot] in #8324
- chore(deps): bump gradle-wrapper from 9.8.0 to 9.8.1 by @dependabot[bot] in #8325
- chore(deps): bump actions/download-artifact from 8.0.1 to 8.0.2 by @dependabot[bot] in #8322
- chore(deps): bump ossf/scorecard-action from 2.4.4 to 2.5.0 by @dependabot[bot] in #8330
- chore(deps): bump EnricoMi/publish-unit-test-result-action from 2.24.0 to 2.25.0 by @dependabot[bot] in #8332
- chore(deps): bump actions/setup-java from 6.0.1 to 6.1.0 by @dependabot[bot] in #8335
- chore(deps): bump github/codeql-action/upload-sarif from 4.38.3 to 4.39.0 by @dependabot[bot] in #8334
- chore(deps): bump gradle-wrapper from 9.8.1 to 9.8.2 by @dependabot[bot] in #8336
- chore(deps): bump github/codeql-action/upload-sarif from 4.39.0 to 4.39.1 by @dependabot[bot] in #8341
- chore(deps): bump actions/setup-python from 7.0.0 to 7.1.0 by @dependabot[bot] in #8342
- chore(deps): bump me.champeau.jmh from 0.7.3 to 0.7.4 by @dependabot[bot] in #8343
- chore(deps): bump gradle/actions/wrapper-validation from 6.4.0 to 6.4.1 by @dependabot[bot] in #8344
- chore(deps): bump com.google.guava:guava from 33.7.2-jre to 33.8.0-jre by @dependabot[bot] in #8346
- chore(deps): bump github/codeql-action/upload-sarif from 4.39.1 to 4.39.2 by @dependabot[bot] in #8347
- chore(deps): bump actions/setup-java from 6.1.0 to 6.2.0 by @dependabot[bot] in #8350
- chore(deps): bump EnricoMi/publish-unit-test-result-action from 2.25.0 to 2.26.0 by @dependabot[bot] in #8349
- chore(deps): bump gradle-wrapper from 9.8.2 to 9.9.0 by @dependabot[bot] in #8351
- chore(deps): bump biz.aQute.bnd.builder from 7.4.0 to 7.5.0 by @dependabot[bot] in #8356
- chore(deps): bump gradle-wrapper from 9.9.0 to 9.9.1 by @dependabot[bot] in #8355
- chore(deps): bump github/codeql-action/upload-sarif from 4.39.2 to 4.39.3 by @dependabot[bot] in #8348
- chore(deps): bump actions/setup-java from 6.2.0 to 6.3.0 by @dependabot[bot] in #8379
New Contributors
- @akarnokd with @Copilot made their first contribution in #8273
- @evgenyponomarev made their first contribution in #8289
- @cuishuang made their first contribution in #8301
- @myetcd made their first contribution in #8312
- @tianrking made their first contribution in #8317
- @JimmyLiuJia made their first contribution in #8319
- @Dev-next-gen made their first contribution in #8331
- @PHJ2000 made their first contribution in #8337
- @pei711 made their first contribution in #8339
- @hamidzr made their first contribution in #8345
- @2748109647 made their first contribution in #8354
- @jimi-21 made their first contribution in #8357
Full Changelog: v4.0.0-alpha-21...v4.0.0-alpha-22