Compare commits
1 commit
1.84.141-s
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b3312369d9 |
24 changed files with 9594 additions and 1 deletions
2581
CHANGELOG_ANDROID.md
Normal file
2581
CHANGELOG_ANDROID.md
Normal file
File diff suppressed because it is too large
Load diff
1113
CHANGELOG_DESKTOP.md
Normal file
1113
CHANGELOG_DESKTOP.md
Normal file
File diff suppressed because it is too large
Load diff
4026
CHANGELOG_DESKTOP_ARCHIVE.md
Normal file
4026
CHANGELOG_DESKTOP_ARCHIVE.md
Normal file
File diff suppressed because it is too large
Load diff
530
CHANGELOG_iOS.md
Normal file
530
CHANGELOG_iOS.md
Normal file
|
|
@ -0,0 +1,530 @@
|
|||
# Changelog
|
||||
|
||||
## [1.83.118](https://github.com/brave/brave-browser/releases/tag/v1.83.118)
|
||||
|
||||
- Added a new set of iOS 26 compatible Brave app icons. ([#46799](https://github.com/brave/brave-browser/issues/46799))
|
||||
- Added ability to select multiple tabs in the new tab tray. ([#48037](https://github.com/brave/brave-browser/issues/48037))
|
||||
- Added the ability to disable the Brave VPN admin policy. ([#48400](https://github.com/brave/brave-browser/issues/48400))
|
||||
- Added the ability to disable the Brave News admin policy. ([#48384](https://github.com/brave/brave-browser/issues/48384))
|
||||
- Added the ability to disable the Brave Talk admin policy. ([#48352](https://github.com/brave/brave-browser/issues/48352))
|
||||
- Added the ability to disable the Rewards admin policy. ([#48318](https://github.com/brave/brave-browser/issues/48318))
|
||||
- Added the ability to disable the Brave Leo admin policy. ([#48245](https://github.com/brave/brave-browser/issues/48245))
|
||||
- Added the ability to disable the Brave Wallet admin policy. ([#48113](https://github.com/brave/brave-browser/issues/48113))
|
||||
- Enabled the search bar to remain fixed at the top when using the new tab tray. ([#49521](https://github.com/brave/brave-browser/issues/49521))
|
||||
- Removed from the query string filter one campaign-level parameter and added four potentially user-identifying parameters. ([#47387](https://github.com/brave/brave-browser/issues/47387), [#48226](https://github.com/brave/brave-browser/issues/48226), & [#48228](https://github.com/brave/brave-browser/issues/48228))
|
||||
- Removed the "nacl" script previously used as a dependency for audio farbling. ([#48378](https://github.com/brave/brave-browser/issues/48378))
|
||||
- Migrated some Brave Shield preferences to content settings. ([#47350](https://github.com/brave/brave-browser/issues/47350))
|
||||
- Improved UX when adding a custom filter rule by showing a loading spinner to indicate an “in progress” state. ([#49120](https://github.com/brave/brave-browser/issues/49120))
|
||||
- Updated JitsiMeetSDK to version 11.4.0 lite. ([#45417](https://github.com/brave/brave-browser/issues/45417))
|
||||
- [Security] Fixed invalid URLs being rendered in Brave Leo as reported on HackerOne by canalun. ([#47906](https://github.com/brave/brave-browser/issues/47906))
|
||||
- Fixed the "Find in Page” shortcut not working when using an attached keyboard for iPad. ([#48407](https://github.com/brave/brave-browser/issues/48407))
|
||||
- Fixed closed tabs not appearing in "Recently Closed Tabs" list when Reader mode has been enabled. ([#48124](https://github.com/brave/brave-browser/issues/48124))
|
||||
- Upgraded Chromium to 141.0.7390.108. ([#50161](https://github.com/brave/brave-browser/issues/50161))([Changelog for 141.0.7390.108](https://chromium.googlesource.com/chromium/src/+log/140.0.7339.213..141.0.7390.108?pretty=fuller&n=10000))
|
||||
|
||||
## [1.82.174](https://github.com/brave/brave-browser/releases/tag/v1.82.174)
|
||||
|
||||
- Fixed WebKit crash when compiling content blockers for iOS 26. ([#49722](https://github.com/brave/brave-browser/issues/49722))
|
||||
- Fixed a crash involving using the URL bar when playlist items have an invalid duration. ([#49507](https://github.com/brave/brave-browser/issues/49507))
|
||||
- Fixed website data not being deleted when using auto-shred on app exit. ([#49464](https://github.com/brave/brave-browser/issues/49464))
|
||||
- Upgraded Chromium to 140.0.7339.213. ([#49643](https://github.com/brave/brave-browser/issues/49643))([Changelog for 140.0.7339.213](https://chromium.googlesource.com/chromium/src/+log/140.0.7339.186..140.0.7339.213?pretty=fuller&n=10000))
|
||||
|
||||
## [1.82.171](https://github.com/brave/brave-browser/releases/tag/v1.82.171)
|
||||
|
||||
- Implemented modern tab tray UI which can be enabled via brave://flags. ([#47435](https://github.com/brave/brave-browser/issues/47435))
|
||||
- Added "Gemma 3 12B" to the list of pre-loaded models. ([#46411](https://github.com/brave/brave-browser/issues/46411))
|
||||
- Added customization options for the items in the main menu. ([#47625](https://github.com/brave/brave-browser/issues/47625))
|
||||
- Added ability to shred all tabs from the tab tray. ([#47942](https://github.com/brave/brave-browser/issues/47942))
|
||||
- Added ability to access private tab related settings from the new tab tray UI. ([#47751](https://github.com/brave/brave-browser/issues/47751))
|
||||
- Added an "issue" category dropdown to the webcompat reporter. ([#47507](https://github.com/brave/brave-browser/issues/47507))
|
||||
- Enabled Brave Translate feature flag by default. ([#47383](https://github.com/brave/brave-browser/issues/47383))
|
||||
- Removed "Llama Vision" from the default model list. ([#47577](https://github.com/brave/brave-browser/issues/47577))
|
||||
- Improved syncing tabs to desktop by also including inactive tabs. ([#47054](https://github.com/brave/brave-browser/issues/47054))
|
||||
- Improved adblocking. ([#46292](https://github.com/brave/brave-browser/issues/46292), [#46290](https://github.com/brave/brave-browser/issues/46290), & [#46289](https://github.com/brave/brave-browser/issues/46289))
|
||||
- Updated the logic for the "Highest Quality Playback” media setting to reduce video quality when using mobile data. ([#47426](https://github.com/brave/brave-browser/issues/47426))
|
||||
- [Security] Fixed prompt not displaying the correct URL when using “switch to external application” as reported on HackerOne by severusstalin. ([#47986](https://github.com/brave/brave-browser/issues/47986))
|
||||
- [Security] Fixed improper URL handling when using “Open in Brave” from the share sheet as reported on HackerOne by severusstalin. ([#49146](https://github.com/brave/brave-browser/issues/49146))
|
||||
- Fixed a crash occurring in Leo in certain cases. ([#48304](https://github.com/brave/brave-browser/issues/48304))
|
||||
- Fixed a crash when removing a custom URL filter list. ([#49277](https://github.com/brave/brave-browser/issues/49277))
|
||||
- Fixed shuffle preference not persisting after disconnecting and then reconnecting to CarPlay. ([#46631](https://github.com/brave/brave-browser/issues/46631))
|
||||
- Fixed debouncing not working as expected with Chromium Web Embedder enabled. ([#48763](https://github.com/brave/brave-browser/issues/48763))
|
||||
- Fixed query parameters not being stripped from URL when using "Copy Clean Link”. ([#48601](https://github.com/brave/brave-browser/issues/48601))
|
||||
- Fixed NTT not being shown after clearing ads data. ([#44966](https://github.com/brave/brave-browser/issues/44966))
|
||||
- Fixed reader mode UI being shown in other tabs when changing device orientation. ([#47272](https://github.com/brave/brave-browser/issues/47272))
|
||||
- Fixed missing “Add to reading list” context item in the share menu. ([#47252](https://github.com/brave/brave-browser/issues/47252))
|
||||
- Fixed issue where a white flash would sometimes appear when closing or opening a new tab. ([#47026](https://github.com/brave/brave-browser/issues/47026))
|
||||
- Upgraded Chromium to 140.0.7339.186. ([#49381](https://github.com/brave/brave-browser/issues/49381))([Changelog for 140.0.7339.186](https://chromium.googlesource.com/chromium/src/+log/139.0.7258.66..140.0.7339.186?pretty=fuller&n=10000))
|
||||
|
||||
## [1.81.134](https://github.com/brave/brave-browser/releases/tag/v1.81.134)
|
||||
|
||||
### Web3
|
||||
|
||||
- Added support for resolving new Unstoppable Domains TLDs including .brave TLD. ([#46271](https://github.com/brave/brave-browser/issues/46271))
|
||||
- Added a Brave proxy for Zcash mainnet endpoint. ([#46266](https://github.com/brave/brave-browser/issues/46266))
|
||||
- Enabled ZCash feature flag by default. ([#48171](https://github.com/brave/brave-browser/issues/48171))
|
||||
- Fixed issue with web views not reloading when default Solana Wallet provider is changed. ([#47676](https://github.com/brave/brave-browser/issues/47676))
|
||||
|
||||
### General
|
||||
|
||||
- Implemented the ability to block YouTube distracting elements and remove Shorts. ([#37966](https://github.com/brave/brave-browser/issues/37966))
|
||||
- Added support for Serbian and Bulgarian languages. ([#47384](https://github.com/brave/brave-browser/issues/47384))
|
||||
- Added standalone synced tabs UI. ([#46478](https://github.com/brave/brave-browser/issues/46478))
|
||||
- Added "Survey Panelists" feature which allows users to opt-in to surveys from Brave. ([#45990](https://github.com/brave/brave-browser/issues/45990))
|
||||
- Added light theme option for UI when private browsing. ([#46371](https://github.com/brave/brave-browser/issues/46371))
|
||||
- Improved performance by offloading background tab data updates from the main thread. ([#46551](https://github.com/brave/brave-browser/issues/46551))
|
||||
- Improved performance when handling attribution referral code generation. ([#46501](https://github.com/brave/brave-browser/issues/46501))
|
||||
- Improved performance when fetching all recently closed tabs after each navigation. ([#46504](https://github.com/brave/brave-browser/issues/46504))
|
||||
- Improved performance by removing speech recognizer offline availability checks from the main thread. ([#46413](https://github.com/brave/brave-browser/issues/46413))
|
||||
- Improved reliability for procedural filtering with better error handling and compatibility support. ([#46294](https://github.com/brave/brave-browser/issues/46294)
|
||||
- Updated UI in sync settings. ([#46625](https://github.com/brave/brave-browser/issues/46625)
|
||||
- [Security] Fixed file extensions not being shown when downloading files with long names as reported on HackerOne by severusstalin. ([#45988](https://github.com/brave/brave-browser/issues/45988))
|
||||
- Fixed open tab appearing blank after clearing site data. ([#47576](https://github.com/brave/brave-browser/issues/47576))
|
||||
- Fixed several items missing from the highlight context menu when using standard web views. ([#47503](https://github.com/brave/brave-browser/issues/47503))
|
||||
- Fixed “Open in Brave” sharesheet action item being incorrectly translated. ([#46878](https://github.com/brave/brave-browser/issues/46878))
|
||||
- Upgraded Chromium to 139.0.7258.66. ([#48048](https://github.com/brave/brave-browser/issues/48048))([Changelog for 139.0.7258.66](https://chromium.googlesource.com/chromium/src/+log/138.0.7204.101..139.0.7258.66?pretty=fuller&n=10000))
|
||||
|
||||
## [1.80.121](https://github.com/brave/brave-browser/releases/tag/v1.80.121)
|
||||
|
||||
- Fixed sync related crash when browser is launched. ([#47375](https://github.com/brave/brave-browser/issues/47375))
|
||||
- Upgraded Chromium to 138.0.7204.101. ([#47476](https://github.com/brave/brave-browser/issues/47476))([Changelog for 138.0.7204.101](https://chromium.googlesource.com/chromium/src/+log/138.0.7204.97..138.0.7204.101?pretty=fuller&n=10000))
|
||||
|
||||
## [1.80.116](https://github.com/brave/brave-browser/releases/tag/v1.80.116)
|
||||
|
||||
- Added "Recently Closed Tabs” section to History UI. ([#45679](https://github.com/brave/brave-browser/issues/45679))
|
||||
- Added eTLD+1 extension on URL and baseDomain improvements. ([#44214](https://github.com/brave/brave-browser/issues/44214))
|
||||
- Enabled new onboarding UI for all regions. ([#47061](https://github.com/brave/brave-browser/issues/47061))
|
||||
- Dropped support for iOS 16. ([#45702](https://github.com/brave/brave-browser/issues/45702))
|
||||
- Removed “Show in Address Bar” preference from Leo settings. ([#47091](https://github.com/brave/brave-browser/issues/47091))
|
||||
- Updated Playlist UI by replacing seek interval with previous/next buttons in the main controls. ([#46104](https://github.com/brave/brave-browser/issues/46104))
|
||||
- [Security] Fixed launching external app links with Chromium Web Views enabled as reported on HackerOne by syarif07. ([#46854](https://github.com/brave/brave-browser/issues/46854))
|
||||
- [Security] Fixed URL bar text not being reverted in certain cases when a new frame is loaded as reported on HackerOne by frozzipies. ([#47107](https://github.com/brave/brave-browser/issues/47107))
|
||||
- Fixed quick searches accessed via search history opening the incorrect search engine. ([#45384](https://github.com/brave/brave-browser/issues/45384))
|
||||
- Fixed “Original Text” string being shown when using Translate on https://api-dashboard.search.brave.com/app/documentation/web-search/get-started with Reader Mode enabled. ([#46446](https://github.com/brave/brave-browser/issues/46446))
|
||||
- Fixed “:matches-path()” type selector hiding the entire webpage when used in the beginning of a procedural filter script. ([#46220](https://github.com/brave/brave-browser/issues/46220))
|
||||
- Fixed "Chinese, Simplified" and "Chinese, Traditional" providing the exact same translation for websites. ([#45946](https://github.com/brave/brave-browser/issues/45946))
|
||||
- Fixed tabs being opened in private mode when launching a new Private Window. ([#45827](https://github.com/brave/brave-browser/issues/45827))
|
||||
- Fixed issue where Leo is allowed to be launched via the Shortcut button when private browsing. ([#46423](https://github.com/brave/brave-browser/issues/46423))
|
||||
- Fixed the suggestion sections in the omnibox being blocked by the keyboard. ([#45803](https://github.com/brave/brave-browser/issues/45803))
|
||||
- Fixed URLs with “blob” or “data” schemes not opening if triggered as pop-up using window.open. ([#45647](https://github.com/brave/brave-browser/issues/45647))
|
||||
- Upgraded Chromium to 138.0.7204.97. ([#47276](https://github.com/brave/brave-browser/issues/47276))([Changelog for 138.0.7204.97](https://chromium.googlesource.com/chromium/src/+log/137.0.7151.104..138.0.7204.97?pretty=fuller&n=10000))
|
||||
|
||||
## [1.79.124](https://github.com/brave/brave-browser/releases/tag/v1.79.124)
|
||||
|
||||
- Added search omnibox UI upgrades. ([#44257](https://github.com/brave/brave-browser/issues/44257))
|
||||
- Added "Deepseek R1" model to Leo for premium users. ([#45454](https://github.com/brave/brave-browser/issues/45454))
|
||||
- Updated procedural filtering to be applied on mutated elements. ([#46046](https://github.com/brave/brave-browser/issues/46046)), ([#46358](https://github.com/brave/brave-browser/issues/46358))
|
||||
- Updated procedural filtering being applied to mutated elements with dynamically added child elements. ([#46208](https://github.com/brave/brave-browser/issues/46208))
|
||||
- [Security] Fixed share sheet title showing two URLs instead of one as reported on HackerOne by severusstalin. ([#46178](https://github.com/brave/brave-browser/issues/46178))
|
||||
- Fixed crash occurring when files are being downloaded for users using iOS 16.0-16.3. ([#46682](https://github.com/brave/brave-browser/issues/46682))
|
||||
- Fixed the order in the Quick-Search engine scroll view being offset when Leo is disabled. ([#46421](https://github.com/brave/brave-browser/issues/46421))
|
||||
- Fixed downloads failing to start when triggered in a new tab. ([#46323](https://github.com/brave/brave-browser/issues/46323))
|
||||
- Fixed the translate button being shown on webpages with invalid languages. ([#45779](https://github.com/brave/brave-browser/issues/45779))
|
||||
- Fixed an issue for iPad users where the Shortcut button was not being hidden. ([#45612](https://github.com/brave/brave-browser/issues/45612))
|
||||
- Fixed articles not being loaded when tapping on the Brave News widget thumbnail. ([#45609](https://github.com/brave/brave-browser/issues/45609))
|
||||
- Fixed og:image meta data from being requested for all sites. ([#45268](https://github.com/brave/brave-browser/issues/45268))
|
||||
- Fixed playback time in Playlist displaying incorrectly for longer videos. ([#45033](https://github.com/brave/brave-browser/issues/45033))
|
||||
- Fixed Japanese videos that contain Japanese titles failing to save offline in Playlist. ([#46236](https://github.com/brave/brave-browser/issues/46236))
|
||||
- Fixed tabs being incorrectly switched to either Normal or Private mode when using Shred. ([#45001](https://github.com/brave/brave-browser/issues/45001))
|
||||
- Fixed New Tab Page (NTP) background images not being loaded immediately when switching tabs. ([#46379](https://github.com/brave/brave-browser/issues/46379))
|
||||
- Upgraded Chromium to 137.0.7151.104. ([#46712](https://github.com/brave/brave-browser/issues/46712))([Changelog for 137.0.7151.104](https://chromium.googlesource.com/chromium/src/+log/136.0.7103.113..137.0.7151.104?pretty=fuller&n=10000))
|
||||
|
||||
## [1.78.104](https://github.com/brave/brave-browser/releases/tag/v1.78.104)
|
||||
|
||||
- Fixed script blocking affecting other websites when enabled in shields panel for particular webpage. ([#46155](https://github.com/brave/brave-browser/issues/46155))
|
||||
- Fixed page zoom having no effect on the webpage when active. ([#46200](https://github.com/brave/brave-browser/issues/46200))
|
||||
|
||||
## [1.78.103](https://github.com/brave/brave-browser/releases/tag/v1.78.103)
|
||||
|
||||
- Implemented Picture-in-Picture animation when setting default browser in the onboarding flow. ([#44182](https://github.com/brave/brave-browser/issues/44182))
|
||||
- Added new custom app icon designs. ([#44587](https://github.com/brave/brave-browser/issues/44587))
|
||||
- Added localization enhancements to the default browser onboarding animation for UK and Japan users. ([#44183](https://github.com/brave/brave-browser/issues/44183))
|
||||
- Added shuffle button to the Brave Playlist player in CarPlay. ([#43691](https://github.com/brave/brave-browser/issues/43691))
|
||||
- Added page loading indicator to the VPN region selection screen. ([#45371](https://github.com/brave/brave-browser/issues/45371))
|
||||
- Added privacy warning dialog when submitting Leo chat feedback. ([#45947](https://github.com/brave/brave-browser/issues/45947))
|
||||
- Re-enabled toggle visibility for “Block All Cookies” setting and also moved it into “Other Privacy Settings”. ([#45457](https://github.com/brave/brave-browser/issues/45457))
|
||||
- Removed dialog from being displayed for successfully exporting bookmarks. ([#44654](https://github.com/brave/brave-browser/issues/44654))
|
||||
- Improved support for downloading bundled Apple Wallet passes. ([#43338](https://github.com/brave/brave-browser/issues/43338))
|
||||
- Improved Leo chat operations by increasing the limit for associated content length in responses. ([#43928](https://github.com/brave/brave-browser/issues/43928))
|
||||
- Improved Playlist video downloading with an additional background fallback method. ([#44652](https://github.com/brave/brave-browser/issues/44652))
|
||||
- [Security] Fixed issue where file extensions for downloaded files are being hidden as reported on HackerOne by b4dc4t. ([#45433](https://github.com/brave/brave-browser/issues/45433))
|
||||
- [Security] Fixed issue with Tel: protocol prompts showing other origin as reported on HackerOne by frozzipies. ([#44719](https://github.com/brave/brave-browser/issues/44719))
|
||||
- [Security] Fixed links not opening in a private tab when using private browsing mode. ([#45389](https://github.com/brave/brave-browser/issues/45389))
|
||||
- Fixed “Block Scripts” and “Block Fingerprinting” toggle being shown as disabled after toggling Brave Shields. ([#43968](https://github.com/brave/brave-browser/issues/43968))
|
||||
- Fixed VPN not enabling in the case where the server is manually selected from the list. ([#45370](https://github.com/brave/brave-browser/issues/45370))
|
||||
- Fixed VPN server country not being updated after connecting. ([#45364](https://github.com/brave/brave-browser/issues/45364))
|
||||
- Fixed VPN connection status not displaying correctly in region selection screen. ([#45365](https://github.com/brave/brave-browser/issues/45365))
|
||||
- Fixed P3A onboarding page content from being clipped when using accessibility zoom. ([#44646](https://github.com/brave/brave-browser/issues/44646))
|
||||
- Fixed videos with non-Latin characters failing to save offline in Playlist. ([#42764](https://github.com/brave/brave-browser/issues/42764))
|
||||
- Upgraded Chromium to 136.0.7103.113. ([#46065](https://github.com/brave/brave-browser/issues/46065))([Changelog for 136.0.7103.113](https://chromium.googlesource.com/chromium/src/+log/135.0.7049.84..136.0.7103.113?pretty=fuller&n=10000))
|
||||
|
||||
## [1.77.98](https://github.com/brave/brave-browser/releases/tag/v1.77.98)
|
||||
|
||||
- Implemented an exception list for Night Mode. ([#44213](https://github.com/brave/brave-browser/issues/44213))
|
||||
- Improved the performance of searching using URL bar for users with many bookmarks, tabs and history items. ([#43703](https://github.com/brave/brave-browser/issues/43703))
|
||||
- Improved search results filtering and auto-complete when using the URL bar. ([#44842](https://github.com/brave/brave-browser/issues/44842))
|
||||
- Improved cosmetic filtering performance. ([#42530](https://github.com/brave/brave-browser/issues/42530))
|
||||
- Updated default search engine to Yahoo! JAPAN for new installations in Japan region. ([#43311](https://github.com/brave/brave-browser/issues/43311))
|
||||
- Updated Brave Translate to hide "contribution" element in reader mode. ([#44835](https://github.com/brave/brave-browser/issues/44835))
|
||||
- Updated Brave Translate onboarding. ([#44650](https://github.com/brave/brave-browser/issues/44650))
|
||||
- Updated the “Enable Global Privacy Control” settings toggle placement to be at the bottom of the advanced settings page. ([#43690](https://github.com/brave/brave-browser/issues/43690))
|
||||
- [Security] Fixed several issues relating to blob URL spoofing as reported on HackerOne by b4dc4t and frozzipies. ([#43654](https://github.com/brave/brave-browser/issues/43654))
|
||||
- Fixed crash when clearing a large amount of history. ([#44981](https://github.com/brave/brave-browser/issues/44981))
|
||||
- Fixed normal tabs being removed when disabling the “Keep Private Tabs” setting toggle. ([#45350](https://github.com/brave/brave-browser/issues/45350))
|
||||
- Fixed an issue where tabs are not blocking pop-ups after switching from another tab. ([#44419](https://github.com/brave/brave-browser/issues/44419))
|
||||
- Fixed "Default Model View" page not loading under Brave Leo hamburger settings. ([#44072](https://github.com/brave/brave-browser/issues/44072))
|
||||
- Fixed audio continuing to play for users that closed a tab which showed a JavaScript alert. ([#43699](https://github.com/brave/brave-browser/issues/43699))
|
||||
- Fixed “Shred Site Data” not working while using reader mode. ([#43663](https://github.com/brave/brave-browser/issues/43663))
|
||||
- Fixed URL auto-complete issue when using Hindi transliteration keyboard. ([#43270](https://github.com/brave/brave-browser/issues/43270))
|
||||
- Upgraded Chromium to 135.0.7049.84. ([#45297](https://github.com/brave/brave-browser/issues/45297))([Changelog for 135.0.7049.84](https://chromium.googlesource.com/chromium/src/+log/134.0.6998.95..135.0.7049.84?pretty=fuller&n=10000))
|
||||
|
||||
## [1.76.77](https://github.com/brave/brave-browser/releases/tag/v1.76.77)
|
||||
|
||||
- Added Brave Translate for page translations. ([#40782](https://github.com/brave/brave-browser/issues/40782))
|
||||
- Added generalization for the model names in Leo chat. ([#44195](https://github.com/brave/brave-browser/issues/44195))
|
||||
- Added warning text in the setting description when user enables “Block all cookies”. ([#42295](https://github.com/brave/brave-browser/issues/42295))
|
||||
- Added the ability to select custom app icons for Brave. ([#43141](https://github.com/brave/brave-browser/issues/43141))
|
||||
- Disabled TLS 1.0 and TLS 1.1 due to versions being deprecated. ([#43819](https://github.com/brave/brave-browser/issues/43819))
|
||||
- Fixed crash when enabling "Open Tabs" syncing. ([#44380](https://github.com/brave/brave-browser/issues/44380))
|
||||
- Fixed parent tab permission pop-ups being shown on child tabs as reported on HackerOne by b4dc4t. ([#44061](https://github.com/brave/brave-browser/issues/44061))
|
||||
- Fixed URL being incorrectly displayed when scanning QR codes as reported on HackerOne by roland_hack. ([#42559](https://github.com/brave/brave-browser/issues/42559))
|
||||
- Fixed text resizing issue for old.reddit.com posts when in Night Mode. ([#43096](https://github.com/brave/brave-browser/issues/43096))
|
||||
- Fixed background color for New Tabs when in Dark Mode. ([#44270](https://github.com/brave/brave-browser/issues/44270))
|
||||
- Fixed clipboard lookups when searching from the URL bar using the Kana Japanese keyboard. ([#42526](https://github.com/brave/brave-browser/issues/42526))
|
||||
- Fixed UI error when comparing cached content blocker rule list versions. ([#44156](https://github.com/brave/brave-browser/issues/44156))
|
||||
- Upgraded Chromium to 134.0.6998.95. ([#44589](https://github.com/brave/brave-browser/issues/44589))([Changelog for 134.0.6998.95](https://chromium.googlesource.com/chromium/src/+log/133.0.6943.98..134.0.6998.95?pretty=fuller&n=10000))
|
||||
|
||||
## [1.75.179](https://github.com/brave/brave-browser/releases/tag/v1.75.179)
|
||||
|
||||
### Web3
|
||||
|
||||
- Added new updates to the transaction status screen. ([#26146](https://github.com/brave/brave-core/pull/26146))
|
||||
- Added “Speed up” button on wallet transaction status screen. ([#41800](https://github.com/brave/brave-browser/issues/41800))
|
||||
- Added “Cancel Transaction” button on wallet transaction status screen. ([#41799](https://github.com/brave/brave-browser/issues/41799))
|
||||
- Added support for resolving new Unstoppable Domains TLDs. ([#42368](https://github.com/brave/brave-browser/issues/42368))
|
||||
|
||||
### General
|
||||
|
||||
- Added new customizable hamburger menu (being rolled out in phases using Griffin starting at 15%). ([#42836](https://github.com/brave/brave-browser/issues/42836))
|
||||
- Added Smart-Proxy and Kill-Switch support for Brave VPN. ([#42275](https://github.com/brave/brave-browser/issues/42275))
|
||||
- Added Shred feature to the contextual menu. ([#42240](https://github.com/brave/brave-browser/issues/42240))
|
||||
- Added support for custom site distillers. ([#40794](https://github.com/brave/brave-browser/issues/40794))
|
||||
- Added brave://ads-internals page for managing ads data. ([#40952](https://github.com/brave/brave-browser/issues/40952))
|
||||
- Added brave://flags/#block-all-cookies-toggle to enable the ability to block all cookies. ([#42061](https://github.com/brave/brave-browser/issues/42061))
|
||||
- Added new ”Store contact information for future broken site reports” toggle under the WebCompat reporter which is enabled by default. ([#40021](https://github.com/brave/brave-browser/issues/40021))
|
||||
- Implemented new version of onboarding flow for United Kingdom and Japan locales. ([#43020](https://github.com/brave/brave-browser/issues/43020))
|
||||
- Implemented 3-second timer before falling back to HTTP when upgrading to HTTPS. ([#42684](https://github.com/brave/brave-browser/issues/42684))
|
||||
- Implemented search for local items saved in Playlist. ([#42437](https://github.com/brave/brave-browser/issues/42437))
|
||||
- Removed external app prompts for “tel:”, “facetime:” and “facetime-audio:” schemes. ([#43065](https://github.com/brave/brave-browser/issues/43065))
|
||||
- Updated the country flag in the “VPN Region Changed” card to be aligned with the heading. ([#41916](https://github.com/brave/brave-browser/issues/41916))
|
||||
- [Security] Fixed issue with notifications pop-up not being displayed when profile is downloaded as reported on HackerOne by b4dc4t. ([#43092](https://github.com/brave/brave-browser/issues/43092))
|
||||
- [Security] Fixed address bar not displaying URL for “about:blank” pages as reported on HackerOne by b4dc4t. ([#43016](https://github.com/brave/brave-browser/issues/43016))
|
||||
- [Security] Fixed “tel:” pop-up not being shown on the correct page as reported on HackerOne by b4dc4t. ([#42986](https://github.com/brave/brave-browser/issues/42986))
|
||||
- Fixed crash when closing tabs in tab view while in landscape orientation. ([#42601](https://github.com/brave/brave-browser/issues/42601))
|
||||
- Fixed issue with content filtering in local frames. ([#40649](https://github.com/brave/brave-browser/issues/40649))
|
||||
- Fixed ads or metadata being shown in YouTube videos intermittently. ([#43454](https://github.com/brave/brave-browser/issues/43454))
|
||||
- Fixed location not being shown in the “VPN Region Changed” card. ([#41915](https://github.com/brave/brave-browser/issues/41915))
|
||||
- Fixed issue with “VPN Region Changed” card getting stuck on screen when quickly navigating out of the settings page. ([#41831](https://github.com/brave/brave-browser/issues/41831))
|
||||
- Fixed the VPN advanced server selection list not being displayed after relaunching Brave. ([#40855](https://github.com/brave/brave-browser/issues/40855))
|
||||
- Fixed losing position of video after exiting Playlist. ([#42620](https://github.com/brave/brave-browser/issues/42620))
|
||||
- Fixed not being able to add new videos in Playlist. ([#41555](https://github.com/brave/brave-browser/issues/41555))
|
||||
- Fixed control labels being shown for the Playlist controls for iOS 16 users. ([#42509](https://github.com/brave/brave-browser/issues/42509))
|
||||
- Fixed issue with video duration not shown correctly in the Playlist drawer view. ([#42569](https://github.com/brave/brave-browser/issues/42569))
|
||||
- Fixed the Leo “suggest questions” button causing UI to be unresponsive when clicked. ([#43366](https://github.com/brave/brave-browser/issues/43366))
|
||||
- Fixed issue where files with the same name couldn't be downloaded multiple times. ([#41284](https://github.com/brave/brave-browser/issues/41284))
|
||||
- Fixed blank screen being displayed when loading “https://dillards.com/” when shields are raised. ([#43286](https://github.com/brave/brave-browser/issues/43286))
|
||||
- Fixed rendering websites in dark mode which set a transparent background color. ([#43214](https://github.com/brave/brave-browser/issues/43214))
|
||||
- Fixed tabs bar disappearing with 2 or more tabs. ([#42272](https://github.com/brave/brave-browser/issues/42272))
|
||||
- Fixed tabs bar not being scrollable for some users. ([#41562](https://github.com/brave/brave-browser/issues/41562))
|
||||
- Fixed Readermode not working intermittently under Brave’s RSS feed. ([#43034](https://github.com/brave/brave-browser/issues/43034))
|
||||
- Fixed screen flashing white when loading content when in Dark/Night mode. ([#42929](https://github.com/brave/brave-browser/issues/42929))
|
||||
- Upgraded Chromium to 133.0.6943.98. ([#43927](https://github.com/brave/brave-browser/issues/43927))([Changelog for 133.0.6943.98](https://chromium.googlesource.com/chromium/src/+log/132.0.6834.83..133.0.6943.98?pretty=fuller&n=10000))
|
||||
|
||||
## [1.74.49](https://github.com/brave/brave-browser/releases/tag/v1.74.49)
|
||||
|
||||
### Web3
|
||||
|
||||
- Updated 0x "Swap" API to v2. ([#41891](https://github.com/brave/brave-browser/issues/41891))
|
||||
|
||||
### General
|
||||
|
||||
- Added the ability to scrub anywhere when playing videos in full screen in Playlist. ([#42442](https://github.com/brave/brave-browser/issues/42442))
|
||||
- Added some system player functionality on the device locked screen including support for play/pause and next/previous track on AirPods. ([#42370](https://github.com/brave/brave-browser/issues/42370))
|
||||
- Updated Yandex as default search engine for Uzbekistan region rather than Tanzania. ([#42023](https://github.com/brave/brave-browser/issues/42023))
|
||||
- Fixed crash in Brave Playlist when adding very short GIF videos. ([#42638](https://github.com/brave/brave-browser/issues/42638))
|
||||
- Fixed subscription status sometimes showing “Monthly Subscription” after purchasing Leo Premium yearly subscription. ([#42507](https://github.com/brave/brave-browser/issues/42507))
|
||||
- Fixed playlist UI not updating when moving, re-ordering or deleting items in player queue. ([#42355](https://github.com/brave/brave-browser/issues/42355))
|
||||
- Fixed playback speed buttons not working in Playlist fullscreen for iPad. ([#41892](https://github.com/brave/brave-browser/issues/41892))
|
||||
- Fixed VPN allowing profile to be installed when subscription is not purchased. ([#41887](https://github.com/brave/brave-browser/issues/41887))
|
||||
- Fixed “Share Private & Anonymous Product Insights” toggle being re-enabled after opening the “Learn more…” hyperlink in the onboarding flow. ([41777](https://github.com/brave/brave-browser/issues/41777))
|
||||
- Fixed “Advanced Settings” in Leo menu not being shown after upgrading app for certain premium subscribers. ([#41579](https://github.com/brave/brave-browser/issues/41579))
|
||||
- Upgraded Chromium to 132.0.6834.83. ([#43183](https://github.com/brave/brave-browser/issues/43183))([Changelog for 132.0.6834.83](https://chromium.googlesource.com/chromium/src/+log/131.0.6778.108..132.0.6834.83?pretty=fuller&n=10000))
|
||||
|
||||
## [1.73.97](https://github.com/brave/brave-browser/releases/tag/v1.73.97)
|
||||
|
||||
### Web3
|
||||
|
||||
- Improved Solana swap failure rate. ([#42434](https://github.com/brave/brave-browser/issues/42434))
|
||||
|
||||
### General
|
||||
|
||||
- Added 7 day trial and annual subscription support for Leo. ([#37961](https://github.com/brave/brave-browser/issues/37961))
|
||||
- Added customization to "Shortcut" button in the toolbar. ([#41031](https://github.com/brave/brave-browser/issues/41031))
|
||||
- Added support for Hebrew, Vietnamese and Thai languages. ([#42181](https://github.com/brave/brave-browser/issues/42181))
|
||||
- Added French, German, Italian and Spanish language support for Leo system prompts. ([#41554](https://github.com/brave/brave-browser/issues/41554))
|
||||
- Added support for procedural cosmetic filtering. ([#16935](https://github.com/brave/brave-browser/issues/16935))
|
||||
- Added “Copy Clean Link” option to the context menu in the URL bar for selected text. ([#41302](https://github.com/brave/brave-browser/issues/41302))
|
||||
- Improved Playlist UI responsiveness by converting some fetch operations to be asynchronous. ([#42501](https://github.com/brave/brave-browser/issues/42501))
|
||||
- Updated the “Edit” button to “Done” when editing custom search engines. ([#39552](https://github.com/brave/brave-browser/issues/39552))
|
||||
- Updated sizing for some icons in the toolbar to be more uniform. ([#41405](https://github.com/brave/brave-browser/issues/41405))
|
||||
- Fixed crash when accessing Leo when feature flag is disabled. ([#42150](https://github.com/brave/brave-browser/issues/42150))
|
||||
- Fixed crash in Leo when sending queries using “REWRITE” options in slash tools. ([#42443](https://github.com/brave/brave-browser/issues/42443))
|
||||
- Fixed crash when purchasing Leo subscription after VPN is purchased. ([#42268](https://github.com/brave/brave-browser/issues/42268))
|
||||
- Fixed Playlist crashing in the background due to excessive CPU usage. ([#42408](https://github.com/brave/brave-browser/issues/42408))
|
||||
- Fixed Playlist items not deleting due to having invalid cache. ([#41252](https://github.com/brave/brave-browser/issues/41252))
|
||||
- Fixed not being able to re-order Playlist items when users have multiple folders. ([#42318](https://github.com/brave/brave-browser/issues/42318))
|
||||
- Fixed a leak resulting in two Playlist items playing at once in the background. ([#42344](https://github.com/brave/brave-browser/issues/42344))
|
||||
- Fixed Playlist audio being paused momentarily when locking/unlocking device. ([#42468](https://github.com/brave/brave-browser/issues/42468))
|
||||
- Fixed URL being opened in normal tab first when choosing "Open In New Private Tab" via long-press context menu in Playlist. ([#42357](https://github.com/brave/brave-browser/issues/42357))
|
||||
- Fixed VPN Region shortcut to update the active region when changing servers. ([#41051](https://github.com/brave/brave-browser/issues/41051))
|
||||
- Fixed opening bookmarks via the URL bar searches for the website via default search engine rather than directly opening the bookmarked website. ([#41910](https://github.com/brave/brave-browser/issues/41910))
|
||||
- Fixed HTTP scheme being shown when loading insecure websites. ([#42070](https://github.com/brave/brave-browser/issues/42070))
|
||||
- Fixed missing favicon on NTP in private browsing. ([#40935](https://github.com/brave/brave-browser/issues/40935))
|
||||
- Fixed generic cosmetic filter list rules not being applied on certain websites. ([#42471](https://github.com/brave/brave-browser/issues/42471))
|
||||
- Fixed Night Mode not working on sites such as https://community.brave.app and https://old.reddit.com. ([#41888](https://github.com/brave/brave-browser/issues/41888))
|
||||
- Upgraded Chromium to 131.0.6778.108. ([#42639](https://github.com/brave/brave-browser/issues/42639))([Changelog for 131.0.6778.108](https://chromium.googlesource.com/chromium/src/+log/130.0.6723.116..131.0.6778.108?pretty=fuller&n=10000))
|
||||
|
||||
## [1.71.125](https://github.com/brave/brave-browser/releases/tag/v1.71.125)
|
||||
|
||||
### Web3
|
||||
|
||||
- Added support for resolving new UD TLDs. ([#40543](https://github.com/brave/brave-browser/issues/40543))
|
||||
- Fixed inability to send any non-compressed Solana NFT from Brave Wallet. ([#40424](https://github.com/brave/brave-browser/issues/40424))
|
||||
|
||||
### General
|
||||
|
||||
- Implemented local vector search for the selection of key text segments of page and video context in Brave Leo. ([#36801](https://github.com/brave/brave-browser/issues/36801))
|
||||
- Added support for running Brave in compatibility mode on VisionOS. ([#40579](https://github.com/brave/brave-browser/issues/40579))
|
||||
- Added Italy and Argentina support for Brave News. ([#40996](https://github.com/brave/brave-browser/issues/40996))
|
||||
- Added ability to cancel action when deleting all history. ([#41148](https://github.com/brave/brave-browser/issues/41148))
|
||||
- Added support for editing Leo responses in chat. ([#40208](https://github.com/brave/brave-browser/issues/40208))
|
||||
- Added additional locale support to Top News Widgets. ([#40298](https://github.com/brave/brave-browser/issues/40298))
|
||||
- Removed known tracking parameter "_bhlid" from URLs. ([#40716](https://github.com/brave/brave-browser/issues/40716))
|
||||
- Removed known tracking parameter "srsltid" from URLs. ([#40912](https://github.com/brave/brave-browser/issues/40912))
|
||||
- [Security] Fixed Reader mode leaking meta data to cross-origin image URLs as reported on HackerOne by newfunction. ([#41444](https://github.com/brave/brave-browser/issues/41444))
|
||||
- Updated Playlist UI. ([#40911](https://github.com/brave/brave-browser/issues/40911))
|
||||
- Fixed crash when requesting media permissions on certain websites. ([#41639](https://github.com/brave/brave-browser/issues/41639))
|
||||
- Fixed crash when loading bundled favicon in certain cases. ([#41697](https://github.com/brave/brave-browser/issues/41697))
|
||||
- Fixed crash in Playlist when deleting offline data. ([#41232](https://github.com/brave/brave-browser/issues/41232))
|
||||
- Fixed crash when loading interstitial pages in certain cases. ([#42162](https://github.com/brave/brave-browser/issues/42162))
|
||||
- Fixed “Refresh your credentials” button not working intermittently for premium users. ([#38086](https://github.com/brave/brave-browser/issues/38086))
|
||||
- Upgraded Chromium to 130.0.6723.116. ([#42088](https://github.com/brave/brave-browser/issues/42088))([Changelog for 130.0.6723.116](https://chromium.googlesource.com/chromium/src/+log/129.0.6668.100..130.0.6723.116?pretty=fuller&n=10000))
|
||||
|
||||
## [1.70.133](https://github.com/brave/brave-browser/releases/tag/v1.70.133)
|
||||
|
||||
- [Security] Added warning message when submitting transactions containing system program instructions as reported on HackerOne by topenga. ([#41820](https://github.com/brave/brave-browser/issues/41820))
|
||||
- Fixed crash when dismissing Brave News opt-in dialog on New Tab Page for iOS 18 users. ([#41858](https://github.com/brave/brave-browser/issues/41858))
|
||||
|
||||
## [1.70.131](https://github.com/brave/brave-browser/releases/tag/v1.70.131)
|
||||
|
||||
### Web3
|
||||
|
||||
- Updated "Confirm Transactions" page to display contract address as hyperlink. ([#39720](https://github.com/brave/brave-browser/issues/39720))
|
||||
|
||||
### General
|
||||
|
||||
- Implemented search for "Content Filtering" settings page. ([#36036](https://github.com/brave/brave-browser/issues/36036))
|
||||
- Added option to force update filter lists in "Content Filtering" settings page. ([#35982](https://github.com/brave/brave-browser/issues/35982))
|
||||
- Added support for Dark Mode and Tinted icons on iOS 18. ([#41088](https://github.com/brave/brave-browser/issues/41088))
|
||||
- Added Leo to the Home Screen shortcuts widget. ([#39886](https://github.com/brave/brave-browser/issues/39886))
|
||||
- Added support for modifying user prompt in Leo. ([#39831](https://github.com/brave/brave-browser/issues/39831))
|
||||
- Added skipping debouncing if canonicalized URL’s hostname doesn’t match unescaped URLs hostname. ([#39866](https://github.com/brave/brave-browser/issues/39866))
|
||||
- Added ability to edit custom search engines after being added in "Search Engines" settings page. ([#39552](https://github.com/brave/brave-browser/issues/39552))
|
||||
- Added DarkReader support when Night Mode is enabled. ([#39786](https://github.com/brave/brave-browser/issues/39786))
|
||||
- Added handling for potential infinite redirect loop with HTTPS upgrades. ([#40346](https://github.com/brave/brave-browser/issues/40346))
|
||||
- Added right-to-left (RTL) language support. ([#40471](https://github.com/brave/brave-browser/issues/40471))
|
||||
- Updated "Manage Website Data" to remove ads data as well when clearing browsing history. ([#39051](https://github.com/brave/brave-browser/issues/39051))
|
||||
- Updated icon for starting a new conversation in Leo. ([#39818](https://github.com/brave/brave-browser/issues/39818))
|
||||
- Updated input box to be in focus when Leo is opened. ([#39858](https://github.com/brave/brave-browser/issues/39858))
|
||||
- Updated copy in Brave Rewards panel for non-connected users. ([#40909](https://github.com/brave/brave-browser/issues/40909))
|
||||
- [Security] Fixed issue with URL formatting as reported in HackerOne by renwa. ([#41716](https://github.com/brave/brave-browser/issues/41716))
|
||||
- [Security] Fixed issue involving interstitial pages not showing deceptive site warning as reported in HackerOne by renwa. ([#41803](https://github.com/brave/brave-browser/issues/41803))
|
||||
- Fixed crash when launching Brave via Home Screen shortcuts widget search button. ([#41457](https://github.com/brave/brave-browser/issues/41457))
|
||||
- Fixed crash when tapping on search icon to open search settings after opening URL bar. ([#39136](https://github.com/brave/brave-browser/issues/39136))
|
||||
- Fixed crash for some users when loading internal pages. ([#41445](https://github.com/brave/brave-browser/issues/41445))
|
||||
- Fixed crash when the block summary pop-up is displayed for Japan users. ([#41443](https://github.com/brave/brave-browser/issues/41443))
|
||||
- Fixed crash in Playlist when saving data offline with internet connection disabled. ([#41388](https://github.com/brave/brave-browser/issues/41388))
|
||||
- Fixed bookmark count to show correctly when adding "Saved Tabs" via tab icon. ([#38340](https://github.com/brave/brave-browser/issues/38340))
|
||||
- Fixed not being able to open links from X app using "Open in Brave" from share menu. ([#41296](https://github.com/brave/brave-browser/issues/41296))
|
||||
- Upgraded Chromium to 129.0.6668.100. ([#41494](https://github.com/brave/brave-browser/issues/41494))([Changelog for 129.0.6668.100](https://chromium.googlesource.com/chromium/src/+log/128.0.6613.138..129.0.6668.100?pretty=fuller&n=10000))
|
||||
|
||||
## [1.69.172](https://github.com/brave/brave-browser/releases/tag/v1.69.172)
|
||||
|
||||
- Fixed content failing to be saved after downloading. ([#41073](https://github.com/brave/brave-browser/issues/41073))
|
||||
|
||||
## [1.69.170](https://github.com/brave/brave-browser/releases/tag/v1.69.170)
|
||||
|
||||
### Web3
|
||||
|
||||
- Enabled Bitcoin by default in Brave Wallet. ([#38775](https://github.com/brave/brave-browser/issues/38775))
|
||||
|
||||
### General
|
||||
|
||||
- Added per-site adblocking in the Brave Shields panel. ([#39573](https://github.com/brave/brave-browser/issues/39573))
|
||||
- Added advanced server selection for Brave VPN. ([#36409](https://github.com/brave/brave-browser/issues/36409))
|
||||
- Added country server details to the VPN “Server Region” page. ([#39824](https://github.com/brave/brave-browser/issues/39824))
|
||||
- Improved standard mode shields logic to allow some ads that were being hidden. ([#40967](https://github.com/brave/brave-browser/issues/40967))
|
||||
- Updated model names in Brave Leo models menu. ([#40464](https://github.com/brave/brave-browser/issues/40464))
|
||||
- Updated adblock-rust to v0.8.11 which applies “removeparam” to document/subdocument/xhr by default. ([#36039](https://github.com/brave/brave-browser/issues/36039))
|
||||
- Updated the Leo input box UI. ([#38960](https://github.com/brave/brave-browser/issues/38960))
|
||||
- Fixed prompt spoofing issue as reported on HackerOne by Imnarendrabhati. ([#40709](https://github.com/brave/brave-browser/issues/40709))
|
||||
- Fixed sandbox iframe configuration vulnerability as reported on HackerOne by imnarendrabhati. ([#40846](https://github.com/brave/brave-browser/issues/40846))
|
||||
- Fixed issues with Requestblockingscript.js which caused some delays in page loading on certain sites. ([#39546](https://github.com/brave/brave-browser/issues/39546))
|
||||
- Upgraded Chromium to 128.0.6613.138. ([#40972](https://github.com/brave/brave-browser/issues/40972))([Changelog for 128.0.6613.138](https://chromium.googlesource.com/chromium/src/+log/127.0.6533.120..128.0.6613.138?pretty=fuller&n=10000))
|
||||
|
||||
## [1.68.145](https://github.com/brave/brave-browser/releases/tag/v1.68.145)
|
||||
|
||||
- Added feature flag for strict mode in HTTPS by Default. ([#40634](https://github.com/brave/brave-browser/issues/40634))
|
||||
- Fixed SSL interstitial pages being displayed incorrectly in certain cases. ([#40617](https://github.com/brave/brave-browser/issues/40617))
|
||||
|
||||
## [1.68.134](https://github.com/brave/brave-browser/releases/tag/v1.68.134)
|
||||
|
||||
### Web3
|
||||
|
||||
- Added the ability to import BTC accounts (BIP84) into Brave Wallet. ([#38546](https://github.com/brave/brave-browser/issues/38546))
|
||||
- Added support to "Send" BTC from iOS. ([#37958](https://github.com/brave/brave-browser/issues/37958))
|
||||
- Updated default account names to differentiate between Filecoin mainnet and testnet accounts. ([#38526](https://github.com/brave/brave-browser/issues/38526))
|
||||
- Updated “Show Zero Balances” button to be always shown on "Select a Token to Send” screen. ([#38452](https://github.com/brave/brave-browser/issues/38452))
|
||||
- Updated network setting to show/hide all networks similar to Brave Wallet on desktop. ([#37741](https://github.com/brave/brave-browser/issues/37741))
|
||||
|
||||
### General
|
||||
|
||||
- Added HTTPS strict mode to “Upgrade Connections to HTTPS” setting in “Brave Shields & Privacy”. ([#36408](https://github.com/brave/brave-browser/issues/36408))
|
||||
- Added transcription support for Jitsi SDK. ([#38368](https://github.com/brave/brave-browser/issues/38368))
|
||||
- Added "Refresh your credentials" button for Leo and VPN if a user has an active subscription purchased on another device. ([#38086](https://github.com/brave/brave-browser/issues/38086))
|
||||
- Added "Claude 3 Haiku" (free) and "Claude 3 Sonnet" (premium) models to the Brave Leo model selection list. ([#37989](https://github.com/brave/brave-browser/issues/37989))
|
||||
- Added ability to use quick actions via "/" under Brave Leo panel. ([#37297](https://github.com/brave/brave-browser/issues/37297))
|
||||
- Added support for conversation API in Leo. ([#39331](https://github.com/brave/brave-browser/issues/39331))
|
||||
- Added UI views to handle premium disconnected states in Leo chat. ([#39231](https://github.com/brave/brave-browser/issues/39231))
|
||||
- Added name indicator beside the avatar for each message in the Leo chat. ([#37793](https://github.com/brave/brave-browser/issues/37793))
|
||||
- Added the ability to close all tabs except active tab using “Close All Other Tabs” in the tab tray context menu. ([#37069](https://github.com/brave/brave-browser/issues/37069))
|
||||
- Implemented blocking non-HTTP/HTTPS URLs from loading when opened via Shortcuts. ([#39836](https://github.com/brave/brave-browser/issues/39836))
|
||||
- Implemented displaying Sync code expiry when showing the pairing codes. ([#38020](https://github.com/brave/brave-browser/issues/38020))
|
||||
- Updated ads service preferences to disable fetching when Brave Rewards/Brave News is disabled. ([#39621](https://github.com/brave/brave-browser/issues/39621))
|
||||
- Updated displaying items on History page by handling certain title cases. ([#39550](https://github.com/brave/brave-browser/issues/39550))
|
||||
- Updated settings icon design in the Leo chat header. ([#39460](https://github.com/brave/brave-browser/issues/39460))
|
||||
- Updated the design for the Leo opt-in notice. ([#38742](https://github.com/brave/brave-browser/issues/38742))
|
||||
- Updated Leo chat prompt to add new line instead of submitting the message when pressing “enter” key. ([#39351](https://github.com/brave/brave-browser/issues/39351))
|
||||
- Updated the title in the Leo chat product header to “Leo AI”. ([#36917](https://github.com/brave/brave-browser/issues/36917))
|
||||
- Fixed issue with Leo chat window being unresponsive after using app switcher while the Leo menu is open. ([#39109](https://github.com/brave/brave-browser/issues/39109))
|
||||
- Fixed buttons not working to dismiss the premium upgrade card in Leo chat. ([#39061](https://github.com/brave/brave-browser/issues/39061))
|
||||
- Fixed a crash when opening CarPlay without a main Brave window open. ([#38612](https://github.com/brave/brave-browser/issues/38612))
|
||||
- Fixed issue with incorrect count being shown when bookmarking all tabs via long pressing on tab tray icon. ([#38340](https://github.com/brave/brave-browser/issues/38340)
|
||||
- Fixed issue with tabs bar showing multiple active tabs at once. ([#36102](https://github.com/brave/brave-browser/issues/36102))
|
||||
- Fixed issue with the ‘X’ button being grayed out in the current active bar after closing previous active tab. ([#37064](https://github.com/brave/brave-browser/issues/37064))
|
||||
|
||||
## [1.67.127](https://github.com/brave/brave-browser/releases/tag/v1.67.127)
|
||||
|
||||
### Web3
|
||||
|
||||
- Added support for retrying transactions on the Solana network. ([#37443](https://github.com/brave/brave-browser/issues/37443))
|
||||
- Removed “Brave Fee” for all “Swap” transactions in Brave Wallet. ([#38566](https://github.com/brave/brave-browser/issues/38566))
|
||||
- Updated token price rounding to more accurate decimal values for smaller balances. ([#36163](https://github.com/brave/brave-browser/issues/36163))
|
||||
|
||||
### General
|
||||
|
||||
- Added the ability for navigation history URLs to be opened in a new tab or in a new private tab via the context menu. ([#36988](https://github.com/brave/brave-browser/issues/36988))
|
||||
- Updated default search engine to Brave Search for new installations in Italy. ([#38192](https://github.com/brave/brave-browser/issues/38192))
|
||||
- Updated Leo defaults by deprecating Claude Instant in favor of Claude Haiku. ([#37988](https://github.com/brave/brave-browser/issues/37988))
|
||||
- Updated labeling on certain language models listed in Brave Leo. ([#35611](https://github.com/brave/brave-browser/issues/35611))
|
||||
- Fixed an issue with the Reddit redirect feature redirecting users incorrectly when using shortened Reddit links from third-party apps. ([#36122](https://github.com/brave/brave-browser/issues/36122))
|
||||
- Fixed an issue with the URL bar connection state showing insecure connection during a network change. ([#38671](https://github.com/brave/brave-browser/issues/38671))
|
||||
- Upgraded Chromium to 126.0.6478.126. ([#39329](https://github.com/brave/brave-browser/issues/39329))([Changelog for 126.0.6478.126](https://chromium.googlesource.com/chromium/src/+log/126.0.6478.114..126.0.6478.126?pretty=fuller&n=1000))
|
||||
|
||||
## [1.66.124](https://github.com/brave/brave-browser/releases/tag/v1.66.124)
|
||||
|
||||
- Fixed memory usage issues for users with large playlists resulting in failures to load Brave. ([#39146](https://github.com/brave/brave-browser/issues/39146))
|
||||
|
||||
## [1.66.123](https://github.com/brave/brave-browser/releases/tag/v1.66.123)
|
||||
|
||||
- Removed “Brave Fee” for all “Swap” transactions in Brave Wallet. ([#38566](https://github.com/brave/brave-browser/issues/38566))
|
||||
- Fixed a crash when dismissing alerts/share sheet menu in certain cases. ([#38651](https://github.com/brave/brave-browser/issues/38651))
|
||||
- Fixed "Add to Calendar" prompt not displaying when invite URLs are pasted into the URL bar or clicked via website links. ([#38548](https://github.com/brave/brave-browser/issues/38548))
|
||||
- Fixed download prompts appearing in certain cases when switching tabs. ([#38551](https://github.com/brave/brave-browser/issues/38551))
|
||||
- Fixed playlist items not deleting after being saved offline. ([#38665](https://github.com/brave/brave-browser/issues/38665))
|
||||
- Upgraded Chromium to 125.0.6422.165. ([#38803](https://github.com/brave/brave-browser/issues/38803)) ([Changelog for 125.0.6422.165](https://chromium.googlesource.com/chromium/src/+log/125.0.6422.147..125.0.6422.165?pretty=fuller&n=1000))
|
||||
|
||||
## [1.66.113](https://github.com/brave/brave-browser/releases/tag/v1.66.113)
|
||||
|
||||
### Web3
|
||||
|
||||
- Added support to Retry, Cancel and Speed Up transactions. ([#36627](https://github.com/brave/brave-browser/issues/36627))
|
||||
- Fixed missing import legacy wallet option when restoring wallet in onboarding. ([#38123](https://github.com/brave/brave-browser/issues/38123))
|
||||
- Fixed inability to add/edit a custom network with chain ID below 16. ([#37863](https://github.com/brave/brave-browser/issues/37863))
|
||||
- Fixed user visible assets to be only shown in Account token list. ([#36806](https://github.com/brave/brave-browser/issues/36806))
|
||||
|
||||
### General
|
||||
|
||||
- Implemented using cached ad-blocking results after changing shields settings. ([#37090](https://github.com/brave/brave-browser/issues/37090))
|
||||
- Implemented New Tab Page (NTP) video ads. ([#36435](https://github.com/brave/brave-browser/issues/36435))
|
||||
- Added Claude 3 Haiku and Claude 3 Sonnet model support for Leo. ([#36802](https://github.com/brave/brave-browser/issues/36802))
|
||||
- Added Brave to be an AutoFill Provider. ([#36028](https://github.com/brave/brave-browser/issues/36028))
|
||||
- Added support for Czech, Slovak, Danish, Finnish, Croatian, Bosnian, Swiss German, Greek and Portuguese variant languages. ([#37637](https://github.com/brave/brave-browser/issues/37637))
|
||||
- Added support for Base64 and Regex (multi) for debouncing. ([#37026](https://github.com/brave/brave-browser/issues/37026))
|
||||
- Added unification for ad-block engines by merging all filter lists. ([#36035](https://github.com/brave/brave-browser/issues/36035))
|
||||
- Added caching for DAT files during launch. ([#36539](https://github.com/brave/brave-browser/issues/36539))
|
||||
- Updated ad-blocking lists to use first party list. ([#35210](https://github.com/brave/brave-browser/issues/35210))
|
||||
- Updated debounce service to use brave-core instead of custom iOS service. ([#36033](https://github.com/brave/brave-browser/issues/36033))
|
||||
- Upgraded Chromium to 125.0.6422.76. ([#38465](https://github.com/brave/brave-browser/issues/38465)) ([Changelog for 125.0.6422.76](https://chromium.googlesource.com/chromium/src/+log/125.0.6422.60..125.0.6422.76?pretty=fuller&n=1000))
|
||||
|
||||
## [1.65.122](https://github.com/brave/brave-browser/releases/tag/v1.65.122)
|
||||
|
||||
### Web3
|
||||
|
||||
- Fixed “Allow Biometrics Toggle” not being updated in Wallet settings. ([#36669](https://github.com/brave/brave-browser/issues/36669))
|
||||
|
||||
### General
|
||||
|
||||
- Added support for Dutch language. ([#36939](https://github.com/brave/brave-browser/issues/36939))
|
||||
- Added support for marketplace URI scheme. ([#37650](https://github.com/brave/brave-browser/issues/37650))
|
||||
- Updated search result attribution to be more unified. ([#33469](https://github.com/brave/brave-browser/issues/33469))
|
||||
- Fixed crash related to quickly opening and closing many tabs. ([#37224](https://github.com/brave/brave-browser/issues/37224))
|
||||
- Fixed crash when quickly closing New Tab Page with sponsored images after its created. ([#36587](https://github.com/brave/brave-browser/issues/36587))
|
||||
- Fixed "page not found" error page being displayed when navigating through content blocked pages. ([#36378](https://github.com/brave/brave-browser/issues/36378))
|
||||
- Upgraded Chromium to 124.0.6367.82. ([#37814](https://github.com/brave/brave-browser/issues/37814)) ([Changelog for 124.0.6367.82](https://chromium.googlesource.com/chromium/src/+log/124.0.6367.60..124.0.6367.82?pretty=fuller&n=1000))
|
||||
|
||||
## [1.64.123](https://github.com/brave/brave-browser/releases/tag/v1.64.123)
|
||||
|
||||
### Web3
|
||||
|
||||
- Implemented caching balances for assets in “Portfolio” page. ([#35986](https://github.com/brave/brave-browser/issues/35986))
|
||||
- Removed decimal values for NFTs on “Send” screen. ([#36771](https://github.com/brave/brave-browser/issues/36771))
|
||||
- Removed “Swap” option from all Filecoin Accounts. ([#37167](https://github.com/brave/brave-browser/issues/37167))
|
||||
|
||||
### General
|
||||
|
||||
- Added support for Catalan language. ([#36261](https://github.com/brave/brave-browser/issues/36261))
|
||||
- Updated “Ask Leo” option in search overlay to be at the bottom. ([#37263](https://github.com/brave/brave-browser/issues/37263))
|
||||
- Fixed URL bar from falsely showing insecure state in some cases. ([#36951](https://github.com/brave/brave-browser/issues/36951))
|
||||
- Fixed a crash when opening “View all version info.” in landscape mode and switching to portrait. ([#36098](https://github.com/brave/brave-browser/issues/36098))
|
||||
- Fixed broken tab bar interaction after it becomes visible. ([#36591](https://github.com/brave/brave-browser/issues/36591))
|
||||
- Fixed YouTube videos from showing a black screen after unlocking the device. ([#36064](https://github.com/brave/brave-browser/issues/36064))
|
||||
- Upgraded Chromium to 123.0.6312.58. ([#36938](https://github.com/brave/brave-browser/issues/36938)) ([Changelog for 123.0.6312.58](https://chromium.googlesource.com/chromium/src/+log/122.0.6261.128..123.0.6312.58?pretty=fuller&n=1000))
|
||||
|
||||
## [1.63.183](https://github.com/brave/brave-browser/releases/tag/v1.63.183)
|
||||
|
||||
### Web3
|
||||
|
||||
- Implemented v2 UI for "Account" details in Brave Wallet. ([#8663](https://github.com/brave/brave-ios/issues/8663))
|
||||
- Implemented v2 UI for “Accounts” tab in Brave Wallet. ([#8600](https://github.com/brave/brave-ios/issues/8600))
|
||||
- Fixed transaction status not updating automatically in "Transaction Details" page. ([#36468](https://github.com/brave/brave-browser/issues/36468))
|
||||
|
||||
### General
|
||||
|
||||
- Added Brave Leo - AI for questions and answers leveraging page context. ([#36585](https://github.com/brave/brave-browser/issues/36585))
|
||||
- Added “Copy Clean Link” to the share menu. ([#8070](https://github.com/brave/brave-ios/issues/8070))
|
||||
- Added interstitial pages when blocking top-level domain pages. ([#8096](https://github.com/brave/brave-ios/issues/8096))
|
||||
- Added “Open in Brave” to iOS Share Sheet menu. ([#8516](https://github.com/brave/brave-ios/issues/8516))
|
||||
- Removed the limit on the number of filter lists that can be selected at once under “Content Filtering” settings page. ([#8656](https://github.com/brave/brave-ios/issues/8656))
|
||||
- Updated “Scan QR Code” to open scanned URLs in a new tab from the "Home Screen" context menu. ([#8594](https://github.com/brave/brave-ios/issues/8594))
|
||||
- Updated Webcompat report to use the site URL instead of using internal://local. ([#8667](https://github.com/brave/brave-ios/issues/8667))
|
||||
- Fixed an issue with muting/unmuting when Brave Talk is minimized. ([#8717](https://github.com/brave/brave-ios/issues/8717))
|
||||
- Fixed an issue with the search suggestions button not updating when pressed in the search field. ([#8630](https://github.com/brave/brave-ios/issues/8630))
|
||||
157
CONTRIBUTING.md
Normal file
157
CONTRIBUTING.md
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
# Contribution guidelines
|
||||
|
||||
Table of contents
|
||||
- [How can you contribute?](#how-can-you-contribute)
|
||||
- [Help triage issues](#help-triage-issues)
|
||||
- [Updating documentation](#updating-documentation)
|
||||
- [Help with translations](#help-with-translations)
|
||||
- [Work on the code](#work-on-the-code)
|
||||
- [Getting started](#getting-started)
|
||||
- [Making changes](#making-changes)
|
||||
- [Pull requests](#pull-requests)
|
||||
- [Considerations before submitting a pull request](#considerations-before-submitting-a-pull-request)
|
||||
- [Each pull request should include](#each-pull-request-should-include)
|
||||
- [Employees should](#employees-should)
|
||||
- [Closing issues](#closing-issues)
|
||||
- [Triage help](#triage-help)
|
||||
|
||||
## How can you contribute?
|
||||
Brave welcomes contributions of all kinds! You can make a huge impact without writing a single line of code
|
||||
|
||||
### Help triage issues
|
||||
One of the easiest ways to help is to [look through our issues tab](https://github.com/brave/brave-browser/issues)
|
||||
* Does the issue still happen? Sometimes we fix the problem and don't always close the issue
|
||||
* Are there clear steps to reproduce the issue? If not, let's find and document some
|
||||
* Is the issue a duplicate? If so, share the issue that is being duplicated in the conversation
|
||||
* See our [Triage Guidelines page](https://github.com/brave/brave-browser/wiki/Triage-Guidelines) for more info about this process
|
||||
* Making sure issues that are fixed have the appropriate milestone set. There may be pull requests fixing the bug on the different product channels and sometimes the issues are forgotten about (and aren't updated)
|
||||
|
||||
### Updating documentation
|
||||
Documentation is extremely important. There are lots of areas we can improve:
|
||||
* Having more clear or up-to-date instructions in the README for both [`brave-browser`](https://github.com/brave/brave-browser/blob/master/README.md) and [`brave-core`](https://github.com/brave/brave-core/blob/master/README.md).
|
||||
* Capturing/updating helpful information [in our wiki](https://github.com/brave/brave-browser/wiki). You'll need to reach out to a Brave team member to request permission - you can do this by creating a new issue or tagging a Brave team member in an existing issue.
|
||||
* Helping to propose a way to bring documentation to other languages. Right now, everything is in English
|
||||
* Improving this document :smile:
|
||||
|
||||
### Help with translations
|
||||
All text being added to Brave is done initially in English (en-US) and then is translated by real people into other languages.
|
||||
We're missing translations for many languages and some translations might be incomplete or poor quality.
|
||||
|
||||
For everything you'd need to get started, check out https://explore.transifex.com/brave/brave_en/ :smile:
|
||||
|
||||
### Work on the code
|
||||
* The [repo's wiki](https://github.com/brave/brave-browser/wiki) has instructions for cloning the repo and getting set up on your platform of choice
|
||||
* Check out the [troubleshooting page](https://github.com/brave/brave-browser/wiki/Troubleshooting) if you get stuck
|
||||
* Once you're up and running, find an interesting issue to fix. Check out issues labelled with [good first issue](https://github.com/brave/brave-browser/labels/good%20first%20issue)
|
||||
- some issues only require knowledge of JavaScript (for example, pages using React and our [Brave UI library](https://github.com/brave/brave-ui))
|
||||
- other issues may require C++ changes in either the Brave code or in Chromium
|
||||
|
||||
## Getting started
|
||||
* Make sure you have a [GitHub account](https://github.com/join).
|
||||
* Submit a [ticket](https://github.com/brave/brave-browser/issues) for your issue if one does not already exist. Please include the Brave version, operating system, and steps to reproduce the issue.
|
||||
* Fork the repository on GitHub (this might be [`brave-browser`](https://github.com/brave/brave-browser), [`brave-core`](https://github.com/brave/brave-core), or both).
|
||||
* For changes to JavaScript files, we recommend installing a [Standard](http://standardjs.com/) plugin for your preferred text editor in order to ensure code style consistency.
|
||||
* For C++ changes, you can consider setting up [clang-format](https://chromium.googlesource.com/chromium/src/+/master/docs/sublime_ide.md#Format-Selection-with-Clang_Format-Chromium-only) for your editor.
|
||||
* For changes which involve patches, please check out our [Patching Chromium](https://github.com/brave/brave-browser/wiki/Patching-Chromium) guide.
|
||||
|
||||
### Making changes
|
||||
Once you've cloned the repo to your computer, you're ready to start making edits!
|
||||
|
||||
Please note that there are two repositories here:
|
||||
* the root project (this repo, [`brave-browser`](https://github.com/brave/brave-browser)), which pulls down all of the Chromium code into `src/`
|
||||
* [`brave-core`](https://github.com/brave/brave-core) is basically a sub-module (repo in a repo) which is located on disk under the root at `src/brave`
|
||||
|
||||
Depending on which you're editing, you'll need to add your fork to the remotes list. By default, `origin` is set to upstream.
|
||||
For example, here's how GitHub user `bsclifton` would add BOTH remotes `brave-browser` and `brave-core`:
|
||||
```sh
|
||||
# root where project is cloned
|
||||
cd ~/brave-browser/
|
||||
git remote add bsclifton git@github.com:bsclifton/brave-browser.git
|
||||
git fetch bsclifton
|
||||
# root for the `brave-core` repo
|
||||
cd src/brave
|
||||
git remote add bsclifton git@github.com:bsclifton/brave-core.git
|
||||
git fetch bsclifton
|
||||
```
|
||||
|
||||
Once you're set up, there are a few tips we can suggest:
|
||||
|
||||
* Make a new branch for your work. It helps to have a descriptive name, like `fix-fullscreen-issue`.
|
||||
* Make commits in logical units. If needed, run `git rebase -i` to squash commits before opening a pull request.
|
||||
* New features and most other pull requests require a new [test](https://github.com/brave/brave-browser/wiki/Tests) to be written before the pull request will be accepted. Some exceptions would be a tweak to an area of code that doesn't have tests yet, text changes, build config changes, things that can't be tested due to test suite limitations, etc.
|
||||
* Use GitHub [auto-closing keywords](https://help.github.com/articles/closing-issues-via-commit-messages/) in the commit message, and make the commit message body as descriptive as necessary. Ex:
|
||||
|
||||
````
|
||||
Add contributing guide
|
||||
|
||||
This is a first pass at a contributor's guide so now people will know how to
|
||||
get pull requests accepted faster.
|
||||
|
||||
Fix https://github.com/brave/brave-browser/issues/108
|
||||
````
|
||||
|
||||
* Run the tests by running `npm run test brave_unit_tests` and `npm run test brave_browser_tests`
|
||||
* JavaScript unit tests can be run from the `src/brave` directory using `npm run test-unit`
|
||||
|
||||
|
||||
### Keeping your fork up to sync
|
||||
- Both `brave-browser` and `brave-core` clone themselves with the remote `origin` being upstream, so you can update either using `git pull`.
|
||||
- Once `origin` is fetched, you can rebase your `master` branch against `origin/master`
|
||||
```sh
|
||||
git fetch origin
|
||||
git fetch bsclifton
|
||||
git checkout -b fork_master bsclifton/master
|
||||
git rebase origin/master
|
||||
git push bsclifton fork_master:master
|
||||
```
|
||||
|
||||
An easier strategy might be to keep `origin` in sync and then create branches based on that (and push those to your fork).
|
||||
|
||||
|
||||
### Pull requests
|
||||
After the changes are made in your branch, you're ready to submit a patch. Patches on GitHub are submitted in the format of a pull request.
|
||||
|
||||
#### Considerations before submitting a pull request
|
||||
Some helpful things to consider before submitting your work
|
||||
* Did you manually test your new change?
|
||||
* Does your pull request fix multiple issues? If so, you may consider breaking into separate pull requests.
|
||||
* Did you include tests? (we currently have unit tests, browser tests, and JavaScript unit tests)
|
||||
* If you made a design or layout change, was there a mock-up provided? Do your changes match it?
|
||||
* If your change affects session or preferences, did you include steps to test? You may also consider manually testing an upgrade.
|
||||
|
||||
#### Each pull request should include
|
||||
* a descriptive title; this gets used in the release notes ([desktop](https://github.com/brave/brave-browser/blob/master/CHANGELOG_DESKTOP.md) or [android](https://github.com/brave/brave-browser/blob/master/CHANGELOG_ANDROID.md))
|
||||
* a short summary of the changes
|
||||
* a reference to the issue that it fixes
|
||||
* steps to test the fix (if applicable)
|
||||
* for design-related changes, it is helpful to include screenshots
|
||||
|
||||
Once you submit a pull request, you should tag reviewers and add labels if needed. If you do not have the necessary GitHub permissions to do so, a Brave member will take care of this for you.
|
||||
|
||||
#### Employees should
|
||||
* Ensure the owner is tagged using the `Assignees` field
|
||||
* Ensure at least one other employee or contributor is tagged using the `Reviewers` field
|
||||
* Go through the checklist that's provided in the pull request template and check the appropriate boxes
|
||||
|
||||
### Closing issues
|
||||
|
||||
* Issues should be assigned the milestone when the PR is merged (and the fix is landed in Nightly aka master).
|
||||
* Some issues may need to be uplifted to other channels (Dev / Beta / Release). Please see our notes on [uplifting a pull request](https://github.com/brave/brave-browser/wiki/Uplifting-a-pull-request).
|
||||
* If an issue is closed without a fix, because it was a duplicate, or perhaps it was invalid, then any milestone markers should be removed.
|
||||
* If a bug is not fully fixed after its issue is closed, open a new issue instead of re-opening the existing one (unless the code has been reverted).
|
||||
|
||||
### Triage help
|
||||
|
||||
* Invalid bugs should be closed, tagged with invalid, or a comment should be added indicating that they should if you do not have permission.
|
||||
* Asking for more detail in an issue when it is needed is helpful.
|
||||
* Adding applicable labels to an issue is helpful.
|
||||
* Adding and finding duplicates, and linking them together is helpful.
|
||||
* Creating tracking issues for an area of work with multiple related issues is helpful.
|
||||
* Calling out things which seem important for extra attention is helpful.
|
||||
* Improving steps to reproduce is helpful.
|
||||
* Testing and adding a comment with "Could not reproduce" if an issue seems obscure is helpful.
|
||||
* Testing open pull requests.
|
||||
* You can be granted write permission if you've helped a lot with triage by pinging @bbondy, @bsclifton, @kjozwiak, or another Brave team member.
|
||||
* Helping make sure issues have a clear and understandable name (ex: not something like "Brave is broken").
|
||||
* The first comment in an issue ideally would have a clear description of the issue and describe the impact to users. Asking folks for screenshots, steps to reproduce, and more information is highly recommended so that the issue is as clear as possible.
|
||||
* If the issue is a duplicate, please let the issue creator know in a polite way how they can follow and track progress of the parent issue (including an ETA if it's marked with a milestone).
|
||||
373
LICENSE
Normal file
373
LICENSE
Normal file
|
|
@ -0,0 +1,373 @@
|
|||
Mozilla Public License Version 2.0
|
||||
==================================
|
||||
|
||||
1. Definitions
|
||||
--------------
|
||||
|
||||
1.1. "Contributor"
|
||||
means each individual or legal entity that creates, contributes to
|
||||
the creation of, or owns Covered Software.
|
||||
|
||||
1.2. "Contributor Version"
|
||||
means the combination of the Contributions of others (if any) used
|
||||
by a Contributor and that particular Contributor's Contribution.
|
||||
|
||||
1.3. "Contribution"
|
||||
means Covered Software of a particular Contributor.
|
||||
|
||||
1.4. "Covered Software"
|
||||
means Source Code Form to which the initial Contributor has attached
|
||||
the notice in Exhibit A, the Executable Form of such Source Code
|
||||
Form, and Modifications of such Source Code Form, in each case
|
||||
including portions thereof.
|
||||
|
||||
1.5. "Incompatible With Secondary Licenses"
|
||||
means
|
||||
|
||||
(a) that the initial Contributor has attached the notice described
|
||||
in Exhibit B to the Covered Software; or
|
||||
|
||||
(b) that the Covered Software was made available under the terms of
|
||||
version 1.1 or earlier of the License, but not also under the
|
||||
terms of a Secondary License.
|
||||
|
||||
1.6. "Executable Form"
|
||||
means any form of the work other than Source Code Form.
|
||||
|
||||
1.7. "Larger Work"
|
||||
means a work that combines Covered Software with other material, in
|
||||
a separate file or files, that is not Covered Software.
|
||||
|
||||
1.8. "License"
|
||||
means this document.
|
||||
|
||||
1.9. "Licensable"
|
||||
means having the right to grant, to the maximum extent possible,
|
||||
whether at the time of the initial grant or subsequently, any and
|
||||
all of the rights conveyed by this License.
|
||||
|
||||
1.10. "Modifications"
|
||||
means any of the following:
|
||||
|
||||
(a) any file in Source Code Form that results from an addition to,
|
||||
deletion from, or modification of the contents of Covered
|
||||
Software; or
|
||||
|
||||
(b) any new file in Source Code Form that contains any Covered
|
||||
Software.
|
||||
|
||||
1.11. "Patent Claims" of a Contributor
|
||||
means any patent claim(s), including without limitation, method,
|
||||
process, and apparatus claims, in any patent Licensable by such
|
||||
Contributor that would be infringed, but for the grant of the
|
||||
License, by the making, using, selling, offering for sale, having
|
||||
made, import, or transfer of either its Contributions or its
|
||||
Contributor Version.
|
||||
|
||||
1.12. "Secondary License"
|
||||
means either the GNU General Public License, Version 2.0, the GNU
|
||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
||||
Public License, Version 3.0, or any later versions of those
|
||||
licenses.
|
||||
|
||||
1.13. "Source Code Form"
|
||||
means the form of the work preferred for making modifications.
|
||||
|
||||
1.14. "You" (or "Your")
|
||||
means an individual or a legal entity exercising rights under this
|
||||
License. For legal entities, "You" includes any entity that
|
||||
controls, is controlled by, or is under common control with You. For
|
||||
purposes of this definition, "control" means (a) the power, direct
|
||||
or indirect, to cause the direction or management of such entity,
|
||||
whether by contract or otherwise, or (b) ownership of more than
|
||||
fifty percent (50%) of the outstanding shares or beneficial
|
||||
ownership of such entity.
|
||||
|
||||
2. License Grants and Conditions
|
||||
--------------------------------
|
||||
|
||||
2.1. Grants
|
||||
|
||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
||||
non-exclusive license:
|
||||
|
||||
(a) under intellectual property rights (other than patent or trademark)
|
||||
Licensable by such Contributor to use, reproduce, make available,
|
||||
modify, display, perform, distribute, and otherwise exploit its
|
||||
Contributions, either on an unmodified basis, with Modifications, or
|
||||
as part of a Larger Work; and
|
||||
|
||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
||||
for sale, have made, import, and otherwise transfer either its
|
||||
Contributions or its Contributor Version.
|
||||
|
||||
2.2. Effective Date
|
||||
|
||||
The licenses granted in Section 2.1 with respect to any Contribution
|
||||
become effective for each Contribution on the date the Contributor first
|
||||
distributes such Contribution.
|
||||
|
||||
2.3. Limitations on Grant Scope
|
||||
|
||||
The licenses granted in this Section 2 are the only rights granted under
|
||||
this License. No additional rights or licenses will be implied from the
|
||||
distribution or licensing of Covered Software under this License.
|
||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
||||
Contributor:
|
||||
|
||||
(a) for any code that a Contributor has removed from Covered Software;
|
||||
or
|
||||
|
||||
(b) for infringements caused by: (i) Your and any other third party's
|
||||
modifications of Covered Software, or (ii) the combination of its
|
||||
Contributions with other software (except as part of its Contributor
|
||||
Version); or
|
||||
|
||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
||||
its Contributions.
|
||||
|
||||
This License does not grant any rights in the trademarks, service marks,
|
||||
or logos of any Contributor (except as may be necessary to comply with
|
||||
the notice requirements in Section 3.4).
|
||||
|
||||
2.4. Subsequent Licenses
|
||||
|
||||
No Contributor makes additional grants as a result of Your choice to
|
||||
distribute the Covered Software under a subsequent version of this
|
||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
||||
permitted under the terms of Section 3.3).
|
||||
|
||||
2.5. Representation
|
||||
|
||||
Each Contributor represents that the Contributor believes its
|
||||
Contributions are its original creation(s) or it has sufficient rights
|
||||
to grant the rights to its Contributions conveyed by this License.
|
||||
|
||||
2.6. Fair Use
|
||||
|
||||
This License is not intended to limit any rights You have under
|
||||
applicable copyright doctrines of fair use, fair dealing, or other
|
||||
equivalents.
|
||||
|
||||
2.7. Conditions
|
||||
|
||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
||||
in Section 2.1.
|
||||
|
||||
3. Responsibilities
|
||||
-------------------
|
||||
|
||||
3.1. Distribution of Source Form
|
||||
|
||||
All distribution of Covered Software in Source Code Form, including any
|
||||
Modifications that You create or to which You contribute, must be under
|
||||
the terms of this License. You must inform recipients that the Source
|
||||
Code Form of the Covered Software is governed by the terms of this
|
||||
License, and how they can obtain a copy of this License. You may not
|
||||
attempt to alter or restrict the recipients' rights in the Source Code
|
||||
Form.
|
||||
|
||||
3.2. Distribution of Executable Form
|
||||
|
||||
If You distribute Covered Software in Executable Form then:
|
||||
|
||||
(a) such Covered Software must also be made available in Source Code
|
||||
Form, as described in Section 3.1, and You must inform recipients of
|
||||
the Executable Form how they can obtain a copy of such Source Code
|
||||
Form by reasonable means in a timely manner, at a charge no more
|
||||
than the cost of distribution to the recipient; and
|
||||
|
||||
(b) You may distribute such Executable Form under the terms of this
|
||||
License, or sublicense it under different terms, provided that the
|
||||
license for the Executable Form does not attempt to limit or alter
|
||||
the recipients' rights in the Source Code Form under this License.
|
||||
|
||||
3.3. Distribution of a Larger Work
|
||||
|
||||
You may create and distribute a Larger Work under terms of Your choice,
|
||||
provided that You also comply with the requirements of this License for
|
||||
the Covered Software. If the Larger Work is a combination of Covered
|
||||
Software with a work governed by one or more Secondary Licenses, and the
|
||||
Covered Software is not Incompatible With Secondary Licenses, this
|
||||
License permits You to additionally distribute such Covered Software
|
||||
under the terms of such Secondary License(s), so that the recipient of
|
||||
the Larger Work may, at their option, further distribute the Covered
|
||||
Software under the terms of either this License or such Secondary
|
||||
License(s).
|
||||
|
||||
3.4. Notices
|
||||
|
||||
You may not remove or alter the substance of any license notices
|
||||
(including copyright notices, patent notices, disclaimers of warranty,
|
||||
or limitations of liability) contained within the Source Code Form of
|
||||
the Covered Software, except that You may alter any license notices to
|
||||
the extent required to remedy known factual inaccuracies.
|
||||
|
||||
3.5. Application of Additional Terms
|
||||
|
||||
You may choose to offer, and to charge a fee for, warranty, support,
|
||||
indemnity or liability obligations to one or more recipients of Covered
|
||||
Software. However, You may do so only on Your own behalf, and not on
|
||||
behalf of any Contributor. You must make it absolutely clear that any
|
||||
such warranty, support, indemnity, or liability obligation is offered by
|
||||
You alone, and You hereby agree to indemnify every Contributor for any
|
||||
liability incurred by such Contributor as a result of warranty, support,
|
||||
indemnity or liability terms You offer. You may include additional
|
||||
disclaimers of warranty and limitations of liability specific to any
|
||||
jurisdiction.
|
||||
|
||||
4. Inability to Comply Due to Statute or Regulation
|
||||
---------------------------------------------------
|
||||
|
||||
If it is impossible for You to comply with any of the terms of this
|
||||
License with respect to some or all of the Covered Software due to
|
||||
statute, judicial order, or regulation then You must: (a) comply with
|
||||
the terms of this License to the maximum extent possible; and (b)
|
||||
describe the limitations and the code they affect. Such description must
|
||||
be placed in a text file included with all distributions of the Covered
|
||||
Software under this License. Except to the extent prohibited by statute
|
||||
or regulation, such description must be sufficiently detailed for a
|
||||
recipient of ordinary skill to be able to understand it.
|
||||
|
||||
5. Termination
|
||||
--------------
|
||||
|
||||
5.1. The rights granted under this License will terminate automatically
|
||||
if You fail to comply with any of its terms. However, if You become
|
||||
compliant, then the rights granted under this License from a particular
|
||||
Contributor are reinstated (a) provisionally, unless and until such
|
||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
||||
ongoing basis, if such Contributor fails to notify You of the
|
||||
non-compliance by some reasonable means prior to 60 days after You have
|
||||
come back into compliance. Moreover, Your grants from a particular
|
||||
Contributor are reinstated on an ongoing basis if such Contributor
|
||||
notifies You of the non-compliance by some reasonable means, this is the
|
||||
first time You have received notice of non-compliance with this License
|
||||
from such Contributor, and You become compliant prior to 30 days after
|
||||
Your receipt of the notice.
|
||||
|
||||
5.2. If You initiate litigation against any entity by asserting a patent
|
||||
infringement claim (excluding declaratory judgment actions,
|
||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
||||
directly or indirectly infringes any patent, then the rights granted to
|
||||
You by any and all Contributors for the Covered Software under Section
|
||||
2.1 of this License shall terminate.
|
||||
|
||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
||||
end user license agreements (excluding distributors and resellers) which
|
||||
have been validly granted by You or Your distributors under this License
|
||||
prior to termination shall survive termination.
|
||||
|
||||
************************************************************************
|
||||
* *
|
||||
* 6. Disclaimer of Warranty *
|
||||
* ------------------------- *
|
||||
* *
|
||||
* Covered Software is provided under this License on an "as is" *
|
||||
* basis, without warranty of any kind, either expressed, implied, or *
|
||||
* statutory, including, without limitation, warranties that the *
|
||||
* Covered Software is free of defects, merchantable, fit for a *
|
||||
* particular purpose or non-infringing. The entire risk as to the *
|
||||
* quality and performance of the Covered Software is with You. *
|
||||
* Should any Covered Software prove defective in any respect, You *
|
||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
||||
* essential part of this License. No use of any Covered Software is *
|
||||
* authorized under this License except under this disclaimer. *
|
||||
* *
|
||||
************************************************************************
|
||||
|
||||
************************************************************************
|
||||
* *
|
||||
* 7. Limitation of Liability *
|
||||
* -------------------------- *
|
||||
* *
|
||||
* Under no circumstances and under no legal theory, whether tort *
|
||||
* (including negligence), contract, or otherwise, shall any *
|
||||
* Contributor, or anyone who distributes Covered Software as *
|
||||
* permitted above, be liable to You for any direct, indirect, *
|
||||
* special, incidental, or consequential damages of any character *
|
||||
* including, without limitation, damages for lost profits, loss of *
|
||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
||||
* and all other commercial damages or losses, even if such party *
|
||||
* shall have been informed of the possibility of such damages. This *
|
||||
* limitation of liability shall not apply to liability for death or *
|
||||
* personal injury resulting from such party's negligence to the *
|
||||
* extent applicable law prohibits such limitation. Some *
|
||||
* jurisdictions do not allow the exclusion or limitation of *
|
||||
* incidental or consequential damages, so this exclusion and *
|
||||
* limitation may not apply to You. *
|
||||
* *
|
||||
************************************************************************
|
||||
|
||||
8. Litigation
|
||||
-------------
|
||||
|
||||
Any litigation relating to this License may be brought only in the
|
||||
courts of a jurisdiction where the defendant maintains its principal
|
||||
place of business and such litigation shall be governed by laws of that
|
||||
jurisdiction, without reference to its conflict-of-law provisions.
|
||||
Nothing in this Section shall prevent a party's ability to bring
|
||||
cross-claims or counter-claims.
|
||||
|
||||
9. Miscellaneous
|
||||
----------------
|
||||
|
||||
This License represents the complete agreement concerning the subject
|
||||
matter hereof. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent
|
||||
necessary to make it enforceable. Any law or regulation which provides
|
||||
that the language of a contract shall be construed against the drafter
|
||||
shall not be used to construe this License against a Contributor.
|
||||
|
||||
10. Versions of the License
|
||||
---------------------------
|
||||
|
||||
10.1. New Versions
|
||||
|
||||
Mozilla Foundation is the license steward. Except as provided in Section
|
||||
10.3, no one other than the license steward has the right to modify or
|
||||
publish new versions of this License. Each version will be given a
|
||||
distinguishing version number.
|
||||
|
||||
10.2. Effect of New Versions
|
||||
|
||||
You may distribute the Covered Software under the terms of the version
|
||||
of the License under which You originally received the Covered Software,
|
||||
or under the terms of any subsequent version published by the license
|
||||
steward.
|
||||
|
||||
10.3. Modified Versions
|
||||
|
||||
If you create software not governed by this License, and you want to
|
||||
create a new license for such software, you may create and use a
|
||||
modified version of this License if you rename the license and remove
|
||||
any references to the name of the license steward (except to note that
|
||||
such modified license differs from this License).
|
||||
|
||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
||||
Licenses
|
||||
|
||||
If You choose to distribute Source Code Form that is Incompatible With
|
||||
Secondary Licenses under the terms of this version of the License, the
|
||||
notice described in Exhibit B of this License must be attached.
|
||||
|
||||
Exhibit A - Source Code Form License Notice
|
||||
-------------------------------------------
|
||||
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
|
||||
If it is not possible or desirable to put the notice in a particular
|
||||
file, then You may include the notice in a location (such as a LICENSE
|
||||
file in a relevant directory) where a recipient would be likely to look
|
||||
for such a notice.
|
||||
|
||||
You may add additional accurate notices of copyright ownership.
|
||||
|
||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
||||
---------------------------------------------------------
|
||||
|
||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||
defined by the Mozilla Public License, v. 2.0.
|
||||
194
README.md
194
README.md
|
|
@ -1,2 +1,194 @@
|
|||
# brave-android
|
||||

|
||||
|
||||
## Overview
|
||||
|
||||
This repository holds the build tools needed to build the Brave desktop browser for macOS, Windows, and Linux. In particular, it fetches and syncs code from the projects defined in `package.json` and `src/brave/DEPS`:
|
||||
|
||||
- [Chromium](https://chromium.googlesource.com/chromium/src.git)
|
||||
- Fetches code via `depot_tools`.
|
||||
- Sets the branch for Chromium (ex: 65.0.3325.181).
|
||||
- [brave-core](https://github.com/brave/brave-core)
|
||||
- Mounted at `src/brave`.
|
||||
- Maintains patches for 3rd party Chromium code.
|
||||
- [adblock-rust](https://github.com/brave/adblock-rust)
|
||||
- Implements Brave's ad-block engine.
|
||||
- Linked through [brave/adblock-rust-ffi](https://github.com/brave/brave-core/tree/master/components/adblock_rust_ffi).
|
||||
|
||||
## Downloads
|
||||
|
||||
You can [visit our website](https://brave.com/download) to get the latest stable release.
|
||||
|
||||
## Contributing
|
||||
|
||||
Please see the [contributing guidelines](./CONTRIBUTING.md).
|
||||
|
||||
Our [Wiki](https://github.com/brave/brave-browser/wiki) also has some useful technical information.
|
||||
|
||||
## Community
|
||||
|
||||
[Join the Q&A community](https://community.brave.app/) if you'd like to get more involved with Brave. You can [ask for help](https://community.brave.app/c/support-and-troubleshooting),
|
||||
[discuss features you'd like to see](https://community.brave.app/c/brave-feature-requests), and a lot more. We'd love to have your help so that we can continue improving Brave.
|
||||
|
||||
Help us translate Brave to your language by submitting translations at https://explore.transifex.com/brave/brave_en/.
|
||||
|
||||
Follow [@brave](https://x.com/brave) on X for important news and announcements.
|
||||
|
||||
## Install prerequisites
|
||||
|
||||
Follow the instructions for your platform:
|
||||
|
||||
- [macOS](https://github.com/brave/brave-browser/wiki/macOS-Development-Environment)
|
||||
- [iOS](https://github.com/brave/brave-browser/wiki/iOS-Development-Environment)
|
||||
- [Windows](https://github.com/brave/brave-browser/wiki/Windows-Development-Environment)
|
||||
- [Linux](https://github.com/brave/brave-browser/wiki/Linux-Development-Environment)
|
||||
- [Android](https://github.com/brave/brave-browser/wiki/Android-Development-Environment)
|
||||
|
||||
## Clone and initialize the repo
|
||||
|
||||
Once you have the prerequisites installed, you can get the code and initialize the build environment.
|
||||
|
||||
```bash
|
||||
git clone git@github.com:brave/brave-core.git path-to-your-project-folder/src/brave
|
||||
cd path-to-your-project-folder/src/brave
|
||||
npm install
|
||||
|
||||
# the Chromium source is downloaded, which has a large history (gigabytes of data)
|
||||
# this might take really long to finish depending on internet speed
|
||||
|
||||
npm run init
|
||||
```
|
||||
brave-core based android builds should use `npm run init -- --target_os=android --target_arch=arm` (or whichever CPU type you want to build for)
|
||||
brave-core based iOS builds should use `npm run init -- --target_os=ios`
|
||||
|
||||
You can also set the target_os and target_arch for init and build using:
|
||||
|
||||
```
|
||||
npm config set target_os android
|
||||
npm config set target_arch arm
|
||||
```
|
||||
|
||||
Additional parameters needed to build are documented at https://github.com/brave/brave-browser/wiki/Build-configuration
|
||||
|
||||
Internal developers can find more information at https://github.com/brave/devops/wiki/%60.env%60-config-for-Brave-Developers
|
||||
|
||||
## Build Brave
|
||||
The default build type is component.
|
||||
|
||||
```
|
||||
# start the component build compile
|
||||
npm run build
|
||||
```
|
||||
|
||||
To do a release build:
|
||||
|
||||
```
|
||||
# start the release compile
|
||||
npm run build Release
|
||||
```
|
||||
|
||||
brave-core based android builds should use `npm run build -- --target_os=android --target_arch=arm` or set the npm config variables as specified above for `init`
|
||||
|
||||
brave-core based iOS builds should use the Xcode project found in `ios/brave-ios/App`. You can open this project directly or run `npm run ios_bootstrap -- --open_xcodeproj` to have it opened in Xcode. See the [iOS Developer Environment](https://github.com/brave/brave-browser/wiki/iOS-Development-Environment#Building) for more information on iOS builds.
|
||||
|
||||
### Build Configurations
|
||||
|
||||
Running a release build with `npm run build Release` can be very slow and use a lot of RAM, especially on Linux with the Gold LLVM plugin.
|
||||
|
||||
To run a statically linked build (takes longer to build, but starts faster):
|
||||
|
||||
```bash
|
||||
npm run build -- Static
|
||||
```
|
||||
|
||||
To run a debug build (Component build with is_debug=true):
|
||||
|
||||
```bash
|
||||
npm run build -- Debug
|
||||
```
|
||||
NOTE: the build will take a while to complete. Depending on your processor and memory, it could potentially take a few hours.
|
||||
|
||||
## Run Brave
|
||||
To start the build:
|
||||
|
||||
`npm start [Release|Component|Static|Debug]`
|
||||
|
||||
# Update Brave
|
||||
|
||||
`npm run sync -- [--force] [--init] [--create] [brave_core_ref]`
|
||||
|
||||
**This will attempt to stash your local changes in brave-core, but it's safer to commit local changes before running this**
|
||||
|
||||
`npm run sync` will (depending on the below flags):
|
||||
|
||||
1. 📥 Update sub-projects (chromium, brave-core) to latest commit of a git ref (e.g. tag or branch)
|
||||
2. 🤕 Apply patches
|
||||
3. 🔄 Update gclient DEPS dependencies
|
||||
4. ⏩ Run hooks (e.g. to perform `npm install` on child projects)
|
||||
|
||||
| flag | Description |
|
||||
|---|---|
|
||||
|`[no flags]`|updates chromium if needed and re-applies patches. If the chromium version did not change, it will only re-apply patches that have changed. Will update child dependencies **only if any project needed updating during this script run**. <br> **Use this if you want the script to manage keeping you up to date instead of pulling or switching branches manually. **|
|
||||
|`--force`|updates both _Chromium_ and _brave-core_ to the latest remote commit for the current brave-core branch and the _Chromium_ ref specified in brave-browser/package.json (e.g. `master` or `74.0.0.103`). Will re-apply all patches. Will force update all child dependencies. <br> **Use this if you're having trouble and want to force the branches back to a known state. **|
|
||||
|`--init`|force update both _Chromium_ and _brave-core_ to the versions specified in brave-browser/package.json and force updates all dependent repos - same as `npm run init`|
|
||||
|`--sync_chromium (true/false)`|Will force or skip the chromium version update when applicable. Useful if you want to avoid a minor update when not ready for the larger build time a chromium update may result in. A warning will be output about the current code state expecting a different chromium version. Your build may fail as a result.|
|
||||
|`-D, --delete_unused_deps`|Will delete from the working copy any dependencies that have been removed since the last sync. Mimics `gclient sync -D`.|
|
||||
|
||||
Run `npm run sync brave_core_ref` to checkout the specified _brave-core_ ref and update all dependent repos including chromium if needed.
|
||||
|
||||
## Scenarios
|
||||
|
||||
#### Create a new branch:
|
||||
```bash
|
||||
brave-browser> cd src/brave
|
||||
brave-browser/src/brave> git checkout -b branch_name
|
||||
```
|
||||
|
||||
#### Checkout an existing branch or tag:
|
||||
```bash
|
||||
brave-browser/src/brave> git fetch origin
|
||||
brave-browser/src/brave> git checkout [-b] branch_name
|
||||
brave-browser/src/brave> npm run sync
|
||||
...Updating 2 patches...
|
||||
...Updating child dependencies...
|
||||
...Running hooks...
|
||||
```
|
||||
|
||||
#### Update the current branch to the latest remote:
|
||||
```bash
|
||||
brave-browser/src/brave> git pull
|
||||
brave-browser/src/brave> npm run sync
|
||||
...Updating 2 patches...
|
||||
...Updating child dependencies...
|
||||
...Running hooks...
|
||||
```
|
||||
|
||||
#### Reset to latest brave-browser master and brave-core master (via `init`, will always result in a longer build and will remove any pending changes in your brave-core working directory):
|
||||
```bash
|
||||
brave-browser> git checkout master
|
||||
brave-browser> git pull
|
||||
brave-browser> npm run sync -- --init
|
||||
```
|
||||
|
||||
#### When you know that DEPS didn't change, but .patch files did (quickest attempt to perform a mini-sync before a build):
|
||||
```bash
|
||||
brave-browser/src/brave> git checkout featureB
|
||||
brave-browser/src/brave> git pull
|
||||
brave-browser/src/brave> cd ../..
|
||||
brave-browser> npm run apply_patches
|
||||
...Applying 2 patches...
|
||||
```
|
||||
|
||||
# Enabling third-party APIs:
|
||||
|
||||
1. **Google Safe Browsing**: Get an API key with SafeBrowsing API enabled from https://console.developers.google.com/. Update the `GOOGLE_API_KEY` environment variable with your key as per https://www.chromium.org/developers/how-tos/api-keys to enable Google SafeBrowsing.
|
||||
|
||||
# Development
|
||||
|
||||
- [Security rules from Chromium](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/security/rules.md)
|
||||
- [IPC review guidelines](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/security/ipc-reviews.md) (in particular [this reference](https://docs.google.com/document/d/1Kw4aTuISF7csHnjOpDJGc7JYIjlvOAKRprCTBVWw_E4/edit#heading=h.84bpc1e9z1bg))
|
||||
- [Brave's internal security guidelines](https://github.com/brave/internal/wiki/Pull-request-security-audit-checklist) (for employees only)
|
||||
- [Rust usage](https://github.com/brave/brave-core/blob/master/docs/rust.md)
|
||||
|
||||
# Troubleshooting
|
||||
|
||||
See [Troubleshooting](https://github.com/brave/brave-browser/wiki/Troubleshooting) for solutions to common problems.
|
||||
|
|
|
|||
9
SECURITY.md
Normal file
9
SECURITY.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
All versions including and above the current stable release version number (the version downloadable on https://brave.com/download).
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
See https://hackerone.com/brave for details.
|
||||
30
docs/source/_static/Brave.svg
Normal file
30
docs/source/_static/Brave.svg
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<svg width="2062" height="659" viewBox="0 0 2062 659" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_20921_1659)">
|
||||
<path d="M2062 0H0V659H2062V0Z" fill="#F0F0F4"/>
|
||||
<g opacity="0.7">
|
||||
<path d="M151.112 129.268C175.931 116.186 204.305 109.645 236.164 109.645C273.285 109.645 306.851 118.816 336.861 137.089C366.871 155.362 390.694 181.384 408.188 215.086C425.682 248.787 434.429 287.821 434.429 332.258C434.429 376.695 425.682 416.014 408.188 450.213C390.694 484.412 366.871 510.932 336.861 529.773C306.78 548.615 273.214 558 236.164 558C203.736 558 175.433 551.601 151.112 538.803C126.792 526.005 107.306 509.439 92.7282 489.033L92.7282 550.961L-17 550.961L-17 -29L92.7282 -29L92.7282 180.247C106.809 159.343 126.294 142.35 151.112 129.339L151.112 129.268ZM306.353 264.5C295.615 245.445 281.535 230.941 264.041 220.987C246.547 211.033 227.559 206.127 207.221 206.127C186.883 206.127 168.677 211.246 151.184 221.413C133.69 231.581 119.538 246.369 108.871 265.709C98.1329 285.048 92.7993 307.8 92.7993 333.893C92.7993 359.987 98.1329 382.739 108.871 402.078C119.609 421.417 133.69 436.135 151.184 446.373C168.677 456.54 187.38 461.66 207.221 461.66C227.062 461.66 246.547 456.469 264.041 446.018C281.535 435.566 295.686 420.706 306.353 401.367C317.091 382.028 322.425 359.063 322.425 332.4C322.425 305.738 317.091 283.697 306.353 264.642L306.353 264.5Z" fill="#E7E7EC"/>
|
||||
<path d="M632.409 130.05C655.165 116.968 681.122 110.427 710.421 110.427L710.421 225.608L681.406 225.608C646.916 225.608 620.889 233.714 603.395 249.924C585.901 266.135 577.154 294.362 577.154 334.533L577.154 550.819L467.426 550.819L467.426 116.683L577.154 116.683L577.154 184.086C591.234 161.121 609.653 143.061 632.409 129.979L632.409 130.05Z" fill="#E7E7EC"/>
|
||||
<path d="M750.742 215.512C768.236 181.527 791.988 155.433 822.069 137.16C852.079 118.888 885.715 109.716 922.765 109.716C955.193 109.716 983.496 116.257 1007.82 129.339C1032.14 142.422 1051.55 158.846 1066.2 178.683L1066.2 116.755L1176.71 116.755L1176.71 550.89L1066.2 550.89L1066.2 487.398C1052.12 507.803 1032.64 524.654 1007.82 537.95C982.998 551.245 954.411 557.929 921.983 557.929C885.431 557.929 852.079 548.544 822.069 529.702C791.988 510.861 768.236 484.412 750.742 450.142C733.248 415.943 724.501 376.624 724.501 332.187C724.501 287.75 733.248 249.356 750.742 215.441L750.742 215.512ZM1050.56 265.282C1040.1 246.227 1026.02 231.581 1008.24 221.414C990.465 211.246 971.407 206.127 950.997 206.127C930.588 206.127 911.814 211.104 894.533 220.987C877.324 230.941 863.315 245.445 852.576 264.5C841.838 283.555 836.505 306.164 836.505 332.258C836.505 358.352 841.838 381.246 852.576 400.798C863.315 420.422 877.395 435.424 894.889 445.876C912.383 456.327 931.086 461.517 950.926 461.517C970.767 461.517 990.394 456.398 1008.17 446.231C1025.95 436.064 1040.03 421.417 1050.49 402.362C1060.94 383.308 1066.13 360.414 1066.13 333.822C1066.13 307.231 1060.87 284.337 1050.49 265.282L1050.56 265.282Z" fill="#E7E7EC"/>
|
||||
<path d="M1433.86 449.857L1543.59 116.755L1660.35 116.755L1499.64 550.89L1366.37 550.89L1206.44 116.755L1323.99 116.755L1433.72 449.857L1433.86 449.857Z" fill="#E7E7EC"/>
|
||||
<path d="M2075.87 366.741L1758.42 366.741C1761.05 398.096 1772 422.626 1791.35 440.401C1810.69 458.176 1834.44 467.063 1862.67 467.063C1903.42 467.063 1932.44 449.573 1949.72 414.521L2068.05 414.521C2055.53 456.327 2031.5 490.668 1995.94 517.544C1960.38 544.491 1916.79 557.929 1865.02 557.929C1823.2 557.929 1785.73 548.686 1752.52 530.129C1719.31 511.572 1693.49 485.336 1674.93 451.35C1656.37 417.365 1647.13 378.189 1647.13 333.822C1647.13 289.456 1656.23 249.427 1674.58 215.512C1692.85 181.527 1718.45 155.433 1751.38 137.16C1784.31 118.888 1822.21 109.716 1865.02 109.716C1907.83 109.716 1943.24 118.603 1975.96 136.378C2008.6 154.153 2033.99 179.394 2051.98 212.028C2069.97 244.663 2079 282.204 2079 324.508C2079 340.15 2077.93 354.299 2075.87 366.813L2075.87 366.741ZM1965.36 293.082C1964.86 264.856 1954.62 242.246 1934.78 225.324C1914.94 208.331 1890.62 199.87 1861.89 199.87C1834.73 199.87 1811.83 208.118 1793.34 224.542C1774.78 240.966 1763.4 263.86 1759.27 293.082L1965.43 293.082L1965.36 293.082Z" fill="#E7E7EC"/>
|
||||
</g>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M831.271 263.285L837.272 248.578C837.272 248.578 829.634 240.408 820.36 231.149C811.085 221.889 791.445 227.336 791.445 227.336L769.077 202H729.797H690.517L668.149 227.336C668.149 227.336 648.508 221.889 639.234 231.149C629.959 240.408 622.322 248.578 622.322 248.578L628.323 263.285L620.685 285.072C620.685 285.072 643.148 370.018 645.781 380.391C650.964 400.817 654.51 408.715 669.24 419.063C683.97 429.412 710.702 447.387 715.067 450.11C719.431 452.834 724.887 457.473 729.797 457.473C734.707 457.473 740.163 452.834 744.527 450.11C748.891 447.387 775.624 429.412 790.354 419.063C805.084 408.715 808.63 400.817 813.813 380.391C816.445 370.018 838.909 285.072 838.909 285.072L831.271 263.285Z" fill="url(#paint0_linear_20921_1659)"/>
|
||||
<path d="M757.62 248.034C760.894 248.034 785.171 243.404 785.171 243.404C785.171 243.404 813.942 278.127 813.942 285.549C813.942 291.684 811.468 294.086 808.554 296.915C807.944 297.507 807.314 298.118 806.684 298.786L785.111 321.657C784.897 321.884 784.659 322.123 784.407 322.376C782.254 324.537 779.083 327.72 781.321 333.007C781.47 333.36 781.624 333.719 781.78 334.084C784.233 339.811 787.261 346.881 783.407 354.047C779.306 361.668 772.282 366.754 767.782 365.913C763.281 365.072 752.71 359.557 748.823 357.038C744.936 354.519 732.616 344.375 732.616 340.493C732.616 337.256 741.476 331.871 745.781 329.254C746.638 328.734 747.314 328.323 747.704 328.06C748.148 327.761 748.891 327.3 749.806 326.733C753.735 324.296 760.83 319.895 761.008 317.944C761.228 315.538 761.144 314.833 757.977 308.889C757.304 307.625 756.516 306.272 755.701 304.873C752.686 299.692 749.309 293.891 750.056 289.736C750.9 285.045 758.262 282.356 764.497 280.078C765.277 279.793 766.039 279.515 766.768 279.24C768.588 278.554 770.875 277.699 773.263 276.805C779.489 274.477 786.406 271.89 787.547 271.365C789.127 270.638 788.718 269.946 783.936 269.493C783.303 269.433 782.516 269.35 781.613 269.254C775.692 268.626 764.773 267.467 759.464 268.945C758.42 269.235 757.249 269.552 756.022 269.883C750.057 271.496 742.748 273.472 742.046 274.611C741.923 274.811 741.802 274.982 741.688 275.144C741.016 276.097 740.578 276.719 741.322 280.77C741.543 281.976 741.998 284.349 742.561 287.283C744.208 295.874 746.778 309.275 747.102 312.286C747.147 312.707 747.197 313.114 747.245 313.505C747.658 316.864 747.932 319.099 744.025 319.99C743.7 320.065 743.358 320.143 743.003 320.224C738.595 321.234 732.132 322.715 729.797 322.715C727.461 322.715 720.993 321.233 716.585 320.223C716.232 320.142 715.892 320.064 715.569 319.99C711.662 319.099 711.936 316.864 712.348 313.505C712.396 313.114 712.446 312.707 712.491 312.286C712.816 309.271 715.392 295.837 717.04 287.248C717.599 284.33 718.051 281.972 718.272 280.77C719.015 276.719 718.577 276.097 717.906 275.144C717.792 274.982 717.671 274.811 717.548 274.611C716.846 273.472 709.537 271.496 703.573 269.884C702.345 269.552 701.174 269.235 700.129 268.945C694.821 267.467 683.902 268.626 677.981 269.254C677.078 269.35 676.291 269.433 675.658 269.493C670.875 269.946 670.467 270.638 672.046 271.365C673.187 271.89 680.101 274.476 686.326 276.804C688.716 277.697 691.005 278.553 692.826 279.24C693.556 279.515 694.318 279.794 695.097 280.078C701.333 282.356 708.694 285.046 709.538 289.736C710.285 293.891 706.909 299.69 703.894 304.87C703.079 306.27 702.29 307.625 701.617 308.889C698.45 314.833 698.366 315.538 698.585 317.944C698.763 319.895 705.855 324.294 709.785 326.732C710.701 327.3 711.445 327.761 711.889 328.06C712.28 328.323 712.955 328.733 713.81 329.253C718.115 331.869 726.977 337.256 726.977 340.493C726.977 344.375 714.658 354.519 710.771 357.038C706.883 359.557 696.313 365.072 691.812 365.913C687.311 366.754 680.287 361.668 676.187 354.047C672.333 346.882 675.36 339.812 677.813 334.085C677.969 333.72 678.123 333.36 678.273 333.007C680.51 327.72 677.339 324.537 675.185 322.375C674.934 322.122 674.696 321.884 674.482 321.657L652.91 298.786C652.279 298.118 651.65 297.507 651.04 296.915C648.126 294.086 645.652 291.685 645.652 285.549C645.652 278.127 674.423 243.404 674.423 243.404C674.423 243.404 698.7 248.034 701.973 248.034C704.585 248.034 709.629 246.3 714.887 244.492C716.218 244.034 717.563 243.572 718.886 243.132C725.432 240.953 729.797 240.937 729.797 240.937C729.797 240.937 734.161 240.953 740.708 243.132C742.031 243.572 743.376 244.034 744.707 244.492C749.965 246.3 755.008 248.034 757.62 248.034Z" fill="white"/>
|
||||
<path d="M753.453 370.854C758.585 373.494 762.226 375.368 763.603 376.228C765.384 377.341 764.297 379.44 762.676 380.585C761.053 381.73 739.252 398.584 737.136 400.447C736.865 400.685 736.578 400.944 736.279 401.213C734.241 403.047 731.64 405.387 729.797 405.387C727.953 405.387 725.35 403.045 723.312 401.211C723.013 400.942 722.727 400.685 722.457 400.447C720.341 398.584 698.541 381.73 696.918 380.585C695.296 379.44 694.21 377.341 695.991 376.228C697.368 375.367 701.013 373.492 706.15 370.849C707.656 370.075 709.29 369.234 711.032 368.334C718.72 364.362 728.301 360.985 729.797 360.985C731.292 360.985 740.873 364.362 748.562 368.334C750.308 369.236 751.945 370.078 753.453 370.854Z" fill="white"/>
|
||||
<path d="M937.336 293.597C943.832 290.172 951.259 288.459 959.598 288.459C969.314 288.459 978.1 290.861 985.955 295.644C993.81 300.428 1000.05 307.241 1004.62 316.064C1009.2 324.886 1011.49 335.105 1011.49 346.739C1011.49 358.372 1009.2 368.666 1004.62 377.619C1000.05 386.572 993.81 393.515 985.955 398.448C978.081 403.38 969.296 405.837 959.598 405.837C951.11 405.837 943.702 404.162 937.336 400.812C930.97 397.461 925.87 393.124 922.054 387.782V403.994H893.333V252.163H922.054V306.943C925.74 301.47 930.84 297.022 937.336 293.615V293.597ZM977.97 329C975.159 324.012 971.474 320.214 966.895 317.608C962.316 315.003 957.346 313.718 952.022 313.718C946.699 313.718 941.934 315.058 937.355 317.72C932.776 320.382 929.072 324.254 926.28 329.316C923.469 334.379 922.073 340.336 922.073 347.167C922.073 353.998 923.469 359.955 926.28 365.017C929.09 370.08 932.776 373.933 937.355 376.614C941.934 379.276 946.829 380.616 952.022 380.616C957.215 380.616 962.316 379.257 966.895 376.521C971.474 373.785 975.178 369.894 977.97 364.831C980.78 359.768 982.176 353.756 982.176 346.776C982.176 339.796 980.78 334.026 977.97 329.037V329Z" fill="#1B1B1F"/>
|
||||
<path d="M1063.31 293.802C1069.27 290.377 1076.06 288.664 1083.73 288.664V318.818H1076.14C1067.11 318.818 1060.3 320.94 1055.72 325.184C1051.14 329.428 1048.85 336.818 1048.85 347.335V403.957H1020.13V290.302H1048.85V307.948C1052.54 301.936 1057.36 297.208 1063.31 293.783V293.802Z" fill="#1B1B1F"/>
|
||||
<path d="M1094.29 316.175C1098.87 307.278 1105.08 300.447 1112.96 295.663C1120.81 290.879 1129.62 288.478 1139.31 288.478C1147.8 288.478 1155.21 290.19 1161.57 293.615C1167.94 297.04 1173.02 301.34 1176.86 306.533V290.321H1205.78V403.976H1176.86V387.354C1173.17 392.696 1168.07 397.107 1161.57 400.588C1155.08 404.069 1147.6 405.819 1139.11 405.819C1129.54 405.819 1120.81 403.362 1112.96 398.429C1105.08 393.496 1098.87 386.572 1094.29 377.6C1089.71 368.647 1087.42 358.354 1087.42 346.72C1087.42 335.087 1089.71 325.035 1094.29 316.157V316.175ZM1172.76 329.205C1170.03 324.216 1166.34 320.382 1161.69 317.72C1157.03 315.058 1152.04 313.718 1146.7 313.718C1141.36 313.718 1136.45 315.021 1131.92 317.608C1127.42 320.214 1123.75 324.012 1120.94 329C1118.13 333.988 1116.73 339.908 1116.73 346.739C1116.73 353.57 1118.13 359.564 1120.94 364.682C1123.75 369.82 1127.44 373.747 1132.02 376.483C1136.6 379.22 1141.49 380.578 1146.68 380.578C1151.88 380.578 1157.01 379.238 1161.67 376.576C1166.32 373.915 1170.01 370.08 1172.74 365.092C1175.48 360.103 1176.84 354.11 1176.84 347.148C1176.84 340.187 1175.46 334.193 1172.74 329.205H1172.76Z" fill="#1B1B1F"/>
|
||||
<path d="M1273.09 377.526L1301.81 290.321H1332.37L1290.31 403.976H1255.42L1213.56 290.321H1244.33L1273.05 377.526H1273.09Z" fill="#1B1B1F"/>
|
||||
<path d="M1441.13 355.766H1358.04C1358.73 363.975 1361.6 370.397 1366.66 375.05C1371.72 379.704 1377.94 382.03 1385.33 382.03C1396 382.03 1403.59 377.451 1408.11 368.275H1439.09C1435.81 379.22 1429.52 388.21 1420.21 395.246C1410.9 402.301 1399.49 405.819 1385.94 405.819C1375 405.819 1365.19 403.399 1356.5 398.541C1347.8 393.682 1341.05 386.814 1336.19 377.917C1331.33 369.019 1328.91 358.763 1328.91 347.148C1328.91 335.533 1331.29 325.054 1336.1 316.175C1340.88 307.278 1347.58 300.447 1356.2 295.663C1364.82 290.879 1374.74 288.478 1385.94 288.478C1397.15 288.478 1406.42 290.805 1414.98 295.458C1423.53 300.112 1430.17 306.719 1434.88 315.263C1439.59 323.807 1441.95 333.635 1441.95 344.71C1441.95 348.805 1441.67 352.509 1441.13 355.785V355.766ZM1412.21 336.483C1412.08 329.093 1409.4 323.174 1404.2 318.744C1399.01 314.295 1392.64 312.08 1385.13 312.08C1378.01 312.08 1372.02 314.239 1367.18 318.539C1362.32 322.839 1359.35 328.832 1358.27 336.483H1412.23H1412.21Z" fill="#1B1B1F"/>
|
||||
</g>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_20921_1659" x1="620.685" y1="459.275" x2="838.909" y2="459.275" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF5601"/>
|
||||
<stop offset="0.5" stop-color="#FF4000"/>
|
||||
<stop offset="1" stop-color="#FF1F01"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip0_20921_1659">
|
||||
<rect width="2062" height="659" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
17
docs/source/_static/brave-logotype-dark.svg
Normal file
17
docs/source/_static/brave-logotype-dark.svg
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<svg width="430" height="133" viewBox="0 0 430 133" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M111.025 31.8394L114.149 24.1989C114.149 24.1989 110.173 19.9542 105.345 15.1436C100.517 10.333 90.2922 13.1628 90.2922 13.1628L78.6479 0H58.1993H37.7507L26.1064 13.1628C26.1064 13.1628 15.8821 10.333 11.054 15.1436C6.22584 19.9542 2.24973 24.1989 2.24973 24.1989L5.37382 31.8394L1.39771 43.1585C1.39771 43.1585 13.0917 87.2904 14.4621 92.6798C17.1602 103.291 19.0062 107.395 26.6744 112.771C34.3426 118.148 48.259 127.486 50.5311 128.901C52.8032 130.316 55.6432 132.726 58.1993 132.726C60.7554 132.726 63.5955 130.316 65.8675 128.901C68.1396 127.486 82.056 118.148 89.7242 112.771C97.3924 107.395 99.2385 103.291 101.937 92.6798C103.307 87.2904 115.001 43.1585 115.001 43.1585L111.025 31.8394Z" fill="url(#paint0_linear_20921_1613)"/>
|
||||
<path d="M72.6837 23.9159C74.3877 23.9159 87.0261 21.5106 87.0261 21.5106C87.0261 21.5106 102.004 39.5505 102.004 43.4061C102.004 46.5939 100.716 47.8417 99.1987 49.3111C98.881 49.6189 98.5532 49.9365 98.2251 50.2836L86.9949 62.1656C86.8835 62.2834 86.7596 62.4075 86.6284 62.5389C85.5075 63.6619 83.8568 65.3156 85.0216 68.062C85.0994 68.2456 85.1795 68.4322 85.2608 68.6216C86.5378 71.5972 88.1142 75.2704 86.1076 78.9929C83.973 82.9524 80.3164 85.5951 77.9733 85.1582C75.6303 84.721 70.1276 81.8558 68.1041 80.547C66.0805 79.2383 59.667 73.9681 59.667 71.9516C59.667 70.2698 64.2794 67.472 66.5204 66.1126C66.9662 65.8422 67.3181 65.6288 67.5213 65.4923C67.7526 65.337 68.1395 65.0975 68.6157 64.8027C70.6612 63.5365 74.3545 61.2502 74.4474 60.2365C74.5616 58.9866 74.5181 58.6202 72.8694 55.5323C72.5189 54.8757 72.1086 54.1723 71.6847 53.4455C70.1147 50.7541 68.3568 47.7404 68.7459 45.5816C69.1852 43.1447 73.0175 41.7475 76.2638 40.564C76.6695 40.4161 77.066 40.2715 77.4457 40.1286C78.393 39.7722 79.5836 39.3278 80.8271 38.8637C84.0681 37.6541 87.6692 36.3101 88.263 36.0373C89.0852 35.6596 88.8727 35.2999 86.3828 35.0647C86.0534 35.0336 85.6439 34.9902 85.1738 34.9405C82.0916 34.6141 76.407 34.0122 73.6434 34.7798C73.0998 34.9307 72.4905 35.0951 71.8515 35.2675C68.7465 36.1053 64.9414 37.132 64.5758 37.7239C64.5119 37.8274 64.449 37.9165 64.3897 38.0005C64.0399 38.4959 63.8119 38.8188 64.199 40.9235C64.3141 41.5503 64.551 42.7831 64.844 44.3074C65.7016 48.7707 67.0395 55.7329 67.208 57.297C67.2316 57.5159 67.2576 57.727 67.2826 57.9303C67.4972 59.6752 67.64 60.8364 65.6062 61.2997C65.4369 61.3383 65.259 61.3789 65.0741 61.4212C62.7793 61.9459 59.4149 62.7151 58.1993 62.7151C56.9832 62.7151 53.6162 61.9452 51.3215 61.4205C51.1377 61.3785 50.9607 61.338 50.7924 61.2997C48.7583 60.8364 48.9011 59.6752 49.1157 57.9302C49.1407 57.727 49.1667 57.5158 49.1903 57.297C49.3592 55.7307 50.7005 48.7514 51.558 44.2889C51.8493 42.7731 52.0848 41.5477 52.1996 40.9235C52.5864 38.819 52.3584 38.4959 52.0089 38.0006C51.9495 37.9165 51.8867 37.8275 51.8227 37.7239C51.4572 37.132 47.6523 36.1055 44.5474 35.2677C43.9082 35.0952 43.2987 34.9308 42.7549 34.7798C39.9914 34.0123 34.3074 34.6141 31.225 34.9404C30.7547 34.9902 30.345 35.0336 30.0155 35.0647C27.5258 35.2999 27.3134 35.6596 28.1353 36.0373C28.7292 36.3101 32.3285 37.6534 35.5689 38.8628C36.8133 39.3272 38.0049 39.7719 38.9529 40.1286C39.3327 40.2716 39.7295 40.4162 40.1354 40.5642C43.3813 41.7477 47.2134 43.1449 47.6526 45.5816C48.0417 47.7401 46.2842 50.7532 44.7145 53.4443C44.2903 54.1715 43.8798 54.8753 43.5291 55.5323C41.8805 58.6202 41.8367 58.9866 41.9512 60.2365C42.0438 61.25 45.7358 63.5356 47.7814 64.802C48.2582 65.0971 48.6455 65.3369 48.877 65.4923C49.0801 65.6287 49.4317 65.8419 49.8769 66.112C52.1177 67.4712 56.7312 70.2696 56.7312 71.9516C56.7312 73.9681 50.3181 79.2383 48.2945 80.547C46.2709 81.8558 40.7683 84.721 38.4252 85.1582C36.0822 85.5951 32.4256 82.9524 30.2909 78.9929C28.2845 75.2707 29.8605 71.5978 31.1372 68.6223C31.2186 68.4327 31.2988 68.2458 31.3767 68.062C32.5416 65.3153 30.8906 63.6616 29.7695 62.5386C29.6385 62.4073 29.5146 62.2833 29.4034 62.1656L18.1732 50.2836C17.8452 49.9365 17.5174 49.619 17.1998 49.3113C15.6829 47.8418 14.395 46.594 14.395 43.4061C14.395 39.5505 29.3725 21.5106 29.3725 21.5106C29.3725 21.5106 42.0108 23.9159 43.7149 23.9159C45.0746 23.9159 47.7003 23.015 50.4374 22.0759C51.1304 21.8381 51.8305 21.5978 52.5191 21.3691C55.9272 20.2372 58.1993 20.229 58.1993 20.229C58.1993 20.229 60.4713 20.2372 63.8794 21.3691C64.568 21.5978 65.2682 21.8381 65.9612 22.0759C68.6983 23.015 71.3239 23.9159 72.6837 23.9159Z" fill="white"/>
|
||||
<path d="M70.5143 87.7249C73.186 89.0967 75.0814 90.0699 75.7981 90.5168C76.7251 91.0952 76.1596 92.1855 75.3153 92.7803C74.4706 93.3751 63.1214 102.132 62.02 103.099C61.879 103.223 61.7296 103.357 61.5739 103.497C60.5126 104.45 59.159 105.666 58.1992 105.666C57.2391 105.666 55.8845 104.449 54.8232 103.496C54.668 103.357 54.519 103.223 54.3785 103.099C53.2768 102.132 41.9278 93.3751 41.0832 92.7803C40.2386 92.1855 39.6734 91.0952 40.6004 90.5168C41.3175 90.0697 43.2148 89.0956 45.8892 87.7225C46.673 87.32 47.5236 86.8833 48.4308 86.4155C52.4327 84.3521 57.4208 82.5976 58.1992 82.5976C58.9777 82.5976 63.9654 84.3521 67.968 86.4155C68.877 86.8843 69.7291 87.3218 70.5143 87.7249Z" fill="white"/>
|
||||
<path d="M166.24 47.5698C169.622 45.7868 173.488 44.8953 177.83 44.8953C182.888 44.8953 187.461 46.1453 191.55 48.6357C195.64 51.126 198.886 54.6725 201.269 59.2655C203.653 63.8585 204.845 69.1783 204.845 75.2345C204.845 81.2907 203.653 86.6492 201.269 91.3101C198.886 95.9709 195.64 99.5853 191.55 102.153C187.452 104.721 182.878 106 177.83 106C173.411 106 169.554 105.128 166.24 103.384C162.926 101.64 160.271 99.3818 158.285 96.6008V105.041H143.333V26H158.285V54.5174C160.204 51.6686 162.859 49.3527 166.24 47.5795V47.5698ZM187.393 66C185.93 63.4031 184.012 61.4264 181.628 60.0698C179.244 58.7132 176.657 58.0446 173.886 58.0446C171.114 58.0446 168.634 58.7422 166.25 60.1279C163.866 61.5136 161.938 63.5291 160.485 66.1647C159.021 68.8004 158.295 71.9012 158.295 75.4574C158.295 79.0136 159.021 82.1143 160.485 84.75C161.948 87.3857 163.866 89.3915 166.25 90.7868C168.634 92.1725 171.182 92.8701 173.886 92.8701C176.589 92.8701 179.244 92.1628 181.628 90.7384C184.012 89.3139 185.94 87.2888 187.393 84.6531C188.857 82.0174 189.583 78.8876 189.583 75.2539C189.583 71.6201 188.857 68.6163 187.393 66.0194V66Z" fill="#1B1B1F"/>
|
||||
<path d="M231.822 47.6764C234.923 45.8934 238.459 45.002 242.452 45.002V60.6996H238.498C233.799 60.6996 230.252 61.8043 227.868 64.0136C225.485 66.2229 224.293 70.0698 224.293 75.5446V105.021H209.341V45.8547H224.293V55.0407C226.211 51.9109 228.721 49.4496 231.822 47.6667V47.6764Z" fill="#1B1B1F"/>
|
||||
<path d="M247.946 59.3236C250.33 54.6919 253.566 51.1356 257.665 48.6453C261.754 46.155 266.337 44.905 271.386 44.905C275.804 44.905 279.661 45.7965 282.975 47.5794C286.289 49.3624 288.934 51.6008 290.93 54.3043V45.8643H305.988V105.031H290.93V96.3779C289.012 99.1589 286.357 101.455 282.975 103.267C279.593 105.079 275.698 105.99 271.279 105.99C266.299 105.99 261.754 104.711 257.665 102.143C253.566 99.5756 250.33 95.9709 247.946 91.3004C245.562 86.6395 244.37 81.281 244.37 75.2248C244.37 69.1686 245.562 63.936 247.946 59.3139V59.3236ZM288.799 66.1066C287.374 63.5097 285.456 61.5136 283.033 60.1279C280.611 58.7422 278.014 58.0446 275.233 58.0446C272.452 58.0446 269.893 58.7229 267.539 60.0698C265.194 61.4263 263.285 63.4031 261.822 66C260.359 68.5969 259.632 71.6783 259.632 75.2345C259.632 78.7907 260.359 81.9108 261.822 84.5756C263.285 87.25 265.204 89.2946 267.587 90.719C269.971 92.1434 272.519 92.8508 275.223 92.8508C277.926 92.8508 280.601 92.1531 283.023 90.7674C285.446 89.3818 287.364 87.3856 288.789 84.7887C290.213 82.1919 290.921 79.0717 290.921 75.4477C290.921 71.8236 290.204 68.7035 288.789 66.1066H288.799Z" fill="#1B1B1F"/>
|
||||
<path d="M341.027 91.2617L355.979 45.8644H371.89L349.99 105.031H331.831L310.039 45.8644H326.056L341.008 91.2617H341.027Z" fill="#1B1B1F"/>
|
||||
<path d="M428.508 79.9341H385.252C385.611 84.2074 387.103 87.5504 389.738 89.9729C392.374 92.3953 395.611 93.6066 399.457 93.6066C405.01 93.6066 408.963 91.2229 411.318 86.4457H427.442C425.737 92.1434 422.461 96.8236 417.616 100.486C412.771 104.159 406.831 105.99 399.777 105.99C394.08 105.99 388.973 104.731 384.448 102.202C379.923 99.6725 376.405 96.0969 373.876 91.4651C371.347 86.8333 370.087 81.4942 370.087 75.4477C370.087 69.4012 371.328 63.9457 373.828 59.3236C376.318 54.6919 379.806 51.1356 384.293 48.6453C388.779 46.155 393.944 44.905 399.777 44.905C405.611 44.905 410.436 46.1163 414.894 48.5388C419.341 50.9612 422.8 54.4012 425.252 58.8488C427.704 63.2965 428.934 68.4128 428.934 74.1783C428.934 76.3101 428.789 78.2384 428.508 79.9438V79.9341ZM413.45 69.8953C413.382 66.0484 411.987 62.967 409.283 60.6608C406.58 58.3449 403.266 57.1919 399.351 57.1919C395.649 57.1919 392.529 58.3159 390.01 60.5543C387.481 62.7926 385.93 65.9128 385.368 69.8953H413.459H413.45Z" fill="#1B1B1F"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_20921_1613" x1="1.39771" y1="133.662" x2="115.001" y2="133.662" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF5601"/>
|
||||
<stop offset="0.5" stop-color="#FF4000"/>
|
||||
<stop offset="1" stop-color="#FF1F01"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9 KiB |
17
docs/source/_static/brave-logotype-light.svg
Normal file
17
docs/source/_static/brave-logotype-light.svg
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<svg width="430" height="133" viewBox="0 0 430 133" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M111.025 31.8394L114.149 24.1989C114.149 24.1989 110.173 19.9542 105.345 15.1436C100.517 10.333 90.2922 13.1628 90.2922 13.1628L78.6479 0H58.1993H37.7507L26.1064 13.1628C26.1064 13.1628 15.8821 10.333 11.054 15.1436C6.22584 19.9542 2.24973 24.1989 2.24973 24.1989L5.37382 31.8394L1.39771 43.1585C1.39771 43.1585 13.0917 87.2904 14.4621 92.6798C17.1602 103.291 19.0062 107.395 26.6744 112.771C34.3426 118.148 48.259 127.486 50.5311 128.901C52.8032 130.316 55.6432 132.726 58.1993 132.726C60.7554 132.726 63.5955 130.316 65.8675 128.901C68.1396 127.486 82.056 118.148 89.7242 112.771C97.3924 107.395 99.2385 103.291 101.937 92.6798C103.307 87.2904 115.001 43.1585 115.001 43.1585L111.025 31.8394Z" fill="url(#paint0_linear_20921_1613)"/>
|
||||
<path d="M72.6837 23.9159C74.3877 23.9159 87.0261 21.5106 87.0261 21.5106C87.0261 21.5106 102.004 39.5505 102.004 43.4061C102.004 46.5939 100.716 47.8417 99.1987 49.3111C98.881 49.6189 98.5532 49.9365 98.2251 50.2836L86.9949 62.1656C86.8835 62.2834 86.7596 62.4075 86.6284 62.5389C85.5075 63.6619 83.8568 65.3156 85.0216 68.062C85.0994 68.2456 85.1795 68.4322 85.2608 68.6216C86.5378 71.5972 88.1142 75.2704 86.1076 78.9929C83.973 82.9524 80.3164 85.5951 77.9733 85.1582C75.6303 84.721 70.1276 81.8558 68.1041 80.547C66.0805 79.2383 59.667 73.9681 59.667 71.9516C59.667 70.2698 64.2794 67.472 66.5204 66.1126C66.9662 65.8422 67.3181 65.6288 67.5213 65.4923C67.7526 65.337 68.1395 65.0975 68.6157 64.8027C70.6612 63.5365 74.3545 61.2502 74.4474 60.2365C74.5616 58.9866 74.5181 58.6202 72.8694 55.5323C72.5189 54.8757 72.1086 54.1723 71.6847 53.4455C70.1147 50.7541 68.3568 47.7404 68.7459 45.5816C69.1852 43.1447 73.0175 41.7475 76.2638 40.564C76.6695 40.4161 77.066 40.2715 77.4457 40.1286C78.393 39.7722 79.5836 39.3278 80.8271 38.8637C84.0681 37.6541 87.6692 36.3101 88.263 36.0373C89.0852 35.6596 88.8727 35.2999 86.3828 35.0647C86.0534 35.0336 85.6439 34.9902 85.1738 34.9405C82.0916 34.6141 76.407 34.0122 73.6434 34.7798C73.0998 34.9307 72.4905 35.0951 71.8515 35.2675C68.7465 36.1053 64.9414 37.132 64.5758 37.7239C64.5119 37.8274 64.449 37.9165 64.3897 38.0005C64.0399 38.4959 63.8119 38.8188 64.199 40.9235C64.3141 41.5503 64.551 42.7831 64.844 44.3074C65.7016 48.7707 67.0395 55.7329 67.208 57.297C67.2316 57.5159 67.2576 57.727 67.2826 57.9303C67.4972 59.6752 67.64 60.8364 65.6062 61.2997C65.4369 61.3383 65.259 61.3789 65.0741 61.4212C62.7793 61.9459 59.4149 62.7151 58.1993 62.7151C56.9832 62.7151 53.6162 61.9452 51.3215 61.4205C51.1377 61.3785 50.9607 61.338 50.7924 61.2997C48.7583 60.8364 48.9011 59.6752 49.1157 57.9302C49.1407 57.727 49.1667 57.5158 49.1903 57.297C49.3592 55.7307 50.7005 48.7514 51.558 44.2889C51.8493 42.7731 52.0848 41.5477 52.1996 40.9235C52.5864 38.819 52.3584 38.4959 52.0089 38.0006C51.9495 37.9165 51.8867 37.8275 51.8227 37.7239C51.4572 37.132 47.6523 36.1055 44.5474 35.2677C43.9082 35.0952 43.2987 34.9308 42.7549 34.7798C39.9914 34.0123 34.3074 34.6141 31.225 34.9404C30.7547 34.9902 30.345 35.0336 30.0155 35.0647C27.5258 35.2999 27.3134 35.6596 28.1353 36.0373C28.7292 36.3101 32.3285 37.6534 35.5689 38.8628C36.8133 39.3272 38.0049 39.7719 38.9529 40.1286C39.3327 40.2716 39.7295 40.4162 40.1354 40.5642C43.3813 41.7477 47.2134 43.1449 47.6526 45.5816C48.0417 47.7401 46.2842 50.7532 44.7145 53.4443C44.2903 54.1715 43.8798 54.8753 43.5291 55.5323C41.8805 58.6202 41.8367 58.9866 41.9512 60.2365C42.0438 61.25 45.7358 63.5356 47.7814 64.802C48.2582 65.0971 48.6455 65.3369 48.877 65.4923C49.0801 65.6287 49.4317 65.8419 49.8769 66.112C52.1177 67.4712 56.7312 70.2696 56.7312 71.9516C56.7312 73.9681 50.3181 79.2383 48.2945 80.547C46.2709 81.8558 40.7683 84.721 38.4252 85.1582C36.0822 85.5951 32.4256 82.9524 30.2909 78.9929C28.2845 75.2707 29.8605 71.5978 31.1372 68.6223C31.2186 68.4327 31.2988 68.2458 31.3767 68.062C32.5416 65.3153 30.8906 63.6616 29.7695 62.5386C29.6385 62.4073 29.5146 62.2833 29.4034 62.1656L18.1732 50.2836C17.8452 49.9365 17.5174 49.619 17.1998 49.3113C15.6829 47.8418 14.395 46.594 14.395 43.4061C14.395 39.5505 29.3725 21.5106 29.3725 21.5106C29.3725 21.5106 42.0108 23.9159 43.7149 23.9159C45.0746 23.9159 47.7003 23.015 50.4374 22.0759C51.1304 21.8381 51.8305 21.5978 52.5191 21.3691C55.9272 20.2372 58.1993 20.229 58.1993 20.229C58.1993 20.229 60.4713 20.2372 63.8794 21.3691C64.568 21.5978 65.2682 21.8381 65.9612 22.0759C68.6983 23.015 71.3239 23.9159 72.6837 23.9159Z" fill="white"/>
|
||||
<path d="M70.5143 87.7249C73.186 89.0967 75.0814 90.0699 75.7981 90.5168C76.7251 91.0952 76.1596 92.1855 75.3153 92.7803C74.4706 93.3751 63.1214 102.132 62.02 103.099C61.879 103.223 61.7296 103.357 61.5739 103.497C60.5126 104.45 59.159 105.666 58.1992 105.666C57.2391 105.666 55.8845 104.449 54.8232 103.496C54.668 103.357 54.519 103.223 54.3785 103.099C53.2768 102.132 41.9278 93.3751 41.0832 92.7803C40.2386 92.1855 39.6734 91.0952 40.6004 90.5168C41.3175 90.0697 43.2148 89.0956 45.8892 87.7225C46.673 87.32 47.5236 86.8833 48.4308 86.4155C52.4327 84.3521 57.4208 82.5976 58.1992 82.5976C58.9777 82.5976 63.9654 84.3521 67.968 86.4155C68.877 86.8843 69.7291 87.3218 70.5143 87.7249Z" fill="white"/>
|
||||
<path d="M166.24 47.5698C169.622 45.7868 173.488 44.8953 177.83 44.8953C182.888 44.8953 187.461 46.1453 191.55 48.6357C195.64 51.126 198.886 54.6725 201.269 59.2655C203.653 63.8585 204.845 69.1783 204.845 75.2345C204.845 81.2907 203.653 86.6492 201.269 91.3101C198.886 95.9709 195.64 99.5853 191.55 102.153C187.452 104.721 182.878 106 177.83 106C173.411 106 169.554 105.128 166.24 103.384C162.926 101.64 160.271 99.3818 158.285 96.6008V105.041H143.333V26H158.285V54.5174C160.204 51.6686 162.859 49.3527 166.24 47.5795V47.5698ZM187.393 66C185.93 63.4031 184.012 61.4264 181.628 60.0698C179.244 58.7132 176.657 58.0446 173.886 58.0446C171.114 58.0446 168.634 58.7422 166.25 60.1279C163.866 61.5136 161.938 63.5291 160.485 66.1647C159.021 68.8004 158.295 71.9012 158.295 75.4574C158.295 79.0136 159.021 82.1143 160.485 84.75C161.948 87.3857 163.866 89.3915 166.25 90.7868C168.634 92.1725 171.182 92.8701 173.886 92.8701C176.589 92.8701 179.244 92.1628 181.628 90.7384C184.012 89.3139 185.94 87.2888 187.393 84.6531C188.857 82.0174 189.583 78.8876 189.583 75.2539C189.583 71.6201 188.857 68.6163 187.393 66.0194V66Z" fill="white"/>
|
||||
<path d="M231.822 47.6764C234.923 45.8934 238.459 45.002 242.452 45.002V60.6996H238.498C233.799 60.6996 230.252 61.8043 227.868 64.0136C225.485 66.2229 224.293 70.0698 224.293 75.5446V105.021H209.341V45.8547H224.293V55.0407C226.211 51.9109 228.721 49.4496 231.822 47.6667V47.6764Z" fill="white"/>
|
||||
<path d="M247.946 59.3236C250.33 54.6919 253.566 51.1356 257.665 48.6453C261.754 46.155 266.337 44.905 271.386 44.905C275.804 44.905 279.661 45.7965 282.975 47.5794C286.289 49.3624 288.934 51.6008 290.93 54.3043V45.8643H305.988V105.031H290.93V96.3779C289.012 99.1589 286.357 101.455 282.975 103.267C279.593 105.079 275.698 105.99 271.279 105.99C266.299 105.99 261.754 104.711 257.665 102.143C253.566 99.5756 250.33 95.9709 247.946 91.3004C245.562 86.6395 244.37 81.281 244.37 75.2248C244.37 69.1686 245.562 63.936 247.946 59.3139V59.3236ZM288.799 66.1066C287.374 63.5097 285.456 61.5136 283.033 60.1279C280.611 58.7422 278.014 58.0446 275.233 58.0446C272.452 58.0446 269.893 58.7229 267.539 60.0698C265.194 61.4263 263.285 63.4031 261.822 66C260.359 68.5969 259.632 71.6783 259.632 75.2345C259.632 78.7907 260.359 81.9108 261.822 84.5756C263.285 87.25 265.204 89.2946 267.587 90.719C269.971 92.1434 272.519 92.8508 275.223 92.8508C277.926 92.8508 280.601 92.1531 283.023 90.7674C285.446 89.3818 287.364 87.3856 288.789 84.7887C290.213 82.1919 290.921 79.0717 290.921 75.4477C290.921 71.8236 290.204 68.7035 288.789 66.1066H288.799Z" fill="white"/>
|
||||
<path d="M341.027 91.2617L355.979 45.8644H371.89L349.99 105.031H331.831L310.039 45.8644H326.056L341.008 91.2617H341.027Z" fill="white"/>
|
||||
<path d="M428.508 79.9341H385.252C385.611 84.2074 387.103 87.5504 389.738 89.9729C392.374 92.3953 395.611 93.6066 399.457 93.6066C405.01 93.6066 408.963 91.2229 411.318 86.4457H427.442C425.737 92.1434 422.461 96.8236 417.616 100.486C412.771 104.159 406.831 105.99 399.777 105.99C394.08 105.99 388.973 104.731 384.448 102.202C379.923 99.6725 376.405 96.0969 373.876 91.4651C371.347 86.8333 370.087 81.4942 370.087 75.4477C370.087 69.4012 371.328 63.9457 373.828 59.3236C376.318 54.6919 379.806 51.1356 384.293 48.6453C388.779 46.155 393.944 44.905 399.777 44.905C405.611 44.905 410.436 46.1163 414.894 48.5388C419.341 50.9612 422.8 54.4012 425.252 58.8488C427.704 63.2965 428.934 68.4128 428.934 74.1783C428.934 76.3101 428.789 78.2384 428.508 79.9438V79.9341ZM413.45 69.8953C413.382 66.0484 411.987 62.967 409.283 60.6608C406.58 58.3449 403.266 57.1919 399.351 57.1919C395.649 57.1919 392.529 58.3159 390.01 60.5543C387.481 62.7926 385.93 65.9128 385.368 69.8953H413.459H413.45Z" fill="white"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_20921_1613" x1="1.39771" y1="133.662" x2="115.001" y2="133.662" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF5601"/>
|
||||
<stop offset="0.5" stop-color="#FF4000"/>
|
||||
<stop offset="1" stop-color="#FF1F01"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9 KiB |
12
docs/source/_static/brave-release.svg
Normal file
12
docs/source/_static/brave-release.svg
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<svg width="225" height="256" viewBox="0 0 225 256" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M214.119 61.2848L220.144 46.5784C220.144 46.5784 212.476 38.4082 203.165 29.1487C193.853 19.8891 174.135 25.3359 174.135 25.3359L151.678 6.10352e-05H112.242H72.8051L50.3482 25.3359C50.3482 25.3359 30.6299 19.8891 21.3185 29.1487C12.0071 38.4082 4.33887 46.5784 4.33887 46.5784L10.3639 61.2848L2.69568 83.0721C2.69568 83.0721 25.2485 168.018 27.8913 178.391C33.0947 198.817 36.6549 206.715 51.4436 217.064C66.2323 227.412 93.0711 245.387 97.4529 248.11C101.835 250.834 107.312 255.473 112.242 255.473C117.171 255.473 122.649 250.834 127.03 248.11C131.412 245.387 158.251 227.412 173.04 217.064C187.828 206.715 191.389 198.817 196.592 178.391C199.234 168.018 221.788 83.0721 221.788 83.0721L214.119 61.2848Z" fill="url(#paint0_linear_20921_1656)"/>
|
||||
<path d="M140.176 46.0337C143.462 46.0337 167.836 41.4039 167.836 41.4039C167.836 41.4039 196.721 76.1273 196.721 83.5486C196.721 89.6845 194.237 92.0862 191.312 94.9146C190.699 95.5071 190.067 96.1183 189.434 96.7865L167.776 119.657C167.561 119.884 167.322 120.123 167.069 120.376C164.907 122.537 161.724 125.72 163.97 131.007C164.12 131.36 164.275 131.719 164.432 132.084C166.894 137.811 169.935 144.881 166.065 152.047C161.948 159.668 154.896 164.754 150.377 163.913C145.859 163.072 135.246 157.557 131.344 155.038C127.441 152.519 115.072 142.375 115.072 138.493C115.072 135.256 123.968 129.871 128.29 127.254C129.149 126.734 129.828 126.323 130.22 126.06C130.666 125.761 131.412 125.3 132.33 124.733C136.275 122.296 143.398 117.895 143.577 115.944C143.797 113.538 143.714 112.833 140.534 106.889C139.858 105.625 139.067 104.272 138.249 102.873C135.221 97.6921 131.831 91.8913 132.582 87.7361C133.429 83.0454 140.82 80.3561 147.08 78.078C147.863 77.7933 148.627 77.515 149.36 77.2401C151.187 76.5539 153.483 75.6987 155.881 74.8054C162.132 72.4771 169.076 69.8902 170.222 69.3651C171.807 68.6379 171.398 67.9456 166.596 67.493C165.96 67.4331 165.17 67.3496 164.264 67.2538C158.32 66.6257 147.357 65.4671 142.027 66.9445C140.978 67.2351 139.803 67.5515 138.571 67.8834C132.583 69.4959 125.244 71.4721 124.539 72.6114C124.416 72.8107 124.295 72.982 124.18 73.1438C123.506 74.0973 123.066 74.7189 123.812 78.7701C124.035 79.9765 124.491 82.3494 125.056 85.2835C126.71 93.8743 129.291 107.275 129.616 110.286C129.661 110.707 129.711 111.114 129.759 111.505C130.173 114.864 130.449 117.099 126.526 117.99C126.2 118.065 125.857 118.143 125.5 118.224C121.074 119.234 114.586 120.715 112.242 120.715C109.896 120.715 103.403 119.233 98.9772 118.223C98.6227 118.142 98.2815 118.064 97.9568 117.99C94.034 117.099 94.3094 114.864 94.7232 111.505C94.7714 111.114 94.8215 110.707 94.867 110.286C95.1929 107.271 97.7796 93.8372 99.4335 85.2478C99.9953 82.3302 100.449 79.9716 100.671 78.7701C101.417 74.7192 100.977 74.0974 100.303 73.1441C100.188 72.9822 100.067 72.8108 99.944 72.6114C99.239 71.4722 91.9011 69.4962 85.9129 67.8837C84.6802 67.5517 83.5047 67.2352 82.456 66.9445C77.1264 65.4672 66.1643 66.6256 60.2197 67.2537C59.3128 67.3496 58.5226 67.4331 57.8871 67.493C53.0857 67.9456 52.676 68.6379 54.2611 69.3651C55.4064 69.89 62.3479 72.4757 68.5972 74.8035C70.9973 75.6975 73.2952 76.5534 75.1236 77.2401C75.8561 77.5152 76.6212 77.7936 77.404 78.0785C83.664 80.3564 91.0545 83.0457 91.9016 87.7361C92.6519 91.8907 89.2625 97.6903 86.2352 102.87C85.4171 104.27 84.6255 105.625 83.9492 106.889C80.7696 112.833 80.6852 113.538 80.906 115.944C81.0845 117.895 88.2048 122.294 92.15 124.732C93.0694 125.3 93.8164 125.761 94.2629 126.06C94.6545 126.323 95.3326 126.733 96.1914 127.253C100.513 129.869 109.41 135.256 109.41 138.493C109.41 142.375 97.0421 152.519 93.1395 155.038C89.2369 157.557 78.6247 163.072 74.1059 163.913C69.5871 164.754 62.5351 159.668 58.4184 152.047C54.5488 144.882 57.5882 137.812 60.0505 132.085C60.2074 131.72 60.362 131.36 60.5123 131.007C62.7589 125.72 59.5749 122.537 57.4127 120.375C57.16 120.122 56.9212 119.884 56.7067 119.657L35.0484 96.7865C34.4158 96.1184 33.7837 95.5073 33.1711 94.9149C30.2457 92.0864 27.7619 89.6847 27.7619 83.5486C27.7619 76.1273 56.647 41.4039 56.647 41.4039C56.647 41.4039 81.021 46.0337 84.3074 46.0337C86.9298 46.0337 91.9935 44.2996 97.2722 42.4918C98.6087 42.0341 99.959 41.5717 101.287 41.1315C107.86 38.9528 112.242 38.937 112.242 38.937C112.242 38.937 116.623 38.9528 123.196 41.1315C124.524 41.5717 125.874 42.0341 127.211 42.4919C132.49 44.2996 137.553 46.0337 140.176 46.0337Z" fill="white"/>
|
||||
<path d="M135.992 168.854C141.145 171.494 144.8 173.368 146.182 174.228C147.97 175.341 146.879 177.44 145.251 178.585C143.622 179.73 121.734 196.584 119.61 198.447C119.338 198.685 119.05 198.944 118.75 199.213C116.703 201.047 114.092 203.387 112.241 203.387C110.39 203.387 107.777 201.045 105.731 199.211C105.431 198.942 105.144 198.685 104.873 198.447C102.748 196.584 80.8609 179.73 79.232 178.585C77.6031 177.44 76.5131 175.341 78.3009 174.228C79.6839 173.367 83.3429 171.492 88.5006 168.849C90.0123 168.075 91.6527 167.234 93.4023 166.334C101.12 162.362 110.74 158.985 112.241 158.985C113.743 158.985 123.362 162.362 131.081 166.334C132.834 167.236 134.478 168.078 135.992 168.854Z" fill="white"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_20921_1656" x1="2.69568" y1="257.275" x2="221.788" y2="257.275" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF5601"/>
|
||||
<stop offset="0.5" stop-color="#FF4000"/>
|
||||
<stop offset="1" stop-color="#FF1F01"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
23
docs/source/_static/custom.css
Normal file
23
docs/source/_static/custom.css
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/* add padding after logo */
|
||||
.logo {
|
||||
height: 100%;
|
||||
width: 80px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
div.admonition.note p.admonition-title {
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.admonition.note p.admonition-title ~ p {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
background: #eee;
|
||||
padding: 25px 30px;
|
||||
margin: 15px 0px;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
BIN
docs/source/_static/product_logo_32.png
Normal file
BIN
docs/source/_static/product_logo_32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
docs/source/_static/product_logo_name_48.png
Normal file
BIN
docs/source/_static/product_logo_name_48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
173
docs/source/conf.py
Normal file
173
docs/source/conf.py
Normal file
|
|
@ -0,0 +1,173 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Configuration file for the Sphinx documentation builder.
|
||||
#
|
||||
# This file does only contain a selection of the most common options. For a
|
||||
# full list see the documentation:
|
||||
# http://www.sphinx-doc.org/en/master/config
|
||||
|
||||
# -- Path setup --------------------------------------------------------------
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
#
|
||||
# import os
|
||||
# import sys
|
||||
# sys.path.insert(0, os.path.abspath('.'))
|
||||
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
author = 'Brave Software'
|
||||
project = 'Brave browser'
|
||||
copyright = '2025, Brave Software'
|
||||
|
||||
# The short X.Y version
|
||||
version = ''
|
||||
# The full version, including alpha/beta/rc tags
|
||||
release = ''
|
||||
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
|
||||
# If your documentation needs a minimal Sphinx version, state it here.
|
||||
#
|
||||
# needs_sphinx = '1.0'
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = [
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
||||
# The suffix(es) of source filenames.
|
||||
# You can specify multiple suffix as a list of string:
|
||||
#
|
||||
# source_suffix = ['.rst', '.md']
|
||||
source_suffix = '.rst'
|
||||
|
||||
# The master toctree document.
|
||||
master_doc = 'index'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
#
|
||||
# This is also used if you do content translation via gettext catalogs.
|
||||
# Usually you set "language" from the command line for these cases.
|
||||
language = None
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# directories to ignore when looking for source files.
|
||||
# This pattern also affects html_static_path and html_extra_path .
|
||||
exclude_patterns = ['_build', 'build']
|
||||
|
||||
# The name of the Pygments (syntax highlighting) style to use.
|
||||
pygments_style = 'sphinx'
|
||||
|
||||
|
||||
# -- Options for HTML output -------------------------------------------------
|
||||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
#
|
||||
html_theme = 'alabaster'
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
# documentation.
|
||||
#
|
||||
html_theme_options = {
|
||||
'description': '<a href="https://www.brave.com">brave.com</a><meta http-equiv="refresh" content="2; URL=https://brave.com/linux">',
|
||||
'logo': 'brave-release.svg',
|
||||
'head_font_family': 'Muli, Proxima Nova, Avenir',
|
||||
'caption_font_size': '14px',
|
||||
'caption_font_family': 'Muli, Proxima Nova, Avenir',
|
||||
'code_font_size': '14px',
|
||||
'code_font_family': 'Menlo, DejaVu Sans Mono, monospace',
|
||||
'font_family': 'Muli, Proxima Nova, Avenir',
|
||||
'font_size': '16px',
|
||||
}
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
html_static_path = ['_static']
|
||||
|
||||
# Custom sidebar templates, must be a dictionary that maps document names
|
||||
# to template names.
|
||||
#
|
||||
# The default sidebars (for documents that don't match any pattern) are
|
||||
# defined by theme itself. Builtin themes are using these templates by
|
||||
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
|
||||
# 'searchbox.html']``.
|
||||
#
|
||||
# html_sidebars = {}
|
||||
|
||||
html_favicon = '_static/product_logo_32.png'
|
||||
|
||||
|
||||
# -- Options for HTMLHelp output ---------------------------------------------
|
||||
|
||||
# Output file base name for HTML help builder.
|
||||
htmlhelp_basename = 'BraveBrowserdoc'
|
||||
|
||||
html_css_files = ['custom.css']
|
||||
|
||||
|
||||
# -- Options for LaTeX output ------------------------------------------------
|
||||
|
||||
latex_elements = {
|
||||
# The paper size ('letterpaper' or 'a4paper').
|
||||
#
|
||||
# 'papersize': 'letterpaper',
|
||||
|
||||
# The font size ('10pt', '11pt' or '12pt').
|
||||
#
|
||||
# 'pointsize': '10pt',
|
||||
|
||||
# Additional stuff for the LaTeX preamble.
|
||||
#
|
||||
# 'preamble': '',
|
||||
|
||||
# Latex figure (float) alignment
|
||||
#
|
||||
# 'figure_align': 'htbp',
|
||||
}
|
||||
|
||||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title,
|
||||
# author, documentclass [howto, manual, or own class]).
|
||||
latex_documents = [
|
||||
(master_doc, 'BraveBrowser.tex', 'Brave Browser Documentation',
|
||||
'Brave Software', 'manual'),
|
||||
]
|
||||
|
||||
|
||||
# -- Options for manual page output ------------------------------------------
|
||||
|
||||
# One entry per manual page. List of tuples
|
||||
# (source start file, name, description, authors, manual section).
|
||||
man_pages = [
|
||||
(master_doc, 'bravebrowser', 'Brave Browser Documentation',
|
||||
[author], 1)
|
||||
]
|
||||
|
||||
|
||||
# -- Options for Texinfo output ----------------------------------------------
|
||||
|
||||
# Grouping the document tree into Texinfo files. List of tuples
|
||||
# (source start file, target name, title, author,
|
||||
# dir menu entry, description, category)
|
||||
texinfo_documents = [
|
||||
(master_doc, 'BraveBrowser', 'Brave Browser Documentation',
|
||||
author, 'BraveBrowser', 'One line description of project.',
|
||||
'Miscellaneous'),
|
||||
]
|
||||
|
||||
|
||||
def setup(app):
|
||||
app.add_css_file('custom.css')
|
||||
8
docs/source/index.rst
Normal file
8
docs/source/index.rst
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
.. Copyright (c) 2020 Brave Software
|
||||
|
||||
.. _rs_welcome:
|
||||
|
||||
Brave browser documentation
|
||||
---------------------------
|
||||
|
||||
This page has now moved to `brave.com/linux <https://brave.com/linux>`_
|
||||
52
lib/logging.js
Normal file
52
lib/logging.js
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
// Copyright (c) 2019 The Brave Authors. All rights reserved.
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
// you can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
const chalk = require('chalk')
|
||||
|
||||
let divider
|
||||
function setLineLength () {
|
||||
divider = Array(process.stdout.columns || 32).join('-')
|
||||
}
|
||||
setLineLength()
|
||||
process.stdout.on('resize', setLineLength)
|
||||
|
||||
const progressStyle = chalk.bold.inverse
|
||||
const statusStyle = chalk.green.italic
|
||||
const warningStyle = chalk.black.bold.bgYellow
|
||||
|
||||
const cmdDirStyle = chalk.blue
|
||||
const cmdCmdStyle = chalk.green
|
||||
const cmdArrowStyle = chalk.magenta
|
||||
|
||||
function progress (message) {
|
||||
console.log(progressStyle(message))
|
||||
}
|
||||
|
||||
function status(message) {
|
||||
console.log(statusStyle(message))
|
||||
}
|
||||
|
||||
function error (message) {
|
||||
console.error(progressStyle(message))
|
||||
}
|
||||
|
||||
function warn (message) {
|
||||
console.error(warningStyle(message))
|
||||
}
|
||||
|
||||
function command (dir, cmd, args) {
|
||||
console.log(divider)
|
||||
if (dir)
|
||||
console.log(cmdDirStyle(dir))
|
||||
console.log(`${cmdArrowStyle('>')} ${cmdCmdStyle(cmd)} ${args.join(' ')}`)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
progress,
|
||||
status,
|
||||
error,
|
||||
warn,
|
||||
command
|
||||
}
|
||||
78
lib/util.js
Normal file
78
lib/util.js
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
const fs = require('fs')
|
||||
const Log = require('./logging')
|
||||
const { spawnSync } = require('child_process')
|
||||
|
||||
// This is the valid way of retrieving configuration values for NPM <= 6, with
|
||||
// npm_package_config_* still working up to NPM 7, but no longer for NPM >= 8.
|
||||
// See https://github.com/npm/rfcs/blob/main/implemented/0021-reduce-lifecycle-script-environment.md
|
||||
const getNPMConfigFromEnv = (path) => {
|
||||
const key = path.join('_')
|
||||
// Npm <= 6 did not preserve dashes in package.json keys
|
||||
const keyNoDashes = key.replace('-', '_')
|
||||
const npm_prefix = 'npm_config_'
|
||||
const package_config_prefix = 'npm_package_config_'
|
||||
const package_prefix = 'npm_package_'
|
||||
return process.env[npm_prefix + keyNoDashes] ||
|
||||
process.env[package_config_prefix + keyNoDashes] ||
|
||||
process.env[package_config_prefix + key] ||
|
||||
process.env[package_prefix + keyNoDashes] ||
|
||||
process.env[package_prefix + key]
|
||||
}
|
||||
|
||||
// From NPM >= 8, we need to inspect the package.json file, which should
|
||||
// be available via the 'npm_package_json' environment variable.
|
||||
const getNPMConfigFromPackageJson = (path) => {
|
||||
let packages = { config: {} }
|
||||
if (fs.existsSync(process.env['npm_package_json'])) {
|
||||
packages = require(process.env['npm_package_json'])
|
||||
}
|
||||
|
||||
let obj = packages.config
|
||||
for (var i = 0, len = path.length; i < len; i++) {
|
||||
if (!obj) {
|
||||
return obj
|
||||
}
|
||||
obj = obj[path[i]]
|
||||
}
|
||||
return obj
|
||||
}
|
||||
|
||||
const getNPMConfig = (path) => {
|
||||
return getNPMConfigFromEnv(path) || getNPMConfigFromPackageJson(path)
|
||||
}
|
||||
|
||||
|
||||
const getProjectVersion = (projectName) => {
|
||||
return getNPMConfig(['projects', projectName, 'tag']) || getNPMConfig(['projects', projectName, 'branch'])
|
||||
}
|
||||
|
||||
const run = (cmd, args = [], options = {}) => {
|
||||
const { continueOnFail, ...cmdOptions } = options
|
||||
Log.command(cmdOptions.cwd, cmd, args)
|
||||
const prog = spawnSync(cmd, args, cmdOptions)
|
||||
if (prog.status !== 0) {
|
||||
if (!continueOnFail) {
|
||||
console.log(prog.stdout && prog.stdout.toString())
|
||||
console.error(prog.stderr && prog.stderr.toString())
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
return prog
|
||||
}
|
||||
|
||||
const runGit = (repoPath, gitArgs, continueOnFail = false) => {
|
||||
let prog = run('git', gitArgs, { cwd: repoPath, continueOnFail })
|
||||
|
||||
if (prog.status !== 0) {
|
||||
return null
|
||||
} else {
|
||||
return prog.stdout.toString().trim()
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
getNPMConfig,
|
||||
getProjectVersion,
|
||||
run,
|
||||
runGit
|
||||
}
|
||||
90
package-lock.json
generated
Normal file
90
package-lock.json
generated
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
{
|
||||
"name": "brave",
|
||||
"version": "1.87.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "brave",
|
||||
"version": "1.87.1",
|
||||
"license": "MPL-2.0",
|
||||
"dependencies": {
|
||||
"chalk": "4.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.0.0 <25.0.0",
|
||||
"npm": ">=11.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"color-convert": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
||||
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/chalk/chalk?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"color-name": "~1.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"has-flag": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
58
package.json
Normal file
58
package.json
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"name": "brave",
|
||||
"version": "1.87.1",
|
||||
"description": "Next generation Brave browser for macOS, Windows, Linux, and Android",
|
||||
"homepage": "https://github.com/brave/brave-browser#readme",
|
||||
"bugs": {
|
||||
"url": "https://github.com/brave/brave-browser/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/brave/brave-browser.git"
|
||||
},
|
||||
"license": "MPL-2.0",
|
||||
"author": {
|
||||
"name": "Brave Software <support@brave.com>"
|
||||
},
|
||||
"scripts": {
|
||||
"apply_patches": "cd src/brave && npm run apply_patches --",
|
||||
"audit_deps": "cd src/brave && npm run audit_deps --",
|
||||
"build": "cd src/brave && npm run build --",
|
||||
"chromium_rebase_l10n": "cd src/brave && npm run chromium_rebase_l10n --",
|
||||
"cibuild": "cd src/brave && npm run cibuild --",
|
||||
"create_dist": "cd src/brave && npm run create_dist --",
|
||||
"delete_string_translations": "cd src/brave && npm run delete_string_translations --",
|
||||
"gclient": "cd src/brave && npm run gclient --",
|
||||
"gn_check": "cd src/brave && npm run gn_check --",
|
||||
"init": "node ./scripts/init.js",
|
||||
"lint": "cd src/brave && npm run lint --",
|
||||
"network-audit": "cd src/brave && npm run network-audit --",
|
||||
"pull_l10n": "cd src/brave && npm run pull_l10n --",
|
||||
"push_l10n": "cd src/brave && npm run push_l10n --",
|
||||
"start": "cd src/brave && npm run start --",
|
||||
"sync": "cd src/brave && npm run sync --",
|
||||
"test": "cd src/brave && npm run test --",
|
||||
"test-security": "cd src/brave && npm run test-security --",
|
||||
"test:scripts": "jest lib scripts --passWithNoTests",
|
||||
"update_patches": "cd src/brave && npm run update_patches --",
|
||||
"versions": "cd src/brave && npm run versions --"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.0.0 <25.0.0",
|
||||
"npm": ">=11.0.0"
|
||||
},
|
||||
"config": {
|
||||
"projects": {
|
||||
"brave-core": {
|
||||
"dir": "src/brave",
|
||||
"branch": "master",
|
||||
"repository": {
|
||||
"url": "https://github.com/brave/brave-core.git"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"chalk": "4.1.2"
|
||||
}
|
||||
}
|
||||
15
scripts/.vpython
Normal file
15
scripts/.vpython
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
python_version: "2.7"
|
||||
|
||||
# Used by:
|
||||
# auth.py
|
||||
# git_cl.py
|
||||
wheel: <
|
||||
name: "infra/python/wheels/httplib2-py2_py3"
|
||||
version: "version:0.10.3"
|
||||
>
|
||||
# Used by:
|
||||
# git_cl.py
|
||||
wheel: <
|
||||
name: "infra/python/wheels/six-py2_py3"
|
||||
version: "version:1.10.0"
|
||||
>
|
||||
38
scripts/init.js
Normal file
38
scripts/init.js
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
// Copyright (c) 2019 The Brave Authors. All rights reserved.
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
// you can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
const fs = require('fs')
|
||||
const Log = require('../lib/logging')
|
||||
const path = require('path')
|
||||
const { spawnSync } = require('child_process')
|
||||
const util = require('../lib/util')
|
||||
|
||||
Log.progress('Performing initial checkout of brave-core')
|
||||
|
||||
const braveCoreDir = path.resolve(__dirname, '..', 'src', 'brave')
|
||||
const braveCoreRef = util.getProjectVersion('brave-core')
|
||||
|
||||
if (!fs.existsSync(path.join(braveCoreDir, '.git'))) {
|
||||
Log.status(`Cloning brave-core [${braveCoreRef}] into ${braveCoreDir}...`)
|
||||
fs.mkdirSync(braveCoreDir)
|
||||
util.runGit(braveCoreDir, ['clone', util.getNPMConfig(['projects', 'brave-core', 'repository', 'url']), '.'])
|
||||
util.runGit(braveCoreDir, ['checkout', braveCoreRef])
|
||||
}
|
||||
const braveCoreSha = util.runGit(braveCoreDir, ['rev-parse', 'HEAD'])
|
||||
Log.progress(`brave-core repo at ${braveCoreDir} is at commit ID ${braveCoreSha}`)
|
||||
|
||||
let npmCommand = 'npm'
|
||||
if (process.platform === 'win32') {
|
||||
npmCommand += '.cmd'
|
||||
}
|
||||
|
||||
util.run(npmCommand, ['install'], { cwd: braveCoreDir })
|
||||
|
||||
util.run(npmCommand, ['run', 'sync' ,'--', '--init'].concat(process.argv.slice(2)), {
|
||||
cwd: braveCoreDir,
|
||||
env: process.env,
|
||||
stdio: 'inherit',
|
||||
shell: true,
|
||||
git_cwd: '.', })
|
||||
1
src/.gitkeep
Normal file
1
src/.gitkeep
Normal file
|
|
@ -0,0 +1 @@
|
|||
gitkeep
|
||||
Loading…
Add table
Add a link
Reference in a new issue