Skip to content

v0.9.2

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Nov 12:33
· 22 commits to main since this release
fdae3c4

What's Changed

  • Rewriting a profile Preferences file or a Linux policy file on Linux and macOS now keeps the file's owner and permissions (PowerShell 7.3 or newer). Previously the replaced file got the default permissions, so a 0600 Preferences file became world-readable (0644), and a file rewritten with sudo ended up owned by root.

  • On Linux, /etc/brave/policies/managed/BraveDebloater.json and the brave/policies/managed folders are now made readable for every user after an apply or undo run. With a restrictive root umask (027 or 077) Brave could not read the new file, so the applied policies silently had no effect. A -PolicyPath file keeps the permissions it has.

  • A string policy value that differs only in case, for example DnsOverHttpsMode = OFF, is no longer reported as "Already set" in previews, reports, and -Doctor. Brave reads these values case-sensitively.

  • -ReportPath on a Linux desktop now opens reports whose path contains spaces. The path was split into several arguments for xdg-open.

  • The Linux default profile folder for -IncludeProfilePreferences and -Doctor follows XDG_CONFIG_HOME when it is set to an absolute path, as Brave does.

  • A -NoBackup preview report no longer says Backup: Written on -Apply or promises an undo command; it now says that the matching -Apply run writes no backup.

  • The "Could not read existing policies" warning no longer ends with a doubled period.

  • scripts/Update-PolicyTemplateVersion.ps1 no longer rewrites the "What Changed" sentence in docs/debloatable-validation.md. On the version-only 156.1.100.5 update it changed "from 155.1.99.2 to 156.1.99.33" into "to 156.1.100.5", which credited the Autofill deprecations to the wrong template. It now updates only the template evidence: the version and the VERSION entry date from the zip.

  • The weekly policy template check no longer fails when the repository does not let GitHub Actions open pull requests. It still pushes automation/policy-templates, then opens or updates one issue with the comparison and a link to open the pull request. Later runs close that issue once a pull request from the branch is open or main records the latest templates. The check always compares and rewrites main, also when started by hand from another branch. Every run now shows the comparison and the manifest validation output on its run page. The October 12 and 19 runs failed at that step, so the 156.1.100.5 update found on October 19 never reached a pull request.

Validation

Run against this tag before publishing, on Windows, Ubuntu, and macOS:

  • ./scripts/Test-PolicyManifest.ps1
  • ./scripts/Test-Behavior.ps1
  • Invoke-Pester -Path ./tests
  • ./Invoke-BraveDebloat.ps1 -Preset Extreme -LockShields
  • Windows PowerShell 5.1 compatibility checks

Install

One line, any platform with PowerShell (downloads this release, checks SHA256SUMS.txt, extracts, prints the preview command):

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/osfv/BraveDebloater/main/install.ps1))) -Version 0.9.2

Or download BraveDebloater-v0.9.2.zip below. BraveDebloater-v0.9.2-windows.zip is the same tree flattened with the BraveDebloat.exe launcher; winget uses it.

Verify the download

Compare the archive hash with SHA256SUMS.txt:

Get-FileHash .\BraveDebloater-v0.9.2.zip -Algorithm SHA256

Confirm that this repository's release workflow built the archive from this tag (needs the GitHub CLI):

gh attestation verify .\BraveDebloater-v0.9.2.zip --repo osfv/BraveDebloater --source-ref refs/tags/v0.9.2 --signer-workflow osfv/BraveDebloater/.github/workflows/release.yml

Full Changelog: v0.9.1...v0.9.2