@tamyla/clodo-framework 4.4.1 → 4.5.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +4 -1846
  2. package/README.md +44 -18
  3. package/dist/cli/commands/add.js +325 -0
  4. package/dist/config/service-schema-config.js +98 -5
  5. package/dist/index.js +22 -3
  6. package/dist/middleware/Composer.js +2 -1
  7. package/dist/middleware/factories.js +445 -0
  8. package/dist/middleware/index.js +4 -1
  9. package/dist/modules/ModuleManager.js +6 -2
  10. package/dist/routing/EnhancedRouter.js +185 -44
  11. package/dist/routing/RequestContext.js +393 -0
  12. package/dist/schema/SchemaManager.js +6 -2
  13. package/dist/service-management/ConfirmationEngine.js +4 -1
  14. package/dist/service-management/generators/code/ServiceMiddlewareGenerator.js +79 -223
  15. package/dist/service-management/generators/code/WorkerIndexGenerator.js +241 -98
  16. package/dist/service-management/generators/config/WranglerTomlGenerator.js +130 -89
  17. package/dist/service-management/generators/utils/ServiceManifestGenerator.js +5 -1
  18. package/dist/service-management/handlers/ConfirmationHandler.js +1 -1
  19. package/dist/simple-api.js +4 -4
  20. package/dist/utilities/index.js +134 -1
  21. package/dist/validation/environmentGuard.js +172 -0
  22. package/package.json +4 -1
  23. package/scripts/repro-clodo.js +123 -0
  24. package/templates/ai-worker/package.json +19 -0
  25. package/templates/ai-worker/src/index.js +160 -0
  26. package/templates/cron-worker/package.json +19 -0
  27. package/templates/cron-worker/src/index.js +211 -0
  28. package/templates/edge-proxy/package.json +18 -0
  29. package/templates/edge-proxy/src/index.js +150 -0
  30. package/templates/minimal/package.json +17 -0
  31. package/templates/minimal/src/index.js +40 -0
  32. package/templates/queue-processor/package.json +19 -0
  33. package/templates/queue-processor/src/index.js +213 -0
  34. package/templates/rest-api/.dev.vars +2 -0
  35. package/templates/rest-api/package.json +19 -0
  36. package/templates/rest-api/src/index.js +124 -0
package/CHANGELOG.md CHANGED
@@ -1,1855 +1,13 @@
1
- ## [4.4.1](https://github.com/tamylaa/clodo-framework/compare/v4.4.0...v4.4.1) (2026-02-06)
1
+ ## [4.5.1](https://github.com/tamylaa/clodo-framework/compare/v4.5.0...v4.5.1) (2026-02-11)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * **routing,config:** add express-like router methods and env var standardization for v4.4.1 ([7f35681](https://github.com/tamylaa/clodo-framework/commit/7f35681ee3e19173cd41f6cc31ed1565d0aaf945))
6
+ * resolve e2e test failures for validate and deploy commands ([97fd564](https://github.com/tamylaa/clodo-framework/commit/97fd5648211d13f46004b9e69c9b6face546d86d))
7
7
 
8
- # [4.4.0](https://github.com/tamylaa/clodo-framework/compare/v4.3.5...v4.4.0) (2026-02-05)
8
+ # [4.5.0](https://github.com/tamylaa/clodo-framework/compare/v4.4.1...v4.5.0) (2026-02-11)
9
9
 
10
10
 
11
11
  ### Features
12
12
 
13
- * add comprehensive Cloudflare Workers utilities ([8c82fd9](https://github.com/tamylaa/clodo-framework/commit/8c82fd97b9f2ac7ea1e579b3a4a37fea9f0aaaab))
14
- * add comprehensive Cloudflare Workers utilities ([b7fd6e8](https://github.com/tamylaa/clodo-framework/commit/b7fd6e881cc6734606917b1786150abc5022f6ab))
15
-
16
- ## [4.3.5](https://github.com/tamylaa/clodo-framework/compare/v4.3.4...v4.3.5) (2026-02-04)
17
-
18
-
19
- ### Bug Fixes
20
-
21
- * **funding:** use string value for open_collective in FUNDING.yml ([680cb5f](https://github.com/tamylaa/clodo-framework/commit/680cb5fa28499f2297b39a556ee2c60c0573ab4a))
22
-
23
- ## [4.3.4](https://github.com/tamylaa/clodo-framework/compare/v4.3.3...v4.3.4) (2026-02-04)
24
-
25
-
26
- ### Bug Fixes
27
-
28
- * include middleware migration doc in packaged artifact ([a6e7c9e](https://github.com/tamylaa/clodo-framework/commit/a6e7c9e8d57f0bf3c11516e418ebe71a8b4e3c0e))
29
- * trigger semantic-release for test fixes ([04f6f90](https://github.com/tamylaa/clodo-framework/commit/04f6f90fede7fab4ca1060fc6f490d1848a2ad55))
30
-
31
- ## [4.3.3](https://github.com/tamylaa/clodo-framework/compare/v4.3.2...v4.3.3) (2026-02-02)
32
-
33
-
34
- ### Bug Fixes
35
-
36
- * **x:** strip CRLF from POST_MESSAGE lines before comparison and message extraction ([d9db8e0](https://github.com/tamylaa/clodo-framework/commit/d9db8e0eb87081c5e9506191b21a32970a7745f4))
37
-
38
- ## [4.3.2](https://github.com/tamylaa/clodo-framework/compare/v4.3.1...v4.3.2) (2026-02-02)
39
-
40
-
41
- ### Bug Fixes
42
-
43
- * **x:** resolve YAML syntax errors in run-validate-now.yml by quoting step name and adjusting indentation ([3eecf16](https://github.com/tamylaa/clodo-framework/commit/3eecf1690746c86c077f31fb64596da6d3ff9cf1))
44
-
45
- ## [4.3.1](https://github.com/tamylaa/clodo-framework/compare/v4.3.0...v4.3.1) (2026-02-01)
46
-
47
-
48
- ### Bug Fixes
49
-
50
- * validate X_BEARER_TOKEN dry-check workflow added (no-op commit to trigger release) ([b28a539](https://github.com/tamylaa/clodo-framework/commit/b28a539af7174e7716ea4a5d4156d64f67087b8b))
51
-
52
- # [4.3.0](https://github.com/tamylaa/clodo-framework/compare/v4.2.0...v4.3.0) (2026-02-01)
53
-
54
-
55
- ### Bug Fixes
56
-
57
- * ensure programmatic feature normalization and DO middleware support are included ([e2e6867](https://github.com/tamylaa/clodo-framework/commit/e2e6867ed96f0619cfd3a07b117a49717c47ac68))
58
- * only include D1 binding in wrangler.toml when D1 feature enabled; adjust e2e assertion for forced validation report ([7a7b549](https://github.com/tamylaa/clodo-framework/commit/7a7b549aca3b8359ee76825b1bc64cb0815b35c1))
59
- * **wrangler:** emit KV and R2 bindings conditionally; add unit tests ([36702f3](https://github.com/tamylaa/clodo-framework/commit/36702f3146ce1f12fef6838010e20d2efbfed306))
60
-
61
-
62
- ### Features
63
-
64
- * **generator:** emit Durable Object import/binding into middleware runtime when feature enabled ([22b9b14](https://github.com/tamylaa/clodo-framework/commit/22b9b14567038a0f7f73221f31925ee9a2066736))
65
- * normalize features (kv -> upstash) and add unit tests ([14e5a56](https://github.com/tamylaa/clodo-framework/commit/14e5a564b5cec4016ddbafd2b39e944eee74d40a))
66
-
67
- # [4.2.0](https://github.com/tamylaa/clodo-framework/compare/v4.1.0...v4.2.0) (2026-01-31)
68
-
69
-
70
- ### Features
71
-
72
- * **validation:** integrate ConfigurationValidator into ValidationHandler; add post-generation validation in ServiceOrchestrator; tests ([#5](https://github.com/tamylaa/clodo-framework/issues/5)) ([2889864](https://github.com/tamylaa/clodo-framework/commit/28898641bac4c2d6d206e12dbba8216e1de386a3))
73
-
74
- # [4.1.0](https://github.com/tamylaa/clodo-framework/compare/v4.0.15...v4.1.0) (2026-01-31)
75
-
76
-
77
- ### Bug Fixes
78
-
79
- * **lint:** remove unnecessary escape in serviceName regex to satisfy no-useless-escape ([ac4dcda](https://github.com/tamylaa/clodo-framework/commit/ac4dcda))
80
-
81
-
82
- ### Features
83
-
84
- * **programmatic-service-api:** programmatic createService + configurable validation ([#4](https://github.com/tamylaa/clodo-framework/issues/4)) ([040f68b](https://github.com/tamylaa/clodo-framework/commit/040f68b9115b604b3f27d7baa14c63122494c5f3))
85
-
86
- ## [4.0.10](https://github.com/tamylaa/clodo-framework/compare/v4.0.9...v4.0.10) (2025-12-10)
87
-
88
-
89
- ### Bug Fixes
90
-
91
- * clean up test artifacts and temporary files ([0eb6cda](https://github.com/tamylaa/clodo-framework/commit/0eb6cdac68bce6d07e567f4b7810f4d94752b7c0))
92
-
93
- ## [4.0.8](https://github.com/tamylaa/clodo-framework/compare/v4.0.7...v4.0.8) (2025-12-09)
94
-
95
-
96
- ### Bug Fixes
97
-
98
- * respect user-provided worker and database names in deployment ([04ffc38](https://github.com/tamylaa/clodo-framework/commit/04ffc382ab910d4d260ba5c3f2e421763587948a))
99
-
100
- ## [4.0.7](https://github.com/tamylaa/clodo-framework/compare/v4.0.6...v4.0.7) (2025-12-09)
101
-
102
-
103
- ### Bug Fixes
104
-
105
- * correct dynamic import paths in interactive-validation.js ([acbadae](https://github.com/tamylaa/clodo-framework/commit/acbadaefc10cf7efab9dd263f7a40f8db18fccb4))
106
- * correct import path in interactive-validation.js ([8355677](https://github.com/tamylaa/clodo-framework/commit/83556777a0faa1a85766c0bf4795428d8ba807e6))
107
- * correct remaining dynamic import paths in interactive-validation.js ([837f0a4](https://github.com/tamylaa/clodo-framework/commit/837f0a48489dbde6b644944950232ec0f424639f))
108
- * correct Windows PowerShell environment variable handling ([f3c5354](https://github.com/tamylaa/clodo-framework/commit/f3c535449f744a2448b4c1b7d98fc62853a8eaab))
109
-
110
- ## [4.0.6](https://github.com/tamylaa/clodo-framework/compare/v4.0.5...v4.0.6) (2025-12-09)
111
-
112
-
113
- ### Bug Fixes
114
-
115
- * add null checks for enterprise deployment methods ([97c3237](https://github.com/tamylaa/clodo-framework/commit/97c32371e97f259f62a82e9f7cc393dab0def7ed))
116
- * correct URL construction and export missing testing workflow ([19691e1](https://github.com/tamylaa/clodo-framework/commit/19691e1651b3f37762e0564ccbb939c7c22965ad))
117
- * correct worker URL construction and prevent undefined errors ([5d94f4f](https://github.com/tamylaa/clodo-framework/commit/5d94f4f064d5264f18929a6d2bd0564b0bb5494a))
118
- * remove duplicate export in InteractiveTestingWorkflow ([db710c2](https://github.com/tamylaa/clodo-framework/commit/db710c2342ac3fd41b73ffd01fdd83ce0e0256f1))
119
-
120
- ## [4.0.5](https://github.com/tamylaa/clodo-framework/compare/v4.0.4...v4.0.5) (2025-12-09)
121
-
122
-
123
- ### Bug Fixes
124
-
125
- * ensure deployments use correct Cloudflare account and zone ([22d42a9](https://github.com/tamylaa/clodo-framework/commit/22d42a9d4cf800e78953a0bcd897d6cb94dfefc5))
126
-
127
- ## [4.0.4](https://github.com/tamylaa/clodo-framework/compare/v4.0.3...v4.0.4) (2025-12-08)
128
-
129
-
130
- ### Bug Fixes
131
-
132
- * enhance existing resource handling and API token propagation ([c7b3a22](https://github.com/tamylaa/clodo-framework/commit/c7b3a226b01609f01f6e8cb1cf27b957cd11868e))
133
-
134
- ## [4.0.3](https://github.com/tamylaa/clodo-framework/compare/v4.0.2...v4.0.3) (2025-12-08)
135
-
136
-
137
- ### Bug Fixes
138
-
139
- * Export CLI utilities to enable framework CLI commands ([35f1701](https://github.com/tamylaa/clodo-framework/commit/35f1701653ebe01b8fe41d184d2b88dac4c5b8d4))
140
-
141
- ## [4.0.2](https://github.com/tamylaa/clodo-framework/compare/v4.0.1...v4.0.2) (2025-12-08)
142
-
143
-
144
- ### Bug Fixes
145
-
146
- * Pass API credentials through database creation workflow ([c245618](https://github.com/tamylaa/clodo-framework/commit/c245618290a7c71808de6d1934076bd53a0519c9))
147
-
148
- ## [4.0.1](https://github.com/tamylaa/clodo-framework/compare/v4.0.0...v4.0.1) (2025-12-07)
149
-
150
-
151
- ### Bug Fixes
152
-
153
- * Export COMMON_FEATURES and autoConfigureFramework, update docs ([6cf9a7e](https://github.com/tamylaa/clodo-framework/commit/6cf9a7e13c5b0b6dc10b69624e5633429890f894))
154
-
155
- # [4.0.0](https://github.com/tamylaa/clodo-framework/compare/v3.2.5...v4.0.0) (2025-12-07)
156
-
157
-
158
- ### Bug Fixes
159
-
160
- * resolve remaining 5 import path issues in dist files ([383a625](https://github.com/tamylaa/clodo-framework/commit/383a6257910546f4d9a9f1442f4005c0cc166704))
161
-
162
-
163
- ### Code Refactoring
164
-
165
- * replace band-aid import fixes with proper wrapper pattern ([5385ef2](https://github.com/tamylaa/clodo-framework/commit/5385ef23e9a9b8be26fce9d9fe6df2184667168c))
166
-
167
-
168
- ### BREAKING CHANGES
169
-
170
- * from previous approach:
171
- - Removed post-build path manipulation that was fragile and hard to maintain
172
- - Implemented proper wrapper re-export pattern consistent with existing codebase
173
-
174
- Changes:
175
- - Create lib/shared/utils/framework-config.js wrapper that re-exports from src/utils
176
- - Update connection-manager.js to import from ../utils/framework-config.js wrapper
177
- - Update secret-generator.js to import from ../utils/framework-config.js wrapper
178
- - Update graceful-shutdown-manager.js to import from ./framework-config.js wrapper
179
- - Replace complex import path fixes with single minimal transformation in fix-dist-imports.js
180
- - Maintains all 23 exports working correctly
181
-
182
- Benefits:
183
- Clean, maintainable architecture following existing wrapper patterns
184
- No circular dependencies
185
- Imports work correctly in both source and compiled dist/
186
- Easier to debug and understand import resolution
187
- Scales better as codebase grows
188
-
189
- ## [3.2.5](https://github.com/tamylaa/clodo-framework/compare/v3.2.4...v3.2.5) (2025-12-06)
190
-
191
-
192
- ### Bug Fixes
193
-
194
- * correct import paths in dist/index.js for Windows compatibility ([351ba68](https://github.com/tamylaa/clodo-framework/commit/351ba68450c675af6f199036121aa2797eaa97a8))
195
-
196
- ## [3.2.4](https://github.com/tamylaa/clodo-framework/compare/v3.2.3...v3.2.4) (2025-12-06)
197
-
198
-
199
- ### Bug Fixes
200
-
201
- * expose CLI utilities in public API to fix import issues ([5d995ab](https://github.com/tamylaa/clodo-framework/commit/5d995abb2f6cb718acc0a03beef75f1025204200))
202
-
203
- ## [3.2.3](https://github.com/tamylaa/clodo-framework/compare/v3.2.2...v3.2.3) (2025-12-06)
204
-
205
-
206
- ### Bug Fixes
207
-
208
- * clean up debug logging in fix-dist-imports.js ([374318e](https://github.com/tamylaa/clodo-framework/commit/374318efc9b73cf304306f3dd249eb88f8b06c98))
209
- * resolve all test suite failures for production readiness ([519df7c](https://github.com/tamylaa/clodo-framework/commit/519df7c755bd1a93bb5e9717c2aaf21bdf02e636))
210
-
211
- ## [3.2.2](https://github.com/tamylaa/clodo-framework/compare/v3.2.1...v3.2.2) (2025-12-05)
212
-
213
-
214
- ### Bug Fixes
215
-
216
- * correct import paths in lib/ files and enhance build script ([77abdb2](https://github.com/tamylaa/clodo-framework/commit/77abdb24ccfab61275a8f9716b09c84faaf8db84))
217
-
218
- ## [3.2.1](https://github.com/tamylaa/clodo-framework/compare/v3.2.0...v3.2.1) (2025-12-05)
219
-
220
-
221
- ### Bug Fixes
222
-
223
- * enhance deploy command with prerequisite checking and organize project structure ([660c5ab](https://github.com/tamylaa/clodo-framework/commit/660c5ab82546ca1a80b42c1d4cbc6d3972cc6203))
224
-
225
- # [3.2.0](https://github.com/tamylaa/clodo-framework/compare/v3.1.27...v3.2.0) (2025-12-03)
226
-
227
-
228
- ### Bug Fixes
229
-
230
- * add pre-publish import validation and remove non-existent exports ([a41fa7d](https://github.com/tamylaa/clodo-framework/commit/a41fa7df5c1ce05d34efe7e62e68d1c2fa8ea89c))
231
- * correct CLI import paths for npm distribution ([ba68e0a](https://github.com/tamylaa/clodo-framework/commit/ba68e0adfa4c3bf36584b8bd37310ef616f79722))
232
- * enable missing exports and remove lib-dependent modules from npm ([1645a58](https://github.com/tamylaa/clodo-framework/commit/1645a58d1e1f5d7126fd02766e9b4d006fa45be7))
233
- ## [Unreleased]
234
-
235
- ### Features
236
-
237
- * **programmatic-service-api:** Improve programmatic createService parity and feature normalization. Programmatic payloads now normalize legacy and plural feature names (for example, `kv` → `upstash`, and `durableObjects` ↔ `durableObject`) and merge normalized features into confirmed configuration values. The service middleware generator now emits Durable Object imports/bindings into the generated middleware runtime when Durable Objects are enabled. (refs: #6; commits: `14e5a56`, `7c0ce37`, `22b9b14`)
238
-
239
- ### Bug Fixes
240
-
241
- * **compatibility:** Accept legacy `kv` alias in payload validation and normalize to `upstash` to preserve backward compatibility with older programmatic payloads. (commits: `14e5a56`, `52b8090`)
242
- * **durable objects:** Accept `durableObjects` plural in allowed feature enums and ensure generated middleware includes Durable Object imports/bindings when enabled; fixed E2E parity tests. (commits: `779040c`, `22b9b14`)
243
- * Fix import paths in `dist/` to ensure packaged artifact resolves internal modules correctly (fixed `wrangler-deployer` and `WranglerTomlGenerator`).
244
- * Add `scripts/utilities/check-dist-imports.js` and `scripts/utilities/test-packaged-artifact.js` and include packaged-artifact smoke test in release workflow.
245
-
246
- ### Improvements
247
-
248
- * **Project Organization**: Complete cleanup and reorganization of project structure
249
- - Removed 15+ temporary and backup files (test-output.txt, *.old.js, test-*.js, *.log files)
250
- - Organized 100+ internal documentation files into categorical structure
251
- - Created `i-docs/` with 10 organized categories (architecture, development, testing, deployment, roadmap, guides, session-reports, phases, analysis, licensing)
252
- - Cleaned `docs/` directory to contain only 5 public-facing documentation files
253
- - Moved 33 internal analysis documents from `docs/` to `i-docs/analysis/`
254
- - Moved 13 root-level documentation files to appropriate i-docs categories
255
- - Root directory now contains only essential project files (config, package.json, README, etc.)
256
-
257
- * **Documentation**: Added `docs/HOWTO_CONSUME_CLODO_FRAMEWORK.md` — a concise consumer guide covering CLI usage, public exports, packaging troubleshooting, and recommended consumption patterns.
258
- * **Middleware Architecture**: Introduce contract-first middleware generation (v4.1 candidate) with `MiddlewareRegistry` and `MiddlewareComposer` to reduce duplication and improve testability. Added a migration tool `scripts/migration/migrate-middleware-legacy-to-contract.js` and a `--middleware-strategy` CLI flag to opt into `legacy` generator output.
259
-
260
- * **Configuration Management**: Eliminated hard-coded values from source code
261
- - Moved domain defaults from ServiceCreator to `validation-config.json`
262
- - Added configuration hierarchy: CLI option → config file → fallback default
263
- - Introduced `templates.defaults` and `templates.companyDefaults` sections in validation-config.json
264
- - ServiceCreator now uses FrameworkConfig for loading template defaults
265
-
266
- * **CLI Test Infrastructure**: Achieved 100% CLI test pass rate (44/44 tests)
267
- - Fixed dry-run bug in clodo-init-service (Array.isArray check)
268
- - Implemented template fallback system (generic template used when specific type missing)
269
- - Added clodo-service-manifest.json to generic template
270
- - Updated all test expectations to match actual CLI behavior
271
- - All CLI tests updated to use command-line arguments instead of interactive input
272
- ### Bug Fixes
273
-
274
- * compile bin/ to dist/bin/ for proper npm package structure ([d4ba5d5](https://github.com/tamylaa/clodo-framework/commit/d4ba5d55e27911333a9921234e8defe2f995efd3))
275
- * include required bin directories in npm package ([aa8484e](https://github.com/tamylaa/clodo-framework/commit/aa8484ed600c15a217d7b67b82ad9f31d780fdf7))
276
-
277
- ## [3.1.8](https://github.com/tamylaa/clodo-framework/compare/v3.1.7...v3.1.8) (2025-10-27)
278
-
279
-
280
- ### Bug Fixes
281
-
282
- * change prepublishOnly to use build:ci instead of full validation ([e001791](https://github.com/tamylaa/clodo-framework/commit/e0017913df28b86320b6a71eb583a8ed37a45c38))
283
-
284
- ## [3.1.7](https://github.com/tamylaa/clodo-framework/compare/v3.1.6...v3.1.7) (2025-10-27)
285
-
286
-
287
- ### Bug Fixes
288
-
289
- * allow validation-config.json warning in CLI test ([2d6870a](https://github.com/tamylaa/clodo-framework/commit/2d6870af85b2fe89168ba8a64a9c5d5b639a6c70))
290
- * exclude backup and archive directories from test discovery ([831eb98](https://github.com/tamylaa/clodo-framework/commit/831eb9835b5c816137cc07df8016612ed1f60334))
291
-
292
- ## [3.1.6](https://github.com/tamylaa/clodo-framework/compare/v3.1.5...v3.1.6) (2025-10-27)
293
-
294
-
295
- ### Bug Fixes
296
-
297
- * add automated testing suite, cover clodo-service deploy 3-level inputs, and Windows compatibility fixes ([305c81c](https://github.com/tamylaa/clodo-framework/commit/305c81c45bd1761a49d1d54585b189c95cd7c749))
298
-
299
- ## [3.1.5](https://github.com/tamylaa/clodo-framework/compare/v3.1.4...v3.1.5) (2025-10-25)
300
-
301
-
302
- ### Bug Fixes
303
-
304
- * deploy command should use full three-tier architecture (88+ fields)- Updated collect() to return comprehensive three-tier result- Deploy command now uses full collection with confirmations- Prevents duplicate confirmation steps in interactive mode- Restores the 80+ field deployment flow with user confirmations ([5c6c226](https://github.com/tamylaa/clodo-framework/commit/5c6c226d652d3dc7d1532147af4e87f7ccb8a811))
305
-
306
- ## [3.1.4](https://github.com/tamylaa/clodo-framework/compare/v3.1.3...v3.1.4) (2025-10-25)
307
-
308
-
309
- ### Bug Fixes
310
-
311
- * deploy command should collect deployment inputs, not service creation inputs ([63cbccf](https://github.com/tamylaa/clodo-framework/commit/63cbccfd8b3886668304a7dce51508e6ccba2450))
312
-
313
- ## [3.1.3](https://github.com/tamylaa/clodo-framework/compare/v3.1.2...v3.1.3) (2025-10-25)
314
-
315
-
316
- ### Bug Fixes
317
-
318
- * ui-structures-loader path resolution and build inclusion ([1744ce3](https://github.com/tamylaa/clodo-framework/commit/1744ce324272a9befa803498f452953409f3f870))
319
- * ui-structures-loader should look in package directory, not cwd ([23160a8](https://github.com/tamylaa/clodo-framework/commit/23160a808230999c26bb5c5e989ac425b150647d))
320
-
321
- ## [3.1.2](https://github.com/tamylaa/clodo-framework/compare/v3.1.1...v3.1.2) (2025-10-25)
322
-
323
-
324
- ### Bug Fixes
325
-
326
- * include ui-structures directory in published package files ([79ce369](https://github.com/tamylaa/clodo-framework/commit/79ce3692fc5fb50cf90cead6378b4d5d180d91d9))
327
-
328
- ## [3.1.1](https://github.com/tamylaa/clodo-framework/compare/v3.1.0...v3.1.1) (2025-10-25)
329
-
330
-
331
- ### Bug Fixes
332
-
333
- * add missing collect method to InputCollector for deploy command ([ef78a92](https://github.com/tamylaa/clodo-framework/commit/ef78a922dac445e6d8a88f4dc73cde7a6b280055))
334
-
335
- ## [3.1.1](https://github.com/tamylaa/clodo-framework/compare/v3.1.0...v3.1.1) (2025-10-25)
336
-
337
-
338
- ### Bug Fixes
339
-
340
- * add missing collect method to InputCollector for deploy command ([ef78a92](https://github.com/tamylaa/clodo-framework/commit/ef78a922dac445e6d8a88f4dc73cde7a6b280055))
341
-
342
- # [3.1.0](https://github.com/tamylaa/clodo-framework/compare/v3.0.15...v3.1.0) (2025-10-24)
343
-
344
-
345
- ### Bug Fixes
346
-
347
- * import missing dependencies in generators utils index ([771a336](https://github.com/tamylaa/clodo-framework/commit/771a336f678c636221e73dd2a16efc92dca94345))
348
- * improve error handling in generators ([799a05b](https://github.com/tamylaa/clodo-framework/commit/799a05b205f8fd0e0c3ca512a39ce8a719c5d39c))
349
- * resolve ESM compatibility and test stability issues ([87c422d](https://github.com/tamylaa/clodo-framework/commit/87c422d1611469246a819620834feee67577b30f))
350
-
351
-
352
- ### Features
353
-
354
- * comprehensive framework enhancement with domain routes automation ([ec8aa8d](https://github.com/tamylaa/clodo-framework/commit/ec8aa8d8e40310b2d617091e3d69bb97ded33d6a))
355
-
356
- ## [4.0.12](https://github.com/tamylaa/clodo-framework/compare/v4.0.11...v4.0.12) (2025-12-12)
357
-
358
-
359
- ### Bug Fixes
360
-
361
- * resolve version sync for 4.0.12 release ([6375c5f](https://github.com/tamylaa/clodo-framework/commit/6375c5f71516cf2a7a96edcf5878106063037ba8))
362
- * trigger 4.0.12 release after tag sync ([3dafb25](https://github.com/tamylaa/clodo-framework/commit/3dafb253cbbae6e7eac27dd5170e9f391c3deda0))
363
-
364
- ## [4.0.11](https://github.com/tamylaa/clodo-framework/compare/v4.0.10...v4.0.11) (2025-12-12)
365
-
366
-
367
- ### Bug Fixes
368
-
369
- * add wrangler compatibility and config validation utilities ([98c745b](https://github.com/tamylaa/clodo-framework/commit/98c745bb72608a4d5808c947cc9c7a39b868243f))
370
- * correct import path in file-manager.js for proper dist compilation ([166698e](https://github.com/tamylaa/clodo-framework/commit/166698ebb9473ba5d889739831a1d4e1040c12a5))
371
- * correct NPM_TOKEN environment variable name in GitHub Actions workflow ([938c953](https://github.com/tamylaa/clodo-framework/commit/938c953d7e2e9f1a679ee566f1a4c7a070e629e6))
372
- * resolve version sync for 4.0.12 release ([6375c5f](https://github.com/tamylaa/clodo-framework/commit/6375c5f71516cf2a7a96edcf5878106063037ba8))
373
- * trigger patch release for latest changes ([6161573](https://github.com/tamylaa/clodo-framework/commit/6161573ead8271eaea2766bf7c85f63ef7378a7d))
374
- * update .gitignore to prevent test artifacts from being tracked ([83457d5](https://github.com/tamylaa/clodo-framework/commit/83457d58b1e8d44865a593b2b75e39f4509a75bf))
375
-
376
- ## [4.0.11](https://github.com/tamylaa/clodo-framework/compare/v4.0.10...v4.0.11) (2025-12-12)
377
-
378
-
379
- ### Bug Fixes
380
-
381
- * add wrangler compatibility and config validation utilities ([98c745b](https://github.com/tamylaa/clodo-framework/commit/98c745bb72608a4d5808c947cc9c7a39b868243f))
382
- * correct import path in file-manager.js for proper dist compilation ([166698e](https://github.com/tamylaa/clodo-framework/commit/166698ebb9473ba5d889739831a1d4e1040c12a5))
383
- * correct NPM_TOKEN environment variable name in GitHub Actions workflow ([938c953](https://github.com/tamylaa/clodo-framework/commit/938c953d7e2e9f1a679ee566f1a4c7a070e629e6))
384
- * trigger patch release for latest changes ([6161573](https://github.com/tamylaa/clodo-framework/commit/6161573ead8271eaea2766bf7c85f63ef7378a7d))
385
- * update .gitignore to prevent test artifacts from being tracked ([83457d5](https://github.com/tamylaa/clodo-framework/commit/83457d58b1e8d44865a593b2b75e39f4509a75bf))
386
-
387
- ## [4.0.11](https://github.com/tamylaa/clodo-framework/compare/v4.0.10...v4.0.11) (2025-12-12)
388
-
389
-
390
- ### Bug Fixes
391
-
392
- * add wrangler compatibility and config validation utilities ([98c745b](https://github.com/tamylaa/clodo-framework/commit/98c745bb72608a4d5808c947cc9c7a39b868243f))
393
- * correct import path in file-manager.js for proper dist compilation ([166698e](https://github.com/tamylaa/clodo-framework/commit/166698ebb9473ba5d889739831a1d4e1040c12a5))
394
- * correct NPM_TOKEN environment variable name in GitHub Actions workflow ([938c953](https://github.com/tamylaa/clodo-framework/commit/938c953d7e2e9f1a679ee566f1a4c7a070e629e6))
395
- * update .gitignore to prevent test artifacts from being tracked ([83457d5](https://github.com/tamylaa/clodo-framework/commit/83457d58b1e8d44865a593b2b75e39f4509a75bf))
396
-
397
- ## [4.0.11](https://github.com/tamylaa/clodo-framework/compare/v4.0.10...v4.0.11) (2025-12-12)
398
-
399
-
400
- ### Bug Fixes
401
-
402
- * add wrangler compatibility and config validation utilities ([98c745b](https://github.com/tamylaa/clodo-framework/commit/98c745bb72608a4d5808c947cc9c7a39b868243f))
403
- * correct import path in file-manager.js for proper dist compilation ([166698e](https://github.com/tamylaa/clodo-framework/commit/166698ebb9473ba5d889739831a1d4e1040c12a5))
404
- * correct NPM_TOKEN environment variable name in GitHub Actions workflow ([938c953](https://github.com/tamylaa/clodo-framework/commit/938c953d7e2e9f1a679ee566f1a4c7a070e629e6))
405
- * update .gitignore to prevent test artifacts from being tracked ([83457d5](https://github.com/tamylaa/clodo-framework/commit/83457d58b1e8d44865a593b2b75e39f4509a75bf))
406
-
407
- ## [4.0.10](https://github.com/tamylaa/clodo-framework/compare/v4.0.9...v4.0.10) (2025-12-10)
408
-
409
-
410
- ### Bug Fixes
411
-
412
- * clean up test artifacts and temporary files ([0eb6cda](https://github.com/tamylaa/clodo-framework/commit/0eb6cdac68bce6d07e567f4b7810f4d94752b7c0))
413
-
414
- ## [4.0.8](https://github.com/tamylaa/clodo-framework/compare/v4.0.7...v4.0.8) (2025-12-09)
415
-
416
-
417
- ### Bug Fixes
418
-
419
- * respect user-provided worker and database names in deployment ([04ffc38](https://github.com/tamylaa/clodo-framework/commit/04ffc382ab910d4d260ba5c3f2e421763587948a))
420
-
421
- ## [4.0.7](https://github.com/tamylaa/clodo-framework/compare/v4.0.6...v4.0.7) (2025-12-09)
422
-
423
-
424
- ### Bug Fixes
425
-
426
- * correct dynamic import paths in interactive-validation.js ([acbadae](https://github.com/tamylaa/clodo-framework/commit/acbadaefc10cf7efab9dd263f7a40f8db18fccb4))
427
- * correct import path in interactive-validation.js ([8355677](https://github.com/tamylaa/clodo-framework/commit/83556777a0faa1a85766c0bf4795428d8ba807e6))
428
- * correct remaining dynamic import paths in interactive-validation.js ([837f0a4](https://github.com/tamylaa/clodo-framework/commit/837f0a48489dbde6b644944950232ec0f424639f))
429
- * correct Windows PowerShell environment variable handling ([f3c5354](https://github.com/tamylaa/clodo-framework/commit/f3c535449f744a2448b4c1b7d98fc62853a8eaab))
430
-
431
- ## [4.0.6](https://github.com/tamylaa/clodo-framework/compare/v4.0.5...v4.0.6) (2025-12-09)
432
-
433
-
434
- ### Bug Fixes
435
-
436
- * add null checks for enterprise deployment methods ([97c3237](https://github.com/tamylaa/clodo-framework/commit/97c32371e97f259f62a82e9f7cc393dab0def7ed))
437
- * correct URL construction and export missing testing workflow ([19691e1](https://github.com/tamylaa/clodo-framework/commit/19691e1651b3f37762e0564ccbb939c7c22965ad))
438
- * correct worker URL construction and prevent undefined errors ([5d94f4f](https://github.com/tamylaa/clodo-framework/commit/5d94f4f064d5264f18929a6d2bd0564b0bb5494a))
439
- * remove duplicate export in InteractiveTestingWorkflow ([db710c2](https://github.com/tamylaa/clodo-framework/commit/db710c2342ac3fd41b73ffd01fdd83ce0e0256f1))
440
-
441
- ## [4.0.5](https://github.com/tamylaa/clodo-framework/compare/v4.0.4...v4.0.5) (2025-12-09)
442
-
443
-
444
- ### Bug Fixes
445
-
446
- * ensure deployments use correct Cloudflare account and zone ([22d42a9](https://github.com/tamylaa/clodo-framework/commit/22d42a9d4cf800e78953a0bcd897d6cb94dfefc5))
447
-
448
- ## [4.0.4](https://github.com/tamylaa/clodo-framework/compare/v4.0.3...v4.0.4) (2025-12-08)
449
-
450
-
451
- ### Bug Fixes
452
-
453
- * enhance existing resource handling and API token propagation ([c7b3a22](https://github.com/tamylaa/clodo-framework/commit/c7b3a226b01609f01f6e8cb1cf27b957cd11868e))
454
-
455
- ## [4.0.3](https://github.com/tamylaa/clodo-framework/compare/v4.0.2...v4.0.3) (2025-12-08)
456
-
457
-
458
- ### Bug Fixes
459
-
460
- * Export CLI utilities to enable framework CLI commands ([35f1701](https://github.com/tamylaa/clodo-framework/commit/35f1701653ebe01b8fe41d184d2b88dac4c5b8d4))
461
-
462
- ## [4.0.2](https://github.com/tamylaa/clodo-framework/compare/v4.0.1...v4.0.2) (2025-12-08)
463
-
464
-
465
- ### Bug Fixes
466
-
467
- * Pass API credentials through database creation workflow ([c245618](https://github.com/tamylaa/clodo-framework/commit/c245618290a7c71808de6d1934076bd53a0519c9))
468
-
469
- ## [4.0.1](https://github.com/tamylaa/clodo-framework/compare/v4.0.0...v4.0.1) (2025-12-07)
470
-
471
-
472
- ### Bug Fixes
473
-
474
- * Export COMMON_FEATURES and autoConfigureFramework, update docs ([6cf9a7e](https://github.com/tamylaa/clodo-framework/commit/6cf9a7e13c5b0b6dc10b69624e5633429890f894))
475
-
476
- # [4.0.0](https://github.com/tamylaa/clodo-framework/compare/v3.2.5...v4.0.0) (2025-12-07)
477
-
478
-
479
- ### Bug Fixes
480
-
481
- * resolve remaining 5 import path issues in dist files ([383a625](https://github.com/tamylaa/clodo-framework/commit/383a6257910546f4d9a9f1442f4005c0cc166704))
482
-
483
-
484
- ### Code Refactoring
485
-
486
- * replace band-aid import fixes with proper wrapper pattern ([5385ef2](https://github.com/tamylaa/clodo-framework/commit/5385ef23e9a9b8be26fce9d9fe6df2184667168c))
487
-
488
-
489
- ### BREAKING CHANGES
490
-
491
- * from previous approach:
492
- - Removed post-build path manipulation that was fragile and hard to maintain
493
- - Implemented proper wrapper re-export pattern consistent with existing codebase
494
-
495
- Changes:
496
- - Create lib/shared/utils/framework-config.js wrapper that re-exports from src/utils
497
- - Update connection-manager.js to import from ../utils/framework-config.js wrapper
498
- - Update secret-generator.js to import from ../utils/framework-config.js wrapper
499
- - Update graceful-shutdown-manager.js to import from ./framework-config.js wrapper
500
- - Replace complex import path fixes with single minimal transformation in fix-dist-imports.js
501
- - Maintains all 23 exports working correctly
502
-
503
- Benefits:
504
- Clean, maintainable architecture following existing wrapper patterns
505
- No circular dependencies
506
- Imports work correctly in both source and compiled dist/
507
- Easier to debug and understand import resolution
508
- Scales better as codebase grows
509
-
510
- ## [3.2.5](https://github.com/tamylaa/clodo-framework/compare/v3.2.4...v3.2.5) (2025-12-06)
511
-
512
-
513
- ### Bug Fixes
514
-
515
- * correct import paths in dist/index.js for Windows compatibility ([351ba68](https://github.com/tamylaa/clodo-framework/commit/351ba68450c675af6f199036121aa2797eaa97a8))
516
-
517
- ## [3.2.4](https://github.com/tamylaa/clodo-framework/compare/v3.2.3...v3.2.4) (2025-12-06)
518
-
519
-
520
- ### Bug Fixes
521
-
522
- * expose CLI utilities in public API to fix import issues ([5d995ab](https://github.com/tamylaa/clodo-framework/commit/5d995abb2f6cb718acc0a03beef75f1025204200))
523
-
524
- ## [3.2.3](https://github.com/tamylaa/clodo-framework/compare/v3.2.2...v3.2.3) (2025-12-06)
525
-
526
-
527
- ### Bug Fixes
528
-
529
- * clean up debug logging in fix-dist-imports.js ([374318e](https://github.com/tamylaa/clodo-framework/commit/374318efc9b73cf304306f3dd249eb88f8b06c98))
530
- * resolve all test suite failures for production readiness ([519df7c](https://github.com/tamylaa/clodo-framework/commit/519df7c755bd1a93bb5e9717c2aaf21bdf02e636))
531
-
532
- ## [3.2.2](https://github.com/tamylaa/clodo-framework/compare/v3.2.1...v3.2.2) (2025-12-05)
533
-
534
-
535
- ### Bug Fixes
536
-
537
- * correct import paths in lib/ files and enhance build script ([77abdb2](https://github.com/tamylaa/clodo-framework/commit/77abdb24ccfab61275a8f9716b09c84faaf8db84))
538
-
539
- ## [3.2.1](https://github.com/tamylaa/clodo-framework/compare/v3.2.0...v3.2.1) (2025-12-05)
540
-
541
-
542
- ### Bug Fixes
543
-
544
- * enhance deploy command with prerequisite checking and organize project structure ([660c5ab](https://github.com/tamylaa/clodo-framework/commit/660c5ab82546ca1a80b42c1d4cbc6d3972cc6203))
545
-
546
- # [3.2.0](https://github.com/tamylaa/clodo-framework/compare/v3.1.27...v3.2.0) (2025-12-03)
547
-
548
-
549
- ### Bug Fixes
550
-
551
- * add pre-publish import validation and remove non-existent exports ([a41fa7d](https://github.com/tamylaa/clodo-framework/commit/a41fa7df5c1ce05d34efe7e62e68d1c2fa8ea89c))
552
- * correct CLI import paths for npm distribution ([ba68e0a](https://github.com/tamylaa/clodo-framework/commit/ba68e0adfa4c3bf36584b8bd37310ef616f79722))
553
- * enable missing exports and remove lib-dependent modules from npm ([1645a58](https://github.com/tamylaa/clodo-framework/commit/1645a58d1e1f5d7126fd02766e9b4d006fa45be7))
554
-
555
-
556
- ### Features
557
-
558
- * add comprehensive pre-publish and downstream install tests ([b1e8a25](https://github.com/tamylaa/clodo-framework/commit/b1e8a25b3acae840b66f728aa55dd5c24af0914f))
559
- * add proper CLI regression tests to downstream install test ([4cde4bc](https://github.com/tamylaa/clodo-framework/commit/4cde4bc08f0290f0432815b2c8cfa60247bc8dfd))
560
-
561
- ## [3.1.27](https://github.com/tamylaa/clodo-framework/compare/v3.1.26...v3.1.27) (2025-12-02)
562
-
563
-
564
- ### Bug Fixes
565
-
566
- * clarify lib/ imports from src/ are intentional and working ([7556cbd](https://github.com/tamylaa/clodo-framework/commit/7556cbdfa1a8ae24ea5c342df0631014b5c1b060))
567
- * correct ALL lib/ module import paths for npm package compatibility ([4df859e](https://github.com/tamylaa/clodo-framework/commit/4df859ed1e5123d3862dc160a078b60803d7a37d))
568
- * correct CloudflareAPI import path in credential-collector.js ([805e027](https://github.com/tamylaa/clodo-framework/commit/805e02793467f21aa06e85af609fcb395710d165))
569
- * correct credential-collector CloudflareAPI import path ([5573780](https://github.com/tamylaa/clodo-framework/commit/557378010dea5fb9e3f83952cc38632b0e94f53d))
570
- * correct EnvironmentManager relative import paths ([0f62df6](https://github.com/tamylaa/clodo-framework/commit/0f62df6bc9e059f6c66a87b88ffe9ca57a25f8c1))
571
- * correct relative import paths for npm distribution ([68c53e0](https://github.com/tamylaa/clodo-framework/commit/68c53e0c3716ed4044688dd151b26b6d8a113e05))
572
- * correct validation.js import path in ValidationRegistry.js ([882fe21](https://github.com/tamylaa/clodo-framework/commit/882fe21b964670dc2e075b3169068e6973677b42))
573
- * remove unnecessary warning about missing validation-config.json ([15d22db](https://github.com/tamylaa/clodo-framework/commit/15d22db8fa26202ffa81654c417ae2fa69345bba))
574
- * resolve all lib import paths for npm distribution ([1e32bef](https://github.com/tamylaa/clodo-framework/commit/1e32bef70505a1cd142efbe94016027edbbe61df))
575
- * resolve ErrorHandler reference in security module ([5bc406e](https://github.com/tamylaa/clodo-framework/commit/5bc406eb768d10409d615c67b11d8118fac4081d))
576
- * use lib re-export wrapper for MultiDomainOrchestrator in domain-router.js ([215aefc](https://github.com/tamylaa/clodo-framework/commit/215aefc382b811c105598e6241beae60e65b0409))
577
- * use lib re-export wrappers instead of direct src/ references ([3aaf672](https://github.com/tamylaa/clodo-framework/commit/3aaf6725e6c09b97e3ea4d80519c1bf4ae61a921))
578
-
579
- ## [3.1.26](https://github.com/tamylaa/clodo-framework/compare/v3.1.25...v3.1.26) (2025-12-02)
580
-
581
-
582
- ### Bug Fixes
583
-
584
- * correct import paths for npm package distribution - use proper depth for compiled dist/ files ([d346563](https://github.com/tamylaa/clodo-framework/commit/d3465637e02077e014661e1039421e9cd0010d97))
585
-
586
- ## [3.1.25](https://github.com/tamylaa/clodo-framework/compare/v3.1.24...v3.1.25) (2025-12-02)
587
-
588
-
589
- ### Bug Fixes
590
-
591
- * correct all import paths and add prevention documentation ([dbd3ce6](https://github.com/tamylaa/clodo-framework/commit/dbd3ce6d6b3ceceb9aa839358923c6096c762ceb))
592
-
593
- ## [3.1.24](https://github.com/tamylaa/clodo-framework/compare/v3.1.23...v3.1.24) (2025-11-08)
594
-
595
-
596
- ### Bug Fixes
597
-
598
- * Add comprehensive framework assessment and strategic evolution plan ([bed4108](https://github.com/tamylaa/clodo-framework/commit/bed41085c253e025bd065e507296efe261616652))
599
- * resolve linting error and enhance CI pipeline ([ece5b5a](https://github.com/tamylaa/clodo-framework/commit/ece5b5aa7232bc990b1d85d3e53ccf7e2d215c98))
600
-
601
- ## [3.1.23](https://github.com/tamylaa/clodo-framework/compare/v3.1.22...v3.1.23) (2025-11-07)
602
-
603
-
604
- ### Bug Fixes
605
-
606
- * Complete framework evolution from promise to production-ready reality ([3341508](https://github.com/tamylaa/clodo-framework/commit/33415083e0f8c81267831b4d295b181e3aef3758))
607
- * Correct import path validation for formatters.js ([763a137](https://github.com/tamylaa/clodo-framework/commit/763a137b5cff4845fc6335dec2fa9357e1c141c5))
608
-
609
- ## [3.1.22](https://github.com/tamylaa/clodo-framework/compare/v3.1.21...v3.1.22) (2025-11-05)
610
-
611
-
612
- ### Bug Fixes
613
-
614
- * clarify bin/ is private CLI implementation, not public API ([a092d30](https://github.com/tamylaa/clodo-framework/commit/a092d30c9c9c72f0bcb9d6b132175b4a6d6ce0bf))
615
- * Separate clodo-enterprise: remove enterprise code/docs, fix imports, update README ([58aabff](https://github.com/tamylaa/clodo-framework/commit/58aabff0b0fa193cd2acf37027e43a872fccd8f2))
616
- * wire helpers to shared infra and fix CloudflareAPI import casing ([7d0b27f](https://github.com/tamylaa/clodo-framework/commit/7d0b27f8dbd0a82f01d52a4d00324ab72507ab30))
617
-
618
- ## [3.1.21](https://github.com/tamylaa/clodo-framework/compare/v3.1.20...v3.1.21) (2025-10-28)
619
-
620
-
621
- ### Bug Fixes
622
-
623
- * remove dist/ references from dynamic imports in bin/ ([e3dd2c4](https://github.com/tamylaa/clodo-framework/commit/e3dd2c4a21e86b90985352cdafc3742eaa8a573e))
624
-
625
- ## [3.1.20](https://github.com/tamylaa/clodo-framework/compare/v3.1.19...v3.1.20) (2025-10-28)
626
-
627
-
628
- ### Bug Fixes
629
-
630
- * use depth-aware import paths in re-export wrappers ([db383fe](https://github.com/tamylaa/clodo-framework/commit/db383fe22e67b3d6a99b9465253c1169f509db13))
631
-
632
- ## [3.1.19](https://github.com/tamylaa/clodo-framework/compare/v3.1.18...v3.1.19) (2025-10-28)
633
-
634
-
635
- ### Bug Fixes
636
-
637
- * Correct re-export wrapper paths to use ../../bin (two levels up from dist/utils) ([992136e](https://github.com/tamylaa/clodo-framework/commit/992136e7b143424e2807f49a94599e8d71a91079))
638
-
639
- ## [3.1.18](https://github.com/tamylaa/clodo-framework/compare/v3.1.17...v3.1.18) (2025-10-28)
640
-
641
-
642
- ### Bug Fixes
643
-
644
- * Correct re-export wrapper import paths and add build-time path validator ([293f7b1](https://github.com/tamylaa/clodo-framework/commit/293f7b1537bed9a3c9eafcc96131be863044f313))
645
-
646
- ## [3.1.17](https://github.com/tamylaa/clodo-framework/compare/v3.1.16...v3.1.17) (2025-10-28)
647
-
648
-
649
- ### Bug Fixes
650
-
651
- * Correct re-export path depth in cloudflare ops wrapper (3 levels not 4) ([fa72b2b](https://github.com/tamylaa/clodo-framework/commit/fa72b2b2f1ba0ada932ba42a7a1788a41a7798a1))
652
-
653
- ## [3.1.16](https://github.com/tamylaa/clodo-framework/compare/v3.1.15...v3.1.16) (2025-10-28)
654
-
655
-
656
- ### Bug Fixes
657
-
658
- * Correct import path for cloudflare ops.js module ([b61de66](https://github.com/tamylaa/clodo-framework/commit/b61de66da57dfbd5d4157b2dfd0d5819db99b89b))
659
- * Correct import path in cloudflare ops re-export wrapper ([5bda1d2](https://github.com/tamylaa/clodo-framework/commit/5bda1d2d76f6577f2475adc7d4fe21284ded91e2))
660
- * Resolve all bin/ import paths by creating library re-export wrappers ([a6a2147](https://github.com/tamylaa/clodo-framework/commit/a6a2147562578945d4fb630086facfcdf8df66e5))
661
-
662
- ## [3.1.15](https://github.com/tamylaa/clodo-framework/compare/v3.1.14...v3.1.15) (2025-10-28)
663
-
664
-
665
- ### Bug Fixes
666
-
667
- * Complete comprehensive clodo-framework refactoring (Tasks 3.1-3.4) ([0949b8b](https://github.com/tamylaa/clodo-framework/commit/0949b8be5f4f6522c0e4e4050e858ce82be5d034))
668
-
669
- ## [3.1.14](https://github.com/tamylaa/clodo-framework/compare/v3.1.13...v3.1.14) (2025-10-27)
670
-
671
-
672
- ### Bug Fixes
673
-
674
- * restore smart credential collection flow in deploy command ([a3e94f6](https://github.com/tamylaa/clodo-framework/commit/a3e94f6efe4a41c380badfc7a104e32bfba9fe9a))
675
-
676
- ## [3.1.13](https://github.com/tamylaa/clodo-framework/compare/v3.1.12...v3.1.13) (2025-10-27)
677
-
678
-
679
- ### Bug Fixes
680
-
681
- * add comprehensive test coverage for service validation ([393e6d2](https://github.com/tamylaa/clodo-framework/commit/393e6d268348cc2926c80f0d3f6cd5377c2875a2))
682
- * add intelligent Cloudflare service detection and validation ([a680006](https://github.com/tamylaa/clodo-framework/commit/a6800063e2df8f8d6fa7660079cd22eb3f9a4a97))
683
-
684
- ## [3.1.12](https://github.com/tamylaa/clodo-framework/compare/v3.1.11...v3.1.12) (2025-10-27)
685
-
686
-
687
- ### Bug Fixes
688
-
689
- * update babel import rewriter to handle bin/ paths too ([6e26172](https://github.com/tamylaa/clodo-framework/commit/6e26172bbc2f697a59de0ea5567665094d4027b1))
690
-
691
- ## [3.1.11](https://github.com/tamylaa/clodo-framework/compare/v3.1.10...v3.1.11) (2025-10-27)
692
-
693
-
694
- ### Bug Fixes
695
-
696
- * add babel import path rewriter and remove source bin from package files ([91f19d4](https://github.com/tamylaa/clodo-framework/commit/91f19d48791d604497ff708a5c7a836100e6885a))
697
-
698
- ## [3.1.10](https://github.com/tamylaa/clodo-framework/compare/v3.1.9...v3.1.10) (2025-10-27)
699
-
700
-
701
- ### Bug Fixes
702
-
703
- * correct import paths in bin/ to reference src/ not dist/ ([57d9740](https://github.com/tamylaa/clodo-framework/commit/57d974051d15ba263005aba8e48f5290823e24c9))
704
-
705
- ## [3.1.9](https://github.com/tamylaa/clodo-framework/compare/v3.1.8...v3.1.9) (2025-10-27)
706
-
707
-
708
- ### Bug Fixes
709
-
710
- * compile bin/ to dist/bin/ for proper npm package structure ([d4ba5d5](https://github.com/tamylaa/clodo-framework/commit/d4ba5d55e27911333a9921234e8defe2f995efd3))
711
- * include required bin directories in npm package ([aa8484e](https://github.com/tamylaa/clodo-framework/commit/aa8484ed600c15a217d7b67b82ad9f31d780fdf7))
712
-
713
- ## [3.1.8](https://github.com/tamylaa/clodo-framework/compare/v3.1.7...v3.1.8) (2025-10-27)
714
-
715
-
716
- ### Bug Fixes
717
-
718
- * change prepublishOnly to use build:ci instead of full validation ([e001791](https://github.com/tamylaa/clodo-framework/commit/e0017913df28b86320b6a71eb583a8ed37a45c38))
719
-
720
- ## [3.1.7](https://github.com/tamylaa/clodo-framework/compare/v3.1.6...v3.1.7) (2025-10-27)
721
-
722
-
723
- ### Bug Fixes
724
-
725
- * allow validation-config.json warning in CLI test ([2d6870a](https://github.com/tamylaa/clodo-framework/commit/2d6870af85b2fe89168ba8a64a9c5d5b639a6c70))
726
- * exclude backup and archive directories from test discovery ([831eb98](https://github.com/tamylaa/clodo-framework/commit/831eb9835b5c816137cc07df8016612ed1f60334))
727
-
728
- ## [3.1.6](https://github.com/tamylaa/clodo-framework/compare/v3.1.5...v3.1.6) (2025-10-27)
729
-
730
-
731
- ### Bug Fixes
732
-
733
- * add automated testing suite, cover clodo-service deploy 3-level inputs, and Windows compatibility fixes ([305c81c](https://github.com/tamylaa/clodo-framework/commit/305c81c45bd1761a49d1d54585b189c95cd7c749))
734
-
735
- ## [3.1.5](https://github.com/tamylaa/clodo-framework/compare/v3.1.4...v3.1.5) (2025-10-25)
736
-
737
-
738
- ### Bug Fixes
739
-
740
- * deploy command should use full three-tier architecture (88+ fields)- Updated collect() to return comprehensive three-tier result- Deploy command now uses full collection with confirmations- Prevents duplicate confirmation steps in interactive mode- Restores the 80+ field deployment flow with user confirmations ([5c6c226](https://github.com/tamylaa/clodo-framework/commit/5c6c226d652d3dc7d1532147af4e87f7ccb8a811))
741
-
742
- ## [3.1.4](https://github.com/tamylaa/clodo-framework/compare/v3.1.3...v3.1.4) (2025-10-25)
743
-
744
-
745
- ### Bug Fixes
746
-
747
- * deploy command should collect deployment inputs, not service creation inputs ([63cbccf](https://github.com/tamylaa/clodo-framework/commit/63cbccfd8b3886668304a7dce51508e6ccba2450))
748
-
749
- ## [3.1.3](https://github.com/tamylaa/clodo-framework/compare/v3.1.2...v3.1.3) (2025-10-25)
750
-
751
-
752
- ### Bug Fixes
753
-
754
- * ui-structures-loader path resolution and build inclusion ([1744ce3](https://github.com/tamylaa/clodo-framework/commit/1744ce324272a9befa803498f452953409f3f870))
755
- * ui-structures-loader should look in package directory, not cwd ([23160a8](https://github.com/tamylaa/clodo-framework/commit/23160a808230999c26bb5c5e989ac425b150647d))
756
-
757
- ## [3.1.2](https://github.com/tamylaa/clodo-framework/compare/v3.1.1...v3.1.2) (2025-10-25)
758
-
759
-
760
- ### Bug Fixes
761
-
762
- * include ui-structures directory in published package files ([79ce369](https://github.com/tamylaa/clodo-framework/commit/79ce3692fc5fb50cf90cead6378b4d5d180d91d9))
763
-
764
- ## [3.1.1](https://github.com/tamylaa/clodo-framework/compare/v3.1.0...v3.1.1) (2025-10-25)
765
-
766
-
767
- ### Bug Fixes
768
-
769
- * add missing collect method to InputCollector for deploy command ([ef78a92](https://github.com/tamylaa/clodo-framework/commit/ef78a922dac445e6d8a88f4dc73cde7a6b280055))
770
-
771
- ## [3.1.1](https://github.com/tamylaa/clodo-framework/compare/v3.1.0...v3.1.1) (2025-10-25)
772
-
773
-
774
- ### Bug Fixes
775
-
776
- * add missing collect method to InputCollector for deploy command ([ef78a92](https://github.com/tamylaa/clodo-framework/commit/ef78a922dac445e6d8a88f4dc73cde7a6b280055))
777
-
778
- # [3.1.0](https://github.com/tamylaa/clodo-framework/compare/v3.0.15...v3.1.0) (2025-10-24)
779
-
780
-
781
- ### Bug Fixes
782
-
783
- * import missing dependencies in generators utils index ([771a336](https://github.com/tamylaa/clodo-framework/commit/771a336f678c636221e73dd2a16efc92dca94345))
784
- * improve error handling in generators ([799a05b](https://github.com/tamylaa/clodo-framework/commit/799a05b205f8fd0e0c3ca512a39ce8a719c5d39c))
785
- * resolve ESM compatibility and test stability issues ([87c422d](https://github.com/tamylaa/clodo-framework/commit/87c422d1611469246a819620834feee67577b30f))
786
-
787
-
788
- ### Features
789
-
790
- * comprehensive framework enhancement with domain routes automation ([ec8aa8d](https://github.com/tamylaa/clodo-framework/commit/ec8aa8d8e40310b2d617091e3d69bb97ded33d6a))
791
-
792
- ## [Unreleased]
793
-
794
- ### Improvements
795
-
796
- * **Project Organization**: Complete cleanup and reorganization of project structure
797
- - Removed 15+ temporary and backup files (test-output.txt, *.old.js, test-*.js, *.log files)
798
- - Organized 100+ internal documentation files into categorical structure
799
- - Created `i-docs/` with 10 organized categories (architecture, development, testing, deployment, roadmap, guides, session-reports, phases, analysis, licensing)
800
- - Cleaned `docs/` directory to contain only 5 public-facing documentation files
801
- - Moved 33 internal analysis documents from `docs/` to `i-docs/analysis/`
802
- - Moved 13 root-level documentation files to appropriate i-docs categories
803
- - Root directory now contains only essential project files (config, package.json, README, etc.)
804
-
805
- * **Configuration Management**: Eliminated hard-coded values from source code
806
- - Moved domain defaults from ServiceCreator to `validation-config.json`
807
- - Added configuration hierarchy: CLI option → config file → fallback default
808
- - Introduced `templates.defaults` and `templates.companyDefaults` sections in validation-config.json
809
- - ServiceCreator now uses FrameworkConfig for loading template defaults
810
-
811
- * **CLI Test Infrastructure**: Achieved 100% CLI test pass rate (44/44 tests)
812
- - Fixed dry-run bug in clodo-init-service (Array.isArray check)
813
- - Implemented template fallback system (generic template used when specific type missing)
814
- - Added clodo-service-manifest.json to generic template
815
- - Updated all test expectations to match actual CLI behavior
816
- - All CLI tests updated to use command-line arguments instead of interactive input
817
-
818
- ### Bug Fixes
819
-
820
- * Fixed dry-run mode in `clodo-init-service` (handle non-array configs properly)
821
- * Fixed template generation for missing service types (fallback to generic template)
822
- * Fixed test file path expectations (`domains.js` location in `src/config/`)
823
- * Fixed ESM syntax validation in tests (use regex .test() instead of Function constructor)
824
-
825
- ### Documentation
826
-
827
- * Organized internal documentation into 10 logical categories in `i-docs/`
828
- * Separated public-facing docs (5 files in `docs/`) from internal analysis documents
829
-
830
- ## [3.0.15](https://github.com/tamylaa/clodo-framework/compare/v3.0.14...v3.0.15) (2025-10-20)
831
-
832
-
833
- ### Bug Fixes
834
-
835
- * add continue-on-error to test step in CI workflow ([e0f74d7](https://github.com/tamylaa/clodo-framework/commit/e0f74d7f775ca6a81fa55929a82b6b11fe2dea41))
836
-
837
- ## [3.0.14](https://github.com/tamylaa/clodo-framework/compare/v3.0.13...v3.0.14) (2025-10-20)
838
-
839
-
840
- ### Bug Fixes
841
-
842
- * add test environment compatibility fixes for ES modules ([71a033d](https://github.com/tamylaa/clodo-framework/commit/71a033d5d959480879c1a4771005553116e8671f))
843
- * ignore deployment artifacts in deployments/ directory ([768f453](https://github.com/tamylaa/clodo-framework/commit/768f453cbabb984509613a382d86875c1309bcd2))
844
- * resolve circular dependency in FeatureFlagManager ([d04956f](https://github.com/tamylaa/clodo-framework/commit/d04956f83527d3236fce2fe9750f71cdf0ba8d8e))
845
- * resolve ESLint errors and update test expectations ([b1188be](https://github.com/tamylaa/clodo-framework/commit/b1188be66d3723bfff62431f6e0eabec685b0111))
846
- * revert Jest config to working configuration that passes tests ([35a2846](https://github.com/tamylaa/clodo-framework/commit/35a28466c8a48c78011c128f89695399e8500341))
847
- * update Jest config to properly handle ES modules ([1a951c7](https://github.com/tamylaa/clodo-framework/commit/1a951c7ae147ddb8bef0ec1508c858ac044423b7))
848
- * update package-lock.json to sync with package.json dependencies ([a3ef884](https://github.com/tamylaa/clodo-framework/commit/a3ef8844cba2b5657a3493b8339c98049a57dd72))
849
- * update package.json semantic release config to support main branch ([a06b2e8](https://github.com/tamylaa/clodo-framework/commit/a06b2e899ceb7699b67292157991d64c88dedae3))
850
- * update semantic release config to support main branch ([4102e6c](https://github.com/tamylaa/clodo-framework/commit/4102e6c4cb4f52d065750239c2a0c5a89b733ac0))
851
- * update version to 3.0.13 to sync with release history ([f9bb4d4](https://github.com/tamylaa/clodo-framework/commit/f9bb4d463a3884b82e972962e5fcd21a272c3acb))
852
- * use os.tmpdir() for test paths to fix CI permission errors ([022c771](https://github.com/tamylaa/clodo-framework/commit/022c771994635002410c27d8eb7ec8f0614acf6f))
853
-
854
- ## [3.0.12](https://github.com/tamylaa/clodo-framework/compare/v3.0.11...v3.0.12) (2025-10-14)
855
-
856
-
857
- ### Bug Fixes
858
-
859
- * Add graceful API token permission handling and validation ([6c973b0](https://github.com/tamylaa/clodo-framework/commit/6c973b077b6e2a80b7a6d93f0b39070925bb89af))
860
- * Add missing exists() method to WranglerConfigManager class ([44ee17c](https://github.com/tamylaa/clodo-framework/commit/44ee17c8931db085ccef502e7e7ac15209b222a5))
861
- * Ensure wrangler uses correct account for API token operations ([f671b10](https://github.com/tamylaa/clodo-framework/commit/f671b1004057b94dd8ba55c5c1f3c2d5bca54706))
862
-
863
- ## [3.0.11](https://github.com/tamylaa/clodo-framework/compare/v3.0.10...v3.0.11) (2025-10-14)
864
-
865
-
866
- ### Bug Fixes
867
-
868
- * Update all bin/ imports from src/ to dist/ for published package compatibility ([c476528](https://github.com/tamylaa/clodo-framework/commit/c476528b575cf9d6338a967e740252ed4d41f66f))
869
-
870
- ## [3.0.10](https://github.com/tamylaa/clodo-framework/compare/v3.0.9...v3.0.10) (2025-10-14)
871
-
872
-
873
- ### Bug Fixes
874
-
875
- * Pass Cloudflare API credentials to MultiDomainOrchestrator in clodo-service deploy ([9f8c249](https://github.com/tamylaa/clodo-framework/commit/9f8c24912c79755152c5273ececa3374651e1164))
876
-
877
- ## [3.0.9](https://github.com/tamylaa/clodo-framework/compare/v3.0.8...v3.0.9) (2025-10-14)
878
-
879
-
880
- ### Bug Fixes
881
-
882
- * Auto-create D1 databases before applying migrations ([bb4a780](https://github.com/tamylaa/clodo-framework/commit/bb4a7804307f4ee8ff17256287e61098d809b0e9))
883
-
884
- ## [3.0.8](https://github.com/tamylaa/clodo-framework/compare/v3.0.7...v3.0.8) (2025-10-14)
885
-
886
-
887
- ### Bug Fixes
888
-
889
- * add --env flag to D1 migration commands for environment-specific database configs ([ef095e3](https://github.com/tamylaa/clodo-framework/commit/ef095e3ce7d8ea10e0e45d7eba45011cfa4271db))
890
- * implement API token authentication for D1 database operations ([d8be0a9](https://github.com/tamylaa/clodo-framework/commit/d8be0a9388bf3ed5cf433fa8b61108acd25007fd))
891
-
892
- ## [3.0.7](https://github.com/tamylaa/clodo-framework/compare/v3.0.6...v3.0.7) (2025-10-14)
893
-
894
-
895
- ### Bug Fixes
896
-
897
- * use --remote flag for D1 migrations since databases are created in Cloudflare ([1a94538](https://github.com/tamylaa/clodo-framework/commit/1a945389f9c4ae54a7ebc7c1ea4badc3b0ccaed2))
898
-
899
- ## [3.0.6](https://github.com/tamylaa/clodo-framework/compare/v3.0.5...v3.0.6) (2025-10-14)
900
-
901
-
902
- ### Bug Fixes
903
-
904
- * use database name instead of binding name for D1 migrations ([6b22b25](https://github.com/tamylaa/clodo-framework/commit/6b22b25e95bebb4f9728835bd881d71dd90cdba6))
905
-
906
- ## [3.0.5](https://github.com/tamylaa/clodo-framework/compare/v3.0.4...v3.0.5) (2025-10-14)
907
-
908
-
909
- ### Bug Fixes
910
-
911
- * add missing join import in clodo-service.js ([5e0d7c6](https://github.com/tamylaa/clodo-framework/commit/5e0d7c6ce3262454138f39b4e44d0d24dc7bcb65))
912
-
913
- ## [3.0.4](https://github.com/tamylaa/clodo-framework/compare/v3.0.3...v3.0.4) (2025-10-14)
914
-
915
-
916
- ### Bug Fixes
917
-
918
- * resolve deployment configuration and database binding issues ([f9d7036](https://github.com/tamylaa/clodo-framework/commit/f9d7036e18b49ba9082cad8f8e181f5abc1c2c2d))
919
-
920
- ## [3.0.3](https://github.com/tamylaa/clodo-framework/compare/v3.0.2...v3.0.3) (2025-10-14)
921
-
922
-
923
- ### Bug Fixes
924
-
925
- * resolve database creation redundancy in deployments ([4a54f2c](https://github.com/tamylaa/clodo-framework/commit/4a54f2ce4bd1bb17d49c4d911171a01179fbd519))
926
-
927
- ## [3.0.2](https://github.com/tamylaa/clodo-framework/compare/v3.0.1...v3.0.2) (2025-10-14)
928
-
929
-
930
- ### Bug Fixes
931
-
932
- * suppress secret audit logging in test/CI environments ([daa58e0](https://github.com/tamylaa/clodo-framework/commit/daa58e013f8c3c37bb251a658b78f011a56dab3f))
933
-
934
- ## [3.0.1](https://github.com/tamylaa/clodo-framework/compare/v3.0.0...v3.0.1) (2025-10-14)
935
-
936
-
937
- ### Bug Fixes
938
-
939
- * reset version to 2.0.20 for clean semantic release ([724df16](https://github.com/tamylaa/clodo-framework/commit/724df162d3fdb4a35cfc50a2cc045a714c56ba6f))
940
-
941
- # [3.0.0](https://github.com/tamylaa/clodo-framework/compare/v2.0.20...v3.0.0) (2025-10-14)
942
-
943
-
944
- ### Bug Fixes
945
-
946
- * include all bin/shared files and correct imports to use dist/ ([268b525](https://github.com/tamylaa/clodo-framework/commit/268b5254d269951e78d481840a9a0fbba486c879)), closes [#deploy-v3](https://github.com/tamylaa/clodo-framework/issues/deploy-v3)
947
- * resolve async logging and migration command issues (v3.0.2) ([0ed0112](https://github.com/tamylaa/clodo-framework/commit/0ed0112b2d26983fbd1329dce88286d4eca6d63b))
948
- * resolve test failures and add comprehensive validation ([5abcacb](https://github.com/tamylaa/clodo-framework/commit/5abcacb39f97bcf58f92a75a8ed2602381b6c266))
949
- * use temp directory in generation-engine-unit test for CI/CD compatibility ([a28a923](https://github.com/tamylaa/clodo-framework/commit/a28a92311fa6d8b1c6bd95a354c5e7cd4ada3b48))
950
-
951
-
952
- ### BREAKING CHANGES
953
-
954
- * none
955
- VALIDATION: Dry-run test PASSED with real Cloudflare API integration
956
-
957
- Validation Reports:
958
- - PRODUCTION_VALIDATION_REPORT.md - Full validation analysis
959
- - DEPLOY_COMMAND_VALIDATION.md - Deploy command documentation
960
- - DRY_RUN_TEST_RESULTS.md - Dry-run test with real API
961
- - VALIDATION_SUMMARY.md - Executive summary
962
-
963
- Confidence: 95% - Ready for production deployment
964
-
965
- ## [3.0.1](https://github.com/tamylaa/clodo-framework/compare/v3.0.0...v3.0.1) (2025-10-14)
966
-
967
-
968
- ### Bug Fixes
969
-
970
- * include all bin/shared files and correct imports to use dist/ ([268b525](https://github.com/tamylaa/clodo-framework/commit/268b5254d269951e78d481840a9a0fbba486c879)), closes [#deploy-v3](https://github.com/tamylaa/clodo-framework/issues/deploy-v3)
971
-
972
- # [3.0.0](https://github.com/tamylaa/clodo-framework/compare/v2.0.20...v3.0.0) (2025-10-14)
973
-
974
-
975
- ### Bug Fixes
976
-
977
- * resolve test failures and add comprehensive validation ([5abcacb](https://github.com/tamylaa/clodo-framework/commit/5abcacb39f97bcf58f92a75a8ed2602381b6c266))
978
- * use temp directory in generation-engine-unit test for CI/CD compatibility ([a28a923](https://github.com/tamylaa/clodo-framework/commit/a28a92311fa6d8b1c6bd95a354c5e7cd4ada3b48))
979
-
980
-
981
- ### BREAKING CHANGES
982
-
983
- * none
984
- VALIDATION: Dry-run test PASSED with real Cloudflare API integration
985
-
986
- Validation Reports:
987
- - PRODUCTION_VALIDATION_REPORT.md - Full validation analysis
988
- - DEPLOY_COMMAND_VALIDATION.md - Deploy command documentation
989
- - DRY_RUN_TEST_RESULTS.md - Dry-run test with real API
990
- - VALIDATION_SUMMARY.md - Executive summary
991
-
992
- Confidence: 95% - Ready for production deployment
993
-
994
- ## [2.0.20](https://github.com/tamylaa/clodo-framework/compare/v2.0.19...v2.0.20) (2025-10-13)
995
-
996
-
997
- ### Bug Fixes
998
-
999
- * Complete consolidation cleanup - fix all bin file imports ([4132a2c](https://github.com/tamylaa/clodo-framework/commit/4132a2c0878df84ccc0bd78c6964657810d1f4dc))
1000
-
1001
- ## [2.0.19](https://github.com/tamylaa/clodo-framework/compare/v2.0.18...v2.0.19) (2025-10-12)
1002
-
1003
-
1004
- ### Bug Fixes
1005
-
1006
- * Add comprehensive deployment configuration implementation status ([025fe82](https://github.com/tamylaa/clodo-framework/commit/025fe821a76ba9ac8cb87d14f2a116a5e8e58c43))
1007
- * Consolidate configuration management and organize documentation ([e3a3d44](https://github.com/tamylaa/clodo-framework/commit/e3a3d448a74b214d75ae669f3a17e3a6ddb36ac4))
1008
- * Resolve ESLint errors in security and config modules ([1080cdb](https://github.com/tamylaa/clodo-framework/commit/1080cdbb69b3ae29158b6af705d8fd376c95da7b))
1009
- * Complete consolidation cleanup - fix all bin file imports ([4132a2c](https://github.com/tamylaa/clodo-framework/commit/4132a2c))
1010
-
1011
- ### BREAKING CHANGES
1012
-
1013
- **This release includes breaking changes due to configuration consolidation. Please review the migration guide below.**
1014
-
1015
- #### Removed Package Exports:
1016
- - `@tamyla/clodo-framework/config/customer-loader` → **Use** `@tamyla/clodo-framework/utils/config` instead
1017
- - `@tamyla/clodo-framework/config/cli` → **Deprecated** (no direct replacement)
1018
-
1019
- #### Removed CLI Commands:
1020
- - `clodo-customer-config` → **Use** `clodo-service deploy` instead
1021
-
1022
- #### Migration Guide:
1023
-
1024
- **For External Package Users:**
1025
- ```javascript
1026
- // OLD (v2.0.18 and earlier - BROKEN in v2.0.19+)
1027
- import { CustomerConfigLoader } from '@tamyla/clodo-framework/config/customer-loader';
1028
- const loader = new CustomerConfigLoader();
1029
- const config = loader.loadConfig('customer', 'production');
1030
-
1031
- // NEW (v2.0.19+)
1032
- import { UnifiedConfigManager } from '@tamyla/clodo-framework/utils/config';
1033
- const manager = new UnifiedConfigManager();
1034
- const config = manager.loadCustomerConfig('customer', 'production');
1035
- ```
1036
-
1037
- **Method Mappings:**
1038
- - `CustomerConfigLoader.loadConfig(customer, env)` → `UnifiedConfigManager.loadCustomerConfig(customer, env)`
1039
- - `CustomerConfigLoader.parseToStandardFormat(config)` → `UnifiedConfigManager.parseToStandardFormat(config)`
1040
- - `ConfigPersistenceManager.configExists(customer, env)` → `UnifiedConfigManager.configExists(customer, env)`
1041
- - `ConfigPersistenceManager.displayCustomerConfig(customer, env)` → `UnifiedConfigManager.displayCustomerConfig(customer, env)`
1042
- - `ConfigPersistenceManager.getConfiguredCustomers()` → `UnifiedConfigManager.listCustomers()`
1043
- - `ConfigPersistenceManager.saveDeploymentConfig(customer, env, config)` → `UnifiedConfigManager.saveCustomerConfig(customer, env, config)`
1044
-
1045
- **For CLI Users:**
1046
- ```bash
1047
- # OLD (v2.0.18 and earlier)
1048
- clodo-customer-config create my-customer
1049
-
1050
- # NEW (v2.0.19+)
1051
- clodo-service deploy
1052
- # Then select customer interactively
1053
- ```
1054
-
1055
- #### What Was Consolidated:
1056
- - **Deleted files** (backed up in `backups/pre-consolidation-cleanup_2025-10-12_21-05-59/`):
1057
- - `src/config/customer-config-loader.js` (1,849 bytes)
1058
- - `src/config/CustomerConfigCLI.js` (14,892 bytes)
1059
- - `src/utils/deployment/ConfigurationManager.js` (9,235 bytes)
1060
- - `src/utils/deployment/ConfigMutator.js` (8,342 bytes)
1061
- - `src/utils/deployment/DeploymentManager.js` (6,819 bytes)
1062
- - `src/utils/deployment/config-persistence.js` (6,656 bytes)
1063
- - `bin/shared/config/customer-cli.js` (deprecated CLI wrapper)
1064
-
1065
- - **New consolidated files**:
1066
- - `src/utils/config/unified-config-manager.js` (493 lines) - All customer config operations
1067
- - `src/utils/config/wrangler-config-manager.js` (392 lines) - All wrangler.toml operations
1068
-
1069
- #### Why This Change?
1070
- - **Reduced Complexity**: 47,793 bytes of duplicate code consolidated into 885 lines
1071
- - **Better Maintainability**: Single source of truth for config operations
1072
- - **Improved Testing**: Consolidated logic = easier to test
1073
- - **Clearer Architecture**: Documented 3-layer config system (wrangler.toml → customer .env → domains.js)
1074
-
1075
- #### Documentation:
1076
- - See `docs/DOMAIN_CONFIGURATION_ARCHITECTURE.md` for complete architecture guide (28 pages)
1077
- - See `docs/CONSOLIDATION_IMPACT_ANALYSIS.md` for detailed impact analysis
1078
- - See `docs/DEPLOYMENT_CONFIGURATION_STATUS.md` for implementation proof
1079
-
1080
- ## [2.0.18](https://github.com/tamylaa/clodo-framework/compare/v2.0.17...v2.0.18) (2025-10-12)
1081
-
1082
-
1083
- ### Bug Fixes
1084
-
1085
- * **deployment:** Critical deployment fixes - migrations, worker deployment, status tracking ([23c07e9](https://github.com/tamylaa/clodo-framework/commit/23c07e9a68fa4eb52ccd0df9421eff7d91919cb1)), closes [#2](https://github.com/tamylaa/clodo-framework/issues/2) [#3](https://github.com/tamylaa/clodo-framework/issues/3) [#4](https://github.com/tamylaa/clodo-framework/issues/4)
1086
-
1087
- ## [2.0.17](https://github.com/tamylaa/clodo-framework/compare/v2.0.16...v2.0.17) (2025-10-12)
1088
-
1089
-
1090
- ### Bug Fixes
1091
-
1092
- * use ConfigurationValidator as static class, not instance ([12caaeb](https://github.com/tamylaa/clodo-framework/commit/12caaeba17426239f98dacd2fdb36ac45a7a496b))
1093
-
1094
- ## [2.0.16](https://github.com/tamylaa/clodo-framework/compare/v2.0.15...v2.0.16) (2025-10-12)
1095
-
1096
-
1097
- ### Bug Fixes
1098
-
1099
- * comprehensive readline state management and stdin restoration ([a0716fe](https://github.com/tamylaa/clodo-framework/commit/a0716fef9a5db8211b851ab7861bf2419f31e7fa))
1100
-
1101
- ## [2.0.15](https://github.com/tamylaa/clodo-framework/compare/v2.0.14...v2.0.15) (2025-10-12)
1102
-
1103
-
1104
- ### Bug Fixes
1105
-
1106
- * improve customer selection UX with number support ([2e10d56](https://github.com/tamylaa/clodo-framework/commit/2e10d562061c478ecc238e1185e2514af453d00e))
1107
-
1108
- ## [2.0.14](https://github.com/tamylaa/clodo-framework/compare/v2.0.13...v2.0.14) (2025-10-12)
1109
-
1110
-
1111
- ### Bug Fixes
1112
-
1113
- * add missing readdirSync import in config-persistence.js ([767efc4](https://github.com/tamylaa/clodo-framework/commit/767efc4aa839c7afa592fe3a1df21b62870bdf23))
1114
- * remove require() calls in ESM modules ([a1783f9](https://github.com/tamylaa/clodo-framework/commit/a1783f9c75c59ae8ce9daacbc223ad80b17d61bc))
1115
-
1116
- ## [2.0.13](https://github.com/tamylaa/clodo-framework/compare/v2.0.12...v2.0.13) (2025-10-12)
1117
-
1118
-
1119
- ### Bug Fixes
1120
-
1121
- * comprehensive deployment and architectural integration fixes ([2a9db26](https://github.com/tamylaa/clodo-framework/commit/2a9db264c0d60f1669597885105cc1fdc0cc2e87))
1122
-
1123
- ## [2.0.12](https://github.com/tamylaa/clodo-framework/compare/v2.0.11...v2.0.12) (2025-10-12)
1124
-
1125
-
1126
- ### Bug Fixes
1127
-
1128
- * correct zone details property access in auto-discovery ([bfca8af](https://github.com/tamylaa/clodo-framework/commit/bfca8af21a28e96e3fa8809d38de997982723d5a))
1129
-
1130
- ## [2.0.11](https://github.com/tamylaa/clodo-framework/compare/v2.0.10...v2.0.11) (2025-10-12)
1131
-
1132
-
1133
- ### Bug Fixes
1134
-
1135
- * correct domain selection parsing in auto-discovery ([ea80443](https://github.com/tamylaa/clodo-framework/commit/ea80443bf9968d592f066e7d5d13ee47d6fde889))
1136
-
1137
- ## [2.0.10](https://github.com/tamylaa/clodo-framework/compare/v2.0.9...v2.0.10) (2025-10-12)
1138
-
1139
-
1140
- ### Bug Fixes
1141
-
1142
- * move interactive-prompts to src/ to fix published package imports ([94fc31c](https://github.com/tamylaa/clodo-framework/commit/94fc31c0afa91c52f2073b3ab9f766693c5f68e0))
1143
-
1144
- ## [2.0.9](https://github.com/tamylaa/clodo-framework/compare/v2.0.8...v2.0.9) (2025-10-12)
1145
-
1146
-
1147
- ### Bug Fixes
1148
-
1149
- * re-release v2.0.8 features that were missing from npm package ([33cf712](https://github.com/tamylaa/clodo-framework/commit/33cf71267c07610e04bd8c752db4385c6f5ca603))
1150
-
1151
- ## [2.0.8](https://github.com/tamylaa/clodo-framework/compare/v2.0.7...v2.0.8) (2025-10-12)
1152
-
1153
-
1154
- ### Bug Fixes
1155
-
1156
- * clean up skipped security validation test with proper TODO ([722afbe](https://github.com/tamylaa/clodo-framework/commit/722afbe056be6f8ccb623acbbd3ab9ac4ce75caa))
1157
- * Enhanced customer config, CloudflareAPI utility, and code consolidation ([447ed9b](https://github.com/tamylaa/clodo-framework/commit/447ed9b5d8a2bb806386fc334e2e8bf4efeff43b))
1158
- * implement missing deployment phase methods in MultiDomainOrchestrator ([b0cb1e8](https://github.com/tamylaa/clodo-framework/commit/b0cb1e828679df61d9ebde2551599f47ddeb20d2))
1159
- * integrate CloudflareAPI auto-discovery and cleanup duplicates ([8166d18](https://github.com/tamylaa/clodo-framework/commit/8166d189bbe1e5b78db8f24d56221f0e18e72021))
1160
- * resolve ESLint no-undef errors in cloudflare index.js ([1a2bb7f](https://github.com/tamylaa/clodo-framework/commit/1a2bb7fa175bab142f3d5be451cb44ef1b9d8747))
1161
-
1162
- ## [2.0.8](https://github.com/tamylaa/clodo-framework/compare/v2.0.7...v2.0.8) (2025-10-12)
1163
-
1164
-
1165
- ### Bug Fixes
1166
-
1167
- * clean up skipped security validation test with proper TODO ([722afbe](https://github.com/tamylaa/clodo-framework/commit/722afbe056be6f8ccb623acbbd3ab9ac4ce75caa))
1168
- * Enhanced customer config, CloudflareAPI utility, and code consolidation ([447ed9b](https://github.com/tamylaa/clodo-framework/commit/447ed9b5d8a2bb806386fc334e2e8bf4efeff43b))
1169
- * implement missing deployment phase methods in MultiDomainOrchestrator ([b0cb1e8](https://github.com/tamylaa/clodo-framework/commit/b0cb1e828679df61d9ebde2551599f47ddeb20d2))
1170
- * integrate CloudflareAPI auto-discovery and cleanup duplicates ([8166d18](https://github.com/tamylaa/clodo-framework/commit/8166d189bbe1e5b78db8f24d56221f0e18e72021))
1171
- * resolve ESLint no-undef errors in cloudflare index.js ([1a2bb7f](https://github.com/tamylaa/clodo-framework/commit/1a2bb7fa175bab142f3d5be451cb44ef1b9d8747))
1172
-
1173
- ## [2.0.7](https://github.com/tamylaa/clodo-framework/compare/v2.0.6...v2.0.7) (2025-10-12)
1174
-
1175
-
1176
- ### Features
1177
-
1178
- * **customer-config**: Enhanced customer configuration system to read directly from wrangler.toml
1179
- - Load account_id, SERVICE_DOMAIN, and database configurations from wrangler.toml
1180
- - Read CUSTOMER_DOMAIN from customer environment files
1181
- - Display all 6 core deployment pieces (account ID, zone ID, domains, worker, database, secrets)
1182
- - Added --config-dir parameter for flexible directory specification
1183
-
1184
- * **cloudflare**: New CloudflareAPI utility class for programmatic Cloudflare operations
1185
- - Direct REST API integration without CLI dependencies
1186
- - Methods: verifyToken(), listZones(), getZoneDetails(), listD1Databases(), getDeploymentInfo()
1187
- - Helper functions for zone display and selection parsing
1188
- - Organized under src/utils/cloudflare/ with unified exports
1189
-
1190
- * **toml**: TOML writing capabilities for dynamic configuration updates
1191
- - updateWranglerToml() - Update wrangler.toml with new configurations
1192
- - updateEnvironmentConfig() - Modify environment-specific settings
1193
- - addD1Database() - Add database bindings dynamically
1194
- - deepMergeConfig() - Recursive configuration merging
1195
-
1196
-
1197
- ### Bug Fixes
1198
-
1199
- * **customer-config**: Removed duplicate code causing double output in customer CLI
1200
- * **deployment**: Removed 180 lines of duplicate secret management from WranglerDeployer
1201
- - Secret operations now use bin/shared/cloudflare/ops.js as single source of truth
1202
- - Better error recovery, rate limiting, and production monitoring
1203
- * correct orchestrator method name in deploy command ([b28a372](https://github.com/tamylaa/clodo-framework/commit/b28a37222cf2859449b3470b16ec6eb284cc50e2))
1204
-
1205
-
1206
- ### Code Quality
1207
-
1208
- * **organization**: Consolidated Cloudflare utilities under src/utils/cloudflare/
1209
- - Separated API-based operations (api.js) from CLI-based operations (ops.js)
1210
- - Created unified index.js for convenient imports
1211
- - Verified no duplicate utilities across src/ and bin/shared/
1212
-
1213
-
1214
- ### Testing
1215
-
1216
- * Added 12 new tests (132 total, all passing, +9.1%)
1217
- - test/utils/cloudflare-api.test.js - CloudflareAPI module tests (6 tests)
1218
- - test/config/customer-toml.test.js - Customer config tests (6 tests)
1219
-
1220
-
1221
- ### Documentation
1222
-
1223
- * **architecture**: Added comprehensive architecture analysis for customer configuration system
1224
- * **capabilities**: Created inventory of existing framework capabilities
1225
- * **cleanup**: Documented 19-task cleanup plan with execution options
1226
-
1227
- ## [2.0.6](https://github.com/tamylaa/clodo-framework/compare/v2.0.5...v2.0.6) (2025-10-11)
1228
-
1229
-
1230
- ### Bug Fixes
1231
-
1232
- * PowerShell double-echo in interactive input collection ([6a4b153](https://github.com/tamylaa/clodo-framework/commit/6a4b15380efac0ffc4b57ea4e24f320853c33137))
1233
-
1234
- ## [2.0.5](https://github.com/tamylaa/clodo-framework/compare/v2.0.4...v2.0.5) (2025-10-11)
1235
-
1236
-
1237
- ### Bug Fixes
1238
-
1239
- * include templates directory in published package ([8d5c1ff](https://github.com/tamylaa/clodo-framework/commit/8d5c1ffc6090c35751d926042c784ae9b4d711b1))
1240
-
1241
- ## [2.0.4](https://github.com/tamylaa/clodo-framework/compare/v2.0.3...v2.0.4) (2025-10-11)
1242
-
1243
-
1244
- ### Bug Fixes
1245
-
1246
- * ensure clodo-security deploy --help works correctly ([1f81b5f](https://github.com/tamylaa/clodo-framework/commit/1f81b5f0d0590bd3d82470485bde6c449b95c12e))
1247
-
1248
- ## [2.0.3](https://github.com/tamylaa/clodo-framework/compare/v2.0.2...v2.0.3) (2025-10-11)
1249
-
1250
-
1251
- ### Bug Fixes
1252
-
1253
- * Add reusable deployment command with Three-Tier input architecture ([0e13bfc](https://github.com/tamylaa/clodo-framework/commit/0e13bfcdda56d0a137bcd44cfd8a9ca49af30503))
1254
- * clodo-security deploy --help and cross-platform deployment scripts ([d7ebbbe](https://github.com/tamylaa/clodo-framework/commit/d7ebbbe8d41c6e4f297f64d19ea5b98172ddee3b))
1255
- * test - Remove placeholder tests that require unimplemented classes ([b009b34](https://github.com/tamylaa/clodo-framework/commit/b009b34cf1f9f7542fbaab2fa2419b2766c72f10))
1256
-
1257
- ## [2.0.3](https://github.com/tamylaa/clodo-framework/compare/v2.0.2...v2.0.3) (2025-10-11)
1258
-
1259
-
1260
- ### Bug Fixes
1261
-
1262
- * Add reusable deployment command with Three-Tier input architecture ([0e13bfc](https://github.com/tamylaa/clodo-framework/commit/0e13bfcdda56d0a137bcd44cfd8a9ca49af30503))
1263
- * clodo-security deploy --help and cross-platform deployment scripts ([d7ebbbe](https://github.com/tamylaa/clodo-framework/commit/d7ebbbe8d41c6e4f297f64d19ea5b98172ddee3b))
1264
- * test - Remove placeholder tests that require unimplemented classes ([b009b34](https://github.com/tamylaa/clodo-framework/commit/b009b34cf1f9f7542fbaab2fa2419b2766c72f10))
1265
-
1266
- ## [2.0.2](https://github.com/tamylaa/clodo-framework/compare/v2.0.1...v2.0.2) (2025-10-11)
1267
-
1268
-
1269
- ### Bug Fixes
1270
-
1271
- * resolve CLI tool import paths and runtime dependencies ([6a726b9](https://github.com/tamylaa/clodo-framework/commit/6a726b95a5e55055048a262d1c146a50a4f0b46f))
1272
-
1273
- ## [2.0.1](https://github.com/tamylaa/clodo-framework/compare/v2.0.0...v2.0.1) (2025-10-10)
1274
-
1275
-
1276
- ### Bug Fixes
1277
-
1278
- * reorganize documentation structure and fix package distribution ([598d44b](https://github.com/tamylaa/clodo-framework/commit/598d44b669f65c222d215ba33d0361d736a15ac9))
1279
-
1280
- # [2.0.0](https://github.com/tamylaa/clodo-framework/compare/v1.0.0...v2.0.0) (2025-10-10)
1281
-
1282
-
1283
- ### Bug Fixes
1284
-
1285
- * enhance enterprise readiness with comprehensive testing roadmap and documentation ([25702d6](https://github.com/tamylaa/clodo-framework/commit/25702d624047ef40991de47eba0b8dabcfaecfa8))
1286
-
1287
-
1288
- ### BREAKING CHANGES
1289
-
1290
- * Framework now requires structured testing approach for enterprise deployment
1291
-
1292
- # 1.0.0 (2025-10-09)
1293
-
1294
-
1295
- ### Bug Fixes
1296
-
1297
- * add comprehensive security validation module ([ea6cbdf](https://github.com/tamylaa/clodo-framework/commit/ea6cbdf07790266d8b2cd779f750b5e6ef622ba6))
1298
- * add customer configuration management ([ac7379b](https://github.com/tamylaa/clodo-framework/commit/ac7379b41e584bed229cd3a3b8ccb532eed9dcb4))
1299
- * add missing environment parameter to WranglerDeployer validation call ([a833ca3](https://github.com/tamylaa/clodo-framework/commit/a833ca3c1006953911453e1b383c602b96a16229))
1300
- * allow tests to pass when no test files exist ([70bd5b8](https://github.com/tamylaa/clodo-framework/commit/70bd5b8ee61fc7fb70e5015d1889e411c9e091b4))
1301
- * complete rebranding from lego-framework to clodo-framework ([1a704ba](https://github.com/tamylaa/clodo-framework/commit/1a704ba0bdd4b649c412a8b8cc202138d64c79e2))
1302
- * comprehensive documentation update for framework capabilities ([65c0284](https://github.com/tamylaa/clodo-framework/commit/65c0284e6bb916be2f5bd994d76aa198c77cf9fc))
1303
- * comprehensive framework improvements and enterprise documentation ([e77b046](https://github.com/tamylaa/clodo-framework/commit/e77b046cca0dc6ed7afc16479e588d2dece333f3))
1304
- * enhance deployment framework with HTTP validation, error handling, and interactive configuration ([7698f56](https://github.com/tamylaa/clodo-framework/commit/7698f56108c0b90809eaaa55e7335ac89e6dce49))
1305
- * ensure semantic-release works on latest commit ([5d59903](https://github.com/tamylaa/clodo-framework/commit/5d59903cab1c74266373bd6066b045da75256645))
1306
- * implement intelligent WranglerDeployer for actual Cloudflare deployments ([a656190](https://github.com/tamylaa/clodo-framework/commit/a6561909753b5bcb7ece0a0159772daee28dd37c))
1307
- * include documentation in package files ([550a734](https://github.com/tamylaa/clodo-framework/commit/550a734ef9de3f4e4afc35e85226216649e84332))
1308
- * Initial release of Lego Framework v1.0.0 ([6994efd](https://github.com/tamylaa/clodo-framework/commit/6994efdf0be3508ae7fe54c6d71f161d56cafef8))
1309
- * major framework enhancement with enterprise features and TypeScript support ([53c94fb](https://github.com/tamylaa/clodo-framework/commit/53c94fbc3adde14852ffaab9117eda09621f3a16))
1310
- * major framework reorganization and robustness improvements ([7aed0b5](https://github.com/tamylaa/clodo-framework/commit/7aed0b5b438bb02c081d533766951ccc89ff4d4c))
1311
- * make database orchestrator dependency-aware ([051f722](https://github.com/tamylaa/clodo-framework/commit/051f72269aab39d4e972cad8011430dfa86b3f7a))
1312
- * resolve ESLint errors and warnings ([005b591](https://github.com/tamylaa/clodo-framework/commit/005b5916faf6a57c0065d649979dcef84c466ce3))
1313
- * resolve ESLint warnings to enable automated release ([200dd82](https://github.com/tamylaa/clodo-framework/commit/200dd8267af2629f3cb3a1a3a30cbc96ea5bbee9))
1314
- * resolve ESM packaging conflict by preserving ES modules in build output ([0d13422](https://github.com/tamylaa/clodo-framework/commit/0d13422e5c7800006369b157b57d9440805d14dd))
1315
- * resolve GitHub Actions workflow permissions and NPM token issues ([cd53e55](https://github.com/tamylaa/clodo-framework/commit/cd53e55702e0c249e26884304115537c8a3345cf))
1316
- * resolve linting and type checking issues ([598e699](https://github.com/tamylaa/clodo-framework/commit/598e6999be93025d7a35c59df55c6606a59c98ac))
1317
- * resolve missing health-checker dependency by moving to src/utils ([64d429b](https://github.com/tamylaa/clodo-framework/commit/64d429be674855539e5f77413d9a14151d1b0ef8))
1318
- * update repository URLs to correct GitHub username (tamylaa) ([791ae3f](https://github.com/tamylaa/clodo-framework/commit/791ae3ff76589851a0ba09cef58d955272c6b343))
1319
- * Windows compatibility and ES module issues ([7ed2588](https://github.com/tamylaa/clodo-framework/commit/7ed2588d8ae2f706e5646813c1d1dad99944d50f))
1320
-
1321
-
1322
- ### Features
1323
-
1324
- * Add additional documentation and development tools ([0c6ca0d](https://github.com/tamylaa/clodo-framework/commit/0c6ca0d18ac7bdeef17587a592b8e7e1c549c87b))
1325
- * add GitHub Actions workflow for semantic release ([e097070](https://github.com/tamylaa/clodo-framework/commit/e0970708b454d87dd124371840d0eb1c91c7641c))
1326
- * implement comprehensive production hardening ([4a4c391](https://github.com/tamylaa/clodo-framework/commit/4a4c3917fc3ba624ff61ac79cde1df7c40b6aa33))
1327
- * initial commercial release of Clodo Framework ([647e271](https://github.com/tamylaa/clodo-framework/commit/647e271dd0718b8a5fc4082bc1ac9be1216f9fe2))
1328
- * Rebrand to Clodo Framework v3.0.6 ([03e6923](https://github.com/tamylaa/clodo-framework/commit/03e69232dc60e139601320fce7c1c88c55d6254f))
1329
- * trigger initial Clodo Framework v1.0.0 release ([98bcd76](https://github.com/tamylaa/clodo-framework/commit/98bcd764a1aa1cfe4199d820e02be584619ea11c))
1330
-
1331
-
1332
- ### BREAKING CHANGES
1333
-
1334
- * Deployments now require security validation by default
1335
- * Enhanced framework with advanced caching, validation, and security features
1336
-
1337
- - Enhanced SchemaManager with comprehensive validation and SQL caching (~750 lines)
1338
- - Enhanced GenericDataService with query caching and security controls (~580 lines)
1339
- - Enhanced ModuleManager with enterprise hook execution (~650 lines)
1340
- - Added FeatureManager for progressive enhancement with 20+ feature flags
1341
- - Added VersionDetector for automatic configuration and migration
1342
- - Added MigrationAdapters for backwards compatibility
1343
- - Added comprehensive TypeScript definitions (500+ lines)
1344
- - Enhanced build pipeline with TypeScript checking
1345
- - Fixed critical parsing errors and linting issues
1346
- - 60%+ code duplication reduction through framework consolidation
1347
-
1348
- All breaking changes include backwards compatibility via migration adapters.
1349
-
1350
- ## [3.0.6](https://github.com/tamylaa/clodo-framework/compare/v3.0.5...v3.0.6) (2025-10-07)
1351
-
1352
-
1353
- ### Bug Fixes
1354
-
1355
- * resolve missing health-checker dependency by moving to src/utils (# Changelog
1356
-
1357
- All notable changes to this project will be documented in this file.
1358
-
1359
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1360
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1361
-
1362
- ## [1.0.0](https://github.com/tamylaa/clodo-framework/compare/v3.0.6...v1.0.0) (2025-10-09)
1363
-
1364
- ### 🎉 Major Release: Clodo Framework Commercial Launch
1365
-
1366
- **Clodo Framework** is a comprehensive, enterprise-grade framework for building microservices on Cloudflare Workers + D1. This 1.0.0 release marks the transition from the open-source CLODO Framework to a commercially licensed product with professional licensing infrastructure.
1367
-
1368
- ### 🚀 What is Clodo Framework?
1369
-
1370
- Clodo Framework provides a **"snap-together" architecture** where standardized, reusable components combine to rapidly build and deploy domain-specific services. Just like Clodo bricks create complex structures, Clodo Framework components create enterprise applications.
1371
-
1372
- #### Core Capabilities
1373
-
1374
- **🏗️ Service Architecture**
1375
- - **GenericDataService**: Full CRUD operations with automatic schema management
1376
- - **EnhancedRouter**: RESTful routing with middleware support and validation
1377
- - **SchemaManager**: Dynamic schema management with migration support
1378
- - **ConfigurationCacheManager**: Multi-tenant configuration with domain-specific settings
1379
-
1380
- **🔧 Development Tools**
1381
- - **Interactive CLI**: `clodo-service create` for conversational service creation
1382
- - **Service Templates**: Pre-built templates for data services, auth services, API gateways
1383
- - **Auto-Configuration**: Automatic wrangler.toml and domain configuration generation
1384
- - **Multi-Domain Support**: Single service instance serving multiple domains
1385
-
1386
- **🚀 Deployment & Orchestration**
1387
- - **Multi-Domain Orchestrator**: Deploy services across multiple domains simultaneously
1388
- - **Health Monitoring**: Automated health checks and validation
1389
- - **Security Validation**: Pre-deployment security checks and compliance
1390
- - **Portfolio Management**: Manage entire service portfolios as single units
1391
-
1392
- **🔒 Enterprise Features**
1393
- - **Professional Licensing**: Integration-ready for enterprise licensing platforms
1394
- - **Security-First**: Built-in security validation and compliance checks
1395
- - **Audit Trails**: Comprehensive logging and monitoring
1396
- - **Production-Ready**: Optimized for high-performance, scalable deployments
1397
-
1398
- ### 📋 Key Features
1399
-
1400
- #### For Developers
1401
- ```javascript
1402
- import { GenericDataService, SchemaManager } from '@tamyla/clodo-framework';
1403
-
1404
- // Create a data service in minutes
1405
- const dataService = new GenericDataService({
1406
- schema: 'users',
1407
- operations: ['create', 'read', 'update', 'delete']
1408
- });
1409
-
1410
- // Automatic schema management
1411
- const schemaManager = new SchemaManager();
1412
- await schemaManager.registerModel('users', userSchema);
1413
- ```
1414
-
1415
- #### For DevOps/Platform Teams
1416
- ```bash
1417
- # Interactive service creation
1418
- npx @tamyla/clodo-framework clodo-service create
1419
-
1420
- # Multi-domain deployment
1421
- clodo-service deploy --portfolio --domains "api.example.com,app.example.com"
1422
-
1423
- # Health monitoring
1424
- clodo-service diagnose --comprehensive
1425
- ```
1426
-
1427
- ### 🏢 Use Cases
1428
-
1429
- **SaaS Platforms**: Build multi-tenant applications serving multiple customers from single codebases
1430
- **API Gateways**: Create scalable API gateways with automatic routing and validation
1431
- **Data Services**: Build CRUD services with automatic schema management and migrations
1432
- **Microservices**: Deploy domain-specific services with consistent patterns and tooling
1433
- **Edge Computing**: Leverage Cloudflare's global network for low-latency, high-performance applications
1434
-
1435
- ### 🔄 Migration from CLODO Framework
1436
-
1437
- This release includes a complete rebrand and commercial licensing preparation:
1438
-
1439
- - **Package Name**: `@tamyla/clodo-framework` (was `@tamyla/clodo-framework`)
1440
- - **CLI Commands**: `clodo-service` (was `clodo-service`)
1441
- - **Licensing**: Removed local file licensing, ready for professional licensing integration
1442
- - **Documentation**: Updated for commercial use and enterprise deployment patterns
1443
-
1444
- ### 📚 Documentation
1445
-
1446
- - **Framework Overview**: Comprehensive architecture documentation
1447
- - **Integration Guide**: Step-by-step migration and adoption strategies
1448
- - **API Reference**: Complete API documentation with examples
1449
- - **Deployment Guide**: Production deployment and scaling strategies
1450
- - **Security Guide**: Security best practices and compliance
1451
-
1452
- ### 🔧 Technical Specifications
1453
-
1454
- - **Runtime**: Node.js 18+, Cloudflare Workers
1455
- - **Database**: Cloudflare D1 (SQLite-compatible)
1456
- - **Deployment**: Cloudflare Workers platform
1457
- - **Package Manager**: NPM
1458
- - **License**: Commercial (contact for licensing terms)
1459
-
1460
- ### 🎯 Getting Started
1461
-
1462
- ```bash
1463
- # Install the framework
1464
- npm install @tamyla/clodo-framework
1465
-
1466
- # Create your first service
1467
- npx @tamyla/clodo-framework clodo-service create
1468
-
1469
- # Follow the interactive setup
1470
- # Deploy to Cloudflare Workers
1471
- npm run deploy
1472
- ```
1473
-
1474
- ### 📞 Commercial Support
1475
-
1476
- This is a commercially licensed product. For:
1477
- - **Licensing inquiries**: Visit https://clodo-framework.com/pricing
1478
- - **Enterprise support**: Contact enterprise@clodo-framework.com
1479
- - **Documentation**: https://docs.clodo-framework.com
1480
- - **Community**: https://github.com/tamylaa/clodo-framework
1481
-
1482
- ### 🤝 Contributing
1483
-
1484
- While the framework is commercially licensed, we welcome community contributions for:
1485
- - Bug reports and feature requests
1486
- - Documentation improvements
1487
- - Community examples and templates
1488
-
1489
- ---
1490
-
1491
- **Previous CLODO Framework versions remain available under open-source license for existing users.**9b](https://github.com/tamylaa/clodo-framework/commit/64d429be674855539e5f77413d9a14151d1b0ef8))
1492
-
1493
- ## [3.0.5](https://github.com/tamylaa/clodo-framework/compare/v3.0.4...v3.0.5) (2025-10-07)
1494
-
1495
-
1496
- ### Bug Fixes
1497
-
1498
- * resolve ESM packaging conflict by preserving ES modules in build output ([0d13422](https://github.com/tamylaa/clodo-framework/commit/0d13422e5c7800006369b157b57d9440805d14dd))
1499
-
1500
- ## [3.0.4](https://github.com/tamylaa/clodo-framework/compare/v3.0.3...v3.0.4) (2025-10-07)
1501
-
1502
-
1503
- ### Bug Fixes
1504
-
1505
- * enhance deployment framework with HTTP validation, error handling, and interactive configuration ([7698f56](https://github.com/tamylaa/clodo-framework/commit/7698f56108c0b90809eaaa55e7335ac89e6dce49))
1506
-
1507
- ## [3.0.3](https://github.com/tamylaa/clodo-framework/compare/v3.0.2...v3.0.3) (2025-10-07)
1508
-
1509
-
1510
- ### Features
1511
-
1512
- * **DeploymentManager**: Enhanced with real HTTP-based validation and URL extraction
1513
- * **HealthChecker**: Replaced shell commands with native Node.js HTTP/HTTPS modules for cross-platform reliability
1514
- * **ErrorHandler**: Added comprehensive error reporting and actionable troubleshooting suggestions
1515
- * **InteractiveDeploymentConfigurator**: New user input-driven configuration setup for deployment workflows
1516
-
1517
- ### Enhancements
1518
-
1519
- * **Security Module**: Updated exports to include new ErrorHandler and InteractiveDeploymentConfigurator classes
1520
- * **Post-deployment Validation**: Real HTTP health checks replace mock implementations
1521
- * **Cross-platform Compatibility**: Eliminated shell command dependencies in health checking
1522
- * **User Experience**: Interactive configuration wizard for security deployments
1523
-
1524
- ### Bug Fixes
1525
-
1526
- * **ESLint**: Fixed unnecessary escape characters in regex patterns
1527
- * **Type Checking**: All new code passes TypeScript validation
1528
- * **Build Process**: Successful compilation and bundle validation
1529
-
1530
- ## [3.0.2](https://github.com/tamylaa/clodo-framework/compare/v3.0.1...v3.0.2) (2025-10-06)
1531
-
1532
-
1533
- ### Bug Fixes
1534
-
1535
- * include documentation in package files ([550a734](https://github.com/tamylaa/clodo-framework/commit/550a734ef9de3f4e4afc35e85226216649e84332))
1536
-
1537
- ## [3.0.1](https://github.com/tamylaa/clodo-framework/compare/v3.0.0...v3.0.1) (2025-10-06)
1538
-
1539
-
1540
- ### Bug Fixes
1541
-
1542
- * add customer configuration management ([ac7379b](https://github.com/tamylaa/clodo-framework/commit/ac7379b41e584bed229cd3a3b8ccb532eed9dcb4))
1543
-
1544
- # [3.0.0](https://github.com/tamylaa/clodo-framework/compare/v2.0.1...v3.0.0) (2025-10-06)
1545
-
1546
-
1547
- ### Bug Fixes
1548
-
1549
- * add comprehensive security validation module ([ea6cbdf](https://github.com/tamylaa/clodo-framework/commit/ea6cbdf07790266d8b2cd779f750b5e6ef622ba6))
1550
-
1551
-
1552
- ### BREAKING CHANGES
1553
-
1554
- * Deployments now require security validation by default
1555
-
1556
- ## [2.0.1](https://github.com/tamylaa/clodo-framework/compare/v2.0.0...v2.0.1) (2025-10-05)
1557
-
1558
-
1559
- ### Bug Fixes
1560
-
1561
- * allow tests to pass when no test files exist ([70bd5b8](https://github.com/tamylaa/clodo-framework/commit/70bd5b8ee61fc7fb70e5015d1889e411c9e091b4))
1562
-
1563
- # [2.0.0](https://github.com/tamylaa/clodo-framework/compare/v1.3.4...v2.0.0) (2025-10-05)
1564
-
1565
-
1566
- ### Bug Fixes
1567
-
1568
- * major framework enhancement with enterprise features and TypeScript support ([53c94fb](https://github.com/tamylaa/clodo-framework/commit/53c94fbc3adde14852ffaab9117eda09621f3a16))
1569
- * resolve ESLint errors and warnings ([005b591](https://github.com/tamylaa/clodo-framework/commit/005b5916faf6a57c0065d649979dcef84c466ce3))
1570
-
1571
-
1572
- ### BREAKING CHANGES
1573
-
1574
- * Enhanced framework with advanced caching, validation, and security features
1575
-
1576
- - Enhanced SchemaManager with comprehensive validation and SQL caching (~750 lines)
1577
- - Enhanced GenericDataService with query caching and security controls (~580 lines)
1578
- - Enhanced ModuleManager with enterprise hook execution (~650 lines)
1579
- - Added FeatureManager for progressive enhancement with 20+ feature flags
1580
- - Added VersionDetector for automatic configuration and migration
1581
- - Added MigrationAdapters for backwards compatibility
1582
- - Added comprehensive TypeScript definitions (500+ lines)
1583
- - Enhanced build pipeline with TypeScript checking
1584
- - Fixed critical parsing errors and linting issues
1585
- - 60%+ code duplication reduction through framework consolidation
1586
-
1587
- All breaking changes include backwards compatibility via migration adapters.
1588
-
1589
- ## [2.0.0] (2025-10-05)
1590
-
1591
- ### 🚀 Major Framework Enhancement Release
1592
-
1593
- This release represents a major enhancement of the CLODO Framework with enterprise-grade features, comprehensive type safety, and backwards compatibility systems.
1594
-
1595
- ### Added
1596
-
1597
- #### Core Framework Enhancements
1598
- - **Enhanced SchemaManager** with advanced caching, validation, and SQL generation
1599
- - Schema caching with TTL support and cache invalidation strategies
1600
- - Comprehensive field validation with structured error reporting
1601
- - SQL query caching for improved performance (~750 lines of enhanced functionality)
1602
-
1603
- - **Enhanced GenericDataService** with enterprise features
1604
- - Query caching with configurable TTL and intelligent cache invalidation
1605
- - Advanced security controls (query limits, bulk operation protections)
1606
- - Advanced pagination system with metadata and performance optimization
1607
- - Relationship loading capabilities with JOIN query generation (~580 lines enhanced)
1608
-
1609
- - **Enhanced ModuleManager** with enterprise-grade plugin architecture
1610
- - Improved hook execution with timeout protection and error recovery
1611
- - Success/failure tracking and result aggregation
1612
- - Module isolation and async hook execution (~650 lines enhanced)
1613
-
1614
- #### Feature Management & Migration Systems
1615
- - **FeatureManager** - Progressive enhancement with 20+ feature flags
1616
- - **VersionDetector** - Automatic version detection and environment configuration
1617
- - **MigrationAdapters** - Backwards compatibility layer preserving existing APIs
1618
-
1619
- #### Developer Experience & Quality
1620
- - **TypeScript Definitions** - Complete type safety with 500+ lines of definitions
1621
- - **Enhanced Build Pipeline** - TypeScript checking, ESLint integration, automated validation
1622
- - **Comprehensive JSDoc** - Full parameter and return type documentation
1623
-
1624
- ### Changed
1625
-
1626
- #### Performance Improvements
1627
- - **60%+ reduction** in code duplication through framework consolidation
1628
- - **Caching system** reduces database queries and validation overhead
1629
- - **SQL generation caching** improves repeated query performance
1630
-
1631
- #### Security Enhancements
1632
- - **Query Security**: Configurable limits (maxQueryLimit: 1000, defaultQueryLimit: 100)
1633
- - **Input Validation**: Comprehensive field-level validation with SQL injection protection
1634
- - **Audit Logging**: Optional security action logging and tracking
1635
-
1636
- ### Breaking Changes (with backwards compatibility)
1637
- - Enhanced validation API with detailed error reporting (legacy preserved via adapters)
1638
- - Advanced pagination and security controls (legacy methods maintained)
1639
- - Enhanced hook execution system (original API compatible)
1640
-
1641
- ### Migration
1642
- - **Feature Flags**: Enable enhanced features incrementally
1643
- - **Backwards Compatibility**: Existing code works unchanged via migration adapters
1644
- - **Auto-Configuration**: Automatic detection and setup for seamless upgrade
1645
-
1646
- ## [1.3.3](https://github.com/tamylaa/clodo-framework/compare/v1.3.2...v1.3.3) (2025-10-01)
1647
-
1648
- ### Bug Fixes
1649
-
1650
- * implement intelligent WranglerDeployer for actual Cloudflare deployments ([a656190](https://github.com/tamylaa/clodo-framework/commit/a6561909753b5bcb7ece0a0159772daee28dd37c))
1651
-
1652
- ## [1.3.2](https://github.com/tamylaa/clodo-framework/compare/v1.3.1...v1.3.2) (2025-10-01)
1653
-
1654
-
1655
- ### Bug Fixes
1656
-
1657
- * major framework reorganization and robustness improvements ([7aed0b5](https://github.com/tamylaa/clodo-framework/commit/7aed0b5b438bb02c081d533766951ccc89ff4d4c))
1658
- * make database orchestrator dependency-aware ([051f722](https://github.com/tamylaa/clodo-framework/commit/051f72269aab39d4e972cad8011430dfa86b3f7a))
1659
-
1660
- ## [1.3.1](https://github.com/tamylaa/clodo-framework/compare/v1.3.0...v1.3.1) (2025-09-29)
1661
-
1662
-
1663
- ### Bug Fixes
1664
-
1665
- * Windows compatibility and ES module issues ([7ed2588](https://github.com/tamylaa/clodo-framework/commit/7ed2588d8ae2f706e5646813c1d1dad99944d50f))
1666
-
1667
- # Changelog
1668
-
1669
- All notable changes to the Clodo Framework project will be documented in this file.
1670
-
1671
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1672
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1673
-
1674
- ## [1.0.0] - 2025-09-27
1675
-
1676
- ### Added
1677
- - **Core Framework Architecture**
1678
- - Configuration system with domain and feature management
1679
- - Generic data services with automatic CRUD operations
1680
- - Enhanced routing system with parameter matching
1681
- - Worker integration helpers for Cloudflare Workers
1682
- - Module system for extensible functionality
1683
- - Schema manager with automatic validation and SQL generation
1684
-
1685
- - **CLI Tools**
1686
- - `create-clodo-service` command for service generation
1687
- - Multiple service templates (data-service, auth-service, content-service, api-gateway, generic)
1688
- - Interactive service setup and configuration
1689
- - Template variable replacement system
1690
-
1691
- - **Multi-Tenant Support**
1692
- - Domain-specific configuration management
1693
- - Feature flags with runtime toggling
1694
- - Environment-specific settings
1695
- - Tenant data isolation patterns
1696
-
1697
- - **Deployment Infrastructure**
1698
- - PowerShell deployment scripts
1699
- - Environment-specific configuration
1700
- - Database migration support
1701
- - Automated Cloudflare Workers deployment
1702
- - CI/CD integration templates
1703
-
1704
- - **Documentation**
1705
- - Comprehensive architecture documentation
1706
- - Getting started guide with 5-minute quickstart
1707
- - Complete API reference
1708
- - Real-world examples and tutorials
1709
- - Critical analysis and decision framework
1710
- - Production deployment guide
1711
-
1712
- - **Development Tools**
1713
- - ESLint configuration
1714
- - Jest testing setup
1715
- - Babel build system
1716
- - Development server integration
1717
-
1718
- ### Features
1719
- - **Domain Configuration System**
1720
- - JSON-based domain configuration with validation
1721
- - Multi-environment support (development, staging, production)
1722
- - Cloudflare account and zone integration
1723
- - Custom domain routing support
1724
-
1725
- - **Feature Flag Management**
1726
- - Runtime feature toggling per domain
1727
- - Global feature overrides for testing
1728
- - Feature-based access control
1729
- - Event listeners for feature changes
1730
-
1731
- - **Generic Data Services**
1732
- - Automatic CRUD API generation
1733
- - Schema-based data validation
1734
- - Pagination and filtering support
1735
- - Multi-tenant data isolation
1736
- - SQL query generation and optimization
1737
-
1738
- - **Enhanced Router**
1739
- - Automatic REST API route generation
1740
- - Custom route registration
1741
- - Parameter extraction and validation
1742
- - Middleware pattern support
1743
-
1744
- - **Worker Integration**
1745
- - Service initialization with domain context
1746
- - Feature guards for conditional request handling
1747
- - Environment detection and configuration
1748
- - Error handling and logging integration
1749
-
1750
- ### Templates
1751
- - **Generic Service Template**
1752
- - Basic Cloudflare Worker structure
1753
- - Domain configuration setup
1754
- - Health and info endpoints
1755
- - Deployment scripts
1756
-
1757
- - **Data Service Template**
1758
- - Pre-configured CRUD operations
1759
- - Database integration
1760
- - Schema management
1761
- - Multi-tenant support
1762
-
1763
- - **Auth Service Template**
1764
- - JWT authentication patterns
1765
- - User management
1766
- - Role-based access control
1767
- - Session handling
1768
-
1769
- - **Content Service Template**
1770
- - Content management patterns
1771
- - File upload support
1772
- - Media handling
1773
- - Search and filtering
1774
-
1775
- - **API Gateway Template**
1776
- - Service orchestration
1777
- - Request routing
1778
- - Rate limiting
1779
- - Authentication integration
1780
-
1781
- ### Security
1782
- - JWT token support for authentication
1783
- - Role-based access control patterns
1784
- - Multi-tenant data isolation
1785
- - CORS configuration support
1786
- - Input validation and sanitization
1787
-
1788
- ### Performance
1789
- - Optimized for Cloudflare Workers V8 isolates
1790
- - Minimal framework overhead (~10ms cold start)
1791
- - Lazy loading of modules and configurations
1792
- - Efficient routing and request handling
1793
-
1794
- ### Testing
1795
- - Jest test framework integration
1796
- - Unit test patterns for framework components
1797
- - Integration test examples
1798
- - Multi-domain testing support
1799
-
1800
- ### Documentation
1801
- - Architecture deep dive with component diagrams
1802
- - Step-by-step getting started tutorial
1803
- - Complete API reference with TypeScript definitions
1804
- - Real-world examples (CRM, e-commerce, analytics)
1805
- - Production deployment strategies
1806
- - Critical analysis and decision framework
1807
- - Migration guides and alternatives
1808
-
1809
- ### Deployment
1810
- - PowerShell automation scripts
1811
- - GitHub Actions workflow templates
1812
- - Environment-specific configuration
1813
- - Database migration strategies
1814
- - Blue-green deployment support
1815
- - Monitoring and rollback procedures
1816
-
1817
- ### Known Issues
1818
- - Limited transaction support in D1 database
1819
- - Framework abstractions may add latency
1820
- - Debugging complexity in multi-layered architecture
1821
- - Configuration management complexity at scale
1822
-
1823
- ### Breaking Changes
1824
- - N/A (Initial release)
1825
-
1826
- ### Deprecated
1827
- - N/A (Initial release)
1828
-
1829
- ### Removed
1830
- - N/A (Initial release)
1831
-
1832
- ### Fixed
1833
- - N/A (Initial release)
1834
-
1835
- ---
1836
-
1837
- ## [Unreleased]
1838
-
1839
- ### Planned Features
1840
- - Advanced schema management with version control
1841
- - Real-time capabilities with WebSocket support
1842
- - Enhanced security with built-in rate limiting
1843
- - Plugin system for extensible architecture
1844
- - Advanced monitoring and observability integration
1845
- - Performance optimizations and caching strategies
1846
-
1847
- ---
1848
-
1849
- **Legend:**
1850
- - `Added` for new features
1851
- - `Changed` for changes in existing functionality
1852
- - `Deprecated` for soon-to-be removed features
1853
- - `Removed` for now removed features
1854
- - `Fixed` for any bug fixes
1855
- - `Security` for vulnerability fixes
13
+ * complete framework transformation - migrate generators to framework imports, add clodo add CLI, lazy-load managers, fix tests ([df09228](https://github.com/tamylaa/clodo-framework/commit/df09228f256640143144f1cf4ec9a73905c9da88))