-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Immutable 4 is breaking change - release React 16 version that still works with immutable 3 #3493
Comments
How might this library detect what version of Immutable you are using? |
What, exactly, is broken when using The immutable example seems to be working normally. |
@erikras I confirm this issue. When I use
With reverting to |
My suggestion is to have different versions of this library for each immutable. Currently I imagine most people are on 3, so keep supporting that, but have the next versions (8+) support 4 only. |
Can confirm that v7.1.0 is broken with both immutable@3.x and immutable@4.x. |
to support both in the same release you would just need to check whether a feature exists before trying to call it. For example, Immutable 4 renamed |
I got the same issue:
|
I think As a side note: Version 4 is not even official yet we are still looking at Release Candidates. It should be ignored until it has been made official. When performing an |
Oops. Git branch mistake... I've rolled back to Immutable v3. 03c37d7 |
Published fix in It was caused by trying to fix a Flow error. immutable-js/immutable-js#1308 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Are you submitting a bug report or a feature request?
Following semver, changing immutable to 4 should probably be a major release, as 3 would no longer be supported. However, I think many would like React 16 compatibility before they upgrade to the not-yet-released immutable 4.
What is the current behavior?
7.1 requires Immutable 4 and 3 does not work
What is the expected behavior?
Version 7 should not require a breaking library bump of immutable.
Sandbox Link
What's your environment?
Other information
The text was updated successfully, but these errors were encountered: