Skip to content

Commit 0e2d546

Browse files
docs(Worker): Expand CHANGELOG with comprehensive version history
Rewrote the CHANGELOG from 61 to 134 lines, organizing it into clear version sections (v2.1, v2.0, v1.x, v1.0, v0.0) with detailed commit references, dates, and narrative descriptions of each major milestone. The new format documents the complete Worker history—from the April 2025 project inception (v0.0), through the pivotal May 2025 web-worker implementation (v1.0), Q1 2026 editor launch sprint (v2.0), to the April 2026 full workbench lift (v2.1). Each section now includes Added, Changed, and Fixed subsections with specific commit hashes, making it easier to trace the evolution of our service-worker and web-worker layers for Wind/Sky.
1 parent 445b2fd commit 0e2d546

1 file changed

Lines changed: 115 additions & 42 deletions

File tree

CHANGELOG.md

Lines changed: 115 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,134 @@
1-
# Changelog
1+
# Changelog - Worker
22

3-
All notable changes to Worker (Service Worker) are documented here.
4-
Format: [Keep a Changelog](https://keepachangelog.com/).
3+
Worker is our service-worker / web-worker layer for the renderer -
4+
the bundle that handles background processing and shim caching for
5+
Wind/Sky. This file records what we built in our voice, version by
6+
version. Format adapted from
7+
[Keep a Changelog](https://keepachangelog.com/).
58

6-
## [v2.1] - Q2 2026: Full Workbench Lift
9+
## [v2.1] - Full Workbench Lift (April 2026)
710

8-
### Changed
9-
10-
- ESBuild config indentation reformatted (94 lines)
11-
- IIFE wrap with early return pattern (-752 lines Target/)
12-
- ESBuild structure simplified (+703 lines output)
13-
- README expanded (+196 lines architecture diagrams)
14-
15-
## [v2.0] - Q1 2026: Editor Launch Sprint
11+
We tightened Worker's service-worker registration and brought the
12+
ESBuild config in line with the bundled-electron profile.
1613

1714
### Added
1815

19-
- Version tracking mechanism to prevent infinite refresh loops in
20-
`Source/Worker/Register.ts` (104 lines refactored)
21-
- `Configuration/ESBuild/Target.js`, `Configuration/ESBuild/Worker.js` (55
22-
lines each)
23-
- README comprehensive rewrite (182 lines)
16+
- **Comprehensive README** with architecture diagrams and usage
17+
guide (`0b20621`, 2026-04-05) and a benefit-focused rewrite pass
18+
(`1edbd06`, `d778faf`, 2026-04-04).
19+
- **Complete CHANGELOG history** documented from 0.0.1 to 0.5.0
20+
(`579aebc`, 2026-04-16).
21+
- **Expanded ESBuild config** with source maps for development
22+
visibility (`e8bdbb8`, 2026-04-26).
2423

2524
### Changed
2625

27-
- Minification toggle: source maps removed (March 11), restored (March 13)
28-
29-
## [v1.3] - Q4 2025: Dependency Maintenance
26+
- **Service-worker registration wrapped in IIFE** with early return
27+
(`de28f10`, 2026-04-07). Avoids the registration race we hit
28+
during workbench boot when the SW tried to claim before the
29+
page's first paint.
30+
- **ESBuild Worker configuration** reformatted for compact output
31+
(`ac18ddf`, 2026-04-06; `cb7efdd`, `0ed481e`).
32+
- **Build scripts switched to POSIX-compliant `sh` shebang**
33+
(`34f5d0f`, 2026-04-06).
34+
- **ESBuild config files minified** for production
35+
(`c9d9dd7`, 2026-04-25), then expanded back with source maps
36+
(`e8bdbb8`, 2026-04-26).
37+
38+
### Fixed
39+
40+
- **Obsolete precache paths removed** from the service worker
41+
(`47516e2`, 2026-04-29). The bundled tree had moved; the SW was
42+
still trying to precache stale paths.
43+
- **HTML tag structure in the README header** corrected
44+
(`eaa1f68`, 2026-04-06).
45+
- **Service-worker main file reference** corrected in the README
46+
(`bb0af5d`, 2026-04-16).
47+
48+
## [v2.0] - Editor Launch (Q1 2026)
49+
50+
We hardened the service worker for the workbench-lift cycle - the
51+
refresh loop and the production minification both landed here.
52+
53+
### Fixed
54+
55+
- **Service-worker refresh loop** prevented with version tracking
56+
(`ddd814b`, 2026-02-20). The SW was claiming and re-claiming on
57+
every reload; version tracking gave it a stable identity across
58+
page lifetimes.
59+
- **Workbench fixes** (`383bea0`, `fdc1d49`, 2026-02-13/14) - the
60+
renderer side learned to talk to the new Worker bundle cleanly
61+
during the editor-launch boot path.
3062

3163
### Changed
3264

33-
- @types/serviceworker: 0.0.154 → 0.0.162
34-
- Bulk file permission reset (32 files)
65+
- **Service Worker minified for production** (`4d1f36d`,
66+
2026-03-11), then **development-readable build artefacts restored
67+
with source maps** (`338d634`, 2026-03-13). Two profiles, two
68+
shapes.
69+
- **`.gitignore` added** to exclude build artefacts (`14232fb`,
70+
2026-03-13).
71+
- **Naming refactor** + **maintenance pass** (`5190190`, `4e30443`,
72+
2026-02-10).
3573

36-
## [v1.2] - Q3 2025: Full Stack Integration
74+
## [v1.x] - Architecture Buildout (Q3 2025 - Q4 2025)
3775

38-
### Changed
76+
The crate sat in maintenance through this window. Continuous
77+
Dependabot rolls and routine generated-artefact updates. The
78+
substantive worker buildout had landed in v1.0 (May 2025); v2.0
79+
above was the next major correctness pass.
3980

40-
- @types/serviceworker: 0.0.148 → 0.0.154
41-
- Build infrastructure stable
81+
### Changed (selected)
4282

43-
## [v1.1] - Q2 2025: Architecture Buildout
83+
- **Composite TypeScript build + declaration maps** enabled
84+
(`faf80de`, 2025-07-04; `f8da037`, 2025-07-03).
85+
- **ESBuild tree-shaking** toggled by development mode
86+
(`4e33458`, 2025-07-02).
87+
- **ESBuild configuration refactored** alongside worker-artefact
88+
updates (`076c6b1`, 2025-06-23).
89+
90+
## [v1.0] - Integration Phase (May 2025: Web Worker Implementation)
91+
92+
The pivotal cycle. Worker became a real bundle - first web-worker
93+
implementation, service-worker security and version tracking, the
94+
ESBuild config that everything else builds on.
4495

4596
### Added
4697

47-
- `Source/Worker.ts` - main Service Worker registration entry point
48-
- `Source/Worker/Register.ts` - client-side registration with IIFE pattern
49-
- `Source/Worker/CSS/Load.ts` - dynamic CSS-to-JS transpilation interceptor
50-
- `Source/Worker/Policy.ts` - Content Security Policy enforcement
51-
- `Source/Configuration/ESBuild/Worker.ts` - 2-stage ESBuild config
52-
- `Source/Configuration/ESBuild/Target.ts` - target bundling config
53-
- Caching strategy: CACHE_CORE (network-first nav) + CACHE_ASSET (cache-first
54-
static)
55-
- Encrypted auth token management with auto-refresh
56-
- Dynamic CSS loading: intercepts CSS imports, returns JS modules triggering
57-
`<link>` tags
58-
59-
### Dependencies (First Release)
60-
61-
- @playform/build 0.3.1, @types/serviceworker, ulid 3.0.2
98+
- **Initial web-worker implementation for background processing**
99+
(`f7af13d`, 2025-05-10; refined across `e267bf4`, `1c82873`,
100+
`7bfe908`, `8d110ee`, `22ae7f9` through 2025-05-29). Multiple
101+
attempts as we figured out the shape we wanted.
102+
- **Service-worker security and version tracking**
103+
(`36b0ada`, 2025-05-03).
104+
- **Generated web-worker bundle for extension-host communication**
105+
(`0e69a1c`, 2025-05-21). The Worker bundle Cocoon's renderer-side
106+
shim consumes.
107+
108+
### Changed
109+
110+
- **ESBuild configuration consolidated**, exclusion logic unified
111+
(`483ae7c`, 2025-05-07).
112+
- **Re-licensed to CC0 1.0** (`22a8af6`, 2025-05-22), then **moved
113+
to Land Public License v1.0** (`b32fdcc`, 2025-05-10).
114+
- **Documentation URLs normalised to lowercase** (`bbff9b0`,
115+
2025-05-20).
116+
- **Application path normalised**, shim reference updated
117+
(`fc71fb0`, 2025-05-09).
118+
- **Obsolete shim cache removed** from service-worker logic
119+
(`d324d41`, 2025-05-31).
120+
- **Variable naming + error handling improved** in the service
121+
worker (`83bd769`, 2025-05-03).
122+
- **Dynamic CSS loading mechanism simplified** (`ae55909`,
123+
2025-05-01).
124+
125+
### Fixed
126+
127+
- **Build cleanup** uses configured `outdir` (`f887fb3`,
128+
2025-05-01).
129+
130+
## [v0.0] - Project Inception (April 2025)
131+
132+
Repository scaffolded across **April 2025** as a 67-commit setup
133+
push (mostly squash + Dependabot). No published worker
134+
implementation yet - the implementation arrived in v1.0 above.

0 commit comments

Comments
 (0)