Scoop icon indicating copy to clipboard operation
Scoop copied to clipboard

chore(release): Bump to version 0.3.2

Open niheaven opened this issue 3 years ago • 9 comments

Changelog

Features

  • scoop-update: Add support for parallel syncing buckets in PowerShell 7 and improve output (#5122)
  • config: Support portable config file (#5369)
  • bucket: Switch nirsoft bucket to ScoopInstaller/Nirsoft (#5328)
  • bucket: Make official buckets higher priority (#5398)
  • core: Add -Quiet switch for Invoke-ExternalCommand (#5346)

Bug Fixes

  • decompress: Exclude '*.nsis' that may cause error (#5294)
  • autoupdate: Fix file hash extraction (#5295)
  • getopt: Stop split arguments in getopt() and ensure array by explicit arguments type (#5326)
  • shortcuts: Output correctly formatted path (#5333)
  • core: Fix scripts' calling parameters (#5365)
  • core: Fix is_in_dir under Unix (#5391)
  • core: Rewrite config file when needed (#5439)
  • env: Avoid automatic expansion of %% in env (#5395)
  • install: Fix download from private GitHub repositories (#5361)
  • scoop-info: Fix errors in file size collection when --verbose (#5352)
  • shim: Use bash executable directly (#5433)

Performance Improvements

  • decompress: Disable progress bar to improve Expand-Archive performance (#5410)

Code Refactoring

  • git: Use Invoke-Git() with direct path to git.exe to prevent spawning shim subprocesses (#5122, #5375)
  • scoop-download: Output more detailed manifest information (#5277)

Builds

  • checkver: Read the private_host config variable (#5381)

Continuous Integration

  • dependabot: Add dependabot.yml for GitHub Actions (#5377)

Tests

  • bucket: Skip manifest validation if no manifest changes (#5270)

Close Issues

  • Closes #1615
  • Closes #3877
  • Closes #5380
  • Closes #5357
  • Closes #4498
  • Closes #5394
  • Closes #5313
  • Closes #5293
  • Related to #5131
  • Closes https://github.com/ScoopInstaller/Main/issues/4564
  • Closes #5434

Credits

Thanks to the following contributors (ordered by PR merging time):

@r15ch13 @niheaven @HUMORCE @rashil2000 @rasa @Ercolino @jeppefrandsen @chawyehsu @WHYBBE @Valinor @starthal @lewis-yeung

niheaven avatar Mar 10 '23 09:03 niheaven

FYI, it's urgent that #???? (fix for #5065) and #5346 (fix for #5066) have to be included in this release otherwise the regression would last for a longer time until the next release cycle.

chawyehsu avatar Mar 10 '23 11:03 chawyehsu

Oh yes, so waiting for them. I'll prepare for #5065 these two days.

niheaven avatar Mar 10 '23 13:03 niheaven

Opps! I forgot to change the title of #5346 before it got merged. 😅

lewis-yeung avatar Mar 11 '23 15:03 lewis-yeung

There are some issues related to ScoopInstaller/Install#48, due to my two modifications: ScoopInstaller/Install#44 and #5395

An easily reproducible case is:

  • Use the latest dev branch code(New method to get/set env in core.ps1)
  • Install a python version that has not been installed by scoop(There is no relevant Python path in environment variables)
  • Execute python --version(The correct version can be obtained)
  • Right-click to open the Windows start key, select Windows Terminal(Windows 11)
  • Execute python --version again(Can't get the version correctly)
  • It can also be verified by directly adding a script or executable program to the Python environment variable path that was just added and repeating the above steps

The code I modified caused a little problem with the environment variable session. If you pin a Windows Terminal on the taskbar and use it to open Powershell, the problem will be covered up.

What I said may not be intuitive, anyway, my ScoopInstaller/Install#44 and #5395 modifications have some problems that need to be fixed.

A more detailed description can be found in comment-1479699208

WHYBBE avatar Mar 22 '23 15:03 WHYBBE

So the new method add path to current session only? Could you have a hotfix for it?

niheaven avatar Mar 22 '23 15:03 niheaven

So the new method add path to current session only? Could you have a hotfix for it?

No, the situation is very complicated. The modification of the registry is successful, and of course the modification of the Path is also successful, but the strange thing is that the session will not be modified in some cases at some places.

Return to normal by doing some operations: Restart or manually save the editor of Path once (open Path and save it, no need to modify). Of course this is not acceptable.

However I don't know how to deal with it, and I have a busy weekday, maybe I can spend the weekend exploring what is wrong.

I apologize for the new bugs(shouldn't exist) I caused.

WHYBBE avatar Mar 22 '23 15:03 WHYBBE

Changing the registry value is not enough. This is why choco runs setx and calls a user32.dll function: https://github.com/chocolatey/choco/blob/ac806ee5ce03dea28f01c81f88c30c17726cb3e9/src/chocolatey.resources/helpers/functions/Set-EnvironmentVariable.ps1#L99-L124 ~~The function call is probably not needed, because we don't care what explorer.exe does.~~

Copy of https://github.com/ScoopInstaller/Install/issues/48#issuecomment-1479902922

r15ch13 avatar Mar 22 '23 16:03 r15ch13

https://github.com/ScoopInstaller/Scoop/blob/3dfb4bfd978f2c76e3a3080f62d4628901bcde31/lib/core.ps1#L1359-L1382

HUMORCE avatar Jul 10 '23 20:07 HUMORCE

It has been over a year since version 0.3.1, when will version 0.3.2 be released? Thanks to the contributors.

asac88 avatar Dec 08 '23 15:12 asac88

Is Scoop abandoned?

rodrigost23 avatar Feb 29 '24 22:02 rodrigost23

Is Scoop abandoned?

@rodrigost23 Scoop gets a lot of volunteer love. If you want to move things along quicker, please consider joining in the fun.

rasa avatar Mar 01 '24 06:03 rasa

Hey all, I have been using/customising scoop to my needs, I want to contribute a few tweaks upstream.

Just wondering,

1: what is the anticipated release date of 0.4.0 is it too late to submit new changes?

2: How can I install 0.4.0 for testing?

29039 avatar Mar 23 '24 07:03 29039