question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

update RxJS peer dependency to 5.0.0-rc.4

See original GitHub issue

We are currently depending on 5.0.0-beta.12. The only significant breaking change between beta.12 and rc.4 seems to be the removal of thecache operator.

We can either upgrade now and get this into 2.3.0 (feature freeze this Wednesday) or wait until the next major release due in March. I’d prefer 2.3 if cache operator removal is the only significant breaking change.

The list of things to do:

  • update the main package.json and shrinkwrap files
  • update all package specific package.json files under modules/@angular/
  • upgrade google3 with rc.4 (currently on rc.2) - @alexeagle working on this already, ETA tomorrow
  • figure out what to do about the cache operator for people that depend on it - one option is to create a gist that people could paste into their apps (or create an npm package, but we don’t want to maintain that and we’d have to create a umd bundle in addition to d.ts and other stuff => gist is a much better option IMO) - if we do go with gist, then we should create the TS and ES5 version to cover pretty much all the scenarios.
  • ping angular-cli to make sure they are aware of this change // @hansl
  • ping docs team to make sure that they are aware of this change // @wardbell

I believe that’s it.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
hanslcommented, Nov 30, 2016

In master, but not on NPM. Which implies that everyone using Angular will be stuck to rc.4 until March, and even then they’ll have to upgrade their Angular major version.

Which means that Angular 2.x will (forever) be stuck with RxJS rc.4. Correct?

I think that makes a greater case for loose versioning and/or 2.4 being released when RxJS is final. It’s unreasonable to deny every Angular apps to use the final version of RxJS.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 10, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm - When upgrading Angular 5 to 6, I get incompatible peer ...
ng update @angular/core Package "@angular/flex-layout" has an incompatible peer dependency to "rxjs" (requires "^5.5.0", would install "6.2.0").
Read more >
Update to Angular 11 Version - Angular Wiki
You must install peer dependencies yourself. npm WARN sass-loader@10.0.5 requires a peer of node-sass@^4.0.0 || ^5.0.0 but none is installed ...
Read more >
@angular/core versions and peer dependencies - NPM Peer
Online Peer dependency version tool to search for compatible versions of related NPM packages.
Read more >
npm err eresolve could not resolve angular - You.com
It means you have dependency conflicts. So try running the following options one by one. Remove node_modules and package-lock.json and then run. npm...
Read more >
Cannot update UNMET PEER DEPENDENCY's after update
Here are my dependencies: ├── UNMET PEER DEPENDENCY ... requires a peer of rxjs@5.0.0-beta.12 but none was installed. npm WARN ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found