Sanjai Kumar
447b3046b3
fix: environment persistence and UI ( #5404 )
2025-08-28 18:09:37 +05:30
Pooja
04d1e50f98
Merge pull request #5384 from pooja-bruno/move/common-cookie-file-in-buno-request-package
2025-08-21 21:15:35 +05:30
Sanjai Kumar
e5a608f962
feat: add persistent environment variable handling in IPC events and Bru class ( #5172 )
2025-08-19 23:05:22 +05:30
Pooja
31027cb2e0
feat: adding cookie apis ( #5117 )
2025-07-30 19:35:54 +05:30
lohit
f03047a2f9
feat: bru.sendRequest api ( #4867 )
...
* feat: bru.sendRequest api
* updated the postman-translations logic to handle `pm.sendRequest` to `bru.sendRequest` translations, and added unit tests
* ~ removed `maxRedirects` and `proxy` values for sendRequest axios-instance
~ fixed the imports for the `send-request-transformer` function
~ `sendRequest` and `runRequest` will return same response object in both safe and developer mode
~ sendRequest function optimization
* revert sendRequest to async function, added a testcase for sendRequest with url string
* sendRequest callback errors handling
* updated tests and added await for the callbacks
---------
Co-authored-by: lohit <lohit@usebruno.com >
2025-06-14 22:18:31 +05:30
sanish chirayath
9a35302d4b
Feature: implemented bru.interpolate ( #4122 )
...
* feat: enhance variable highlighting in CodeMirror and update interpolation method
* feat: add interpolate function to bru shim and corresponding tests
- Implemented the `interpolate` function in the bru shim to handle variable interpolation.
- Added a new test case for the `interpolate` function to verify its functionality with mock variables.
* feat: enhance interpolate function to support object interpolation
* feat: add translation support for pm.variables.replaceIn to bru.interpolate
* revert: eslint config changes
* revert: eslint config changes
* fix: update method call to use correct interpolation function in Bru class
* refactor: added jsdoc to codemirror highlighting code
* fix: higlighting for multiline editor
2025-05-22 15:37:15 +05:30
poojabela
e0fb379511
add: bru.collectionName api
2025-04-30 17:25:42 +05:30
lohit
f38c7ae03a
oauth2 ui/ux improvements ( #3868 )
2025-01-23 22:06:50 +05:30
lohxt1
cd722a2bd9
feat: bru.runner.setNextRequest
2025-01-01 17:12:57 +05:30
lohxt1
f72d643e02
feat: updates
2024-12-18 18:57:23 +05:30
Pragadesh-45
23c22a96bc
Feat/import translation for deprecated pm import ( #3388 )
...
* feat: add translation for pm `tests[]`
* feat: add bru.deleteEnvVar function and update translations
---------
Co-authored-by: Pragadesh-45 <temporary7904@gmail.com >
2024-11-20 17:58:59 +05:30
lohit
90834b8c7d
Merge branch 'main' into feat/global-environments
2024-10-08 10:26:13 +05:30
lohit
6bc8acd1e1
feat: bru fns update ( #3231 )
2024-10-01 23:45:05 +05:30
lohxt1
a8fce54e97
feat: global env var highlight and interpolation
2024-09-30 11:48:30 +05:30
Anoop M D
cb395e7649
Collection Variables Support ( #2963 ) ( #3018 )
...
Support for Collection Variables
---------
Co-authored-by: lohit <lohit.jiddimani@gmail.com >
Co-authored-by: lohit <lohxt.space@gmail.com >
2024-09-03 21:18:38 +05:30
Anoop M D
753a576c3c
Feat/safe mode quickjs ( #2848 )
...
Safe Mode Sandbox using QuickJS
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
Co-authored-by: lohit <lohit.jiddimani@gmail.com >
2024-08-21 12:52:49 +05:30
lohit
ab9bcbe5ed
feat/rename collectionVariables variable name to runtimeVariables ( #2638 )
...
* pr review changes
* collection root object in export json
* import environment updates
* tests run execution order fix for collection runs
* updated validations
* collectionVariables -> runtimeVariables
* removed husky, adjusted indentation
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
2024-07-17 17:21:03 +05:30
lohit
c8f95a34e9
feat: bru hasEnvVar, hasVar, deleteVar ( #2531 )
...
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
2024-07-04 13:21:27 +05:30
lohit
c895d7f357
feat: request vars, bru.getRequestVar function ( #2541 )
2024-07-01 14:15:25 +05:30
lohit
ca22ad06df
update interpolate function in bruno js ( #2479 )
...
* update interpolate function in bruno js
* removeed handlebars import, updated validations
* removed handlebars import
2024-06-21 11:15:23 +05:30
Anoop M D
3061507284
Merge pull request #619 from mj-h/feature/add-bru-setNextRequest
...
feat: bru.setNextRequest()
2023-12-06 01:37:44 +05:30
Anoop M D
33f780fb76
fix( #295 ): bru.setEnvVar() should dynamically create a env var if not found
2023-12-02 01:45:55 +05:30
Anoop M D
bacb70ea7e
feat( #931 ): relax var name strictness
2023-12-02 01:27:18 +05:30
Anoop M D
2aa876e526
Merge pull request #971 from nelup20/bugfix/964-env_var_dot_validation
...
fix(#964 ): Allow "." in variable names + make error message more consistent
2023-12-02 01:06:27 +05:30
Anoop M D
d2a99b0221
fix( #962 ): improved error label when name is not defined while setting env var
2023-11-18 09:18:40 +05:30
Nelu Platonov
2ee6c5effc
fix( #964 ): Allow "." in variable names + make error message more consistent
2023-11-15 16:27:14 +01:00
Mika Andrianarijaona
500e3853a5
Improve error message when an empty var is set
...
Fixes #962
2023-11-14 16:33:27 +01:00
Its-treason
44d90c42ed
fix( #853 ): Allow - in variable names & small refactor
2023-11-02 18:17:21 +01:00
Martin Hoecker
4a1d45f458
Merge branch 'main' into feature/add-bru-setNextRequest
2023-10-26 22:34:05 +02:00
Its-treason
827df18c62
feat( #682 ): Add validation for request vars & dynamic vars
2023-10-25 23:13:37 +02:00
Martin Hoecker
d4c0207545
feat: bru.setNextRequest()
2023-10-16 17:29:26 +02:00
Anoop M D
0cf18e6804
feat( #306 ): allow fs access inside scripts
2023-10-05 03:20:53 +05:30
Anoop M D
a3050db6c4
fix( #216 ): fixed issue where .env vars were not injected into bru.getEnvVar()
2023-09-28 04:32:07 +05:30
Anoop M D
5af2f68252
chore( #197 ): ran prettier on packages/bruno-js
2023-09-22 00:42:14 +05:30
Anoop M D
7fbd338fa6
feat: bru.getEnvName()
2023-09-06 20:36:55 +05:30
David Coomber
3ca0107f1b
Proposal to support process.env in Bru script Re #170
2023-08-11 19:48:09 +02:00
Anoop M D
3f74178c81
feat: bru cli - specify env + completed vars runtime
2023-02-07 21:01:35 +05:30
Anoop M D
22a14aa67a
feat: making request and response scripts work
2023-02-06 23:00:50 +05:30
Anoop M D
c8de57aa51
chore: restructure bru js package
2023-02-06 15:24:34 +05:30