|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -All notable changes to the Echo element are documented in this file. |
| 3 | +All notable changes to Echo (Task Scheduler) are documented here. |
| 4 | +Format: [Keep a Changelog](https://keepachangelog.com/). |
4 | 5 |
|
5 | | -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). |
6 | | - |
7 | | -## [0.6.0] — 2026 Q2 |
| 6 | +## [v2.0] — Q1 2026: Editor Launch Sprint |
8 | 7 |
|
9 | 8 | ### Changed |
10 | 9 |
|
11 | | -- Simplified rustdocflags configuration formatting |
12 | | -- Updated Documentation/Rust submodule to latest |
13 | | - |
14 | | -### Added |
| 10 | +- Documentation and config refinement |
| 11 | +- StealingQueue.rs comment/doc updates |
| 12 | +- Architecture mature and stable; no API changes |
15 | 13 |
|
16 | | -- Comprehensive getting-started guide in README |
17 | | -- Benefit-focused crate-level rustdoc in Library.rs |
18 | | -- See Also section linking to architecture overview and related Elements |
| 14 | +## [v1.3] — Q4 2025: Dependency Maintenance |
19 | 15 |
|
20 | | -## [0.5.0] — 2026 Q1 |
| 16 | +### Changed |
21 | 17 |
|
22 | | -### Fixed |
| 18 | +- Dependency updates maintained; no source changes |
23 | 19 |
|
24 | | -- Disabled bugged examples that caused CI failures |
| 20 | +## [v1.2] — Q3 2025: Full Stack Integration |
25 | 21 |
|
26 | 22 | ### Changed |
27 | 23 |
|
28 | | -- Updated Cloudflare development dependencies (Wrangler, Miniflare, |
29 | | - Workers Types) |
30 | | -- Upgraded @playform/build from 0.2.5 to 0.3.0 |
31 | | -- Updated dependencies |
32 | | - |
33 | | -## [0.4.0] — 2025 Q4 |
| 24 | +- Build artifacts (libEcho.rlib) removed from version control |
| 25 | +- Documentation polished: README (+46/-20), Knowledge.dot graph updated |
| 26 | + (+71/-51), example files reformatted |
| 27 | +- CODE_OF_CONDUCT email updated |
| 28 | +- Architecture stable; no code changes |
| 29 | + |
| 30 | +## [v1.1] — Q2 2025: Architecture Buildout |
| 31 | + |
| 32 | +**June 10, 2025: complete Sequence → Scheduler architecture flip.** |
| 33 | + |
| 34 | +### Added (via Source2/ staging, then promoted) |
| 35 | + |
| 36 | +- `Source/Queue/StealingQueue.rs` — work-stealing queue using |
| 37 | + `crossbeam-deque` with random peer iteration for reduced contention |
| 38 | +- `Source/Queue/mod.rs` |
| 39 | +- `Source/Scheduler/Scheduler.rs` — scheduler orchestration with public |
| 40 | + `Create` method |
| 41 | +- `Source/Scheduler/SchedulerBuilder.rs` — fluent builder: `WithWorkerCount()`, |
| 42 | + `WithQueue()` |
| 43 | +- `Source/Scheduler/Worker.rs` — prioritized local polling + system stealing |
| 44 | + strategies (99 insertions major enhancement) |
| 45 | +- `Source/Scheduler/mod.rs` |
| 46 | +- `Source/Task/Priority.rs` — High/Low priority enum for UI responsiveness vs |
| 47 | + background indexing |
| 48 | +- `Source/Task/Task.rs` — task definition with priority support |
| 49 | +- `Source/Task/mod.rs` |
| 50 | +- `Source/Library.rs` — crate rustdoc + module exports |
| 51 | + |
| 52 | +### Changed (June 10-19: 3 refinement commits) |
| 53 | + |
| 54 | +- Worker polling refactored: prioritized local polling + system stealing |
| 55 | + (47 insertions, 27 deletions) |
| 56 | +- Queue decoupled from scheduler: random peer iteration for efficient task |
| 57 | + distribution (66 insertions) |
| 58 | +- API renamed for fluency: `Count` → `WithWorkerCount`, `Queue` → |
| 59 | + `WithQueue`, `Handle` → `WorkerHandles`, `Running` → `IsRunning` |
| 60 | +- Code clarity pass: 264 insertions, 335 deletions (net -71 lines simplified) |
| 61 | +- `docs/Deep Dive.md` rewritten: 94 insertions, 51 deletions |
| 62 | +- README expanded: 59+42+24 insertions across 3 commits |
| 63 | + |
| 64 | +### Removed |
| 65 | + |
| 66 | +- Entire Sequence architecture: `Source/Struct/Sequence/*`, `Source/Trait/`, |
| 67 | + `Source/Type/`, `Source/Enum/` |
| 68 | + |
| 69 | +## [v1.0] — Q1 2025: Integration Phase |
34 | 70 |
|
35 | 71 | ### Changed |
36 | 72 |
|
37 | | -- Updated dependencies (Wrangler 4.50 through 4.56, Miniflare, Workers Types) |
38 | | -- Upgraded CI actions (actions/cache 5.0, actions/checkout 6.x, |
39 | | - actions/upload-artifact 6.0, actions/setup-node 6.x) |
| 73 | +- Full PascalCase enforcement across 18 files (150 insertions, 164 deletions): |
| 74 | + spacing `Argument:Vec` → `Argument: Vec`, field init `Name:"Read"` → |
| 75 | + `Name: "Read"` |
| 76 | +- Affected: all Example/ files, Source/Struct/Sequence/ subtree, |
| 77 | + Source/Trait/Sequence/, Source/Type/Sequence/, build.rs |
| 78 | +- Wrangler v3 → v4 migration (Cloudflare Workers) |
40 | 79 |
|
41 | | -## [0.3.0] — 2025 Q3 |
| 80 | +## [v0.2] — Q4 2024: Architecture Solidification |
42 | 81 |
|
43 | 82 | ### Added |
44 | 83 |
|
45 | | -- TypeScript declaration generation via tsconfig update |
46 | | -- Deep Dive architecture document for the scheduler |
47 | | -- Performance optimization roadmap and contribution guide |
| 84 | +- LICENSE file (109 lines) |
48 | 85 |
|
49 | 86 | ### Changed |
50 | 87 |
|
51 | | -- Decoupled queue from scheduler and optimized work-stealing algorithm |
52 | | -- Exposed scheduler APIs and optimized worker task polling |
53 | | -- Improved code clarity, documentation, and API consistency |
54 | | -- Reorganized Cargo.toml metadata and updated build artifacts |
55 | | -- Removed unused dependencies and development features |
56 | | -- Updated Cloudflare Workers dependencies |
| 88 | +- PascalCase formatting prep across Example files (23 insertions, 23 |
| 89 | + deletions): Read.rs, Write.rs, Sequence.rs, Tauri.rs, WorkSteal.rs |
| 90 | +- Cargo.toml metadata reorganization |
57 | 91 |
|
58 | | -## [0.2.0] — 2025 Q2 |
| 92 | +## [v0.1] — Q3 2024: Rapid Development |
59 | 93 |
|
60 | | -### Changed |
61 | | - |
62 | | -- Optimized release build configuration and resolved dependency version |
63 | | - conflicts |
64 | | -- Updated @cloudflare/workers-types dependency |
65 | | -- Removed obsolete build artifacts |
66 | | -- Updated .gitignore for cleaner tracking |
67 | | -- Relicensed project under CC0 1.0 Universal, then migrated to Land Public |
68 | | - License v1.0 |
| 94 | +### Added |
69 | 95 |
|
70 | | -## [0.1.0] — 2025 Q1 |
| 96 | +- `Target/` directory with transpiled JS: Function/Response.js, |
| 97 | + Interface/{Data,Environment,Message,Response,Worker}.js, |
| 98 | + Variable/Worker.js |
| 99 | +- Sequence-based task coordination architecture: |
| 100 | + - `Source/Struct/Sequence/` — Action, Life, Plan, Production, Signal, Vector |
| 101 | + - `Source/Trait/Sequence/` — Action, Site |
| 102 | + - `Source/Type/Sequence/` — Action/Cycle |
| 103 | +- Example programs: Common/Read.rs, Common/Write.rs, Sequence.rs, Tauri.rs, |
| 104 | + WorkSteal.rs |
71 | 105 |
|
72 | | -### Changed |
| 106 | +### Removed |
73 | 107 |
|
74 | | -- Updated dependencies |
| 108 | +- `.github/workflows/Cloudflare.yml` (61 lines) — Workers deployment abandoned |
75 | 109 |
|
76 | | -## [0.0.1] — 2024 Q3 |
77 | | - |
78 | | -### Added |
| 110 | +### Dependencies (First Release) |
79 | 111 |
|
80 | | -- Initial Rust work-stealing task scheduler implementation |
81 | | -- Cloudflare Workers integration with Wrangler and Miniflare |
82 | | -- TypeScript worker bindings via @playform/build |
83 | | -- CI/CD workflows with GitHub Actions (cache, upload-artifact, setup-node) |
84 | | -- Dependabot configuration for automated dependency updates |
| 112 | +- crossbeam-deque (work-stealing core), tokio, rand, num_cpus, log, serde |
0 commit comments