Closed Dbuggerx closed 4 months ago
The change you are looking at has not yet been released. The version will be bumped when this happens. For the code as it was released checkout the appropriate git tag.
What is the underlying motivation to look at the specific version of gherkin-utils
? Are you trying to solve a dependency convergence problem?
Each change should cause the version of @cucumber/html-formatter to change as well, making it possible for dependent packages to update it.
That would make sense if every change was released. But currently the decision to release is still manual.
I also don't believe it is common for node package change their version number immediately after release as happens with Maven for example. But I would be happy to read about common release workflows that work otherwise.
What is the underlying motivation to look at the specific version of gherkin-utils?
I actually want version 8.0.6, where a fix I done was released.
The problem is that it's apparently not released yet, since @cucumber/gherkin-utils
was upgraded to v8 a while ago.
Are you sure? When I look at the dependencies in v21.3.1
@cucumber/gherkin-utils@8.0.6
is used.
$ git checkout v21.3.1
HEAD is now at a45a3ef Prepare release v21.3.1
$ npm install
...
$ npm ls --all --include dev | grep cucumber
@cucumber/html-formatter@21.3.1 /home/mpkorstanje/Projects/cucumber/html-formatter/javascript
├── @cucumber/compatibility-kit@15.0.0
├─┬ @cucumber/gherkin-streams@5.0.1
│ ├── @cucumber/gherkin@28.0.0 deduped
│ ├── @cucumber/message-streams@4.0.1 deduped
│ ├── @cucumber/messages@24.1.0 deduped
├─┬ @cucumber/gherkin-utils@8.0.6
│ ├─┬ @cucumber/gherkin@27.0.0
│ │ └─┬ @cucumber/messages@22.0.0
│ ├── @cucumber/messages@24.1.0 deduped
├─┬ @cucumber/gherkin@28.0.0
│ └── @cucumber/messages@24.1.0 deduped
├─┬ @cucumber/message-streams@4.0.1
│ └── @cucumber/messages@24.1.0 deduped
├─┬ @cucumber/messages@24.1.0
├─┬ @cucumber/query@12.0.2
│ ├── @cucumber/messages@24.1.0 deduped
├─┬ @cucumber/react-components@22.1.0
│ ├── @cucumber/gherkin-utils@8.0.6 deduped
│ ├─┬ @cucumber/messages@24.0.1
│ ├─┬ @cucumber/query@12.0.1
│ │ ├─┬ @cucumber/messages@19.1.4
│ ├── @cucumber/tag-expressions@6.1.0
You're right, I should've also looked at the package-lock file, my bad! Sorry for the confusion, and thanks a lot for the support!
👓 What did you see?
Renovate bot updated
@cucumber/gherkin-utils
but didn't bump the version of@cucumber/html-formatter
.That causes inconsistencies, like when inspecting the
node_modules
of@cucumber/cucumber
(version10.6.0
), I see that its@cucumber/html-formatter
version21.3.1
still uses"@cucumber/gherkin-utils": "^8.0.0"
.✅ What did you expect to see?
Each change should cause the version of
@cucumber/html-formatter
to change as well, making it possible for dependent packages to update it.I'd suggest enabling Renovate bot's
bumpversion
.📦 Which tool/library version are you using?
@cucumber/cucumber: 10.6.0
🔬 How could we reproduce it?
@cucumber/cucumber
(version10.6.0
;node_modules
, inspect thepackage.json
of@cucumber/html-formatter
. It's on version21.3.1
, but still uses"@cucumber/gherkin-utils": "^8.0.0"
instead of^9.0.0
.📚 Any additional context?
No response