Skip to content

Commit

Permalink
docs: add notifier breaking changes (ReactiveX#6299)
Browse files Browse the repository at this point in the history
  • Loading branch information
cartant committed Apr 30, 2021
1 parent f132d0d commit 5426e7d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs_app/content/6-to-7-change-summary.md
Expand Up @@ -193,10 +193,22 @@ This document contains a detailed list of changes between RxJS 6.x and RxJS 7.x,

## Breaking Changes

### audit

- The observable returned by the `audit` operator's duration selector must emit a next notification to end the duration. Complete notifications no longer end the duration.

### buffer

- `buffer` now subscribes to the source observable before it subscribes to the closing notifier. Previously, it subscribed to the closing notifier first.

### bufferToggle

- The observable returned by the `bufferToggle` operator's closing selector must emit a next notification to close the buffer. Complete notifications no longer close the buffer.

### bufferWhen

- The observable returned by the `bufferWhen` operator's closing selector must emit a next notification to close the buffer. Complete notifications no longer close the buffer.

### combineLatest

- Generic signatures have changed. Do not explicitly pass generics.
Expand All @@ -214,10 +226,18 @@ This document contains a detailed list of changes between RxJS 6.x and RxJS 7.x,

- Generic signatures have changed. Do not explicitly pass generics.

### debounce

- The observable returned by the `debounce` operator's duration selector must emit a next notification to end the duration. Complete notifications no longer end the duration.

### defaultIfEmpty

- Generic signatures have changed. Do not explicitly pass generics.

### delayWhen

- `delayWhen` will no longer emit if the duration selector simply completes without a value. Notifiers must notify with a value, not a completion.

### endWith

- Generic signatures have changed. Do not explicitly pass generics.
Expand Down Expand Up @@ -247,6 +267,10 @@ This document contains a detailed list of changes between RxJS 6.x and RxJS 7.x,

- Generic signatures have changed. Do not explicitly pass generics.

### sample

- The `sample` operator's notifier observable must emit a next notification to effect a sample. Complete notifications no longer effect a sample.

### scan

- Generic signatures have changed. Do not explicitly pass generics.
Expand All @@ -263,6 +287,14 @@ This document contains a detailed list of changes between RxJS 6.x and RxJS 7.x,

- Generic signatures have changed. Do not explicitly pass generics.

### throttle

- The observable returned by the `throttle` operator's duration selector must emit a next notification to end the duration. Complete notifications no longer end the duration.

### windowToggle

- The observable returned by the `windowToggle` operator's closing selector must emit a next notification to close the window. Complete notifications no longer close the window.

### withLatestFrom

- Generic signatures have changed. Do not explicitly pass generics.
Expand Down

0 comments on commit 5426e7d

Please sign in to comment.