react-map-gl icon indicating copy to clipboard operation
react-map-gl copied to clipboard

cut release for v1.8.0 with mapbox-gl 0.31.0; hard dependency needed on Node V4

Open abmai opened this issue 9 years ago • 6 comments

Wanted to start an async convo about this before possibly proceeding. There's a Node v4 hard dependency on moving to mapbox-gl >= 0.27.0. I think it's fine because this comes from upgrading mapbox-gl and we should set an expectation to track them as closely as possible.

@ibgreen @apercu thoughts?

abmai avatar Jan 15 '17 20:01 abmai

Strongly agree on this one, and would rather go for the last LTS (6.9.4) instead, while we're at it.

balthazar avatar Jan 15 '17 20:01 balthazar

cut release for v1.8.0 with mapbox-gl 0.31.0; hard dependency needed on Node V4

@abmai - Sounds good. I would personally recommend a major version bump, since at least one of our applications was confirmed to break with this change. Seems like a small price to pay for the extra peace of mind? We could bump master to 2.0 now and move dev to 3.0.0-beta.

PS- How would we make the hard dependency on Node >= 4.0? Would it be implicit/in documentation or would we use something like engineStrict?

would rather go for the last LTS (6.9.4) instead

@apercu - I see the appeal, but won't we risk causing problems for some external users who might still be on Node 4 if we refuse to install react-map-gl on Node < 6? According to Node LTS plan Node 4 will be maintained until April 2018. Maybe we should instead add Node 4 to our Travis test matrix?

ibgreen avatar Jan 15 '17 23:01 ibgreen

There's no real need (yet) to force users to be on Node v6. The "hard" dependency on Node v4 here is from mapbox-gl >= 0.27.0 dependency on unflowify which uses Object.assign natively, which is only supported on Node >= v4.

Going to v2.0.0 with this first and make dev v3.0.0 is also not a bad idea. That would ensure no breakage to existing apps while people still have a path to get to the latest mapbox-gl version if they have the environment setup.

abmai avatar Jan 15 '17 23:01 abmai

I never said to force users to use Node 6, were we talking about the engines? >= 4 looks good, but I don't think we should refrain from using lastest ones ourselves.

balthazar avatar Jan 15 '17 23:01 balthazar

Sorry - I should've been clearer in my OP. I agree that for us (and the apps we work on internally) should go to v6+.

I'll bump this to v2.0.0 to make sure it doesn't cause any breakage at this point - unless there are objections.

abmai avatar Jan 16 '17 00:01 abmai

Bumped to v2.0.0

abmai avatar Jan 17 '17 23:01 abmai