returned operator functions from multicast operators share, publish, publishReplay are now referentially transparent. Meaning if you take the result of calling publishReplay(3) and pass it to more than one observable's pipe method, it will behave the same in each case, rather than having a cumulative effect, which was a regression introduced sometime in version 6. If you required this broken behavior, there is a workaround posted here (#6410) (e2f2e51), closes ReactiveX/rxjs#6410#5411
Features
All subjects now have an observed property. This will allow users to check whether a subject has current subscribers without us allowing access to the observers array, which is going to be made private in future versions. (#6405) (f47425d)
groupBy: Support named arguments, support ObservableInputs for duration selector (#5679) (7a99397)
share: use another observable to control resets (#6169) (12c3716)
finalize behaves well with useDeprecatedSynchronousErrorHandling (#6251) (e4bed2a), closes #6250
resolve run-time errors when using deprecated sync error handling (#6272) (35daaf7), closes #6271
resolve issue that made users unable to assert instanceof AjaxError. (#6275) (a7c2d29)
Features
add config object to connectable (#6267) (4d98b40)
BREAKING CHANGES
Our very new creation function, connectable, now takes a configuration object instead of just the Subject instance. This was necessary to make sure it covered all use cases for what we were trying to replace in the deprecated multicasting operators. Apologies for the late-in-the-game change, but we know it's not widely used yet (it's new in v7), and we want to get it right.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rxjs from 6.6.6 to 7.1.0.
Changelog
Sourced from rxjs's changelog.
... (truncated)
Commits
3a6d164
chore(publish): 7.1.0f47425d
feat: All subjects now have anobserved
property. This will allow users to ...f7ea211
docs: fix broken links in documentation (#6380)e2f2e51
fix: returned operator functions from multicast operatorsshare
,publish
,...2fb22bf
docs(operators): scan (#6414)bffa83c
docs(operators): defaultIfEmpty (#6413)f1f4e8b
test: correct misleading test description (#6412)12c3716
feat(share): use another observable to control resets (#6169)7a99397
feat(groupBy): Support named arguments, support ObservableInputs for duration...190e4d0
remove googlebot noindex from index.html (#6407)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)