Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency update: rxjava #108

Closed

Conversation

jared-bot
Copy link

@jared-bot jared-bot commented Jun 21, 2017

RxJava

2.1.1

Maven

Notable changes

The emitter API (such as FlowableEmitter, SingleEmitter, etc.) now features a new method, tryOnError that tries to emit the Throwable if the sequence is not cancelled/disposed. Unlike the regular onError, if the downstream is no longer willing to accept events, the method returns false and doesn't signal an UndeliverableException.

API enhancements

  • Pull 5344: Add tryOnError to create/XEmitter API.
  • Pull 5386: Add subscribeOn overload to avoid same-pool deadlock with create.

Documentation changes

  • Pull 5343: Fix Javadoc for Maybe.toSingle.
  • Pull 5347: Fix Javadoc for FunctionX
  • Pull 5351: Update some marbles of Observable
  • Commit b4aeb6e3: Replace Action1 with Consumer in docs.
  • Pull 5383: Fixed Javadoc for SingleFlatMapIterableObservable.
  • Pull 5403: Fix the copy-paste error in the Javadoc of Single.doAfterTeminate mentioning doAfterSuccess.
  • Pull 5405: DefaultObserver javadoc fix: use subscribe, remove disposable code.
  • Pull 5407: DefaultSubscriber javadoc sample fix.
  • Pull 5406: Fix javadoc for Observable.reduce() and Observable.reduceWith().
  • Pull 5409: Corrected Single.delay documentation.

Bugfixes

  • Pull 5367: Make sure interval+trampoline can be stopped.
  • Pull 5378: Make SingleMap not allow map function return null.
  • Pull 5379: Add missing null checks on values returned by user functions.
  • Pull 5415: Fix doOnNext failure not triggering doOnError when fused.
  • Pull 5419: Fix periodic scheduling with negative period causing IAE.
  • Pull 5427: Fix buffer(time, maxSize) duplicating buffers on time-size race.

Other

  • Pull 5324: Mark VolatileSizeArrayList as RandomAccess list
  • Pull 5354: Fix typo in error message in BaseTestConsumer.assertValueSequence.
  • Pull 5391: Changed minimum value of rx2.buffer-size to 1.

2.1.0

Maven

Summary

Version 2.1.0 is the next minor release of the 2.x era and contains the standardization of many experimental API additions from the past half a year since version 2.0.0. Therefore, the following components are now considered stable and will be supported throughout the rest of the life of RxJava 2.x.

Classes, Enums, Annotations

  • Annotation: CheckReturnValue
  • Subjects: CompletableSubject, MaybeSubject, SingleSubject
  • Enum: TestWaitStrategy

Operators

  • Flowable: doAfterNext, doFinally, sample (emitLast)
  • Observable: doAfterNext, doFinally, sample (emitLast)
  • Single: doAfterSuccess, doAfterTerminate, doFinally
  • Maybe: doAfterSuccess, doFinally, flatMapSingleElement
  • Completable: cache, doFinally, hide
  • Test{Observer, Subscriber}: assertNever, assertTimeout, assertNoTimeout, awaitCount, clearTimeout, isTimeout, withTag
  • RxJavaPlugins: createComputationScheduler, createIoScheduler, createNewThreadScheduler, createSingleScheduler, getOnBeforeBlocking, setOnBeforeBlocking, isFailOnBlockingScheduler, setFailOnBlockingScheduler.
  • Other: Scheduler.when, TestSubscriber.requestMore

(For the complete list and details on the promotions, see issue 5243.)

Release 2.1.0 is functionally identical to 2.0.9 except the removal of now unnecessary Flowable.strict() operator. To clarify, just like with previous minor version increments with RxJava, there won't be any further development or updates on the version 2.0.x (patch) level.

Beta promotions

Some of the enhancements of RxJava 2.0.x were added recently which often represent complex additions to RxJava itself (such as the whole ParallelFlowable). We are confident their functionality adds value to the library but not enough time elapsed since their introduction for the community to try it out and provide feedback on them (i.e., naming, encompassed functionality, etc.). To indicate we are willing to support them and eventually standardize them in the next minor release, the following components have been promoted to the status of Beta:

  • Classes: OnErrorNotImplementedException, ProtocolViolationException, UndeliverableException,
    ParallelFlowable
  • Interface: FlowableSubscriber
  • Methods
    • Flowable: parallel, subscribe(FlowableSubscriber)
    • RxJavaPlugins: getOnParallelAssembly, onAssembly(ParallelFlowable), setOnParallelAssembly

Non-functional changes between 2.0.9 and 2.1

  • Pull 5306: Change ObservableSource.defer to Observable.defer in Observable.scan() documentation.
  • Pull 5309: Fix Javadoc of Flowable.toObservable referring to Publisher instead of Observable.

Project statistics

  • Unique contributors: 41
  • Issues closed: 315
  • Bugs reported: 43
    • by community: 40 (93%)
  • Commits: 193
  • PRs: 225
    • PRs accepted: 198 (88%)
    • Community PRs: 76 (38.4% of all accepted)
  • Bugs fixed: 58
    • by community: 8 (13.9%)
  • Documentation enhancements: 46
    • by community: 22 (52.2%)
  • Cleanup: 40
    • by community: 22 (55%)
  • Lines
    • added: 44,931
    • removed: 7,405

@JakeWharton
Copy link

How do we get this annoying bot to stop mentioning people?

@jbarr21
Copy link

jbarr21 commented Jun 21, 2017

Changing watch status to ignore should do it

screenshot_20170621-095543

@mirland
Copy link
Contributor

mirland commented Jun 21, 2017

@JakeWharton we didn't realize about that issue. We are going to scape the users from changelog text. BTW: we are working to improve it, so any comment is welcome! https://jaredbot.com/

@JakeWharton
Copy link

JakeWharton commented Jun 21, 2017 via email

@jared-bot
Copy link
Author

Closed via #118

@jared-bot jared-bot closed this Jul 26, 2017
@bryant1410 bryant1410 deleted the update/io.reactivex.rxjava2-rxjava/2.0.9-2.1.1 branch July 31, 2017 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants