windowsweep 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -6
- package/README.md +13 -10
- package/VERSION +1 -1
- package/lib/constants.ps1 +6 -5
- package/lib/log.ps1 +2 -2
- package/modules/release_helpers.ps1 +1 -3
- package/package.json +1 -1
- package/windowsweep.ps1 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,31 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [1.3.1] - 2026-09-25
|
|
13
|
+
|
|
14
|
+
No change to what is cleaned, how it is decided, or what is refused. This release names the team as the
|
|
15
|
+
tool's maker instead of one person, and points the web address it prints at the product's own site.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **The maker lines name the team.** The end-of-run line, the walkthrough and the usage header read
|
|
20
|
+
*by the windowsweep team*; `--version` and the session log's header read `Author: The windowsweep team`.
|
|
21
|
+
- **The web address the tool prints is the product's own site**, `https://windowsweep.aoneahsan.com`,
|
|
22
|
+
instead of a personal site: the `Web:` row of `--version` and `--feedback`, the session log's header and
|
|
23
|
+
the walkthrough. The contact form lives there.
|
|
24
|
+
- **The report credits** keep their four keys and their string type, so a reader of `schema_version: 1`
|
|
25
|
+
keeps working: `author.name` is `the windowsweep team`, `author.website` is the product's site, and
|
|
26
|
+
`author.email` and `author.linkedin` are empty strings. A report written earlier keeps what it recorded.
|
|
27
|
+
- **The Email and LinkedIn rows of `--version` are gone**, and so is the email address in the usage
|
|
28
|
+
header and the session log's header. The address stays where it is a contact channel: the crash message
|
|
29
|
+
and `--feedback`.
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- **The README's install-size row inside the 1.3.0 package** said 44 files and about 396 kB unpacked;
|
|
34
|
+
that package held 46 files and about 400 kB, because the two files 1.3.0 split out were never counted.
|
|
35
|
+
The row is measured from this package.
|
|
36
|
+
|
|
12
37
|
## [1.3.0] - 2026-09-17
|
|
13
38
|
|
|
14
39
|
No change to what is cleaned, how it is decided, or what is refused. This release moves one printed
|
|
@@ -20,9 +45,6 @@ version rows inside the published package.
|
|
|
20
45
|
- **The documentation address the tool carries is now the documentation site**,
|
|
21
46
|
`https://windowsweep-docs.aoneahsan.com`, instead of the README on GitHub. The site has served the
|
|
22
47
|
same pages over HTTPS since 2026-09-12.
|
|
23
|
-
|
|
24
|
-
### Internal
|
|
25
|
-
|
|
26
48
|
- **`lib/external.ps1`** takes `Invoke-External`, `Test-CommandPresent`, `Test-ProcessRunning`,
|
|
27
49
|
`Test-IsAdmin`, `Test-CanElevate` and `Invoke-Elevated` out of `lib/safety.ps1`, which is back under
|
|
28
50
|
500 lines. The deletion chokepoint stays where it was: running a process and raising privilege are a
|
|
@@ -30,9 +52,13 @@ version rows inside the published package.
|
|
|
30
52
|
- **`modules/self_test_contract.ps1`** takes self-test group [18] out of `modules/self_test_extra.ps1`,
|
|
31
53
|
same fixture, same checks. Both moves are verbatim, and each was watched failing on a planted defect
|
|
32
54
|
before it was believed.
|
|
33
|
-
- The self-test
|
|
34
|
-
|
|
35
|
-
|
|
55
|
+
- **The self-test grew by the two new files**, because groups [3] and [4] check every engine file by
|
|
56
|
+
name. No check was added, changed or removed - the suite is the same suite, counting one more file
|
|
57
|
+
twice.
|
|
58
|
+
|
|
59
|
+
### Fixed
|
|
60
|
+
|
|
61
|
+
- **The README at-a-glance rows inside the published package** were stale at 1.1.0 through the 1.2.0
|
|
36
62
|
cascade. They are correct here.
|
|
37
63
|
|
|
38
64
|
## [1.2.0] - 2026-09-08
|
package/README.md
CHANGED
|
@@ -36,14 +36,14 @@ It is the Windows member of a family with [linux-cleanup](https://github.com/aon
|
|
|
36
36
|
|
|
37
37
|
| | |
|
|
38
38
|
|---|---|
|
|
39
|
-
| **Version** | `1.3.
|
|
39
|
+
| **Version** | `1.3.1` |
|
|
40
40
|
| **License** | MIT |
|
|
41
41
|
| **Node** | `>=14` (launcher only) |
|
|
42
42
|
| **Runtime** | Windows PowerShell 5.1 (built in) or PowerShell 7 |
|
|
43
43
|
| **Platforms** | Windows 10 (1809+) and Windows 11 |
|
|
44
|
-
| **Install size** | ~
|
|
44
|
+
| **Install size** | ~120 kB packed · ~401 kB unpacked · 46 files · no dependencies |
|
|
45
45
|
| **Undo** | Recycle Bin for personal files; none for caches (they regenerate) |
|
|
46
|
-
| **Status** | Stable · 1.3.
|
|
46
|
+
| **Status** | Stable · 1.3.1, released 2026-09-25 |
|
|
47
47
|
|
|
48
48
|
<a id="table-of-contents"></a>
|
|
49
49
|
## 🧭 Table of Contents [#](#table-of-contents)
|
|
@@ -451,12 +451,15 @@ More: [FAQ](https://windowsweep-docs.aoneahsan.com/faq).
|
|
|
451
451
|
<a id="changelog"></a>
|
|
452
452
|
## 🔄 Changelog [#](#changelog)
|
|
453
453
|
|
|
454
|
-
Latest release: **`1.3.
|
|
455
|
-
The
|
|
456
|
-
|
|
457
|
-
at-a-glance rows inside the published package are correct again.
|
|
454
|
+
Latest release: **`1.3.1`** - nothing about what is cleaned, how it is decided or what is refused changed.
|
|
455
|
+
The tool names the windowsweep team as its maker instead of one person, and the web address it prints is the
|
|
456
|
+
product's own site.
|
|
458
457
|
|
|
459
|
-
Before it, **`1.
|
|
458
|
+
Before it, **`1.3.0`** - the documentation address the tool carries became the documentation site, two files
|
|
459
|
+
that had grown past the project's own 500-line ceiling were split (the deletion chokepoint stayed exactly where
|
|
460
|
+
it was), and the at-a-glance rows inside the published package were corrected.
|
|
461
|
+
|
|
462
|
+
Before that, **`1.2.0`** - `--exclude-path` honoured in every section at the deletion chokepoint (it
|
|
460
463
|
protected one section out of twenty-six, and never a folder's children), a dry-run that counts exactly what a
|
|
461
464
|
real run removes, `newest_write_utc` on every scanned target, `protected` in `--list --json`, `excluded[]` in
|
|
462
465
|
the summary, and the console and report strings in one voice.
|
|
@@ -504,8 +507,8 @@ this tool deletes files, so review what it proposes before confirming.
|
|
|
504
507
|
<a id="author"></a>
|
|
505
508
|
## 👤 Author [#](#author)
|
|
506
509
|
|
|
507
|
-
**
|
|
508
|
-
[
|
|
510
|
+
**The windowsweep team** - [team page](https://windowsweep-docs.aoneahsan.com/about) ·
|
|
511
|
+
[contact form](https://windowsweep.aoneahsan.com/contact), after signing in
|
|
509
512
|
|
|
510
513
|
<a id="links"></a>
|
|
511
514
|
## 🔗 Links [#](#links)
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.3.
|
|
1
|
+
1.3.1
|
package/lib/constants.ps1
CHANGED
|
@@ -4,15 +4,16 @@
|
|
|
4
4
|
# Single source of truth for the version is package.json: the Node launcher exports it as
|
|
5
5
|
# WINDOWSWEEP_VERSION. A direct checkout falls back to this literal; the version:check script
|
|
6
6
|
# asserts the two never drift.
|
|
7
|
-
$Script:WS_VERSION_FALLBACK = '1.3.
|
|
7
|
+
$Script:WS_VERSION_FALLBACK = '1.3.1'
|
|
8
8
|
|
|
9
9
|
$Script:WS_NAME = 'windowsweep'
|
|
10
10
|
$Script:WS_TAGLINE = 'Developer-aware Windows cleanup CLI: dry-run first, personal folders refused, zero install via npx.'
|
|
11
|
-
|
|
11
|
+
# The maker is the team, never one person. WS_AUTHOR lands mid-line ("by the windowsweep team");
|
|
12
|
+
# WS_TEAM is the form a label shows standing alone ("Author: The windowsweep team").
|
|
13
|
+
$Script:WS_AUTHOR = 'the windowsweep team'
|
|
14
|
+
$Script:WS_TEAM = 'The windowsweep team'
|
|
12
15
|
$Script:WS_EMAIL = 'aoneahsan@gmail.com'
|
|
13
|
-
$Script:WS_WEB = 'https://aoneahsan.com'
|
|
14
|
-
$Script:WS_LINKEDIN = 'https://linkedin.com/in/aoneahsan'
|
|
15
|
-
$Script:WS_GITHUB = 'https://github.com/aoneahsan'
|
|
16
|
+
$Script:WS_WEB = 'https://windowsweep.aoneahsan.com'
|
|
16
17
|
$Script:WS_REPO = 'https://github.com/aoneahsan/windowsweep'
|
|
17
18
|
$Script:WS_ISSUES = 'https://github.com/aoneahsan/windowsweep/issues'
|
|
18
19
|
$Script:WS_NPM = 'https://www.npmjs.com/package/windowsweep'
|
package/lib/log.ps1
CHANGED
|
@@ -14,7 +14,7 @@ function Initialize-Log {
|
|
|
14
14
|
$header = @(
|
|
15
15
|
'# ============================================================'
|
|
16
16
|
"# $Script:WS_NAME v$(Get-ToolVersion) - session log"
|
|
17
|
-
"# Author: $Script:
|
|
17
|
+
"# Author: $Script:WS_TEAM"
|
|
18
18
|
"# Web: $Script:WS_WEB"
|
|
19
19
|
"# License: $Script:WS_LICENSE"
|
|
20
20
|
"# Started: $(Get-Date -Format 'yyyy-MM-dd HH:mm:ss zzz')"
|
|
@@ -106,7 +106,7 @@ function Save-Report {
|
|
|
106
106
|
schema_version = 1
|
|
107
107
|
credits = [ordered]@{
|
|
108
108
|
tool = $Script:WS_NAME; tool_version = (Get-ToolVersion); tool_homepage = $Script:WS_REPO; tool_license = $Script:WS_LICENSE
|
|
109
|
-
author = [ordered]@{ name = $Script:WS_AUTHOR; email =
|
|
109
|
+
author = [ordered]@{ name = $Script:WS_AUTHOR; email = ''; website = $Script:WS_WEB; linkedin = '' }
|
|
110
110
|
}
|
|
111
111
|
meta = [ordered]@{
|
|
112
112
|
started_at = $ws.Report.startedAt
|
|
@@ -5,10 +5,8 @@ function Show-Version {
|
|
|
5
5
|
Write-Host (" $Script:WS_NAME v$(Get-ToolVersion)")
|
|
6
6
|
Write-Host (" $Script:WS_TAGLINE")
|
|
7
7
|
Write-Host ''
|
|
8
|
-
Write-Host (" Author: $Script:
|
|
9
|
-
Write-Host (" Email: $Script:WS_EMAIL")
|
|
8
|
+
Write-Host (" Author: $Script:WS_TEAM")
|
|
10
9
|
Write-Host (" Web: $Script:WS_WEB")
|
|
11
|
-
Write-Host (" LinkedIn: $Script:WS_LINKEDIN")
|
|
12
10
|
Write-Host (" Source: $Script:WS_REPO")
|
|
13
11
|
Write-Host (" License: $Script:WS_LICENSE")
|
|
14
12
|
Write-Host ''
|
package/package.json
CHANGED
package/windowsweep.ps1
CHANGED
|
@@ -103,7 +103,7 @@ OUTPUT
|
|
|
103
103
|
Logs: $($Script:WS.LogsDir)
|
|
104
104
|
Reports: $($Script:WS.ReportsDir)
|
|
105
105
|
|
|
106
|
-
$Script:WS_NAME v$v by $Script:WS_AUTHOR
|
|
106
|
+
$Script:WS_NAME v$v by $Script:WS_AUTHOR $Script:WS_WEB
|
|
107
107
|
$Script:WS_REPO - $Script:WS_LICENSE
|
|
108
108
|
"@
|
|
109
109
|
Write-Host $text
|