* refactor: update DeprecationWarning component to accept children and enhance deprecation messages for Presets and Post Response Vars
* refactor: update DeprecationWarning component to use props for feature names and links, enhancing deprecation messages across various components
* feat: add deprecation warnings for presets and post response vars
* refactor: update deprecation warnings for presets and post response vars to include version
When jsonwebtoken throws errors inside the NodeVM context, those errors
were instances of the VM's isolated Error class, which caused
instanceOf(Error) checks in tests to fail.
By adding Error constructors (Error, TypeError, ReferenceError,
SyntaxError, RangeError) from the global scope to the scriptContext,
errors thrown by jsonwebtoken and other modules now use the same Error
class that tests check against, ensuring instanceOf checks pass correctly.
This fixes jsonwebtoken test failures when using the NodeVM runtime.
* improve: add var functions
* Update packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js
---------
Co-authored-by: Bijin A B <bijin@usebruno.com>
* feat: Allow ctrl/cmd + click to open URLs present in codemirror editors (#5160)
* Allow ctrl/cmd + click to open URLs
* fix for when user does cmd+tab, then comes back without it
---------
Co-authored-by: Sid <siddharth@usebruno.com>
* Feature/cmd click on links (#5927)
fix: clean up whitespace and formatting in linkAware functions
fix rediff
Feature/cmd click on links (#6132)
* Allow ctrl/cmd + click to open URLs
* fix for when user does cmd+tab, then comes back without it
* refactored the community contribution to match Autocomplete's implementation
* updated the code to resolve issues caused during merge conflict resolution with the use of makeLinkAware
* fix: updated the code to use lodash's debounce and removed redundant undefined checks
* fix: correct debouncing test expectation in linkAware.spec.js
The test was incorrectly expecting 3 setTimeout calls when debouncing
should only result in one active timeout. Updated the test to verify
debouncing behavior correctly by checking that setTimeout is called
with the correct delay, and that only one execution happens after
the debounce delay.
* fix: fixed merge issues in linkAware.js
* fix: fixed CodeMirror assignment to this.editor
* fix: formatting fixes
* fix: formatting fix
---------
Co-authored-by: abansal21 <37215457+abansal21@users.noreply.github.com>
Co-authored-by: Chirag Chandrashekhar <chirag@usebruno.com>
---------
Co-authored-by: Arun Bansal <37215457+abansal21@users.noreply.github.com>
Co-authored-by: Chirag Chandrashekhar <chirag@usebruno.com>
fix: clean up whitespace and formatting in linkAware functions
fix rediff
Feature/cmd click on links (#6132)
* Allow ctrl/cmd + click to open URLs
* fix for when user does cmd+tab, then comes back without it
* refactored the community contribution to match Autocomplete's implementation
* updated the code to resolve issues caused during merge conflict resolution with the use of makeLinkAware
* fix: updated the code to use lodash's debounce and removed redundant undefined checks
* fix: correct debouncing test expectation in linkAware.spec.js
The test was incorrectly expecting 3 setTimeout calls when debouncing
should only result in one active timeout. Updated the test to verify
debouncing behavior correctly by checking that setTimeout is called
with the correct delay, and that only one execution happens after
the debounce delay.
* fix: fixed merge issues in linkAware.js
* fix: fixed CodeMirror assignment to this.editor
* fix: formatting fixes
* fix: formatting fix
---------
Co-authored-by: abansal21 <37215457+abansal21@users.noreply.github.com>
Co-authored-by: Chirag Chandrashekhar <chirag@usebruno.com>
* Allow ctrl/cmd + click to open URLs
* fix for when user does cmd+tab, then comes back without it
---------
Co-authored-by: Sid <siddharth@usebruno.com>
* feat: support newlines in headers, params, and variables
* add: collectin unit test
* fix: assertion and additional header multiline
* fix: assert
* rm: useEffect for header validation
* rm: comments
* fix: already encoded url
* rm: new line changes
* handle new line in url
* fix: lint error
* add: unit test for multi line test
* change: unit test
* mv: functions in util
* fix: drag icon position
* improve: arrow height
* improvements
* rm: getKeyString from assert
* fix: single line editor
* fix: import MultiLineEditor
* import getKeyString and getValueUrl
* add: getTableCell in utils
* rm: multiline key logic
* fix
* mv: getTableCell in locators.ts
* feat: add variable interpolation support for WebSocket requests
- Add WebSocket body interpolation in interpolateVars function
- Interpolate URL, headers, and all messages in request.body.ws array with full variable context
- Refactor sendWsRequest to use main process preparation (removes duplication)
- Add mode property to wsRequest object for proper request type detection
- Ensure consistent variable precedence matching HTTP/gRPC requests
- Centralize all interpolation logic in main process via prepareWsRequest
* Add Playwright tests for WebSocket variable interpolation
- Add tests for URL interpolation (wss://echo.{{url}}.org)
- Add tests for message content interpolation ({"test": "{{data}}"})
- Update test fixtures to use wss://echo.websocket.org echo server
- Add WEBSOCKET_FLOWS.md documentation
- Refactor queueWsMessage to handle variable interpolation in main process
* removed ws flow documentation
* chore: updated the network/index.js file to reduce merge conflicts by moving around code
* fix: added collection and item to WsQueryUrl Editor to fix available variable highlight
* chore: remove unnecessary whitespace in WebSocket event handlers
---------
Co-authored-by: Sid <siddharth@usebruno.com>