Skip to content

Conversation

@davidjgoss
Copy link
Contributor

@davidjgoss davidjgoss commented Jan 14, 2026

🤔 What's changed?

User code (step defs, hooks, parameter types) are now emitted in the same order they are registered.

Includes changes to work with changed behaviour in the core library.

⚡️ What's your motivation?

Fixes #213.

🏷️ What kind of change is this?

  • ⚡ New feature (non-breaking change which adds new behaviour)
  • 💥 Breaking change (incompatible changes to the API)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

@davidjgoss davidjgoss changed the title Definition ordering Emit user code messages in definition order Jan 14, 2026
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The changes in this file are just catching up with API changes in the upstream core library.

@davidjgoss davidjgoss marked this pull request as ready for review January 14, 2026 11:28
@mpkorstanje mpkorstanje merged commit fdaf417 into main Jan 14, 2026
12 checks passed
@mpkorstanje mpkorstanje deleted the definition-ordering branch January 14, 2026 12:59
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.

StepDefintion and Hooks should be reported in order of IDs

2 participants