Skip to content

Return messages in definition order#36

Merged
davidjgoss merged 9 commits intomainfrom
support-messages-definition-order
Jan 12, 2026
Merged

Return messages in definition order#36
davidjgoss merged 9 commits intomainfrom
support-messages-definition-order

Conversation

@davidjgoss
Copy link
Copy Markdown
Member

@davidjgoss davidjgoss commented Jan 12, 2026

🤔 What's changed?

SupportCodeLibrary.toEnvelopes() now maintains the original definition order of all support code, rather than first grouping into types. It does this by capturing the order in the builder and carrying that state through to the library.

⚡️ What's your motivation?

cucumber/compatibility-kit#213

🏷️ What kind of change is this?

  • ⚡ New feature (non-breaking change which adds new behaviour)

📋 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 marked this pull request as ready for review January 12, 2026 20:20
@davidjgoss davidjgoss merged commit 469fc63 into main Jan 12, 2026
11 checks passed
@davidjgoss davidjgoss deleted the support-messages-definition-order branch January 12, 2026 20:21
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.

1 participant