Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

feat: check for compatibility with current LTS versions of node #569

Merged
merged 2 commits into from
May 17, 2022

Conversation

dhayab
Copy link
Member

@dhayab dhayab commented May 17, 2022

This PR updates the versions of node against which we test our templates for compatibility.

Currently we test for node 10 and 12, but they are both EOL. This creates issues with some of our transitive dependencies that don't support them anymore and would break our testing process.

Instead of fighting an ultimately endless battle against those by pinning their versions, this PR moves forward by testing compatibility with current LTS versions (14 and 16).

This can be considered a breaking change even though it doesn't change the build, as we currently don't have any support/deprecation policy for this project.

Additional changes

  • The test for Autocomplete.js v0 is replaced with Autocomplete (v1)
  • Angular InstantSearch is now tested in both node versions
  • Vue InstantSearch with Vue 3 is now tested in both node versions
  • now (.sh) is replaced with vercel

dhayab added 2 commits May 17, 2022 15:12
BREAKING CHANGE: compatibility with versions that are EOL (up to 12) is not guaranteed
@dhayab dhayab marked this pull request as ready for review May 17, 2022 13:30
@dhayab dhayab requested review from Haroenv and sarahdayan May 17, 2022 13:30
Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't really list the compatibility indeed, so no need to mark as breaking change

@Haroenv Haroenv merged commit 781642b into master May 17, 2022
@Haroenv Haroenv deleted the feat/node-compatibility branch May 17, 2022 14:18
aymeric-giraudet pushed a commit to algolia/instantsearch that referenced this pull request Dec 14, 2022
…lia/create-instantsearch-app#569)

* feat: check for compatibility with current LTS versions of node

BREAKING CHANGE: compatibility with versions that are EOL (up to 12) is not guaranteed

* remove terminal colors from unit test snapshots
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants