You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Dropping a comment that this broke a number of builds. I think bumping node versions is always a potential breaking change and the version bump (from 1.4.7 to 1.4.8) does not indicate this
The reason will be displayed to describe this comment to others. Learn more.
@teliov It wasn't this commit that broke the build. I added a unit test a few commits ago that requires the latest data files, but since we aren't allowed to ship with those files, the test will be broken until I can add test file download to the tests.
The reason will be displayed to describe this comment to others. Learn more.
Understood, though I was referring to builds of libraries/projects that require node-geoip but are running in environments where node < 18.18. The npm install wouldn't work out of the box anylonger.
The reason will be displayed to describe this comment to others. Learn more.
Well, we can't update from node 16 yet, so this can't be installed atm:
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18.18.0". Got "16.20.2"
I think @teliov point is, forcing a major node version should be a major version update for this module, so version 2.0.0 for this module if node 18 REALLY is needed
The reason will be displayed to describe this comment to others. Learn more.
@alfaproject I understand. I'm looking for a reasonable version that is > 0.6. As of d0672b6 I've set the minimum version required to 10.3 because as far as I can tell that is the lowest version that supports a reasonable subset of ecmascript 2018.
The reason will be displayed to describe this comment to others. Learn more.
@bluesmoon there's no problem at all in increasing to node 18. I'd say that's reasonable. The issue is that you did it in a patch release 'x.y.patch' which usually signals just a bug fix. If you don't care about semver or semver-like version increases that's fine too but maybe worth a note in readme (;
8c673bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropping a comment that this broke a number of builds. I think bumping node versions is always a potential breaking change and the version bump (from 1.4.7 to 1.4.8) does not indicate this
8c673bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@teliov It wasn't this commit that broke the build. I added a unit test a few commits ago that requires the latest data files, but since we aren't allowed to ship with those files, the test will be broken until I can add test file download to the tests.
8c673bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood, though I was referring to builds of libraries/projects that require node-geoip but are running in environments where node < 18.18. The npm install wouldn't work out of the box anylonger.
8c673bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8c673bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, we can't update from node 16 yet, so this can't be installed atm:
I think @teliov point is, forcing a major node version should be a major version update for this module, so version
2.0.0
for this module if node 18 REALLY is needed8c673bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alfaproject I understand. I'm looking for a reasonable version that is > 0.6. As of d0672b6 I've set the minimum version required to 10.3 because as far as I can tell that is the lowest version that supports a reasonable subset of ecmascript 2018.
8c673bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bluesmoon there's no problem at all in increasing to node 18. I'd say that's reasonable. The issue is that you did it in a patch release 'x.y.patch' which usually signals just a bug fix. If you don't care about semver or semver-like version increases that's fine too but maybe worth a note in readme (;
8c673bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this should have been a Major version.
It also appears that releases aren't being tagged any more here, so it can be harder to track down what has changed in an update