Skip to content

Remove guaranteed compatibility with versions to 10> and <15 #343

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

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

bidoubiwa
Copy link
Contributor

@bidoubiwa bidoubiwa commented Jun 4, 2021

fixes: #346

Since the builded package can be used (without guarantee) in other node versions, we should not make it mandatory to use the right node version. It is at the discretion of the user.

It is how most libraries handle node support. The use of engines in packages json limits the possibility to install the package in a specific node environment (see issue).
Whereas typically a package that is bundled and transpiled should be as compatible as possible with all js environments. But, the packages we use in development are not. This is why we add it in the CONTRIBUTING guide

@bidoubiwa bidoubiwa force-pushed the remove_node_10_support branch from 61dd0ff to 12472f8 Compare June 4, 2021 10:00
@bidoubiwa bidoubiwa requested review from curquiza and mdubus June 4, 2021 13:08
@bidoubiwa bidoubiwa changed the title Remove node 10 support Remove node 10< and <15 compatibility Jun 4, 2021
@bidoubiwa bidoubiwa changed the title Remove node 10< and <15 compatibility Remove node 10< and <15 guaranteed compatibility Jun 4, 2021
@bidoubiwa bidoubiwa changed the title Remove node 10< and <15 guaranteed compatibility Remove guaranteed compatibility with versions to 10> and <15 Jun 4, 2021
mdubus
mdubus previously approved these changes Jun 7, 2021
@curquiza
Copy link
Member

curquiza commented Jun 7, 2021

⚠️ This PR will deserve a new minor in the versionning.

@bidoubiwa bidoubiwa force-pushed the upgrade_playground branch from bc42e9e to 481537b Compare June 7, 2021 15:01
Base automatically changed from upgrade_playground to main June 7, 2021 15:07
Remove node 16 tests

Stop compatibility at under node 15

Don't make it impossible to use the build of the package unsuported node versions

Apply suggestions from code review

Co-authored-by: Clémentine Urquizar <[email protected]>
@bidoubiwa bidoubiwa force-pushed the remove_node_10_support branch from 0136b8a to 88fce3a Compare June 7, 2021 15:16
@bidoubiwa bidoubiwa requested a review from curquiza June 7, 2021 15:17
@bidoubiwa
Copy link
Contributor Author

bors merge

@bors
Copy link
Contributor

bors bot commented Jun 7, 2021

Build succeeded:

@bors bors bot merged commit d72de95 into main Jun 7, 2021
@bors bors bot deleted the remove_node_10_support branch June 7, 2021 15:21
@bidoubiwa bidoubiwa added breaking-change The related changes are breaking for the users and removed breaking-change The related changes are breaking for the users labels Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changes after the Node.js v10 EOL (2021-04-30)
3 participants