feat: support newlines in headers, params, and variables#5795
Merged
sid-bruno merged 25 commits intousebruno:mainfrom Nov 17, 2025
Merged
Conversation
sid-bruno
reviewed
Oct 15, 2025
packages/bruno-app/src/components/FolderSettings/Headers/index.js
Outdated
Show resolved
Hide resolved
sid-bruno
reviewed
Oct 15, 2025
packages/bruno-app/src/components/FolderSettings/Headers/index.js
Outdated
Show resolved
Hide resolved
sid-bruno
reviewed
Oct 15, 2025
packages/bruno-app/src/components/RequestPane/RequestHeaders/index.js
Outdated
Show resolved
Hide resolved
sid-bruno
reviewed
Oct 15, 2025
packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js
Outdated
Show resolved
Hide resolved
packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js
Outdated
Show resolved
Hide resolved
Collaborator
|
can we also add in tests for bruToJson and jsonToBru for the multiline checks to keep things reliable |
3e408f6 to
ed56417
Compare
sid-bruno
reviewed
Oct 22, 2025
sid-bruno
reviewed
Oct 22, 2025
sid-bruno
previously approved these changes
Nov 12, 2025
Collaborator
sid-bruno
left a comment
There was a problem hiding this comment.
Making additional JIRA to add support for response examples https://usebruno.atlassian.net/browse/BRU-2176
857c8b7 to
7b8b067
Compare
helloanoop
reviewed
Nov 12, 2025
| esc_quote_char = esc_char quote_char | ||
| quoted_key_char = ~(quote_char | esc_quote_char | nl) any | ||
| quoted_key = disable_char? quote_char (esc_quote_char | quoted_key_char)* quote_char | ||
| multiline_key = disable_char? multilinetextblock |
Contributor
There was a problem hiding this comment.
@sid-bruno @pooja-bruno @bijin-bruno
We cannot and should not support multiline keys. Yaml does not support it and this will be a blocker for people to migrate over to yaml. Lets discus this in person tomorrow.
sid-bruno
reviewed
Nov 17, 2025
5 tasks
This was referenced Nov 25, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for newlines in header names, query parameter names, and variable names in Bruno's .bru file format.
JIRA
Contribution Checklist: