Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazer changelog #2

Closed
wants to merge 295 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
295 commits
Select commit Hold shift + click to select a range
5db2274
feature(monaco): cleanup monaco utils & commands, autocomplete bru co…
Jan 24, 2024
2431211
feature(monaco): autocomplete bru, req & res + code tooltips
Jan 25, 2024
3904cc4
feature(monaco): merge changes from main
Jan 25, 2024
0c5f892
feature(monaco): update package lock
Jan 25, 2024
ce10945
feature(monaco): bring back previous package_lock, add bun.lockb to g…
Jan 26, 2024
e9591f5
feature(monaco): remove codemirror, monaco for single line, enable gr…
Jan 26, 2024
a92d1a4
feature(monaco): fixe line return in single line, add bg-transparent,…
Jan 30, 2024
28b773d
#1532 - fix default bearer token 'undefined'
lowi-exxeta Feb 7, 2024
f7b6838
Merge branch 'main' into bugfix/multipart-form-variable-interpolation
Its-treason Feb 7, 2024
48baac8
fix(#263): Implement script- & test-runtime in node:vm
Its-treason Feb 10, 2024
83d2832
feat(monaco): fix duplicated suggestions through hoverProvider
Feb 12, 2024
b458927
feat(monaco): dynamic tokenizer, custom colors for environment variables
Feb 12, 2024
7a937ac
feat(monaco): very painful merge
Feb 12, 2024
eb1b74e
feat(monaco): updated lock file
Feb 12, 2024
3ee9466
fix(#263): Add node_modules resolution and fix testResults
Its-treason Feb 16, 2024
7912e10
Merge branch 'main' into bugfix/node-vm
Its-treason Feb 16, 2024
e8172f5
Merge branch 'main' into bugfix/filename-validation
Its-treason Feb 18, 2024
a451252
Merge branch 'main' into bugfix/multipart-form-variable-interpolation
Its-treason Feb 18, 2024
dde210d
Merge branch 'bugfix/multipart-form-variable-interpolation' into lazer
Its-treason Feb 18, 2024
a088e18
Merge branch 'bugfix/node-vm' into lazer
Its-treason Feb 18, 2024
5da7967
feat(#263): Delete old script runtime and use new runtime
Its-treason Feb 18, 2024
3868072
feat(#263): Remove vm2
Its-treason Feb 18, 2024
805ad5d
Merge branch 'bugfix/bug-1532' into lazer
Its-treason Feb 18, 2024
1c16593
fix(#1533): Change code style
Its-treason Feb 18, 2024
d5aee3c
Merge branch 'Kavinkumar07/main' into lazer
Its-treason Feb 18, 2024
b5296b8
fix(#531): Apply review changes with fixes for case insensitive files…
Its-treason Feb 18, 2024
747dacf
Merge branch 'feature/miidle-click-tab-close' into lazer
Its-treason Feb 18, 2024
c289ae2
fix(#485): Fix Item is undefined error
Its-treason Feb 18, 2024
bfe9840
feature(monaco): fix editor colors, fix hoverProvider refresh on env …
Feb 19, 2024
f260c3f
Fixes #1630 by adding contextual menu entries to reveal and edit the …
fredjeck Feb 19, 2024
aab992c
Add ci
Its-treason Feb 20, 2024
fe1cf0c
Merge branch 'main' into lazer
Its-treason Feb 20, 2024
a6bb706
feature(monaco_beta): retrieve changes, monaco alongside codemirror
Feb 22, 2024
74b1fd5
feature(monaco_beta): editor tab in preferences, codemirror by default
Feb 22, 2024
3bcab4f
feature(monaco): merge changes from beta, bring back codemirror, swit…
Feb 22, 2024
18e281f
Merge branch 'main' into lazer
Its-treason Feb 22, 2024
b182992
refactor: QueryResult
Its-treason Feb 23, 2024
0370641
Merge branch 'main' into lazer
Its-treason Feb 23, 2024
b8bbf50
refactor: QueryResultFilter
Its-treason Feb 23, 2024
5e0a7e9
feat: Add pretty and raw review mode
Its-treason Feb 23, 2024
15e11c0
fix: Fix parsing of response content-type
Its-treason Feb 23, 2024
e24c0fd
feat: Add warning for large response
Its-treason Feb 23, 2024
5343cfa
refactor: PdfResultViewer into its own file
Its-treason Feb 24, 2024
6e14819
feat: Save response on disk instead of redux store
Its-treason Feb 24, 2024
1f3befa
fix: Response preview reloading on parameter change
Its-treason Feb 26, 2024
d7f0be2
Merge branch 'main' into lazer
Its-treason Feb 27, 2024
8361853
Merge branch 'main' into lazer
Its-treason Feb 29, 2024
dbce19c
fix: Use new rollup terser plugin too fix dependency problem
Its-treason Feb 29, 2024
9ebccd2
Merge branch 'chore/include-inter-via-fontsource' into lazer
Its-treason Feb 29, 2024
644dc81
feat: Remove telemetry
Its-treason Feb 29, 2024
1facd66
Merge branch 'bugfix/1253' into lazer
Its-treason Mar 1, 2024
537c973
fix(#1260): Better variable naming
Its-treason Mar 2, 2024
7fbc901
fix: Add version in package.json of bruno-electron
Its-treason Mar 2, 2024
eebd214
Merge branch 'feature/monaco' into lazer
Its-treason Mar 2, 2024
fb72978
fix(#1450): Improvements for the monaco editor
Its-treason Mar 3, 2024
2924c94
fix(#1450): Improvements for the monaco editor and better error logging
Its-treason Mar 4, 2024
b155540
Merge branch 'main' into lazer
Its-treason Mar 5, 2024
4e2a065
fix(#263): Fix onConsoleLog for all CLI and Tests scripts
Its-treason Mar 5, 2024
6c28873
Merge branch 'remove-mustache' into lazer
Its-treason Mar 5, 2024
47d0c2f
Merge branch 'patch-2' into lazer
Its-treason Mar 5, 2024
776fe6d
feat: Remove unused idb module
Its-treason Mar 5, 2024
babdeab
fix(#1450): Better hover for variables in Monaco editor
Its-treason Mar 5, 2024
608a3a7
fix(#1450): Monaco editor refactoring, ignore Resize error and remove…
Its-treason Mar 6, 2024
1999c29
fix(#1450): Monaco editor refactoring
Its-treason Mar 7, 2024
6412004
feat: Update electron version
Its-treason Mar 7, 2024
a3ce8aa
[Feature request] Keyboard shortcut to duplicate and rename request/c…
ialloyd Mar 13, 2024
a0bd54f
Cannot cancel request on preview (zIndex issue) #1501
ialloyd Mar 13, 2024
63063b0
Merge branch 'usebruno:main' into bugfix/bug-cancel-request-button-zi…
ialloyd Mar 13, 2024
e1bc687
Merge branch 'usebruno:main' into feature/fs_open_collection
fredjeck Mar 13, 2024
5054658
Forcing the build pipeline to re-run
fredjeck Mar 13, 2024
b0153d4
feat: pnpm-Workspaces & Typescript builds
Its-treason Mar 13, 2024
f9a3b84
Fix OAuth2 code verifier too short (#1793)
pietrygamat Mar 13, 2024
bf3d3ca
Merge branch 'main' into lazer
Its-treason Mar 13, 2024
6f6958b
Fix: OAuth2 Access Token request is sent as GET (#1790)
pietrygamat Mar 14, 2024
139cd5f
Fix: OAuth2 Authorization Request OPTIONAL parameters are required by…
pietrygamat Mar 14, 2024
d623977
changes
ialloyd Mar 14, 2024
47781ab
Merge branch 'bugfix/bug-cancel-request-button-zindex' of https://git…
ialloyd Mar 14, 2024
6801b6b
fix(tailwindcss-forms): messes up input fields everywhere, removed it
Mar 14, 2024
eb638db
fix: Special characters being removed during collectio import
Its-treason Mar 14, 2024
12ed2d3
fix: decomment not working in json body
asonkeri Mar 14, 2024
0e5ccaf
fix: Collection being changed during import
Its-treason Mar 14, 2024
65e4acb
Merge branch 'fix/decomment-json-body' into lazer
Its-treason Mar 14, 2024
066f4a9
Merge branch 'fix/tailwindcss-forms' into lazer
Its-treason Mar 14, 2024
5a66a6d
Merge branch 'bugfix/bug-cancel-request-button-zindex' into lazer
Its-treason Mar 14, 2024
1dc18d7
Merge branch 'feature/fs_open_collection' into lazer
Its-treason Mar 14, 2024
feeb75a
feat(#1631): Change labels in context menu for revealing files
Its-treason Mar 14, 2024
a84c18f
fix: system theme in dark mode
Feldrise Mar 15, 2024
5af65e7
fix: About window
Its-treason Mar 16, 2024
6a4c1f8
feat: Add @tanstack/query
Its-treason Mar 16, 2024
9e18251
feat: Add 'errorMessage' to modal and improve error handling of NewRe…
Its-treason Mar 16, 2024
eeae677
feat: Improve error handling of collection import
Its-treason Mar 16, 2024
46408e1
feat: Improve error handling for renaming requests/folder
Its-treason Mar 16, 2024
7863930
feat: Improve error handling for CloneCollectionItem modal
Its-treason Mar 16, 2024
e4082de
Merge branch 'bugfix/system-dark-theme' into lazer
Its-treason Mar 16, 2024
8d8b692
Merge branch 'bugfix/code_verifier_too_short' into lazer
Its-treason Mar 17, 2024
8770b28
Merge branch 'bugfix/optional-scope' into lazer
Its-treason Mar 17, 2024
3d51c65
Merge branch 'bugfix/only-post-access-token-request' into lazer
Its-treason Mar 17, 2024
0b114fe
feat: Show request info above tabs
Its-treason Mar 17, 2024
1a275a3
feat(#1839): Add Audio and Video Preview
zkd8907 Mar 18, 2024
5d620c3
fix(#1826): Fix changing grant type erases saved inputs
RJ17799 Mar 18, 2024
6544cf4
refactor: TabInfo in CollectionHeader
Its-treason Mar 18, 2024
ef7d829
Merge branch 'feature/support-audio-video-preview' into lazer
Its-treason Mar 18, 2024
19cc13e
Merge branch 'bugfix/Oauth2' into lazer
Its-treason Mar 18, 2024
475b97d
fix: Inputs in Auth pages
Its-treason Mar 18, 2024
15f808a
fix: pkce and changing granttype
Its-treason Mar 18, 2024
b2b2be7
Merge branch 'main' into lazer
Its-treason Mar 19, 2024
3800c0c
refactor: Merge settings tabs
Its-treason Mar 19, 2024
4de7b58
feat: Remove Bruno links from support page
Its-treason Mar 19, 2024
2788732
feat: Add setting to hide tabs
Its-treason Mar 19, 2024
5dd928a
Merge branch 'main' into lazer
Its-treason Mar 20, 2024
e784534
Merge branch 'yaten2302/main' into lazer
Its-treason Mar 20, 2024
859931b
Merge branch 'main' into lazer
Its-treason Mar 23, 2024
c310ef1
fix: Object variables not being correctly included in json body
Its-treason Mar 24, 2024
536bdd1
fix: Re add icon button for Cookie store
Its-treason Mar 24, 2024
701ba21
fix: Doc links open in mainWindow
Its-treason Mar 24, 2024
a5725b6
fix: Collection variable viewer
Its-treason Mar 25, 2024
9aca161
fix: Update interpolation
Its-treason Mar 25, 2024
7183c3a
fix(#1910): JSON body not being interpolated if json is invalid
Its-treason Mar 25, 2024
ac35731
fix(#1910): Use `toString` method for objects in interpolation
Its-treason Mar 25, 2024
a2e80a7
fix: Object variables not being correctly included in json body
Its-treason Mar 24, 2024
ac3df96
fix: Update interpolation
Its-treason Mar 25, 2024
88c6e99
fix(#1910): JSON body not being interpolated if json is invalid
Its-treason Mar 25, 2024
02c1b69
fix(#1910): Use `toString` method for objects in interpolation
Its-treason Mar 25, 2024
0b82711
fix: add Exceptions for default objects and array in serialization
Its-treason Mar 25, 2024
c99837f
Merge branch 'fix/json-body-interpolation' into lazer
Its-treason Mar 25, 2024
c646177
fix: Collection variable viewer
Its-treason Mar 25, 2024
93b2c89
Merge branch 'main' into lazer
Its-treason Mar 27, 2024
1194345
feat: remember last selected environment
therealrinku Mar 31, 2024
f4595b2
trying to begin changes
AngelaSYuan Apr 7, 2024
6c16fbf
Merge branch 'main' of github.com:usebruno/bruno
Its-treason Apr 7, 2024
f955d69
Merge branch 'main' into lazer
Its-treason Apr 7, 2024
9cb05d9
Env bug fixed with only switching env when saved
AngelaSYuan Apr 8, 2024
fdf4673
dialog box working, formik in EnvironmentSettings to pass props, sele…
AngelaSYuan Apr 9, 2024
c7fbcd1
Removing some uneccessary comments
AngelaSYuan Apr 9, 2024
f18988b
Merge branch 'main' of github.com:usebruno/bruno
Its-treason Apr 9, 2024
6fabf2e
Merge branch 'main' into lazer
Its-treason Apr 9, 2024
cd0505a
Merge branch 'main' of github.com:usebruno/bruno
Its-treason Apr 9, 2024
33e98ba
Merge branch 'main' into lazer
Its-treason Apr 9, 2024
91e8cbb
no immediate following dialog pop up after warning dialog
AngelaSYuan Apr 10, 2024
2dc7dc6
Merge branch 'main' of github.com:usebruno/bruno
Its-treason Apr 10, 2024
7938e9a
Wrapping commit warning moidal in CreatePortal, removing unnecessary …
AngelaSYuan Apr 10, 2024
36b050f
Merge branch 'main' into lazer
Its-treason Apr 11, 2024
8fedd3d
fix: accessibility issue modal
shrilakshmishastry Apr 14, 2024
defbd9b
chore: revert back package-lock.json changes
shrilakshmishastry Apr 14, 2024
d467d83
refactor: use ref instead directly accessing dialog via DOM api's in …
shrilakshmishastry Apr 14, 2024
710fb2a
revert package-lock.json
shrilakshmishastry Apr 14, 2024
d490b1b
feat: call close method in closeModal()
shrilakshmishastry Apr 16, 2024
78037a3
Merge branch 'main' into lazer
Its-treason Apr 16, 2024
04bdfda
fix: ci build
Its-treason Apr 16, 2024
237ba84
Merge branch 'main' into lazer
Its-treason Apr 17, 2024
7d9cd14
fix: modal width and height issue due to width and height set by dial…
shrilakshmishastry Apr 18, 2024
86c2222
Merge branch 'main' into lazer
Its-treason Apr 19, 2024
cfe063a
Refactor countRequests function to use getTotalRequestCountInCollecti…
sanjai0py Apr 20, 2024
2e49c43
Merge branch 'main' into lazer
Its-treason Apr 21, 2024
e44f894
Merge branch 'main' into lazer
Its-treason Apr 22, 2024
91f2b28
fix: save button on confirm close popup not working
therealrinku Apr 23, 2024
54f5673
modifying dialog and adding formik back to EnvironmentVariables
AngelaSYuan Apr 23, 2024
a0292bb
Removing unnecessary comments
AngelaSYuan Apr 23, 2024
32945f4
bugfix(#2152): Docs not support "http" markdown image
Apr 25, 2024
0283ef3
Merge branch 'main' into lazer
Its-treason Apr 25, 2024
6de19f1
Merge branch 'feature/2152-docs-not-support-http-markdown-image' into…
Its-treason Apr 25, 2024
7b07be1
Merge branch 'fix/save-all' into lazer
Its-treason Apr 25, 2024
c76eeca
Merge branch 'bugfix/prevent-losing-env-on-switch' into lazer
Its-treason Apr 25, 2024
eb9d837
Merge branch 'fix/request-count-in-collection-info' into lazer
Its-treason Apr 25, 2024
283d452
Merge branch 'fix/accessibility-issue-in-modal' into lazer
Its-treason Apr 25, 2024
a60f8f3
fix imports
Its-treason Apr 25, 2024
93f3587
Revert "Removing unnecessary comments"
Its-treason Apr 25, 2024
6119e78
Revert "modifying dialog and adding formik back to EnvironmentVariables"
Its-treason Apr 25, 2024
a49d25b
Revert "fix: modal width and height issue due to width and height set…
Its-treason Apr 25, 2024
e34425f
Revert "feat: call close method in closeModal()"
Its-treason Apr 25, 2024
d074a51
Revert "revert package-lock.json"
Its-treason Apr 25, 2024
9c0005d
Revert "refactor: use ref instead directly accessing dialog via DOM a…
Its-treason Apr 25, 2024
d408fce
Revert "fix: accessibility issue modal"
Its-treason Apr 25, 2024
c2db576
Rewrite request logic
Its-treason May 6, 2024
6edd21b
Merge branch 'main' into lazer
Its-treason May 9, 2024
68de289
Merge branch 'feat/remember-last-selected-environment' into lazer
Its-treason May 9, 2024
afad9a0
refactor: Save last environment
Its-treason May 9, 2024
b7f71fc
chore: Update dependencies
Its-treason May 9, 2024
c724bdc
refactor: Environment selector
Its-treason May 9, 2024
d6db28a
feat: Update color schema
Its-treason May 9, 2024
d2c752d
refactor: Collection Settings, Variables, Runner buttons
Its-treason May 9, 2024
1555fa7
chore: Add license info to bruno-app
Its-treason May 10, 2024
86f0e3f
feat: Improve Manoco editor implementation
Its-treason May 11, 2024
8bd2765
feat: New environment editor modal
Its-treason May 12, 2024
c82b654
Tmp disable strict mode
Its-treason May 12, 2024
e775043
chore: Fix type errors
Its-treason May 12, 2024
5641815
fix: Environment selector with different collections
Its-treason May 13, 2024
0c5b782
fix: useState loop and remove console.log
Its-treason May 13, 2024
9f7f8b9
fix: React hook order and unserialized value in redux store
Its-treason May 13, 2024
dfbd61f
fix: environments not being set by default in collection
Its-treason May 14, 2024
fd2fbc8
fix: Port messing up request
Its-treason May 16, 2024
47c6560
Merge branch 'main' into lazer
Its-treason May 16, 2024
dfe32ee
fix: 'fullName is not defined' when cloning requests
Its-treason May 16, 2024
e531d3f
Merge branch 'main' into lazer
Its-treason May 24, 2024
507ef21
feat: Add Import and ManageSecret dialogs. Remove old Environment modal
Its-treason May 24, 2024
3bc84d1
feat: Remove 16px margin from all items in sidebar
Its-treason May 25, 2024
057d4a5
fix: Tabler icons import issue
Its-treason May 27, 2024
93b10f6
feat: Update RequestUrlBar
Its-treason May 27, 2024
1bcce68
fix: Temporaly disable meta in Environments
Its-treason May 29, 2024
733a3b9
fix: Various fixes for new request method
Its-treason May 31, 2024
1476f5a
Merge branch 'main' into lazer
Its-treason May 31, 2024
330e496
fix: Postcss config
Its-treason May 31, 2024
469ff89
fix: maxRedirects not working
Its-treason May 31, 2024
828641b
feat: Update Bottom sidebar to use Mantine
Its-treason Jun 1, 2024
92e5836
feat: Make send button more prominent
Its-treason Jun 1, 2024
43912d2
fix: Timeline not showing correct host / port
Its-treason Jun 2, 2024
a3ac5bc
feat: Update sidebar menu and modals & convert schemas to zod
Its-treason Jun 10, 2024
614236c
fix: Texts in environment modals
Its-treason Jun 10, 2024
a68a4eb
fix: Some improvments to handling of environments
Its-treason Jun 10, 2024
8d28899
Merge branch 'main' into lazer
Its-treason Jun 10, 2024
f147e81
fix: Use parsed brunoConfig and add defaults to brunoConfigSchema
Its-treason Jun 12, 2024
b2579d5
feat: Replace sidebar with TS rewrite
Its-treason Jun 16, 2024
dea0847
Merge branch 'main' into lazer
Its-treason Jun 17, 2024
02d4fbf
feat: Improvemnts to Monaco styling and auto focus modal inputs
Its-treason Jun 17, 2024
8f7fa51
fix: Monaco, EnvEditor & disable debug middleware
Its-treason Jun 17, 2024
36f435a
fix: Add functionality to sidebar buttons and general improvements
Its-treason Jun 18, 2024
2adf078
feat: Virtualize request list
Its-treason Jun 18, 2024
848c8a6
Merge branch 'main' of github.com:usebruno/bruno into lazer
Its-treason Jun 18, 2024
e0faf2d
fix: From merge and make Monaco the default
Its-treason Jun 18, 2024
5364e19
feat: Add filter to sidebar
Its-treason Jun 18, 2024
e56395a
fix: Sidebar scroll style
Its-treason Jun 18, 2024
ca284d0
fix: Building and miner fixes
Its-treason Jun 18, 2024
50f4d8f
Merge branch 'main' into lazer
Its-treason Jun 19, 2024
eabdb75
feat: Implement "isArray" assertion in new request method
Its-treason Jun 19, 2024
624c363
feat: Add decomment to JSON body
Its-treason Jun 19, 2024
9038317
feat: Listen for 'ready-to-show' before showing the main window
Its-treason Jun 19, 2024
d8fdeef
Merge branch 'main' into lazer
Its-treason Jun 23, 2024
9a38286
chore: Update dependencies
Its-treason Jun 23, 2024
2b22241
Merge branch 'feat/folder_settings' into main
Its-treason Jun 23, 2024
9bc2eb6
Merge branch 'folder-level-settings-merge' into lazer
Its-treason Jun 23, 2024
60761a7
fix: Opening folders with menu
Its-treason Jun 23, 2024
bc44eed
fix: Save folder metadata as .json
Its-treason Jun 23, 2024
e3bbd25
fix: Various fixes and improvements
Its-treason Jun 24, 2024
b74f0fd
feat: Allow reordering of Folders
Its-treason Jun 25, 2024
13df95f
fix: Sync Mantine theme with Bruno theme
Its-treason Jun 26, 2024
3b5ba08
feat: Set default theme dark
Its-treason Jun 26, 2024
0587bfe
fix: SUID Sandbox problem by disabling the sandbox
Its-treason Jun 26, 2024
a913450
fix: replace httpsnippet with @readme/httpsnippet
Its-treason Jun 26, 2024
1899e85
fix: No-Sandbox switch name
Its-treason Jun 26, 2024
a238254
fix: Improve styling
Its-treason Jun 27, 2024
c851cbd
chore: Improve development process
Its-treason Jun 27, 2024
7ac9f11
docs: Update README, contribution and delete translations
Its-treason Jun 27, 2024
fd57b2c
Add collection var to CodeEditor props (#2501)
JeanLethiec Jun 28, 2024
89f92a7
fix: Script is possible undefined
Its-treason Jun 29, 2024
a4efe9a
feat: bru hasEnvVar, hasVar, deleteVar
lohxt1 Jun 29, 2024
438f5e3
feat: Update generate code modal
Its-treason Jun 29, 2024
186e936
Merge branch 'feat/bru-helper-functions' into lazer
Its-treason Jun 29, 2024
cb54186
feat: Implement "bru.hasEnvVar", "bru.hasVar" & "bru.delete"
Its-treason Jun 29, 2024
133e79e
fix: TypeError and improve typings
Its-treason Jun 30, 2024
f4f5c04
don't exclude cookies from request headers when importing from curl (#7)
jwetzell Jul 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
169 changes: 169 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
name: Release Nightly

on:
schedule:
- cron: 0 0 * * *
workflow_dispatch:
inputs:
tag_name:
description: 'Tag name for release'
required: false
default: nightly
push:
tags: ['v[0-9]+.[0-9]+.[0-9]+*']

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
tagname:
runs-on: ubuntu-latest
outputs:
tag_name: ${{ steps.tag.outputs.tag }}
steps:
- if: github.event_name == 'workflow_dispatch'
run: echo "TAG_NAME=${{ github.event.inputs.tag_name }}" >> $GITHUB_ENV

- if: github.event_name == 'schedule'
run: echo 'TAG_NAME=nightly' >> $GITHUB_ENV

- if: github.event_name == 'push'
run: |
TAG_NAME=${{ github.ref }}
echo "TAG_NAME=${TAG_NAME#refs/tags/}" >> $GITHUB_ENV

- if: github.event_name == 'pull_request'
run: echo 'TAG_NAME=debug' >> $GITHUB_ENV

- id: vars
shell: bash
run: echo "sha_short=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT

- if: env.TAG_NAME == 'nightly'
run: echo 'TAG_NAME=nightly-${{ steps.vars.outputs.sha_short }}' >> $GITHUB_ENV

- id: tag
run: echo "tag=$TAG_NAME" >> $GITHUB_OUTPUT

windows:
runs-on: windows-latest
needs: tagname
env:
RELEASE_TAG_NAME: ${{ needs.tagname.outputs.tag_name }}

steps:
- uses: actions/checkout@v3

- name: Fetch dependencies
run: |
npm i -g pnpm
pnpm i
- name: Make
run: |
pnpm run make

- uses: actions/upload-artifact@v4
with:
name: build-windows
path: |
./packages/bruno-electron/out/bruno-*
retention-days: 1
if-no-files-found: error

macos:
runs-on: macos-latest
needs: tagname
env:
RELEASE_TAG_NAME: ${{ needs.tagname.outputs.tag_name }}

steps:
- uses: actions/checkout@v3

- name: Fetch dependencies
run: |
npm i -g pnpm
pnpm i
- name: Make
run: |
pnpm run make

- uses: actions/upload-artifact@v4
with:
name: build-macos
path: |
./packages/bruno-electron/out/bruno-*
retention-days: 1
if-no-files-found: error

linux:
runs-on: ubuntu-latest
container: node:20.11
needs: tagname
env:
RELEASE_TAG_NAME: ${{ needs.tagname.outputs.tag_name }}
DEBIAN_FRONTEND: noninteractive

steps:
- uses: actions/checkout@v3

- name: Fetch dependencies
run: |
npm i -g pnpm
pnpm i
- name: Make
run: |
pnpm run make
ls ./packages/bruno-electron/out/

- uses: actions/upload-artifact@v4
with:
name: build-linux
path: |
./packages/bruno-electron/out/bruno-*
retention-days: 1
if-no-files-found: error

publish:
if: github.event_name != 'pull_request'
needs: [linux, windows, macos]
runs-on: ubuntu-latest
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
# Must perform checkout first, since it deletes the target directory
# before running, and would therefore delete the downloaded artifacts
- uses: actions/checkout@v3

- uses: actions/download-artifact@v4

- if: github.event_name == 'workflow_dispatch'
run: echo "TAG_NAME=${{ github.event.inputs.tag_name }}" >> $GITHUB_ENV

- if: github.event_name == 'schedule'
run: echo 'TAG_NAME=nightly' >> $GITHUB_ENV

- if: github.event_name == 'push'
run: |
TAG_NAME=${{ github.ref }}
echo "TAG_NAME=${TAG_NAME#refs/tags/}" >> $GITHUB_ENV

- if: env.TAG_NAME == 'nightly'
run: |
(echo 'SUBJECT=Bruno development build';
echo 'PRERELEASE=--prerelease') >> $GITHUB_ENV
gh release delete nightly --yes || true
git push origin :nightly || true

- if: env.TAG_NAME != 'nightly'
run: |
(echo 'SUBJECT=Bruno release build';
echo 'PRERELEASE=') >> $GITHUB_ENV

- name: Publish release
env:
DEBUG: api
run: |
gh release create $TAG_NAME $PRERELEASE --title "$TAG_NAME" --target $GITHUB_SHA build-linux/* build-windows/* build-macos/*
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
enable-pre-post-scripts=true

shamefully-hoist=true
76 changes: 31 additions & 45 deletions contributing.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
**English**
| [Українська](docs/contributing/contributing_ua.md)
| [Русский](docs/contributing/contributing_ru.md)
| [Türkçe](docs/contributing/contributing_tr.md)
| [Deutsch](docs/contributing/contributing_de.md)
| [Français](docs/contributing/contributing_fr.md)
| [Português (BR)](docs/contributing/contributing_pt_br.md)
| [한국어](docs/contributing/contributing_kr.md)
| [বাংলা](docs/contributing/contributing_bn.md)
| [Español](docs/contributing/contributing_es.md)
| [Italiano](docs/contributing/contributing_it.md)
| [Română](docs/contributing/contributing_ro.md)
| [Polski](docs/contributing/contributing_pl.md)
| [简体中文](docs/contributing/contributing_cn.md)
| [正體中文](docs/contributing/contributing_zhtw.md)
| [日本語](docs/contributing/contributing_ja.md)
| [हिंदी](docs/contributing/contributing_hi.md)

## Let's make Bruno better, together!!

We are happy that you are looking to improve Bruno. Below are the guidelines to get started bringing up Bruno on your computer.
Expand All @@ -26,42 +8,43 @@ Bruno is built using Next.js and React. We also use electron to ship a desktop v

Libraries we use

- CSS - Tailwind
- Code Editors - Codemirror
- State Management - Redux
- Icons - Tabler Icons
- Forms - formik
- Schema Validation - Yup
- Request Client - axios
- Filesystem Watcher - chokidar
- Component library: @mantine/\*
- CSS: Tailwind, Styled components (Deprecated), CSSModules
- Code Editors: Monaco, Codemirror (Deprecated)
- State Management: Redux
- Icons: Tabler Icons
- Forms: formik, @mantine/forms
- Schema Validation: Yup, zod
- Request Client: axios (Depricated), node:http (New request method)
- Filesystem Watcher: chokidar

### Dependencies

You would need [Node v18.x or the latest LTS version](https://nodejs.org/en/) and npm 8.x. We use npm workspaces in the project
You would need [Node ^20](https://nodejs.org/en/) and pnpm ^9. We use pnpm workspaces in the project

## Development

Bruno is being developed as a desktop app. You need to load the app by running the Next.js app in one terminal and then run the electron app in another terminal.
For local development you should open Terminal windows. VSCode can create a split terminal.

- `pnpm run dev`: Will build all packages and start the Next.js dev server
- `pnpm run electron`: Will open electron itself. Electron will not restart automaticly when files are changed

Note that you need to wait ~10 seconds before starting electron, to make sure all packages are built.

### Local Development

```bash
# use nodejs 18 version
# use nodejs version 20
nvm use

# install deps
npm i --legacy-peer-deps
pnpm i

# build packages
npm run build:graphql-docs
npm run build:bruno-query
npm run build:bruno-common
# Build packages and start Next.js dev server
pnpm run dev

# run next app (terminal 1)
npm run dev:web

# run electron app (terminal 2)
npm run dev:electron
# Start electron
pnpm run electron
```

### Troubleshooting
Expand Down Expand Up @@ -90,9 +73,12 @@ npm test --workspace=packages/bruno-lang

### Raising Pull Requests

- Please keep the PR's small and focused on one thing
- Please follow the format of creating branches
- feature/[feature name]: This branch should contain changes for a specific feature
- Example: feature/dark-mode
- bugfix/[bug name]: This branch should contain only bug fixes for a specific bug
- Example bugfix/bug-1
Please keep the PR's small and focused on one thing. Before making bigger changes, please create an issue / feature
request before and wait for feedback

Please follow the format of creating branches:

- feature/[feature name]: This branch should contain changes for a specific feature
- Example: feature/dark-mode
- bugfix/[bug name]: This branch should contain only bug fixes for a specific bug
- Example: bugfix/zyx-modal-text-overflow
103 changes: 0 additions & 103 deletions docs/contributing/contributing_bn.md

This file was deleted.

Loading
Loading