Skip to content
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

Pin to an exact pelias-parser version (2.1.0) #1585

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

orangejulius
Copy link
Member

Historically we've specified most Pelias NPM dependency versions using the caret (^) range, but because the Pelias Parser can cause differences in acceptance-test results for any change (minor or even bug fix), we've kept that dependency in particular pinned to a specific version so we can control upgrades more carefully.

Recently, we were on a hotfix branch of the parser, but while switching back , we switched to using a caret range.

While manually bumping the version on a frequent basis is a bit annoying, it helps avoid any chance that unexpected or untested parser changes will find their way into the API releases.

This change brings us back to a pin of the current latest version of the Pelias Parser.

Historically we've kept most Pelias NPM dependencies on carat versions,
but because the Pelias Parser can cause changes in acceptance-test
results for any change (minor or even bug fix), we've kept it pinned to
a specific version so we can explicitly upgrade.

Recently, we were on a [hotfix
branch](#1531) of the parser, but
while switching back to using a version specification, we switched to
[using a carat
range](#1565).

While manually bumping the version on a frequent basis is a bit
annoying, it helps avoid any chance that unexpected or untested parser
changes will find their way into the API releases, so this change brings
us back to a pin of the current latest version of the Pelias Parser.
Copy link
Member

@missinglink missinglink left a comment

Choose a reason for hiding this comment

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

Sounds good, it's a fairly rapidly changing codebase and although the public API has technically never changed its tricky because the internal behavior changes on every release.

@orangejulius
Copy link
Member Author

Yeah, agreed. In some ways it might have been good to put the parser code in the API repository. But there are also a lot of good reasons to not have done that.

A bunch of manual version bumping work isn't the worst outcome.

@orangejulius orangejulius merged commit 3cb2620 into master Nov 29, 2021
@orangejulius orangejulius deleted the pin-to-exact-pelias-parser-2.0.0 branch November 29, 2021 18:06
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.

2 participants