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

chore(publish): prepare for v0.27.7 #701

Merged
merged 5 commits into from
Nov 16, 2022

Conversation

hoc081098
Copy link
Collaborator

@hoc081098 hoc081098 commented Nov 16, 2022

0.27.7 (2022-11-16)

Fixed

  • Subject
    • Only call onAdd and onError if the subject is not closed.
      This ensures BehaviorSubject and ReplaySubject do not update their values after they have been closed.

    • Subject.stream now returns a read-only Stream.
      Previously, Subject.stream was identical to the Subject, so we could add events to it, for example: (subject.stream as Sink<T>).add(event).
      This behavior is now disallowed, and will throw a TypeError if attempted. Use Subject.sink/Subject itself for adding events.

    • Change return type of ReplaySubject<T>.stream to ReplayStream<T>.

    • Internal refactoring of Subject.addStream.

@codecov-commenter
Copy link

Codecov Report

Merging #701 (a27f939) into master (b0d6ad1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #701   +/-   ##
=======================================
  Coverage   92.95%   92.95%           
=======================================
  Files          77       77           
  Lines        2384     2384           
=======================================
  Hits         2216     2216           
  Misses        168      168           

@hoc081098 hoc081098 merged commit 3d1b6c0 into ReactiveX:master Nov 16, 2022
@hoc081098 hoc081098 deleted the prepare_0_27_7 branch November 16, 2022 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants