Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

refactor: migrate ObservableMedia to MediaObserver #892

Merged
merged 1 commit into from
Nov 30, 2018

Conversation

CaerusKaru
Copy link
Member

BREAKING CHANGE:

  • ObservableMedia is now deprecated in anticipation of RxJS v7. The new API is called MediaObserver, and provides the exact same functionality as ObservableMedia, except you cannot directly subscribe to it
  • You can subscribe to MediaObserver's media$ property in place of subscribing directly to ObservableMedia

Fixes #885

@CaerusKaru
Copy link
Member Author

This is blocked (only technically) on #888

@ThomasBurleson
Copy link
Contributor

@CaerusKaru - can you rebase this?

@CaerusKaru
Copy link
Member Author

@ThomasBurleson done.

@ThomasBurleson ThomasBurleson added pr: lgtm This PR has been approved by the reviewer pr: merge ready This PR is ready for the caretaker to presubmit and merge and removed pr: blocked pr: needs review labels Nov 30, 2018
BREAKING CHANGE:

`ObservableMedia` is now deprecated in anticipation of RxJS v7.
The new API is called **`MediaObserver`**, and provides the exact same functionality as ObservableMedia, except you cannot directly subscribe to it,
You can subscribe to MediaObserver's `media$` property; in place of subscribing directly to ObservableMedia.

Fixes #885.
@ThomasBurleson ThomasBurleson merged commit 1205588 into master Nov 30, 2018
@CaerusKaru CaerusKaru modified the milestones: Backlog, 7.0.0-beta.22 Dec 19, 2018
@CaerusKaru CaerusKaru deleted the adam/media-observer branch December 20, 2018 03:25
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes pr: lgtm This PR has been approved by the reviewer pr: merge ready This PR is ready for the caretaker to presubmit and merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GENERAL NOTICE: changes to ObservableMedia
3 participants