@tamyla/clodo-framework 4.4.0 → 4.5.0

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