gina 0.7.13 → 0.7.14

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 (636) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +42 -39
  3. package/ROADMAP.md +2 -0
  4. package/framework/v0.7.14/VERSION +1 -0
  5. package/framework/{v0.7.13 → v0.7.14}/core/connectors/couchbase/index.js +121 -14
  6. package/framework/{v0.7.13 → v0.7.14}/core/connectors/sqlite/index.js +69 -6
  7. package/framework/{v0.7.13 → v0.7.14}/core/controller/controller.js +31 -3
  8. package/framework/{v0.7.13 → v0.7.14}/core/controller/controller.render-json.js +19 -1
  9. package/framework/{v0.7.13 → v0.7.14}/core/controller/controller.render-nunjucks.js +19 -1
  10. package/framework/{v0.7.13 → v0.7.14}/core/controller/controller.render-swig.js +29 -1
  11. package/framework/{v0.7.13 → v0.7.14}/core/controller/controller.render-v1.js +4 -0
  12. package/framework/{v0.7.13 → v0.7.14}/core/gna.js +67 -57
  13. package/framework/{v0.7.13 → v0.7.14}/core/server.isaac.js +36 -2
  14. package/framework/{v0.7.13 → v0.7.14}/core/server.js +436 -182
  15. package/framework/{v0.7.13 → v0.7.14}/helpers/json/src/main.js +48 -16
  16. package/framework/{v0.7.13 → v0.7.14}/lib/cache/src/main.js +10 -3
  17. package/framework/{v0.7.13 → v0.7.14}/lib/render-cache/src/main.js +487 -25
  18. package/framework/{v0.7.13 → v0.7.14}/lib/sqlite-driver.js +20 -4
  19. package/framework/{v0.7.13 → v0.7.14}/package.json +1 -1
  20. package/gna.js +4 -4
  21. package/llms.txt +12 -12
  22. package/package.json +3 -3
  23. package/framework/v0.7.13/VERSION +0 -1
  24. /package/framework/{v0.7.13 → v0.7.14}/AUTHORS +0 -0
  25. /package/framework/{v0.7.13 → v0.7.14}/LICENSE +0 -0
  26. /package/framework/{v0.7.13 → v0.7.14}/core/asset/html/nolayout.html +0 -0
  27. /package/framework/{v0.7.13 → v0.7.14}/core/asset/html/static.html +0 -0
  28. /package/framework/{v0.7.13 → v0.7.14}/core/asset/img/android-chrome-192x192.png +0 -0
  29. /package/framework/{v0.7.13 → v0.7.14}/core/asset/img/android-chrome-512x512.png +0 -0
  30. /package/framework/{v0.7.13 → v0.7.14}/core/asset/img/apple-touch-icon.png +0 -0
  31. /package/framework/{v0.7.13 → v0.7.14}/core/asset/img/favicon-16x16.png +0 -0
  32. /package/framework/{v0.7.13 → v0.7.14}/core/asset/img/favicon-32x32.png +0 -0
  33. /package/framework/{v0.7.13 → v0.7.14}/core/asset/img/favicon.ico +0 -0
  34. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/README.md +0 -0
  35. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
  36. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
  37. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
  38. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  39. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
  40. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
  41. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
  42. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
  43. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
  44. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
  45. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
  46. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
  47. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
  48. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
  49. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/js/gina.js +0 -0
  50. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -0
  51. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  52. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  53. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  54. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  55. /package/framework/{v0.7.13 → v0.7.14}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  56. /package/framework/{v0.7.13 → v0.7.14}/core/config.js +0 -0
  57. /package/framework/{v0.7.13 → v0.7.14}/core/config.param-bindings.js +0 -0
  58. /package/framework/{v0.7.13 → v0.7.14}/core/config.requirements-anchor.js +0 -0
  59. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/ai/index.js +0 -0
  60. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/ai/lib/connector.js +0 -0
  61. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/couchbase/lib/connector.js +0 -0
  62. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  63. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  64. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/couchbase/lib/n1ql.js +0 -0
  65. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/couchbase/lib/session-store.js +0 -0
  66. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  67. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  68. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/couchbase/lib/storage-store.js +0 -0
  69. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/duckdb/index.js +0 -0
  70. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/duckdb/lib/connector.js +0 -0
  71. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/mongodb/index.js +0 -0
  72. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/mongodb/lib/connector.js +0 -0
  73. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/mongodb/lib/job-store.js +0 -0
  74. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
  75. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/mongodb/lib/session-store.js +0 -0
  76. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/mysql/index.js +0 -0
  77. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/mysql/lib/connector.js +0 -0
  78. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/param-redact.js +0 -0
  79. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/postgresql/index.js +0 -0
  80. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/postgresql/lib/connector.js +0 -0
  81. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/redis/index.js +0 -0
  82. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/redis/lib/connector.js +0 -0
  83. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/redis/lib/job-store.js +0 -0
  84. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/redis/lib/kv-store.js +0 -0
  85. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/redis/lib/render-cache-store.js +0 -0
  86. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/redis/lib/session-store.js +0 -0
  87. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/scylladb/index.js +0 -0
  88. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/scylladb/lib/connector.js +0 -0
  89. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/scylladb/lib/session-store.js +0 -0
  90. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/settle-once.js +0 -0
  91. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/sql-parser.js +0 -0
  92. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/sqlite/lib/connector.js +0 -0
  93. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/sqlite/lib/job-store.js +0 -0
  94. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/sqlite/lib/kv-store.js +0 -0
  95. /package/framework/{v0.7.13 → v0.7.14}/core/connectors/sqlite/lib/session-store.js +0 -0
  96. /package/framework/{v0.7.13 → v0.7.14}/core/content.encoding +0 -0
  97. /package/framework/{v0.7.13 → v0.7.14}/core/controller/controller.framework.js +0 -0
  98. /package/framework/{v0.7.13 → v0.7.14}/core/controller/controller.render-nunjucks-async.js +0 -0
  99. /package/framework/{v0.7.13 → v0.7.14}/core/controller/controller.render-stream.js +0 -0
  100. /package/framework/{v0.7.13 → v0.7.14}/core/controller/controller.render-swig-async.js +0 -0
  101. /package/framework/{v0.7.13 → v0.7.14}/core/controller/controller.render-xml.js +0 -0
  102. /package/framework/{v0.7.13 → v0.7.14}/core/controller/index.js +0 -0
  103. /package/framework/{v0.7.13 → v0.7.14}/core/controller/inline-script.js +0 -0
  104. /package/framework/{v0.7.13 → v0.7.14}/core/controller/inspector-window-emit.js +0 -0
  105. /package/framework/{v0.7.13 → v0.7.14}/core/controller/layout-source.js +0 -0
  106. /package/framework/{v0.7.13 → v0.7.14}/core/controller/preload-hints.js +0 -0
  107. /package/framework/{v0.7.13 → v0.7.14}/core/controller/release-banner.js +0 -0
  108. /package/framework/{v0.7.13 → v0.7.14}/core/controller/render-data.js +0 -0
  109. /package/framework/{v0.7.13 → v0.7.14}/core/controller/render-session.js +0 -0
  110. /package/framework/{v0.7.13 → v0.7.14}/core/dev/index.js +0 -0
  111. /package/framework/{v0.7.13 → v0.7.14}/core/dev/lib/class.js +0 -0
  112. /package/framework/{v0.7.13 → v0.7.14}/core/dev/lib/factory.js +0 -0
  113. /package/framework/{v0.7.13 → v0.7.14}/core/dev/lib/tools.js +0 -0
  114. /package/framework/{v0.7.13 → v0.7.14}/core/locales/README.md +0 -0
  115. /package/framework/{v0.7.13 → v0.7.14}/core/locales/currency.json +0 -0
  116. /package/framework/{v0.7.13 → v0.7.14}/core/locales/dist/language/en.json +0 -0
  117. /package/framework/{v0.7.13 → v0.7.14}/core/locales/dist/language/fr.json +0 -0
  118. /package/framework/{v0.7.13 → v0.7.14}/core/locales/dist/region/en.json +0 -0
  119. /package/framework/{v0.7.13 → v0.7.14}/core/locales/dist/region/fr.json +0 -0
  120. /package/framework/{v0.7.13 → v0.7.14}/core/locales/index.js +0 -0
  121. /package/framework/{v0.7.13 → v0.7.14}/core/mime.types +0 -0
  122. /package/framework/{v0.7.13 → v0.7.14}/core/model/entity.js +0 -0
  123. /package/framework/{v0.7.13 → v0.7.14}/core/model/index.js +0 -0
  124. /package/framework/{v0.7.13 → v0.7.14}/core/model/template/entityFactory.js +0 -0
  125. /package/framework/{v0.7.13 → v0.7.14}/core/model/template/index.js +0 -0
  126. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/README.md +0 -0
  127. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/index.js +0 -0
  128. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/csrf/README.md +0 -0
  129. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/csrf/package.json +0 -0
  130. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/csrf/src/main.js +0 -0
  131. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/README.md +0 -0
  132. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/coep/README.md +0 -0
  133. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/coep/package.json +0 -0
  134. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
  135. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/coop/README.md +0 -0
  136. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/coop/package.json +0 -0
  137. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
  138. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/corp/README.md +0 -0
  139. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/corp/package.json +0 -0
  140. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
  141. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/csp/README.md +0 -0
  142. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/csp/package.json +0 -0
  143. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
  144. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
  145. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
  146. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
  147. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/hsts/README.md +0 -0
  148. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/hsts/package.json +0 -0
  149. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
  150. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
  151. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
  152. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
  153. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/package.json +0 -0
  154. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
  155. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
  156. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
  157. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/src/main.js +0 -0
  158. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
  159. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
  160. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
  161. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
  162. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
  163. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
  164. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
  165. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
  166. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
  167. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
  168. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
  169. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
  170. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
  171. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
  172. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
  173. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
  174. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
  175. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
  176. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/session/README.md +0 -0
  177. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/session/package.json +0 -0
  178. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/session/src/main.js +0 -0
  179. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/storage/README.md +0 -0
  180. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/storage/build.json +0 -0
  181. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/storage/package.json +0 -0
  182. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/storage/src/main.js +0 -0
  183. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/validator/README.md +0 -0
  184. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/validator/build.json +0 -0
  185. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/validator/package.json +0 -0
  186. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/validator/src/form-validator.js +0 -0
  187. /package/framework/{v0.7.13 → v0.7.14}/core/plugins/lib/validator/src/main.js +0 -0
  188. /package/framework/{v0.7.13 → v0.7.14}/core/router.js +0 -0
  189. /package/framework/{v0.7.13 → v0.7.14}/core/server.express.js +0 -0
  190. /package/framework/{v0.7.13 → v0.7.14}/core/server.isaac.early-answer.js +0 -0
  191. /package/framework/{v0.7.13 → v0.7.14}/core/server.isaac.rapid-reset.js +0 -0
  192. /package/framework/{v0.7.13 → v0.7.14}/core/server.route-candidates.js +0 -0
  193. /package/framework/{v0.7.13 → v0.7.14}/core/status.codes +0 -0
  194. /package/framework/{v0.7.13 → v0.7.14}/core/template/_gitignore +0 -0
  195. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/config/app.json +0 -0
  196. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/config/connectors.json +0 -0
  197. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/config/routing.json +0 -0
  198. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/config/settings.json +0 -0
  199. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  200. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/config/templates.json +0 -0
  201. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/config/watchers.json +0 -0
  202. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  203. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  204. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  205. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/index.js +0 -0
  206. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle/locales/en.json +0 -0
  207. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  208. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  209. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_public/css/home.css +0 -0
  210. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  211. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  212. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
  213. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  214. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
  215. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_public/readme.md +0 -0
  216. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_public/sw.js +0 -0
  217. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  218. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  219. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  220. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  221. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
  222. /package/framework/{v0.7.13 → v0.7.14}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  223. /package/framework/{v0.7.13 → v0.7.14}/core/template/command/gina.bat.tpl +0 -0
  224. /package/framework/{v0.7.13 → v0.7.14}/core/template/command/gina.tpl +0 -0
  225. /package/framework/{v0.7.13 → v0.7.14}/core/template/conf/env.json +0 -0
  226. /package/framework/{v0.7.13 → v0.7.14}/core/template/conf/manifest.json +0 -0
  227. /package/framework/{v0.7.13 → v0.7.14}/core/template/conf/package.json +0 -0
  228. /package/framework/{v0.7.13 → v0.7.14}/core/template/conf/settings.json +0 -0
  229. /package/framework/{v0.7.13 → v0.7.14}/core/template/conf/statics.json +0 -0
  230. /package/framework/{v0.7.13 → v0.7.14}/core/template/conf/templates.json +0 -0
  231. /package/framework/{v0.7.13 → v0.7.14}/core/template/error/client/json/401.json +0 -0
  232. /package/framework/{v0.7.13 → v0.7.14}/core/template/error/client/json/403.json +0 -0
  233. /package/framework/{v0.7.13 → v0.7.14}/core/template/error/client/json/404.json +0 -0
  234. /package/framework/{v0.7.13 → v0.7.14}/core/template/error/server/html/50x.html +0 -0
  235. /package/framework/{v0.7.13 → v0.7.14}/core/template/error/server/json/500.json +0 -0
  236. /package/framework/{v0.7.13 → v0.7.14}/core/template/error/server/json/503.json +0 -0
  237. /package/framework/{v0.7.13 → v0.7.14}/core/template/extensions/logger/config.json +0 -0
  238. /package/framework/{v0.7.13 → v0.7.14}/helpers/console.js +0 -0
  239. /package/framework/{v0.7.13 → v0.7.14}/helpers/context.js +0 -0
  240. /package/framework/{v0.7.13 → v0.7.14}/helpers/data/LICENSE +0 -0
  241. /package/framework/{v0.7.13 → v0.7.14}/helpers/data/README.md +0 -0
  242. /package/framework/{v0.7.13 → v0.7.14}/helpers/data/package.json +0 -0
  243. /package/framework/{v0.7.13 → v0.7.14}/helpers/data/src/main.js +0 -0
  244. /package/framework/{v0.7.13 → v0.7.14}/helpers/dateFormat.js +0 -0
  245. /package/framework/{v0.7.13 → v0.7.14}/helpers/index.js +0 -0
  246. /package/framework/{v0.7.13 → v0.7.14}/helpers/json/LICENSE +0 -0
  247. /package/framework/{v0.7.13 → v0.7.14}/helpers/json/README.md +0 -0
  248. /package/framework/{v0.7.13 → v0.7.14}/helpers/json/package.json +0 -0
  249. /package/framework/{v0.7.13 → v0.7.14}/helpers/path.js +0 -0
  250. /package/framework/{v0.7.13 → v0.7.14}/helpers/plugins/README.md +0 -0
  251. /package/framework/{v0.7.13 → v0.7.14}/helpers/plugins/package.json +0 -0
  252. /package/framework/{v0.7.13 → v0.7.14}/helpers/plugins/src/api-error.js +0 -0
  253. /package/framework/{v0.7.13 → v0.7.14}/helpers/plugins/src/main.js +0 -0
  254. /package/framework/{v0.7.13 → v0.7.14}/helpers/prototypes.js +0 -0
  255. /package/framework/{v0.7.13 → v0.7.14}/helpers/task.js +0 -0
  256. /package/framework/{v0.7.13 → v0.7.14}/helpers/text.js +0 -0
  257. /package/framework/{v0.7.13 → v0.7.14}/lib/admin/package.json +0 -0
  258. /package/framework/{v0.7.13 → v0.7.14}/lib/admin/src/main.js +0 -0
  259. /package/framework/{v0.7.13 → v0.7.14}/lib/archiver/README.md +0 -0
  260. /package/framework/{v0.7.13 → v0.7.14}/lib/archiver/build.json +0 -0
  261. /package/framework/{v0.7.13 → v0.7.14}/lib/archiver/package.json +0 -0
  262. /package/framework/{v0.7.13 → v0.7.14}/lib/archiver/src/dep/jszip.min.js +0 -0
  263. /package/framework/{v0.7.13 → v0.7.14}/lib/archiver/src/main.js +0 -0
  264. /package/framework/{v0.7.13 → v0.7.14}/lib/async/package.json +0 -0
  265. /package/framework/{v0.7.13 → v0.7.14}/lib/async/src/main.js +0 -0
  266. /package/framework/{v0.7.13 → v0.7.14}/lib/audit/package.json +0 -0
  267. /package/framework/{v0.7.13 → v0.7.14}/lib/audit/src/main.js +0 -0
  268. /package/framework/{v0.7.13 → v0.7.14}/lib/audit-store.js +0 -0
  269. /package/framework/{v0.7.13 → v0.7.14}/lib/authn/package.json +0 -0
  270. /package/framework/{v0.7.13 → v0.7.14}/lib/authn/src/lockout.js +0 -0
  271. /package/framework/{v0.7.13 → v0.7.14}/lib/authn/src/main.js +0 -0
  272. /package/framework/{v0.7.13 → v0.7.14}/lib/authn/src/totp.js +0 -0
  273. /package/framework/{v0.7.13 → v0.7.14}/lib/authz-gate/package.json +0 -0
  274. /package/framework/{v0.7.13 → v0.7.14}/lib/authz-gate/src/main.js +0 -0
  275. /package/framework/{v0.7.13 → v0.7.14}/lib/cache/README.md +0 -0
  276. /package/framework/{v0.7.13 → v0.7.14}/lib/cache/build.json +0 -0
  277. /package/framework/{v0.7.13 → v0.7.14}/lib/cache/package.json +0 -0
  278. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/aliases.json +0 -0
  279. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/audit/arguments.json +0 -0
  280. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/audit/help.txt +0 -0
  281. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/audit/verify.js +0 -0
  282. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/add.js +0 -0
  283. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/arguments.json +0 -0
  284. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/build.js +0 -0
  285. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/copy.js +0 -0
  286. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/cp.js +0 -0
  287. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/help.js +0 -0
  288. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/help.txt +0 -0
  289. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/inc/boot-lines.js +0 -0
  290. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
  291. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/inc/name.js +0 -0
  292. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/inc/start-status.js +0 -0
  293. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/list.js +0 -0
  294. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/man.js +0 -0
  295. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/mcp-start.js +0 -0
  296. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/mcp.js +0 -0
  297. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/oas.js +0 -0
  298. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/openapi.js +0 -0
  299. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/remove.js +0 -0
  300. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/rename.js +0 -0
  301. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/restart.js +0 -0
  302. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/rm.js +0 -0
  303. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/start.js +0 -0
  304. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/status.js +0 -0
  305. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/stop.js +0 -0
  306. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/bundle/types.js +0 -0
  307. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/cache/arguments.json +0 -0
  308. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/cache/clear.js +0 -0
  309. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/cache/help.txt +0 -0
  310. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/cache/stats.js +0 -0
  311. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/add.js +0 -0
  312. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/arguments.json +0 -0
  313. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/help.js +0 -0
  314. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/help.txt +0 -0
  315. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/infer.js +0 -0
  316. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/list.js +0 -0
  317. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/migrate.js +0 -0
  318. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/models.js +0 -0
  319. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/remove.js +0 -0
  320. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/rm.js +0 -0
  321. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/connector/test.js +0 -0
  322. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/container/arguments.json +0 -0
  323. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/container/help.js +0 -0
  324. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/container/help.txt +0 -0
  325. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/container/man.js +0 -0
  326. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/container/ps.js +0 -0
  327. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/container/stop.js +0 -0
  328. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/add.js +0 -0
  329. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/arguments.json +0 -0
  330. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/help.txt +0 -0
  331. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/inc/args.js +0 -0
  332. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/inc/namespace.js +0 -0
  333. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
  334. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/inc/reference-scan.js +0 -0
  335. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/inc/scaffold.js +0 -0
  336. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/remove.js +0 -0
  337. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/rename.js +0 -0
  338. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/controller/rm.js +0 -0
  339. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/add.js +0 -0
  340. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/get.js +0 -0
  341. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/help.js +0 -0
  342. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/help.txt +0 -0
  343. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/inc/name.js +0 -0
  344. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/link-dev.js +0 -0
  345. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/list.js +0 -0
  346. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/remove.js +0 -0
  347. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/rm.js +0 -0
  348. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/set.js +0 -0
  349. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/unset.js +0 -0
  350. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/env/use.js +0 -0
  351. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/add.js +0 -0
  352. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/arguments.json +0 -0
  353. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/build.js +0 -0
  354. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/dot.js +0 -0
  355. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/get.js +0 -0
  356. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/help.js +0 -0
  357. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/help.txt +0 -0
  358. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/inc/child-failure.js +0 -0
  359. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/inc/listen-error.js +0 -0
  360. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/inc/ps-titles.js +0 -0
  361. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/init.js +0 -0
  362. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/link-node-modules.js +0 -0
  363. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/link.js +0 -0
  364. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/list.js +0 -0
  365. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/man.js +0 -0
  366. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/msg.json +0 -0
  367. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/open.js +0 -0
  368. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/remove.js +0 -0
  369. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/reset.js +0 -0
  370. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/restart.js +0 -0
  371. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/set.js +0 -0
  372. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/start.js +0 -0
  373. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/status.js +0 -0
  374. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/stop.js +0 -0
  375. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/tail.js +0 -0
  376. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/update.js +0 -0
  377. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/framework/version.js +0 -0
  378. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/gina-dev.1.md +0 -0
  379. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/gina-framework.1.md +0 -0
  380. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/gina.1.md +0 -0
  381. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/helper.js +0 -0
  382. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/i18n/add.js +0 -0
  383. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/i18n/arguments.json +0 -0
  384. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/i18n/export.js +0 -0
  385. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/i18n/help.js +0 -0
  386. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/i18n/help.txt +0 -0
  387. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/i18n/import.js +0 -0
  388. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/i18n/scan.js +0 -0
  389. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/image/_host.js +0 -0
  390. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/image/arguments.json +0 -0
  391. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/image/build.js +0 -0
  392. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/image/help.js +0 -0
  393. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/image/help.txt +0 -0
  394. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/image/list.js +0 -0
  395. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/image/man.js +0 -0
  396. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/image/rm.js +0 -0
  397. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/image/run.js +0 -0
  398. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/index.js +0 -0
  399. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/inspector/help.js +0 -0
  400. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/inspector/help.txt +0 -0
  401. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/inspector/open.js +0 -0
  402. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/man-render.js +0 -0
  403. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/minion/arguments.json +0 -0
  404. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/minion/help.js +0 -0
  405. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/minion/help.txt +0 -0
  406. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/minion/kill.js +0 -0
  407. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/minion/list.js +0 -0
  408. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/msg.json +0 -0
  409. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/port/help.js +0 -0
  410. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/port/help.txt +0 -0
  411. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/port/inc/scan.js +0 -0
  412. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/port/list.js +0 -0
  413. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/port/reset.js +0 -0
  414. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/port/set.js +0 -0
  415. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/add.js +0 -0
  416. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/arguments.json +0 -0
  417. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/backup.js +0 -0
  418. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/build.js +0 -0
  419. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/help.js +0 -0
  420. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/help.txt +0 -0
  421. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/import.js +0 -0
  422. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/inc/name.js +0 -0
  423. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/list.js +0 -0
  424. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/man.js +0 -0
  425. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/move.js +0 -0
  426. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/remove.js +0 -0
  427. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/rename.js +0 -0
  428. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/restart.js +0 -0
  429. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/restore.js +0 -0
  430. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/rm.js +0 -0
  431. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/start.js +0 -0
  432. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/status.js +0 -0
  433. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/project/stop.js +0 -0
  434. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/protocol/arguments.json +0 -0
  435. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/protocol/help.js +0 -0
  436. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/protocol/help.txt +0 -0
  437. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/protocol/list.js +0 -0
  438. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/protocol/remove.js +0 -0
  439. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/protocol/set.js +0 -0
  440. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/scope/add.js +0 -0
  441. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/scope/help.js +0 -0
  442. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/scope/help.txt +0 -0
  443. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/scope/inc/name.js +0 -0
  444. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/scope/link-local.js +0 -0
  445. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/scope/link-production.js +0 -0
  446. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/scope/list.js +0 -0
  447. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/scope/remove.js +0 -0
  448. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/scope/rm.js +0 -0
  449. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/scope/use.js +0 -0
  450. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/secrets/arguments.json +0 -0
  451. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/secrets/check.js +0 -0
  452. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/secrets/help.js +0 -0
  453. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/secrets/help.txt +0 -0
  454. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/secrets/scan.js +0 -0
  455. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/service/help.js +0 -0
  456. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/service/help.txt +0 -0
  457. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/service/list.js +0 -0
  458. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/service/man.js +0 -0
  459. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/service/start.js +0 -0
  460. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/storage/arguments.json +0 -0
  461. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/storage/gc.js +0 -0
  462. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/storage/help.txt +0 -0
  463. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/storage/stats.js +0 -0
  464. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/storage/verify.js +0 -0
  465. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd/view/add.js +0 -0
  466. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd-status-format/package.json +0 -0
  467. /package/framework/{v0.7.13 → v0.7.14}/lib/cmd-status-format/src/main.js +0 -0
  468. /package/framework/{v0.7.13 → v0.7.14}/lib/collection/README.md +0 -0
  469. /package/framework/{v0.7.13 → v0.7.14}/lib/collection/build.json +0 -0
  470. /package/framework/{v0.7.13 → v0.7.14}/lib/collection/package.json +0 -0
  471. /package/framework/{v0.7.13 → v0.7.14}/lib/collection/src/main.js +0 -0
  472. /package/framework/{v0.7.13 → v0.7.14}/lib/conf-view/package.json +0 -0
  473. /package/framework/{v0.7.13 → v0.7.14}/lib/conf-view/src/main.js +0 -0
  474. /package/framework/{v0.7.13 → v0.7.14}/lib/config.js +0 -0
  475. /package/framework/{v0.7.13 → v0.7.14}/lib/connector-config/package.json +0 -0
  476. /package/framework/{v0.7.13 → v0.7.14}/lib/connector-config/src/main.js +0 -0
  477. /package/framework/{v0.7.13 → v0.7.14}/lib/connector-error/package.json +0 -0
  478. /package/framework/{v0.7.13 → v0.7.14}/lib/connector-error/src/main.js +0 -0
  479. /package/framework/{v0.7.13 → v0.7.14}/lib/connector-registry/package.json +0 -0
  480. /package/framework/{v0.7.13 → v0.7.14}/lib/connector-registry/src/main.js +0 -0
  481. /package/framework/{v0.7.13 → v0.7.14}/lib/cron/README.md +0 -0
  482. /package/framework/{v0.7.13 → v0.7.14}/lib/cron/package.json +0 -0
  483. /package/framework/{v0.7.13 → v0.7.14}/lib/cron/src/main.js +0 -0
  484. /package/framework/{v0.7.13 → v0.7.14}/lib/domain/LICENSE +0 -0
  485. /package/framework/{v0.7.13 → v0.7.14}/lib/domain/README.md +0 -0
  486. /package/framework/{v0.7.13 → v0.7.14}/lib/domain/package.json +0 -0
  487. /package/framework/{v0.7.13 → v0.7.14}/lib/domain/src/main.js +0 -0
  488. /package/framework/{v0.7.13 → v0.7.14}/lib/dto/package.json +0 -0
  489. /package/framework/{v0.7.13 → v0.7.14}/lib/dto/src/main.js +0 -0
  490. /package/framework/{v0.7.13 → v0.7.14}/lib/dto-pipe/package.json +0 -0
  491. /package/framework/{v0.7.13 → v0.7.14}/lib/dto-pipe/src/main.js +0 -0
  492. /package/framework/{v0.7.13 → v0.7.14}/lib/dto-types/package.json +0 -0
  493. /package/framework/{v0.7.13 → v0.7.14}/lib/dto-types/src/main.js +0 -0
  494. /package/framework/{v0.7.13 → v0.7.14}/lib/duration/package.json +0 -0
  495. /package/framework/{v0.7.13 → v0.7.14}/lib/duration/src/main.js +0 -0
  496. /package/framework/{v0.7.13 → v0.7.14}/lib/error-ref/package.json +0 -0
  497. /package/framework/{v0.7.13 → v0.7.14}/lib/error-ref/src/main.js +0 -0
  498. /package/framework/{v0.7.13 → v0.7.14}/lib/generator/index.js +0 -0
  499. /package/framework/{v0.7.13 → v0.7.14}/lib/i18n/package.json +0 -0
  500. /package/framework/{v0.7.13 → v0.7.14}/lib/i18n/src/main.js +0 -0
  501. /package/framework/{v0.7.13 → v0.7.14}/lib/idempotency/package.json +0 -0
  502. /package/framework/{v0.7.13 → v0.7.14}/lib/idempotency/src/main.js +0 -0
  503. /package/framework/{v0.7.13 → v0.7.14}/lib/image-build/package.json +0 -0
  504. /package/framework/{v0.7.13 → v0.7.14}/lib/image-build/src/main.js +0 -0
  505. /package/framework/{v0.7.13 → v0.7.14}/lib/index.js +0 -0
  506. /package/framework/{v0.7.13 → v0.7.14}/lib/inherits/LICENSE +0 -0
  507. /package/framework/{v0.7.13 → v0.7.14}/lib/inherits/README.md +0 -0
  508. /package/framework/{v0.7.13 → v0.7.14}/lib/inherits/package.json +0 -0
  509. /package/framework/{v0.7.13 → v0.7.14}/lib/inherits/src/main.js +0 -0
  510. /package/framework/{v0.7.13 → v0.7.14}/lib/inspector-events/package.json +0 -0
  511. /package/framework/{v0.7.13 → v0.7.14}/lib/inspector-events/src/main.js +0 -0
  512. /package/framework/{v0.7.13 → v0.7.14}/lib/inspector-redact/package.json +0 -0
  513. /package/framework/{v0.7.13 → v0.7.14}/lib/inspector-redact/src/main.js +0 -0
  514. /package/framework/{v0.7.13 → v0.7.14}/lib/instrument/package.json +0 -0
  515. /package/framework/{v0.7.13 → v0.7.14}/lib/instrument/src/main.js +0 -0
  516. /package/framework/{v0.7.13 → v0.7.14}/lib/job/package.json +0 -0
  517. /package/framework/{v0.7.13 → v0.7.14}/lib/job/src/main.js +0 -0
  518. /package/framework/{v0.7.13 → v0.7.14}/lib/job-store.js +0 -0
  519. /package/framework/{v0.7.13 → v0.7.14}/lib/json-config-header/package.json +0 -0
  520. /package/framework/{v0.7.13 → v0.7.14}/lib/json-config-header/src/main.js +0 -0
  521. /package/framework/{v0.7.13 → v0.7.14}/lib/kv/package.json +0 -0
  522. /package/framework/{v0.7.13 → v0.7.14}/lib/kv/src/main.js +0 -0
  523. /package/framework/{v0.7.13 → v0.7.14}/lib/kv-store.js +0 -0
  524. /package/framework/{v0.7.13 → v0.7.14}/lib/lane/package.json +0 -0
  525. /package/framework/{v0.7.13 → v0.7.14}/lib/lane/src/main.js +0 -0
  526. /package/framework/{v0.7.13 → v0.7.14}/lib/loading-state/package.json +0 -0
  527. /package/framework/{v0.7.13 → v0.7.14}/lib/loading-state/src/main.js +0 -0
  528. /package/framework/{v0.7.13 → v0.7.14}/lib/logger/README.md +0 -0
  529. /package/framework/{v0.7.13 → v0.7.14}/lib/logger/package.json +0 -0
  530. /package/framework/{v0.7.13 → v0.7.14}/lib/logger/src/containers/default/index.js +0 -0
  531. /package/framework/{v0.7.13 → v0.7.14}/lib/logger/src/containers/file/index.js +0 -0
  532. /package/framework/{v0.7.13 → v0.7.14}/lib/logger/src/containers/mq/index.js +0 -0
  533. /package/framework/{v0.7.13 → v0.7.14}/lib/logger/src/containers/mq/listener.js +0 -0
  534. /package/framework/{v0.7.13 → v0.7.14}/lib/logger/src/containers/mq/speaker.js +0 -0
  535. /package/framework/{v0.7.13 → v0.7.14}/lib/logger/src/helper.js +0 -0
  536. /package/framework/{v0.7.13 → v0.7.14}/lib/logger/src/main.js +0 -0
  537. /package/framework/{v0.7.13 → v0.7.14}/lib/logger/src/redact.js +0 -0
  538. /package/framework/{v0.7.13 → v0.7.14}/lib/maintenance/package.json +0 -0
  539. /package/framework/{v0.7.13 → v0.7.14}/lib/maintenance/src/main.js +0 -0
  540. /package/framework/{v0.7.13 → v0.7.14}/lib/math/index.js +0 -0
  541. /package/framework/{v0.7.13 → v0.7.14}/lib/mcp-dispatch/package.json +0 -0
  542. /package/framework/{v0.7.13 → v0.7.14}/lib/mcp-dispatch/src/main.js +0 -0
  543. /package/framework/{v0.7.13 → v0.7.14}/lib/mcp-http/package.json +0 -0
  544. /package/framework/{v0.7.13 → v0.7.14}/lib/mcp-http/src/main.js +0 -0
  545. /package/framework/{v0.7.13 → v0.7.14}/lib/mcp-server/package.json +0 -0
  546. /package/framework/{v0.7.13 → v0.7.14}/lib/mcp-server/src/main.js +0 -0
  547. /package/framework/{v0.7.13 → v0.7.14}/lib/merge/README.md +0 -0
  548. /package/framework/{v0.7.13 → v0.7.14}/lib/merge/package.json +0 -0
  549. /package/framework/{v0.7.13 → v0.7.14}/lib/merge/src/main.js +0 -0
  550. /package/framework/{v0.7.13 → v0.7.14}/lib/message-validator/package.json +0 -0
  551. /package/framework/{v0.7.13 → v0.7.14}/lib/message-validator/src/main.js +0 -0
  552. /package/framework/{v0.7.13 → v0.7.14}/lib/metrics/package.json +0 -0
  553. /package/framework/{v0.7.13 → v0.7.14}/lib/metrics/src/main.js +0 -0
  554. /package/framework/{v0.7.13 → v0.7.14}/lib/model.js +0 -0
  555. /package/framework/{v0.7.13 → v0.7.14}/lib/money/package.json +0 -0
  556. /package/framework/{v0.7.13 → v0.7.14}/lib/money/src/main.js +0 -0
  557. /package/framework/{v0.7.13 → v0.7.14}/lib/multipart/package.json +0 -0
  558. /package/framework/{v0.7.13 → v0.7.14}/lib/multipart/src/main.js +0 -0
  559. /package/framework/{v0.7.13 → v0.7.14}/lib/net-locality/package.json +0 -0
  560. /package/framework/{v0.7.13 → v0.7.14}/lib/net-locality/src/main.js +0 -0
  561. /package/framework/{v0.7.13 → v0.7.14}/lib/nunjucks-filters/README.md +0 -0
  562. /package/framework/{v0.7.13 → v0.7.14}/lib/nunjucks-filters/package.json +0 -0
  563. /package/framework/{v0.7.13 → v0.7.14}/lib/nunjucks-filters/src/main.js +0 -0
  564. /package/framework/{v0.7.13 → v0.7.14}/lib/nunjucks-resolver/package.json +0 -0
  565. /package/framework/{v0.7.13 → v0.7.14}/lib/nunjucks-resolver/src/main.js +0 -0
  566. /package/framework/{v0.7.13 → v0.7.14}/lib/priority/package.json +0 -0
  567. /package/framework/{v0.7.13 → v0.7.14}/lib/priority/src/main.js +0 -0
  568. /package/framework/{v0.7.13 → v0.7.14}/lib/proc.js +0 -0
  569. /package/framework/{v0.7.13 → v0.7.14}/lib/push/package.json +0 -0
  570. /package/framework/{v0.7.13 → v0.7.14}/lib/push/src/main.js +0 -0
  571. /package/framework/{v0.7.13 → v0.7.14}/lib/rate-limit/package.json +0 -0
  572. /package/framework/{v0.7.13 → v0.7.14}/lib/rate-limit/src/main.js +0 -0
  573. /package/framework/{v0.7.13 → v0.7.14}/lib/release-watch/package.json +0 -0
  574. /package/framework/{v0.7.13 → v0.7.14}/lib/release-watch/src/main.js +0 -0
  575. /package/framework/{v0.7.13 → v0.7.14}/lib/render-cache/package.json +0 -0
  576. /package/framework/{v0.7.13 → v0.7.14}/lib/render-cache-store.js +0 -0
  577. /package/framework/{v0.7.13 → v0.7.14}/lib/routing/README.md +0 -0
  578. /package/framework/{v0.7.13 → v0.7.14}/lib/routing/build.json +0 -0
  579. /package/framework/{v0.7.13 → v0.7.14}/lib/routing/package.json +0 -0
  580. /package/framework/{v0.7.13 → v0.7.14}/lib/routing/src/main.js +0 -0
  581. /package/framework/{v0.7.13 → v0.7.14}/lib/routing-introspect/package.json +0 -0
  582. /package/framework/{v0.7.13 → v0.7.14}/lib/routing-introspect/src/main.js +0 -0
  583. /package/framework/{v0.7.13 → v0.7.14}/lib/secrets/package.json +0 -0
  584. /package/framework/{v0.7.13 → v0.7.14}/lib/secrets/src/backends/env.js +0 -0
  585. /package/framework/{v0.7.13 → v0.7.14}/lib/secrets/src/backends/exec.js +0 -0
  586. /package/framework/{v0.7.13 → v0.7.14}/lib/secrets/src/backends/file.js +0 -0
  587. /package/framework/{v0.7.13 → v0.7.14}/lib/secrets/src/declaration.js +0 -0
  588. /package/framework/{v0.7.13 → v0.7.14}/lib/secrets/src/env-file.js +0 -0
  589. /package/framework/{v0.7.13 → v0.7.14}/lib/secrets/src/main.js +0 -0
  590. /package/framework/{v0.7.13 → v0.7.14}/lib/secrets/src/sources.js +0 -0
  591. /package/framework/{v0.7.13 → v0.7.14}/lib/security-headers-emitter/package.json +0 -0
  592. /package/framework/{v0.7.13 → v0.7.14}/lib/security-headers-emitter/src/main.js +0 -0
  593. /package/framework/{v0.7.13 → v0.7.14}/lib/session-lifetime/package.json +0 -0
  594. /package/framework/{v0.7.13 → v0.7.14}/lib/session-lifetime/src/main.js +0 -0
  595. /package/framework/{v0.7.13 → v0.7.14}/lib/session-store.js +0 -0
  596. /package/framework/{v0.7.13 → v0.7.14}/lib/shell.js +0 -0
  597. /package/framework/{v0.7.13 → v0.7.14}/lib/sri/package.json +0 -0
  598. /package/framework/{v0.7.13 → v0.7.14}/lib/sri/src/main.js +0 -0
  599. /package/framework/{v0.7.13 → v0.7.14}/lib/stall-watchdog/package.json +0 -0
  600. /package/framework/{v0.7.13 → v0.7.14}/lib/stall-watchdog/src/detector.js +0 -0
  601. /package/framework/{v0.7.13 → v0.7.14}/lib/stall-watchdog/src/frames.js +0 -0
  602. /package/framework/{v0.7.13 → v0.7.14}/lib/stall-watchdog/src/main.js +0 -0
  603. /package/framework/{v0.7.13 → v0.7.14}/lib/stall-watchdog/src/worker.js +0 -0
  604. /package/framework/{v0.7.13 → v0.7.14}/lib/state.js +0 -0
  605. /package/framework/{v0.7.13 → v0.7.14}/lib/storage/package.json +0 -0
  606. /package/framework/{v0.7.13 → v0.7.14}/lib/storage/src/local-cas.js +0 -0
  607. /package/framework/{v0.7.13 → v0.7.14}/lib/storage/src/local-stream.js +0 -0
  608. /package/framework/{v0.7.13 → v0.7.14}/lib/storage/src/local.js +0 -0
  609. /package/framework/{v0.7.13 → v0.7.14}/lib/storage/src/main.js +0 -0
  610. /package/framework/{v0.7.13 → v0.7.14}/lib/storage/src/meta-store.js +0 -0
  611. /package/framework/{v0.7.13 → v0.7.14}/lib/storage/src/s3.js +0 -0
  612. /package/framework/{v0.7.13 → v0.7.14}/lib/storage/src/util.js +0 -0
  613. /package/framework/{v0.7.13 → v0.7.14}/lib/storage-store.js +0 -0
  614. /package/framework/{v0.7.13 → v0.7.14}/lib/swig-filters/README.md +0 -0
  615. /package/framework/{v0.7.13 → v0.7.14}/lib/swig-filters/package.json +0 -0
  616. /package/framework/{v0.7.13 → v0.7.14}/lib/swig-filters/src/main.js +0 -0
  617. /package/framework/{v0.7.13 → v0.7.14}/lib/swig-resolver/package.json +0 -0
  618. /package/framework/{v0.7.13 → v0.7.14}/lib/swig-resolver/src/main.js +0 -0
  619. /package/framework/{v0.7.13 → v0.7.14}/lib/template-loaders/package.json +0 -0
  620. /package/framework/{v0.7.13 → v0.7.14}/lib/template-loaders/src/loaders/http.js +0 -0
  621. /package/framework/{v0.7.13 → v0.7.14}/lib/template-loaders/src/loaders/memory.js +0 -0
  622. /package/framework/{v0.7.13 → v0.7.14}/lib/template-loaders/src/main.js +0 -0
  623. /package/framework/{v0.7.13 → v0.7.14}/lib/url/README.md +0 -0
  624. /package/framework/{v0.7.13 → v0.7.14}/lib/url/index.js +0 -0
  625. /package/framework/{v0.7.13 → v0.7.14}/lib/url/routing.json +0 -0
  626. /package/framework/{v0.7.13 → v0.7.14}/lib/uuid/package.json +0 -0
  627. /package/framework/{v0.7.13 → v0.7.14}/lib/uuid/src/main.js +0 -0
  628. /package/framework/{v0.7.13 → v0.7.14}/lib/validator.js +0 -0
  629. /package/framework/{v0.7.13 → v0.7.14}/lib/watcher/package.json +0 -0
  630. /package/framework/{v0.7.13 → v0.7.14}/lib/watcher/src/main.js +0 -0
  631. /package/framework/{v0.7.13 → v0.7.14}/lib/ws-framing/package.json +0 -0
  632. /package/framework/{v0.7.13 → v0.7.14}/lib/ws-framing/src/main.js +0 -0
  633. /package/framework/{v0.7.13 → v0.7.14}/lib/ws-query/package.json +0 -0
  634. /package/framework/{v0.7.13 → v0.7.14}/lib/ws-query/src/main.js +0 -0
  635. /package/framework/{v0.7.13 → v0.7.14}/lib/ws-session/package.json +0 -0
  636. /package/framework/{v0.7.13 → v0.7.14}/lib/ws-session/src/main.js +0 -0
package/CHANGELOG.md CHANGED
@@ -6,6 +6,26 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
6
6
  and is generated by [Changie](https://github.com/miniscruff/changie).
7
7
 
8
8
 
9
+ ## 0.7.14 - 2026-11-27
10
+ ### Fixed
11
+ * The Inspector's Query tab no longer marks a Couchbase statement "no index — full bucket scan" (the red badge, counted in the "queries without index" banner) when its reads sit in subqueries. Couchbase plans a `LET` or `WITH` subquery, a correlated subquery and a nested subquery apart, and lists their plans beside the statement's own plan, which was the only plan the badge read. The badge now reports the indexes of every subquery plan as well, each index once; a subquery in a `FROM` clause was already reported, as Couchbase plans it inside the statement. A statement that reads no keyspace at all, such as `SELECT 1` or an `INSERT … VALUES`, now shows a green "no keyspace read" chip instead of the red badge; a plan holding any other operator keeps the previous reading. A bundle restart picks it up (#B1161)
12
+ * A cached page now answers each cross-origin caller with its own `Access-Control-Allow-Origin`. With `access-control-allow-origin` set to a comma-separated list in `server.response.header`, gina answers a request with its origin when the list holds it, and with none otherwise; a hit of the output cache answered with the value picked for the request that filled the entry instead, so a caller from another listed origin was refused by its browser, and an unlisted caller, or a request without `Origin`, received the first caller's origin. The same held for the bundle's own origin and for an empty configured value, which both answer with the request's origin. An entry no longer stores the header, and every hit computes it for its own request by the same rule as an uncached response, an entry stored by an earlier release included. A bundle restart picks it up (#B1104)
13
+ * A cached route's response now names, in `Vary`, the request headers its page depends on. The page follows the visitor's language (the `Accept-Language` header or the culture cookie) and, behind a proxy, the forwarded host, scheme and prefix, and it is sent with `Cache-Control: <visibility>, max-age=<seconds>`; it carried no `Vary`, so a browser kept the copy it held for the page's whole `max-age` after the visitor's language changed. The response that fills a cache entry and every hit now append `Accept-Language, Cookie, X-Forwarded-Host, X-Forwarded-Proto, X-Forwarded-Prefix` to `Vary`, after the names it already carries (a configured `vary: Origin` stays first), and the entry stores them. `Vary: Cookie` makes a browser fetch the page again after any cookie changes, and most shared caches do not reuse a response that varies on `Cookie`. A bundle restart picks it up (#B1164)
14
+ * A bundle that enables `server.rateLimit` or `server.idempotency` no longer refuses to boot with "[kv] not configured": the engine resolves both policies when it starts, and the kv namespaces were installed only after the server started listening, so no bundle could enable either feature. The namespaces are now installed before the engine starts, and a kv configuration error now refuses the boot before the port is bound. A bundle restart picks it up (#B1165)
15
+ * A page served from the render cache on a rate-limited route no longer sends the `RateLimit` and `RateLimit-Policy` headers of the request that filled the entry: every hit answered later visitors, anonymous ones included, with that caller's remaining quota. A hit is answered before the rate-limit gate, so it is not counted, and it now carries neither header. A bundle restart picks it up (#B1105)
16
+ * A `//` inside a quoted value no longer breaks a JSON file read with comments: `requireJSON()` and `parseJSONWithComments()` cut each line at its first `//` unless the character before it was `:`, `"` or `\`, whether or not it sat in a quoted value, so a value holding a `//` that is not a URL (a path joined from a directory ending in `/`, such as `"/var/folders/…/T//gina"`) was cut and its file failed to parse, and a `//` comment after a URL value on the same line was kept. A `//` now starts a comment only outside a quoted value; a file that parsed before parses to the same value. A bundle restart picks it up (#B1170)
17
+ * A SQLite `.sql` method whose statement starts with `WITH`, `VALUES` or a `PRAGMA` that reads a value returns its rows: the connector read rows only from a statement starting with `SELECT` and ran every other one with `run()`, so those methods returned `{ changes: 0, lastInsertRowid: 0 }` with no error. It now asks each prepared statement once, when the bundle loads it, whether it returns rows: `columns()` on node:sqlite (from Node 22.16.0 and 23.11.0), `reader` on bun:sqlite, and the leading keyword where the statement offers neither. A method whose statement is `INSERT`, `UPDATE` or `DELETE … RETURNING` now returns the rows its `RETURNING` clause lists instead of the write's `{ changes, lastInsertRowid }`. A bundle restart picks it up (#B1169)
18
+ * `req.routing.method` reads the same upper-case method on every request to a route: the first request, matched by a scan of the routing rules, read it in upper case (`GET`), and every later one, answered from the route cache, in lower case (`get`), so code comparing it with `'GET'`, as the routing guide shows the field, matched on the first request only. A bundle restart picks it up (#B1171)
19
+ * The dev Inspector shows `no keyspace read` for a Couchbase `bulkInsert` and sends no `EXPLAIN`: with no query profile from the SDK, it ran an `EXPLAIN` of the statement as it logs it, by default the line `INSERT INTO <keyspace> (KEY, VALUE) -- N record(s) [values redacted]`, which the server rejects, so the badge read `N/A`; with `inspector.queries.captureValues` on, the `EXPLAIN` carried the record values and its cache entry kept them. A `bulkInsert` runs an `INSERT … VALUES … RETURNING`, which reads no keyspace. A bundle restart picks it up (#B1163)
20
+ * On a Bun whose bun:sqlite statements carry no `reader`, as on Bun 1.2.21, the SQLite connector asks each statement's `columnNames`, the column list bun:sqlite reports, whether it returns rows, so there too a `.sql` method whose statement is a `WITH` clause feeding a write returns `{ changes, lastInsertRowid }`, and one whose statement is `INSERT`, `UPDATE` or `DELETE … RETURNING` returns its rows. A bundle restart picks it up (#B1173)
21
+ * The dev Inspector no longer reports a Couchbase statement that reads from an expression, such as `SELECT RAW d.x FROM [ … ] AS d`, as a key lookup: Couchbase plans it as an `ExpressionScan`, which reads no keyspace, and the index badge showed the green `KV lookup (USE KEYS)` chip for it. `USE KEYS` (a `KeyScan`) keeps that chip; a statement whose only source is an expression shows `no keyspace read`, as `SELECT 1` does, and beside an index read it adds nothing. A `FROM` over an expression that feeds a `JOIN` or `NEST … ON KEYS` shows the red badge although it reads by key: the badge does not label a key-based join. A bundle restart picks it up (#B1162)
22
+ * Outside dev mode, swig compiles each `{% include %}` once per bundle process: gina built its swig engine with `cache: false`, so an include read its file and compiled it again on every render, and on every iteration of a `{% for %}` loop around it, whether `server.cache.enable` was on or off. The engine now takes swig's memory cache outside dev mode, as gina's nunjucks engine keeps its templates, so a template read by `self.engine.compileFile()` or `renderFile()`, or compiled by `self.engine.compile()` with a `filename`, is kept too; each page and layout compile keeps its own `cache: false`, because gina compiles the page from content it assembles per render. A template change now reaches a running bundle at its restart, and `gina cache:clear` does not drop compiled includes (`self.engine.invalidateCache()` does, in its own process). A bundle that renders with its own swig below 2.9.6 keeps compiling includes on every render: before 2.9.6, swig's memory cache could carry one render's block override or `locals` into others. Dev mode is unchanged. A bundle restart picks it up (#B1176)
23
+ ### Security
24
+ * A route's output cache (`cache` in `routing.json`) keyed a page on its URL alone, so the request that filled an entry decided what every later visitor of that URL got until the entry expired: its host in the absolute links and form actions `getUrl()` builds and in gina's client loader values, its webroot, and its language in the translated text and the validation labels. Where a bundle accepts a client's `Host` or `X-Forwarded-Host` (reached directly, or through a proxy that forwards them), a request carrying another host could fill an entry so that every visitor's links and form submissions went to that host. The key now also carries the request's forwarded scheme and host, its forwarded prefix and the culture its culture cookie or `Accept-Language` selects, compared as written (`fr` and `fr_FR` are two entries); an `fs` entry is stored under a directory named for them, and `GET /_gina/cache/stats` lists each entry's `variant`. A page is stored only when it was rendered with those values: a culture taken from a URL prefix, or set by a middleware, that the headers do not select is rendered each time. A script that pre-fills cached routes now fills only the entries for the host, scheme and language it sends, so make it send what your visitors send. Entries stored before the upgrade are not read after it; with a constant `GINA_CACHE_NAMESPACE`, `fs` files from before stay on disk until `gina cache:clear` removes them. Server-side: restart each bundle. Affected since 0.1.6 (#B1132)
25
+ * The rule that picks a response's `Access-Control-Allow-Origin` compiled regular expressions from the request: a value from the request's `Origin` (or, without one, its scheme and `Host`) that it never used, and, for an HTTP/1.1 request without an `Origin`, a pattern from its `Host` tested against a `Referer` that is always empty at that point. An `Origin` or `Host` that is not a valid pattern, or a request with no `Host` at all, made the rule throw. On a static file the throw stopped the bundle process; on a page, a 404 or a preflight the request was left unanswered. Through 0.7.13 every bundle ran the rule, whatever its configuration; in 0.7.14 a bundle runs it for a configured `access-control-allow-origin` name. The rule now compiles no pattern from the request: an HTTP/1.1 request without an `Origin` takes the bundle's configured scheme, a `{name@project}` token with no bundle configuration behind it is left as written, and a rule that throws (a configured value that is not a string) sends no `Access-Control-Allow-Origin` and logs the error instead of stopping the bundle. A bundle restart picks it up (#B1166)
26
+ * With `access-control-allow-origin` configured empty (each request gets its own origin back), the `{bundle@project}` token substitution meant for a configured value also ran on the request's own `Origin`, so `Origin: {api@myproject}` was answered with that bundle's configured hostname, or its scheme, host and port when it has none. A token is now resolved in a configured value only, and the request's origin is answered as it was received. A bundle restart picks it up (#B1167)
27
+ * gina compared a request's method with each rule's `method` by compiling the request's method as a regular expression. Over HTTP/1.1 Node answers a method it does not know with a 400 before the request reaches gina, but an HTTP/2 client can send any token as its method: `*` or `+` made the compile throw, so the request was never answered, and a method such as `.` matched every rule, so an action ran under a method its rule does not list, without its body; a long run of `.*` made the match backtrack for seconds, during which the bundle answered no other request. The method `__proto__` replaced the request object's prototype: the request went unanswered, and the bundle process stopped when its stream closed. A request whose method is not in Node's `http.METHODS` now gets a 501 (Not Implemented) before any rule is compared, and the method is matched as text; the methods Node lists match as before. A bundle restart picks it up (#B1168)
28
+
9
29
  ## 0.7.13 - 2026-11-22
10
30
  ### Added
11
31
  * A bundle warns once at boot, in one `[CONFIG][loadBundleConfig]` line, about each route URL segment that holds two or more placeholders (`/range/:from-:to`, `/shop/item-:sku-:lang`), whatever the route's method: gina never matches such a segment against a value, and a request matches it only by carrying its text as written. Give each placeholder a segment of its own (`/range/:from/:to`). The two boot warnings added in 0.7.12 no longer list such a segment. Nothing is rewritten (#B692).
package/README.md CHANGED
@@ -69,45 +69,48 @@ open http://localhost:3100
69
69
 
70
70
  > **npm 12+** blocks install scripts by default, and gina's post-install bootstraps `~/.gina` and the framework dependencies. Install with `npm install -g gina@latest --allow-scripts=gina`, or allow it once for all global installs with `npm config set allow-scripts=gina --location=user`. (Not needed on npm ≤ 11.)
71
71
 
72
- ## What's in 0.7.13
73
-
74
- > **Restart your bundles *and* rebuild them.** The navigation module
75
- > (`gina/nav`) and the route matching of `lib.routing` ship in the browser
76
- > bundle, so `gina.min.js` changed and `gina bundle:restart` alone leaves the
77
- > old client running: rebuild each consuming bundle, then restart it. If your
78
- > build copies `gina.min.js` into your own static files, rebuild that copy
79
- > before the restart.
80
-
81
- > **Read before upgrading — some changes can change an answer.** On a `DELETE`
82
- > route with `requirements`, a placeholder now matches as it does on `GET`: a
83
- > placeholder the route does not bind in `param` no longer matches, with or
84
- > without a requirement (bind it: `"id": ":id"`); a placeholder's name is its
85
- > letters, digits and underscores, so `/feed/:id.json` binds `id` and its
86
- > requirement tests the whole segment; and a segment that starts with a
87
- > placeholder and holds two or more matches only a request carrying its text
88
- > as written. A
89
- > WebSocket route reads `/live/:lang-code` as `request.params.lang`. Storage
90
- > `put()` and `writeSegment()` refuse a source stream that has already ended,
91
- > with an error whose code is `STORAGE_STREAM_SPENT`. The
92
- > [migration notes](https://gina.io/docs/migration) list every behaviour change.
93
-
94
- **A routing release.** `DELETE` routes with `requirements` and WebSocket routes
95
- now read placeholders as `GET` routes do; route segments that made the matcher
96
- answer 500, and kept later rules from being tried, are read normally; the
97
- navigation module matches routes as the server
98
- does. On Node.js 22.21.0, an HTTP/1.1 request carrying `Upgrade` headers no
99
- longer stops an `https` HTTP/2 bundle, and storage refuses a spent source
100
- stream instead of storing an empty object. Full detail in
101
- [CHANGELOG.md](./CHANGELOG.md).
102
-
103
- - **Changed — `DELETE` routes with `requirements` (#B1144, #B1149, #B1155, #B692).** Up to 0.7.12 such a route could answer where its `GET` twin answers 404: a placeholder the route did not bind reached `req.delete` (with or without a regular-expression requirement), `/feed/:id.json` bound `id.json` and skipped its requirement, and `/range/:from-:to` matched any non-empty segment. It now matches as on `GET`: bind each placeholder in `param` (`"id": ":id"`), read `req.params.id`, and give each placeholder a segment of its own (`/range/:from/:to`).
104
- - **Changed — WebSocket placeholder names (#B1151).** A WebSocket route reads a placeholder's name as an HTTP route does: `/live/:lang-code` exposes `request.params.lang`, holding the whole segment, instead of `request.params['lang-code']`.
105
- - **Fixed — route segments that answered 500 (#B1146, #B1148, #B692, #B1154).** A segment holding a `:` with no name after it (`/t/12:`), a segment that is not a valid regular expression (`/r/:id)`), and a two-placeholder segment of a route with `requirements` reached by a request carrying a `%`-escape no longer answer 500 « Rule [ … ] needs your attention », and no longer keep later rules from being tried. A matcher that throws answers the request once.
106
- - **Fixed — client navigation (#B1150, #B1156).** The navigation module reads placeholder names as the server does, and a route it cannot match exactly (`/page:number`, `/:lang-code`) now stops its scan when the server could answer the link from it: such links navigate normally, and `gina.nav.matchUrl()` answers `null` for them.
107
- - **Fixed — `validator::` requirements and `getRoute()` (#B1153, #B1152).** A `validator::` requirement that the route does not bind reads placeholder names in any letter case (`:userId`), and `getRoute()` no longer takes a `host:port/` value for an unfilled placeholder.
108
- - **Fixed — Node.js 22.21.0 (#B1147).** On that release, an HTTP/1.1 request carrying `Upgrade` headers to an `https` HTTP/2 bundle threw inside Node.js's parser and stopped the bundle (nodejs/node#60336, fixed in Node.js 22.21.1). gina now gives such a server Node.js 22.21.1's own callback at `listen()`; other Node.js releases and Bun are unchanged.
109
- - **Fixed — storage and spent streams (#B1060).** `put()` and `writeSegment()` refuse a source stream that has already ended or been destroyed, before anything opens. Handed such a stream (most often an action's `req`, whose body gina has already read), `put()` stored an empty object and reported success.
110
- - **Added — a boot warning for a segment holding two or more placeholders (#B692).** A bundle warns once at boot about each route URL segment that holds two or more placeholders (`/range/:from-:to`), whatever the route's method: gina never matches such a segment against a value. Nothing is rewritten.
72
+ ## What's in 0.7.14
73
+
74
+ > **Restart your bundles.** Every fix in this release is server-side:
75
+ > `gina.min.js` is unchanged since 0.7.13, so a bundle restart picks the release
76
+ > up and no bundle needs rebuilding.
77
+
78
+ > **Read before upgrading — some changes can change an answer.** A route's
79
+ > output cache now stores a page per forwarded scheme, host, prefix and
80
+ > language: a script that pre-fills cached routes fills only the entries for the
81
+ > values it sends, and entries stored before the upgrade are not read after it.
82
+ > A cached route's response now names `Accept-Language`, `Cookie` and the
83
+ > forwarded headers in `Vary`, so a browser fetches the page again after a
84
+ > cookie changes; check how a shared cache in front of a `public` route treats
85
+ > `Vary: Cookie`. A SQLite method whose statement is `INSERT`, `UPDATE` or
86
+ > `DELETE … RETURNING` now returns its rows. `req.routing.method` is upper case
87
+ > on every request. Outside dev mode a changed swig template reaches a running
88
+ > bundle at its restart. The [migration notes](https://gina.io/docs/migration)
89
+ > list every behaviour change.
90
+
91
+ **A security and output-cache release.** Four security fixes: a route's output
92
+ cache no longer serves the host and language of the request that filled an
93
+ entry to every later visitor; a malformed `Origin` or `Host` no longer stops a
94
+ bundle; an empty `access-control-allow-origin` answers each request with its
95
+ origin as received; and a request method Node does not accept gets a 501
96
+ instead of being compiled as a regular expression. A cache hit now sends the
97
+ right `Vary`, `Access-Control-Allow-Origin` and rate-limit headers; a bundle that
98
+ enables `server.rateLimit` or `server.idempotency` boots; SQLite methods return
99
+ the rows their statements return; and the dev Inspector reads Couchbase plans
100
+ more exactly, and outside dev mode swig compiles each include once per
101
+ process. Full detail in [CHANGELOG.md](./CHANGELOG.md).
102
+
103
+ - **Security — the output cache stores a page per host and language (#B1132).** A route's output cache keyed a page on its URL alone, so the request that filled an entry decided, for every later visitor until the entry expired, the host in its links and form actions, its webroot and its language; where a bundle accepts a client's `Host` or `X-Forwarded-Host`, a request carrying another host could send every visitor's links and form submissions there. The key now also carries the request's forwarded scheme and host, its forwarded prefix and the culture its headers select, and `GET /_gina/cache/stats` lists each entry's `variant`.
104
+ - **Security — a malformed `Origin` or `Host` no longer stops a bundle (#B1166).** The rule that picks `Access-Control-Allow-Origin` compiled regular expressions from the request: an `Origin` or `Host` that is not a valid pattern, or a request with no `Host`, made it throw, which stopped the bundle on a static file and left a page unanswered. It now compiles nothing from the request, and a rule that throws sends no header and logs the error.
105
+ - **Security — an empty `access-control-allow-origin` (#B1167).** The `{bundle@project}` token substitution meant for a configured value also ran on the request's own `Origin`. A token is now resolved in a configured value only, and the request's origin is answered as received.
106
+ - **Security — HTTP/2 request methods (#B1168).** gina compiled the request's method as a regular expression. Over HTTP/2, where a client can send any token as its method, `*` or `+` left the request unanswered, `.` matched every rule, and a long run of `.*` held the bundle for seconds. A method that is not in Node's `http.METHODS` now gets a 501, and the method is matched as text.
107
+ - **Fixed — output-cache headers (#B1164, #B1104, #B1105).** A cached route's responses name in `Vary` the request headers its page depends on; a hit answers each cross-origin caller with its own `Access-Control-Allow-Origin`, by the same rule as an uncached response; and a hit no longer sends the `RateLimit` and `RateLimit-Policy` headers of the caller that filled the entry.
108
+ - **Fixed — `server.rateLimit` and `server.idempotency` (#B1165).** A bundle that enables either no longer refuses to boot with "[kv] not configured": the kv namespaces are installed before the engine starts.
109
+ - **Fixed — SQLite statements that return rows (#B1169, #B1173).** A `.sql` method whose statement starts with `WITH`, `VALUES` or a reading `PRAGMA` returns its rows, and one whose statement is `INSERT`, `UPDATE` or `DELETE … RETURNING` returns the rows its `RETURNING` clause lists: the connector asks each statement whether it returns rows (`columns()` on node:sqlite, `reader` or `columnNames` on bun:sqlite).
110
+ - **Fixed — JSON files with comments (#B1170).** A `//` inside a quoted value no longer cuts its line when `requireJSON()` or `parseJSONWithComments()` strips comments.
111
+ - **Fixed — `req.routing.method` (#B1171).** It is upper case on every request to a route; the requests answered from the route cache read it in lower case.
112
+ - **Fixed — the dev Inspector and Couchbase plans (#B1161, #B1162, #B1163).** The index badge reads the plans Couchbase lists for subqueries; a statement that reads no keyspace (`SELECT 1`, a `FROM` over an expression, a `bulkInsert`) shows `no keyspace read`; and a `bulkInsert` sends no `EXPLAIN`.
113
+ - **Fixed — swig includes are compiled once per process (#B1176).** Outside dev mode an `{% include %}` was read and compiled again on every render, once per iteration inside a `{% for %}` loop; it is now compiled once per bundle process, so a template change reaches a running bundle at its restart.
111
114
 
112
115
  ## Documentation
113
116
 
package/ROADMAP.md CHANGED
@@ -100,6 +100,7 @@ This roadmap covers planned features, architectural improvements, new connectors
100
100
  | **Q4 2026** | `0.7.11` ✅ | **Security**: outside development, `self.requireController()` no longer keeps a copy of the required controller on every call (repeated requests could exhaust the process's memory); concurrent renders of swig pages sharing a layout no longer serve one another's request values, and with the render cache on, the first render no longer fixes the hostname, webroot and culture of every later visitor; on the isaac engine an `X-Forwarded-Prefix` that opens with two slashes is refused. **Added**: an opt-in stall watchdog (`server.stallWatchdog`); an opt-in load limit for popins (`loadTimeout`); a boot warning for a route that binds a URL placeholder under a key gina reads as configuration. **Changed**: a staged file input refuses a file its `accept` excludes, or one larger than `data-gina-form-upload-max-size`, before any request; `@rhinostone/swig` 2.12.4 in both lockfiles. **Fixed**: staged file inputs (no staging action, a `_case_` rule); a gina page in a same-origin frame starts its own client; popin options; redirects (`param.code`, a route name without `@bundle`, a redirect route's `param.route`, its `param.path` under a webroot); `downloadFromURL()` (bad arguments, the options object, `https` without a port, a proxied bundle's port, the url's authority); download names with accented letters, the `s3` offload path included; `req.culture` on a culture-prefixed route; `lib.routing.getRoute()` with a fixed `param` value; a route with no `param` block; `requireController()` without `options`. 30 fragments; restart **and rebuild** — the browser bundle changed. |
101
101
  | **Q4 2026** | `0.7.12` ✅ | **Security**: WebSocket over HTTP/2 bounds the automatic Pongs a session queues (`maxPendingAutoPongs`, 60 by default); in attach mode (`ioServer.integrationMode: "attach"`) a WebSocket request no longer stops the bundle through Isaac's upgrade listener or the Inspector agent's, and engine.io's WebSocket transport runs on gina's own `ws`; every bundle answers or closes an upgrade request that no listener takes; `ws` `^8.23.0` in both manifests (ws's advisory GHSA-37g9-w4hg-h9qr). **Added**: boot warnings for a route URL placeholder followed by another character (`/:lang-code`) and for text before a placeholder its route binds (`/articles/page:number`). 7 fragments; a restart only — the browser bundle did not change. |
102
102
  | **Q4 2026** | `0.7.13` ✅ | **Changed**: on a `DELETE` route with `requirements`, placeholders match as on `GET` (a placeholder the route does not bind no longer matches; a placeholder's name is its letters, digits and underscores; a segment that starts with a placeholder and holds two or more matches only its text as written); a WebSocket route reads `/live/:lang-code` as `lang`. **Fixed**: route segments that answered 500 and kept later rules from being tried (a nameless `:`, an invalid regular expression, a two-placeholder segment reached by a `%`-escape) are read normally, and a throwing matcher answers once; the navigation module reads placeholder names as the server does and stops at a route it cannot match exactly; `validator::` placeholder names in any letter case; `getRoute()` tells a port from a placeholder; on Node.js 22.21.0 an HTTP/1.1 request carrying `Upgrade` headers no longer stops an `https` HTTP/2 bundle; storage `put()` and `writeSegment()` refuse a spent source stream (`STORAGE_STREAM_SPENT`). **Added**: a boot warning for a URL segment holding two or more placeholders. 15 fragments; a restart and a re-bake — the browser bundle changed. |
103
+ | **Q4 2026** | `0.7.14` ✅ | **Security**: a route's output cache stores a page per forwarded scheme, host, prefix and language, so the request that filled an entry no longer decides another visitor's links, webroot and language; a malformed `Origin` or `Host` no longer stops a bundle; an empty `access-control-allow-origin` answers each request with its origin as received; a request method Node does not accept gets a 501, and methods are matched as text. **Fixed**: a cached route's responses name in `Vary` the headers its page depends on, and a hit answers each cross-origin caller with its own `Access-Control-Allow-Origin` and no longer sends another caller's rate-limit headers; a bundle with `server.rateLimit` or `server.idempotency` boots; SQLite methods return the rows of `WITH`, `VALUES`, `PRAGMA` and `RETURNING` statements, on Bun 1.2.21 too; a `//` inside a quoted JSON value is kept; `req.routing.method` is upper case on every request; the dev Inspector reads Couchbase subquery and expression plans and `bulkInsert`; outside dev mode swig compiles each include once per process. 16 changelog entries; a restart only — the browser bundle is unchanged. |
103
104
  | **2027** | `0.7.x` | Performance — remaining measure-gated candidates: multipart & WebSocket fast paths, render/log cleanups, SIMD scanner (the render-path deep-clone & id-mint reduction shipped early in `0.6.2` with a measured 4.4× render-throughput gain; the profiling baseline itself also shipped in `0.6.2`; the per-request configuration view — `getConfig()` without the deep clone — shipped in `0.6.30`) · ISO 27001 supplier evidence — an SBOM attached to every release, once releases are cut by the CI release workflow · Beemaster admin + visual translation editor (moved from `0.6.x`) |
104
105
  | **2027** | `0.8.0` | **Swig output auto-escaping on by default** — `settings.swig.autoescape` becomes `true` when a bundle leaves it unset (prepared in `0.7.0`: a boot warning, the scaffold, the asset-tag fix). ⚠️ The financial-messaging content first planned here was **delivered early in `0.6.25` (2026-09-03)**: XML request/response handling · pluggable message-schema validation · IBAN/BIC validation rules · money & ISO 4217 minor-unit utilities · idempotency keys. |
105
106
  | **2027** | `0.9.0` | Financial-integration heavyweights — entity-layer datastore transaction seam · message-queue connector family (AMQP / Kafka / IBM MQ) |
@@ -403,6 +404,7 @@ New database connectors follow the same interface as the existing Couchbase conn
403
404
  | ✅ | **`connector:test` — connector readiness probe CLI** | `0.5.6-alpha.3` | Q2 2026 | Probes a project's configured connectors for readiness **outside a request** — the CI-friendly sibling of `connector:list` (driver-install status only) and `secrets:check` (env presence only), answering "is this connector ready to use?". Default is validate-only and offline: per connector it checks the `connector` type / `ai` protocol is recognised, the npm driver is installed at `<project>/node_modules`, and every `${secret:KEY}` placeholder resolves from the environment — no network, no connector instantiated — exiting non-zero when any connector fails so it can gate a deploy. `gina connector:test [<connector> [<bundle>]] @<project>` tests one connector or every connector in a project (bare → every registered project), mirroring `connector:infer`'s positional grammar and `secrets:check`'s all-mode; `--format=json` emits a machine-readable readiness report. The `--connect` opt-in adds a live connectivity probe: for `ai` connectors it calls the provider's `models.list` (a credentialed request that authenticates with **zero generation tokens**; `ollama://` confirms the local server is up), resolving `${secret:KEY}` the way `connector:infer` does (the value is never printed). For DB/cache connectors the live `--connect` probe is reported as **skipped** for now (config / driver / secrets are still validated) — the live DB/cache probe is a follow-up, since those connector classes load `core/gna` (which exits the process outside a booted bundle) and cannot be instantiated the way the AI connector is. Implemented 2026-06-30. |
404
405
  | ✅ | **`connector:models` — list an AI connector's provider models** | `0.5.8` | Q2 2026 | Lists the model catalogue a configured `ai` connector's provider can serve — the read sibling of `connector:test --connect` (which makes the same `models.list()` call but keeps only the count). `gina connector:models <connector> @<project> [<bundle>]` prints one model id per line (a count footer on stderr), or `--format=json` emits `{ project, connector, provider, count, models }` with each entry passed through verbatim from the provider (only `id` is guaranteed across providers — Anthropic and OpenAI-family return different fields). Reuses the direct-`AIConnector` bootstrap of `connector:infer` / `connector:test` (no bundle boot, no framework socket); resolves config only and never prints credentials; offline providers such as `ollama://` work with no internet. `isAIConnector`-gated (a non-AI connector is rejected cleanly), and a provider client without `models.list` reports `supported:false` with a non-zero exit rather than a fabricated empty list. Implemented 2026-07-03. |
405
406
  | ✅ | **DuckDB** | `0.6.1-alpha.2` | Q3 2026 | ORM / entity connector for DuckDB — an embedded **analytical** (columnar, OLAP) store: the analytics-side sibling of the SQLite connector's embedded OLTP role. Follows the MySQL / PostgreSQL architecture: entity wiring, `sql/` layout, positional placeholders (`?` and `$1` both bind), `@param`/`@return` annotations, native Promise + `.onComplete()`, driver loaded from the project's `node_modules` (`npm install @duckdb/node-api`). Row-returning detection covers the analytical dialect — `WITH` CTEs, `FROM`-first, `SUMMARIZE`, `PIVOT`/`UNPIVOT`, `DESCRIBE`, `SHOW` — and results come from the driver's JSON-safe getter (BIGINT / DECIMAL / dates arrive as strings). `readOnly` opens a database read-only so any number of processes can share one file (DuckDB is single-writer across processes). Use cases: in-process analytics and reporting bundles over app data, querying Parquet / CSV / JSON files directly without an ETL hop, larger-than-memory local aggregation; both `:memory:` and file-backed databases. Session store is a non-goal — DuckDB is a single-writer analytics engine (Redis / SQLite cover session storage). Implemented 2026-07-29 (#CN11). |
407
+ | 📋 | **Qdrant** | `0.9.x` | — | Planned; the design is not settled yet. Vector-search connector for [Qdrant](https://qdrant.tech/) (open source): declared in `connectors.json`, client `@qdrant/js-client-rest` (the official REST client), `getConnection()` returns the client, entity methods for search, query, upsert and delete from JSON request files on the MongoDB connector's pattern (`@param`/`@return` annotations, `{$arg: N}` placeholders), transient-error classification and a `connector:test` readiness probe. Computing embeddings stays with the application or the `ai` connector. |
406
408
 
407
409
  ---
408
410
 
@@ -0,0 +1 @@
1
+ 0.7.14
@@ -45,12 +45,19 @@ function Couchbase(conn, infos) {
45
45
  * Walk a Couchbase N1QL query plan tree and extract index names.
46
46
  * Accepts either a `meta.profile` object (with `executionTimings`) or
47
47
  * a bare EXPLAIN plan object (the first row of an EXPLAIN result).
48
+ * The EXPLAIN fallback reaches it through `extractExplainIndexes`, which
49
+ * also walks the subquery plans listed beside the plan (#B1161).
48
50
  *
49
51
  * Detects three operator types:
50
52
  * - `IndexScan3` — secondary index access (green badge)
51
53
  * - `PrimaryScan3` — primary index scan (amber badge)
52
- * - `ExpressionScan` / `KeyScan` — USE KEYS direct KV lookup (green badge,
53
- * reported as "KV lookup (USE KEYS)")
54
+ * - `KeyScan` — USE KEYS direct KV lookup (green badge, reported as
55
+ * "KV lookup (USE KEYS)")
56
+ *
57
+ * An `ExpressionScan` is not a key lookup (#B1162): measured on Couchbase
58
+ * 8.0.2, it is the plan of a FROM over an expression, such as
59
+ * `FROM [ … ] AS d`, and reads no keyspace. It adds no entry here;
60
+ * `extractExplainIndexes` counts it as a no-read source.
54
61
  *
55
62
  * Recursion covers the four child containers plans actually use: `~child`,
56
63
  * `~children`, plus (#B193) the nested-scan containers `scans`
@@ -82,8 +89,9 @@ function Couchbase(conn, infos) {
82
89
  primary : /Primary/i.test(op)
83
90
  });
84
91
  }
85
- // ExpressionScan / KeyScan — USE KEYS direct KV lookup (no index needed)
86
- if (/ExpressionScan|KeyScan/i.test(op) && !seen['__kv_lookup']) {
92
+ // KeyScan — USE KEYS direct KV lookup (no index needed). Not an
93
+ // ExpressionScan, a FROM over an expression that reads no keyspace (#B1162)
94
+ if (/KeyScan/i.test(op) && !seen['__kv_lookup']) {
87
95
  seen['__kv_lookup'] = true;
88
96
  results.push({
89
97
  name : 'KV lookup (USE KEYS)',
@@ -116,6 +124,103 @@ function Couchbase(conn, infos) {
116
124
  return results;
117
125
  };
118
126
 
127
+ /**
128
+ * Index usage of a whole EXPLAIN row (#B1161). Couchbase plans some
129
+ * subqueries apart (a `LET` or `WITH` subquery, a correlated subquery, a
130
+ * nested one) and lists each plan under `~subqueries`, a sibling of
131
+ * `plan` in the row. Measured on Couchbase 8.0.2, every entry reads
132
+ * `{ correlated, plan, subquery }` and nested subqueries are listed flat;
133
+ * a FROM-clause subquery is inlined in `plan` instead. `extractIndexes`
134
+ * walks one plan tree, so a statement whose reads all sat in such
135
+ * subqueries came back `[]`, which the Inspector renders as a full
136
+ * bucket scan. This merges every subquery plan's indexes into the
137
+ * statement plan's, each name once.
138
+ *
139
+ * A plan that reads no keyspace at all, such as `SELECT 1` (DummyScan),
140
+ * an `INSERT … VALUES` (ValueScan + SendInsert) or a FROM over an
141
+ * expression (ExpressionScan, #B1162), reports the pseudo-entry
142
+ * `no keyspace read` instead of `[]`, the way `USE KEYS` reports
143
+ * `KV lookup (USE KEYS)`. The test is conservative: every operator in the
144
+ * row must belong to the no-read set measured on 8.0.2, with a DummyScan,
145
+ * ValueScan or ExpressionScan present. Any other operator (a scan, a
146
+ * fetch, a join, an operator another server version uses) keeps the
147
+ * plain `[]`.
148
+ *
149
+ * The `meta.profile` path keeps calling `extractIndexes` directly: a
150
+ * Community Edition 8.0.2 server returns no `profile` member for a
151
+ * `profile=timings` request, so a profile's subquery shape is unmeasured.
152
+ *
153
+ * @inner
154
+ * @param {object} row - The first row of an EXPLAIN result: `{ plan, text, ~subqueries }`
155
+ * @returns {Array<{name: string, primary: boolean}>|null} The merged index descriptors
156
+ * (`[]` when the plan reads a keyspace without an index), or null when the row
157
+ * is unusable (the N/A badge)
158
+ * @example
159
+ * extractExplainIndexes({
160
+ * plan : { '#operator': 'Sequence', '~children': [ { '#operator': 'DummyScan' } ] },
161
+ * '~subqueries' : [ { correlated: false, plan: { '#operator': 'IndexScan3', index: 'idx_a' } } ]
162
+ * });
163
+ * // [ { name: 'idx_a', primary: false } ]
164
+ *
165
+ * extractExplainIndexes({ plan: { '#operator': 'Sequence', '~children': [ { '#operator': 'DummyScan' } ] } });
166
+ * // [ { name: 'no keyspace read', primary: false } ]
167
+ *
168
+ * // #B1162: SELECT RAW d.x FROM [ { "x": 1 } ] AS d
169
+ * extractExplainIndexes({ plan: { '#operator': 'Sequence', '~children': [
170
+ * { '#operator': 'ExpressionScan', alias: 'd', expr: '[{"x": 1}]', uncorrelated: true },
171
+ * { '#operator': 'Parallel', '~child': { '#operator': 'Sequence', '~children': [ { '#operator': 'InitialProject' } ] } }
172
+ * ] } });
173
+ * // [ { name: 'no keyspace read', primary: false } ]
174
+ */
175
+ var extractExplainIndexes = function(row) {
176
+ if (!row || typeof(row) !== 'object') return null;
177
+ var indexes = extractIndexes(row.plan || row);
178
+ if (!indexes) return indexes;
179
+
180
+ // #B1161: merge each subquery plan's indexes, each name once
181
+ var seen = Object.create(null);
182
+ var i = 0, j = 0;
183
+ for (i = 0; i < indexes.length; i++) seen[indexes[i].name] = true;
184
+ var subqueries = Array.isArray(row['~subqueries']) ? row['~subqueries'] : [];
185
+ for (i = 0; i < subqueries.length; i++) {
186
+ var entry = subqueries[i];
187
+ var subIndexes = (entry && typeof(entry) === 'object') ? extractIndexes(entry.plan) : null;
188
+ if (!subIndexes) continue;
189
+ for (j = 0; j < subIndexes.length; j++) {
190
+ if (!seen[subIndexes[j].name]) {
191
+ seen[subIndexes[j].name] = true;
192
+ indexes.push(subIndexes[j]);
193
+ }
194
+ }
195
+ }
196
+ if (indexes.length > 0) return indexes;
197
+
198
+ // #B1161: a plan made only of the no-read operators measured on 8.0.2
199
+ // (#B1162: an ExpressionScan, a FROM over an expression, is a source)
200
+ var noRead = [
201
+ 'Sequence', 'Parallel', 'DummyScan', 'ValueScan', 'ExpressionScan',
202
+ 'InitialProject', 'Let', 'With', 'Alias', 'Filter', 'Limit', 'SendInsert'
203
+ ];
204
+ var hasOwn = Object.prototype.hasOwnProperty;
205
+ var source = false;
206
+ var onlyNoRead = function(node) {
207
+ if (!node || typeof(node) !== 'object') return true;
208
+ var op = node['#operator'];
209
+ if (typeof(op) === 'string') {
210
+ if (noRead.indexOf(op) < 0) return false;
211
+ if (op === 'DummyScan' || op === 'ValueScan' || op === 'ExpressionScan') source = true;
212
+ }
213
+ for (var key in node) {
214
+ if (hasOwn.call(node, key) && !onlyNoRead(node[key])) return false;
215
+ }
216
+ return true;
217
+ };
218
+ if (onlyNoRead(row) && source) {
219
+ indexes.push({ name: 'no keyspace read', primary: false });
220
+ }
221
+ return indexes;
222
+ };
223
+
119
224
  /**
120
225
  * Per-statement EXPLAIN cache for dev-mode index extraction.
121
226
  * Keyed by the N1QL statement string. Each entry holds the
@@ -356,9 +461,11 @@ function Couchbase(conn, infos) {
356
461
  * Runs EXPLAIN on a N1QL statement asynchronously and caches the
357
462
  * extracted indexes. Patches `queryEntry.indexes` in-place once
358
463
  * the EXPLAIN result is available.
464
+ * The whole first row goes to `extractExplainIndexes`, so the indexes of
465
+ * the subquery plans listed beside the plan count too (#B1161).
359
466
  *
360
467
  * @param {object} conn - The Couchbase connection object. May have `_cluster`
361
- * directly (entity query path) or nested at `_scope._bucket._cluster` (bulk insert path).
468
+ * directly or nested at `_scope._bucket._cluster`; `resolveCluster` reads both.
362
469
  * @param {string} statement - The original N1QL statement (without EXPLAIN prefix)
363
470
  * @param {object} queryEntry - The QI entry to patch with index info
364
471
  * @param {object} queryOptions - Query options (for parameters)
@@ -387,8 +494,8 @@ function Couchbase(conn, infos) {
387
494
  try {
388
495
  cluster.query('EXPLAIN ' + statement, explainOpts)
389
496
  .then(function(data) {
390
- var plan = (data && data.rows && data.rows[0]) ? data.rows[0].plan || data.rows[0] : null;
391
- var indexes = extractIndexes(plan);
497
+ // #B1161: the whole row, since subquery plans sit beside `plan`
498
+ var indexes = extractExplainIndexes((data && data.rows && data.rows[0]) ? data.rows[0] : null);
392
499
  _explainCache.set(statement, indexes);
393
500
  // Patch the current query entry in-place (it's already in _devLog)
394
501
  queryEntry.indexes = indexes;
@@ -1781,16 +1888,16 @@ function Couchbase(conn, infos) {
1781
1888
  // _startMs is kept for the Flow tab timeline (#FI)
1782
1889
  _biQueryEntry.resultCount = _data ? (Array.isArray(_data) ? _data.length : 1) : 0;
1783
1890
  try { _biQueryEntry.resultSize = _data ? JSON.stringify(_data).length : 0; } catch(_e) { _biQueryEntry.resultSize = 0; }
1784
- // #QI — extract index usage from query profile or EXPLAIN cache
1891
+ // #QI — extract index usage from the query profile when the SDK returns one
1785
1892
  if (_meta && _meta.profile) {
1786
1893
  _biQueryEntry.indexes = extractIndexes(_meta.profile);
1787
1894
  } else {
1788
- var _biStmt = _biQueryEntry.statement;
1789
- if (_explainCache.has(_biStmt)) {
1790
- _biQueryEntry.indexes = _explainCache.get(_biStmt);
1791
- } else {
1792
- explainForIndexes(conn, _biStmt, _biQueryEntry, queryOptions);
1793
- }
1895
+ // #B1163 — no EXPLAIN: the entry's statement is the logged form, by default
1896
+ // the redacted line, which the server rejects (error 3000 on 8.0.2), and with
1897
+ // captureValues on the record values, which an EXPLAIN cache entry would keep.
1898
+ // The statement run is gina's own INSERT … VALUES … RETURNING, whose plan
1899
+ // reads no keyspace (8.0.2: ValueScan, SendInsert, InitialProject).
1900
+ _biQueryEntry.indexes = [ { name: 'no keyspace read', primary: false } ];
1794
1901
  }
1795
1902
  }
1796
1903
 
@@ -15,6 +15,53 @@ var lib = require('./../../../lib') || require.cache[require.resolve('./..
15
15
  var inherits = lib.inherits;
16
16
  var console = lib.logger;
17
17
 
18
+ /**
19
+ * Tells whether a prepared statement returns rows, so that the connector reads
20
+ * it with `all()` / `get()` or runs it with `run()` (#B1169). Asked once per
21
+ * `.sql` file, right after `conn.prepare()`. The first keyword of the text is
22
+ * not enough: `WITH … SELECT`, `VALUES` and a `PRAGMA` that reads a value return
23
+ * rows, a `WITH` clause feeding an `INSERT` returns none, and `INSERT …
24
+ * RETURNING` returns rows.
25
+ *
26
+ * In order: the statement's `columns()` (node:sqlite from Node 22.16.0 and
27
+ * 23.11.0: its result columns, none for a statement that returns no rows); then
28
+ * its `reader` flag (bun:sqlite, passed through by the adapter in
29
+ * `lib/sqlite-driver`); then, when the statement offers neither or could not be
30
+ * prepared, the leading keyword: SELECT, WITH, VALUES, PRAGMA or EXPLAIN. That
31
+ * last rule still sends a `WITH` clause feeding a write to `all()` and `INSERT …
32
+ * RETURNING` to `run()`.
33
+ *
34
+ * @inner
35
+ * @param {object|null} stmt - the prepared statement, or `null` when `prepare()` threw
36
+ * @param {string} queryString - the statement text, comments stripped
37
+ * @returns {boolean} `true` when the statement returns rows
38
+ * @example
39
+ * var sql = 'WITH t AS (SELECT 1 AS a) SELECT a FROM t';
40
+ * statementReturnsRows(conn.prepare(sql), sql); // true
41
+ * @example
42
+ * var sql = 'WITH s AS (SELECT ? AS a) INSERT INTO t (a) SELECT a FROM s';
43
+ * statementReturnsRows(conn.prepare(sql), sql); // false where the statement has columns()
44
+ * @example
45
+ * statementReturnsRows(null, 'VALUES (1)'); // true, from the keyword
46
+ */
47
+ function statementReturnsRows(stmt, queryString) {
48
+ if ( stmt && typeof(stmt.columns) == 'function' ) {
49
+ var columns = null;
50
+ try {
51
+ columns = stmt.columns();
52
+ } catch (e) {
53
+ columns = null; // the statement cannot answer: the rules below decide
54
+ }
55
+ if ( Array.isArray(columns) ) {
56
+ return columns.length > 0;
57
+ }
58
+ }
59
+ if ( stmt && typeof(stmt.reader) == 'boolean' ) {
60
+ return stmt.reader;
61
+ }
62
+ return /^\s*(SELECT|WITH|VALUES|PRAGMA|EXPLAIN)\b/i.test(queryString);
63
+ }
64
+
18
65
  /**
19
66
  * SQLite ORM connector — v2.
20
67
  *
@@ -46,12 +93,19 @@ var console = lib.logger;
46
93
  * SELECT * FROM users WHERE id = ?
47
94
  * ```
48
95
  *
96
+ * A statement that returns rows (SELECT, WITH … SELECT, VALUES, a PRAGMA that
97
+ * reads a value, EXPLAIN, INSERT / UPDATE / DELETE … RETURNING) is read with
98
+ * `stmt.all()` or `stmt.get()`; a statement that returns none (INSERT, UPDATE,
99
+ * DELETE, a WITH clause feeding a write, DDL) runs with `stmt.run()`. The
100
+ * prepared statement is asked once, when the file is loaded (#B1169, see
101
+ * `statementReturnsRows`).
102
+ *
49
103
  * `@return` annotation controls how results are presented:
50
104
  * {object} → `stmt.get()` — first row or null
51
- * {Array} → `stmt.all()` — all rows (default for SELECT)
52
- * {boolean} → `stmt.run().changes > 0` for write ops; `rows.length > 0` for SELECT
105
+ * {Array} → `stmt.all()` — all rows (the default for a statement that returns rows)
106
+ * {boolean} → `rows.length > 0` for a statement that returns rows; `stmt.run().changes > 0` otherwise
53
107
  * {number} → first key of first row (COUNT(*) queries)
54
- * (none) → `stmt.all()` for SELECT, `stmt.run()` for write ops
108
+ * (none) → `stmt.all()` for a statement that returns rows, `stmt.run()` otherwise
55
109
  *
56
110
  * Methods return a native Promise with `.onComplete(cb)` attached for backward
57
111
  * compatibility (same Option-B pattern as the Couchbase N1QL connector).
@@ -292,7 +346,10 @@ function Sqlite(conn, infos) {
292
346
 
293
347
  if (!queryString) return; // empty file — skip
294
348
 
295
- var isSELECT = /^\s*SELECT\b/i.test(queryString);
349
+ // #B1169 — whether the statement returns rows is asked of the prepared
350
+ // statement below (statementReturnsRows), no longer read from a leading
351
+ // SELECT, which sent WITH … SELECT, VALUES and PRAGMA reads to run().
352
+ // was: var isSELECT = /^\s*SELECT\b/i.test(queryString);
296
353
  var trigger = 'SQL:' + entityName.toLowerCase() + '#' + name;
297
354
 
298
355
  // Pre-compile the statement once at load time.
@@ -308,12 +365,17 @@ function Sqlite(conn, infos) {
308
365
  console.error(stmtError.message);
309
366
  }
310
367
 
368
+ // #B1169 — decided once, at load time: all() / get() for a statement that
369
+ // returns rows, run() for a statement that returns none.
370
+ var returnsRows = statementReturnsRows(stmt, queryString);
371
+
311
372
  // ── Helper: execute the prepared statement ────────────────────────────
312
373
  var execute = function(args) {
313
374
  if (stmtError) throw stmtError;
314
375
 
315
376
  var raw;
316
- if (isSELECT) {
377
+ // was: if (isSELECT)
378
+ if (returnsRows) {
317
379
  if (returnType === 'object') {
318
380
  raw = stmt.get.apply(stmt, args);
319
381
  raw = (raw != null && raw !== undefined) ? raw : null;
@@ -344,7 +406,8 @@ function Sqlite(conn, infos) {
344
406
  var keys = Object.keys(raw);
345
407
  raw = raw[keys[0]];
346
408
  }
347
- } else if (!returnType && !isSELECT) {
409
+ } else if (!returnType && !returnsRows) {
410
+ // #B1169 — was: !isSELECT (a leading SELECT only).
348
411
  // Write ops with no annotation — return the run result object
349
412
  // { changes: <n>, lastInsertRowid: <id> }
350
413
  // Keeps raw as-is.
@@ -437,10 +437,18 @@ function exposeOptionsOnEngine(engine, opts) {
437
437
  * the instance its own `getOptions()` accessor (`exposeOptionsOnEngine`) —
438
438
  * the module's per-request one never reaches an instance.
439
439
  *
440
+ * #B1176 — `opts.cache` is `'memory'` outside dev on swig 2.9.6 or later, and `false` otherwise (in
441
+ * dev, or on an older swig a project renders with): outside dev the instance keeps every compiled
442
+ * `{% include %}` and `compileFile` result for the life of the process, keyed by the resolved path
443
+ * (as the nunjucks path keeps its templates). The page and layout compiles pass their own
444
+ * `cache: false` (`controller.render-swig.js`, `controller.render-v1.js`), so the instance keeps only
445
+ * files compiled as they are on disk, never the content gina assembles per render.
446
+ *
440
447
  * @inner
441
448
  * @param {*} swigMod - The resolved swig module (exposes `.Swig`)
442
449
  * @param {string} templateRoot - Registry key: the bundle templates root
443
- * @param {object} opts - `{ autoescape, cache, loader }` for this bundle
450
+ * @param {object} opts - `{ autoescape, cache, loader }` for this bundle (`cache`: `'memory'`
451
+ * outside dev on swig >= 2.9.6, `false` otherwise; #B1176)
444
452
  * @returns {*} the cached-or-built per-bundle engine
445
453
  */
446
454
  function getDefaultSwigEngine(swigMod, templateRoot, opts) {
@@ -1545,6 +1553,12 @@ function SuperController(options) {
1545
1553
 
1546
1554
  if (isSpecialCase) {
1547
1555
  hostname = _config.hostname;
1556
+ // #B1132 — this page's hostname comes from another bundle's config, which the
1557
+ // output cache's request variant does not carry: the render writers refuse to
1558
+ // store it (lib/render-cache storableVariant).
1559
+ if ( local.req ) {
1560
+ local.req._ginaHostSpecialCase = true;
1561
+ }
1548
1562
  }
1549
1563
 
1550
1564
  // if (
@@ -1973,9 +1987,23 @@ function SuperController(options) {
1973
1987
  var swigOptions = {
1974
1988
  // was: autoescape: ( typeof(local.options.autoescape) != 'undefined') ? local.options.autoescape : false,
1975
1989
  autoescape : _swigAutoescape,
1976
- // `memory` is no working yet ... advanced rendering setup required
1990
+ // was (f222c6936, 2022): « `memory` is no working yet ... advanced rendering setup required »
1977
1991
  // cache : (local.options.isCacheless) ? false : 'memory'
1978
- cache : false
1992
+ // cache : false
1993
+ // #B1176 — with `cache: false` every {% include %} (and every compileFile through
1994
+ // self.engine) read and compiled its file on each call, once per loop iteration.
1995
+ // Outside dev the engine now keeps compiled templates, as the nunjucks path does
1996
+ // (noCache in dev only): an include is compiled once per process, and a template
1997
+ // change reaches a running bundle at its restart. Each page and layout compile
1998
+ // passes its own `cache: false` (controller.render-swig.js, controller.render-v1.js):
1999
+ // gina compiles the page from content it assembles per render under one filename
2000
+ // (#B1129's tokened layout), which a filename-keyed entry would serve stale.
2001
+ // Only from swig 2.9.6: before it, swig's memory cache carried one page's override of
2002
+ // a nested block into a cached layout (fixed in 2.9.5) and one call's option locals
2003
+ // into later calls for the same file (fixed in 2.9.6), so a project that renders with
2004
+ // its own older swig (swig.useProject) keeps `cache: false`. A missing version reads
2005
+ // as 0.0.0, so the cache stays off.
2006
+ cache : ( self.isCacheless() || lib.swigResolver.compareSemver(swig.version, '2.9.6') < 0 ) ? false : 'memory'
1979
2007
  };
1980
2008
  if (dir) {
1981
2009
  // #TPL2 — confined loader (mirrors core/server.js initSwigEngine).
@@ -31,6 +31,12 @@ var renderData = require('./render-data');
31
31
  * No-op when caching is disabled or the route has no `cache` setting.
32
32
  * FS writes are performed asynchronously to avoid blocking the event loop.
33
33
  *
34
+ * #B1132 — the entry is keyed on the request variant the engine stamped before routing
35
+ * (`req._ginaCacheVariant`: the forwarded host and prefix, the culture the request's
36
+ * headers select), and a page whose own values are not that variant is not stored
37
+ * (`RenderCache.storableVariant`): a URL-prefix or middleware culture, a merged-mode
38
+ * direct host, a request without a stamp.
39
+ *
34
40
  * @inner
35
41
  * @param {string} bundle - Bundle name (used as cache-key namespace)
36
42
  * @param {object} opt - Server cache configuration (`opt.path`, `opt.ttl`, `opt.sliding`, `opt.maxAge`)
@@ -62,10 +68,15 @@ async function writeCache(bundle, opt, jsonContent, req, res, cacheIsEnabled, th
62
68
  ) {
63
69
  return;
64
70
  }
71
+ // #B1132 — stored only under the request variant the page was rendered for (see the JSDoc)
72
+ var cacheVariant = lib.RenderCache.storableVariant(req);
73
+ if ( !cacheVariant ) {
74
+ return;
75
+ }
65
76
  // Fully-namespaced key via the single builder (#C3 bundle namespace +
66
77
  // the release namespace both live in renderCache.buildKey — writer/reader
67
78
  // share ONE format so they can't drift).
68
- var cacheKey = renderCache.buildKey('data', bundle, req.originalUrl);
79
+ var cacheKey = renderCache.buildKey('data', bundle, req.originalUrl, cacheVariant);
69
80
  var responseHeaders = res.getHeaders() || {};
70
81
 
71
82
  // Caching kinds are: `memory` & `fs`
@@ -91,6 +102,8 @@ async function writeCache(bundle, opt, jsonContent, req, res, cacheIsEnabled, th
91
102
  var cacheObject = {
92
103
  responseHeaders : responseHeaders
93
104
  };
105
+ // #B1132 — the readable variant, kept by the .meta sidecar, the L2 value and stats()
106
+ cacheObject.variant = cacheVariant.readable;
94
107
  // Store visibility for Cache-Control header on the hit path.
95
108
  // Default is 'private' — opt in to 'public' explicitly for truly static pages.
96
109
  cacheObject.visibility = ( cachingOption.visibility === 'public' ) ? 'public' : 'private';
@@ -585,6 +598,11 @@ module.exports = function renderJSON(jsonObj, deps) {
585
598
  _cc = ( _ccCfg.visibility === 'public' ? 'public' : 'private' ) + ', max-age=' + ~~(_ccTtl);
586
599
  }
587
600
  }
601
+ // #B1164 — a page sent with a max-age varies with its request variant: Vary lists those
602
+ // request headers. Set on the response, so both sends below carry it.
603
+ if ( _cc ) {
604
+ lib.RenderCache.appendVariantVary(response);
605
+ }
588
606
 
589
607
  if ( stream ) {
590
608
  // Guard: client may have disconnected (nginx timeout, browser navigation)