evlet 0.2.0__tar.gz → 0.4.0__tar.gz

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 (574) hide show
  1. evlet-0.4.0/CHANGELOG.md +728 -0
  2. evlet-0.4.0/MANIFEST.in +15 -0
  3. {evlet-0.2.0/evlet.egg-info → evlet-0.4.0}/PKG-INFO +46 -10
  4. {evlet-0.2.0 → evlet-0.4.0}/README.md +42 -9
  5. {evlet-0.2.0 → evlet-0.4.0}/build_support.py +2 -4
  6. {evlet-0.2.0 → evlet-0.4.0}/docs/amendment-v2.md +19 -28
  7. evlet-0.4.0/docs/api-stability.md +218 -0
  8. evlet-0.4.0/docs/app-upgrades.md +170 -0
  9. {evlet-0.2.0 → evlet-0.4.0}/docs/application-generation.md +8 -8
  10. {evlet-0.2.0 → evlet-0.4.0}/docs/architecture.md +39 -7
  11. {evlet-0.2.0 → evlet-0.4.0}/docs/business-capabilities.md +189 -8
  12. {evlet-0.2.0 → evlet-0.4.0}/docs/cli.md +176 -19
  13. {evlet-0.2.0 → evlet-0.4.0}/docs/connector.md +34 -29
  14. {evlet-0.2.0 → evlet-0.4.0}/docs/controls.md +278 -22
  15. {evlet-0.2.0 → evlet-0.4.0}/docs/customizing.md +11 -17
  16. evlet-0.4.0/docs/document-lifecycle.md +216 -0
  17. {evlet-0.2.0 → evlet-0.4.0}/docs/effects.md +23 -1
  18. evlet-0.4.0/docs/eva.md +181 -0
  19. {evlet-0.2.0 → evlet-0.4.0}/docs/finite-calculations.md +25 -10
  20. {evlet-0.2.0 → evlet-0.4.0}/docs/getting-started.md +21 -2
  21. {evlet-0.2.0 → evlet-0.4.0}/docs/jobs-realtime.md +70 -3
  22. {evlet-0.2.0 → evlet-0.4.0}/docs/journal.md +38 -6
  23. evlet-0.4.0/docs/ledger.md +296 -0
  24. evlet-0.4.0/docs/lifecycle-specification.md +549 -0
  25. {evlet-0.2.0 → evlet-0.4.0}/docs/meaning.md +20 -1
  26. {evlet-0.2.0 → evlet-0.4.0}/docs/measures.md +141 -6
  27. evlet-0.4.0/docs/model-engine.md +1248 -0
  28. {evlet-0.2.0 → evlet-0.4.0}/docs/performance.md +64 -6
  29. {evlet-0.2.0 → evlet-0.4.0}/docs/postgresql.md +9 -0
  30. evlet-0.4.0/docs/printing.md +223 -0
  31. {evlet-0.2.0 → evlet-0.4.0}/docs/production-operations.md +5 -0
  32. evlet-0.4.0/docs/reports.md +160 -0
  33. {evlet-0.2.0 → evlet-0.4.0}/docs/routing.md +18 -12
  34. {evlet-0.2.0 → evlet-0.4.0}/docs/sequences.md +84 -16
  35. {evlet-0.2.0 → evlet-0.4.0}/docs/settings.md +48 -15
  36. evlet-0.4.0/docs/slips.md +222 -0
  37. {evlet-0.2.0 → evlet-0.4.0}/docs/states-actions.md +215 -10
  38. evlet-0.4.0/docs/tools.md +97 -0
  39. evlet-0.4.0/docs/ui-framework.md +1017 -0
  40. evlet-0.4.0/docs/ui.md +1247 -0
  41. {evlet-0.2.0 → evlet-0.4.0}/evlet/__init__.py +55 -13
  42. {evlet-0.2.0 → evlet-0.4.0}/evlet/app.py +120 -22
  43. {evlet-0.2.0 → evlet-0.4.0}/evlet/assistants.py +44 -71
  44. evlet-0.4.0/evlet/audit.py +167 -0
  45. {evlet-0.2.0 → evlet-0.4.0}/evlet/auth.py +50 -20
  46. {evlet-0.2.0 → evlet-0.4.0}/evlet/builds.py +20 -8
  47. {evlet-0.2.0 → evlet-0.4.0}/evlet/business.py +469 -86
  48. {evlet-0.2.0 → evlet-0.4.0}/evlet/calc.py +143 -163
  49. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/__init__.py +1 -2
  50. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/app.py +12 -0
  51. evlet-0.4.0/evlet/cli/devlink.py +54 -0
  52. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/docs.py +1 -1
  53. evlet-0.4.0/evlet/cli/ids.py +21 -0
  54. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/install.py +95 -8
  55. evlet-0.4.0/evlet/cli/instance.py +46 -0
  56. evlet-0.4.0/evlet/cli/jobs.py +21 -0
  57. evlet-0.4.0/evlet/cli/ledger.py +21 -0
  58. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/main.py +150 -33
  59. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/playground.py +11 -5
  60. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/proxy.py +24 -0
  61. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/serve.py +26 -5
  62. evlet-0.4.0/evlet/cli/site.py +287 -0
  63. {evlet-0.2.0 → evlet-0.4.0}/evlet/connectors.py +10 -6
  64. {evlet-0.2.0 → evlet-0.4.0}/evlet/controls.py +382 -36
  65. {evlet-0.2.0 → evlet-0.4.0}/evlet/controls_export.py +114 -26
  66. {evlet-0.2.0 → evlet-0.4.0}/evlet/controls_system.py +0 -15
  67. {evlet-0.2.0 → evlet-0.4.0}/evlet/corrections.py +34 -10
  68. evlet-0.4.0/evlet/currencies.py +431 -0
  69. {evlet-0.2.0 → evlet-0.4.0}/evlet/customization.py +185 -37
  70. evlet-0.4.0/evlet/database.py +738 -0
  71. {evlet-0.2.0 → evlet-0.4.0}/evlet/declarations.py +19 -3
  72. evlet-0.4.0/evlet/devlink.py +225 -0
  73. {evlet-0.2.0 → evlet-0.4.0}/evlet/discovery.py +28 -3
  74. {evlet-0.2.0 → evlet-0.4.0}/evlet/documents.py +633 -99
  75. {evlet-0.2.0 → evlet-0.4.0}/evlet/effects.py +57 -14
  76. evlet-0.4.0/evlet/eva.py +1809 -0
  77. {evlet-0.2.0 → evlet-0.4.0}/evlet/events.py +18 -4
  78. {evlet-0.2.0 → evlet-0.4.0}/evlet/fields.py +251 -26
  79. evlet-0.4.0/evlet/forms.py +538 -0
  80. evlet-0.4.0/evlet/framework.py +160 -0
  81. evlet-0.4.0/evlet/identity.py +213 -0
  82. evlet-0.4.0/evlet/images.py +323 -0
  83. evlet-0.4.0/evlet/indexes.py +110 -0
  84. {evlet-0.2.0 → evlet-0.4.0}/evlet/instances.py +34 -23
  85. {evlet-0.2.0 → evlet-0.4.0}/evlet/jobs.py +156 -61
  86. {evlet-0.2.0 → evlet-0.4.0}/evlet/journal.py +145 -17
  87. evlet-0.4.0/evlet/ledger.py +301 -0
  88. evlet-0.4.0/evlet/lifecycle.py +460 -0
  89. {evlet-0.2.0 → evlet-0.4.0}/evlet/mailboxes.py +10 -7
  90. evlet-0.4.0/evlet/mcp.py +149 -0
  91. {evlet-0.2.0 → evlet-0.4.0}/evlet/meaning.py +85 -10
  92. {evlet-0.2.0 → evlet-0.4.0}/evlet/measures.py +304 -43
  93. evlet-0.4.0/evlet/mentions.py +210 -0
  94. evlet-0.4.0/evlet/migrations.py +1592 -0
  95. {evlet-0.2.0 → evlet-0.4.0}/evlet/models.py +200 -12
  96. evlet-0.4.0/evlet/naming.py +218 -0
  97. {evlet-0.2.0 → evlet-0.4.0}/evlet/object_storage.py +0 -1
  98. {evlet-0.2.0 → evlet-0.4.0}/evlet/packages.py +1 -1
  99. evlet-0.4.0/evlet/periods.py +171 -0
  100. {evlet-0.2.0 → evlet-0.4.0}/evlet/permissions.py +325 -52
  101. {evlet-0.2.0 → evlet-0.4.0}/evlet/postgres.py +56 -8
  102. {evlet-0.2.0 → evlet-0.4.0}/evlet/postgres_schema.py +133 -25
  103. evlet-0.4.0/evlet/printing.py +1437 -0
  104. evlet-0.4.0/evlet/query.py +351 -0
  105. {evlet-0.2.0 → evlet-0.4.0}/evlet/reactivity.py +51 -8
  106. evlet-0.4.0/evlet/resources/print/fonts/NotoSans-Bold.woff2 +0 -0
  107. evlet-0.2.0/frontend/fonts/Inter-OFL.txt → evlet-0.4.0/evlet/resources/print/fonts/NotoSans-OFL.txt +5 -4
  108. evlet-0.4.0/evlet/resources/print/fonts/NotoSans-Regular.woff2 +0 -0
  109. evlet-0.4.0/evlet/resources/print/fonts/NotoSansArabic-Bold.woff2 +0 -0
  110. evlet-0.2.0/evlet/ui/static/assets/Inter-OFL.txt → evlet-0.4.0/evlet/resources/print/fonts/NotoSansArabic-OFL.txt +5 -4
  111. evlet-0.4.0/evlet/resources/print/fonts/NotoSansArabic-Regular.woff2 +0 -0
  112. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app/README.md.tpl +1 -1
  113. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app/__app__/hooks.py.tpl +1 -2
  114. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app/pyproject.toml.tpl +1 -1
  115. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app_flat/pyproject.toml.tpl +1 -4
  116. evlet-0.4.0/evlet/richtext.py +613 -0
  117. {evlet-0.2.0 → evlet-0.4.0}/evlet/routing.py +6 -20
  118. evlet-0.4.0/evlet/sections.py +309 -0
  119. {evlet-0.2.0 → evlet-0.4.0}/evlet/sequences.py +98 -21
  120. {evlet-0.2.0 → evlet-0.4.0}/evlet/services.py +16 -9
  121. {evlet-0.2.0 → evlet-0.4.0}/evlet/settings.py +24 -8
  122. evlet-0.4.0/evlet/slips.py +375 -0
  123. {evlet-0.2.0 → evlet-0.4.0}/evlet/states.py +17 -6
  124. {evlet-0.2.0 → evlet-0.4.0}/evlet/storage.py +3 -2
  125. evlet-0.4.0/evlet/tools.py +731 -0
  126. evlet-0.4.0/evlet/ui/__init__.py +1 -0
  127. {evlet-0.2.0 → evlet-0.4.0}/evlet/ui/application.py +2 -2
  128. evlet-0.4.0/evlet/ui/metadata.py +755 -0
  129. {evlet-0.2.0 → evlet-0.4.0}/evlet/ui/routes.py +43 -38
  130. {evlet-0.2.0 → evlet-0.4.0}/evlet/ui/serving.py +8 -2
  131. evlet-0.4.0/evlet/ui/static/assets/IBMPlexSans-OFL.txt +93 -0
  132. evlet-0.4.0/evlet/ui/static/assets/ai-ChOAL8Qi.js +38 -0
  133. evlet-0.4.0/evlet/ui/static/assets/app-0SduO6OB.css +1 -0
  134. evlet-0.4.0/evlet/ui/static/assets/app-CgLD9qku.js +822 -0
  135. evlet-0.2.0/evlet/ui/static/assets/consent-rtOZz4Ha.js → evlet-0.4.0/evlet/ui/static/assets/consent-CcrD73-t.js +7 -7
  136. evlet-0.4.0/evlet/ui/static/assets/email-CnOaYPAZ.js +25 -0
  137. evlet-0.4.0/evlet/ui/static/assets/evlet-icon-blue.svg +6 -0
  138. evlet-0.4.0/evlet/ui/static/assets/evlet-logo-primary.svg +11 -0
  139. evlet-0.4.0/evlet/ui/static/assets/evlet-logo-white.svg +11 -0
  140. evlet-0.4.0/evlet/ui/static/assets/ibm-plex-sans-latin-400-italic-CZTNEAuW.woff2 +0 -0
  141. evlet-0.4.0/evlet/ui/static/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2 +0 -0
  142. evlet-0.4.0/evlet/ui/static/assets/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2 +0 -0
  143. evlet-0.4.0/evlet/ui/static/assets/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2 +0 -0
  144. evlet-0.4.0/evlet/ui/static/assets/ibm-plex-sans-latin-700-normal-Bxkt5Cjx.woff2 +0 -0
  145. evlet-0.4.0/evlet/ui/static/assets/ibm-plex-sans-latin-ext-400-italic-Du9zzoL2.woff2 +0 -0
  146. evlet-0.4.0/evlet/ui/static/assets/ibm-plex-sans-latin-ext-400-normal-C5H60-Va.woff2 +0 -0
  147. evlet-0.4.0/evlet/ui/static/assets/ibm-plex-sans-latin-ext-500-normal-DakdToA3.woff2 +0 -0
  148. evlet-0.4.0/evlet/ui/static/assets/ibm-plex-sans-latin-ext-600-normal-DOrvGEcy.woff2 +0 -0
  149. evlet-0.4.0/evlet/ui/static/assets/ibm-plex-sans-latin-ext-700-normal-aMgXseD4.woff2 +0 -0
  150. evlet-0.4.0/evlet/ui/static/assets/index-L-We7eCw.js +931 -0
  151. evlet-0.4.0/evlet/ui/static/assets/index-UqEST1u4.css +1 -0
  152. evlet-0.2.0/evlet/ui/static/assets/keys-BKzRuORv.js → evlet-0.4.0/evlet/ui/static/assets/keys-Cv0SxpmA.js +1 -1
  153. evlet-0.4.0/evlet/ui/static/index.html +3 -0
  154. evlet-0.4.0/evlet/unsaved.py +372 -0
  155. evlet-0.4.0/evlet/workspaces.py +530 -0
  156. {evlet-0.2.0 → evlet-0.4.0/evlet.egg-info}/PKG-INFO +46 -10
  157. evlet-0.4.0/evlet.egg-info/SOURCES.txt +348 -0
  158. {evlet-0.2.0 → evlet-0.4.0}/evlet.egg-info/requires.txt +4 -0
  159. evlet-0.4.0/examples/playground/app.py +190 -0
  160. evlet-0.4.0/examples/playground/items.py +124 -0
  161. evlet-0.4.0/examples/playground/migrate.py +288 -0
  162. evlet-0.4.0/examples/playground/models.py +320 -0
  163. {evlet-0.2.0 → evlet-0.4.0}/examples/playground/portal/portal.js +2 -2
  164. evlet-0.4.0/examples/playground/prints.py +55 -0
  165. evlet-0.4.0/examples/playground/reports.py +132 -0
  166. {evlet-0.2.0 → evlet-0.4.0}/examples/playground/settings.py +5 -1
  167. evlet-0.4.0/examples/playground/slips.py +85 -0
  168. evlet-0.4.0/examples/playground/team.py +56 -0
  169. evlet-0.4.0/examples/playground/workspaces.py +44 -0
  170. evlet-0.4.0/frontend/fonts/IBMPlexSans-OFL.txt +93 -0
  171. evlet-0.4.0/frontend/fonts/ibm-plex-sans-latin-400-italic.woff2 +0 -0
  172. evlet-0.4.0/frontend/fonts/ibm-plex-sans-latin-400-normal.woff2 +0 -0
  173. evlet-0.4.0/frontend/fonts/ibm-plex-sans-latin-500-normal.woff2 +0 -0
  174. evlet-0.4.0/frontend/fonts/ibm-plex-sans-latin-600-normal.woff2 +0 -0
  175. evlet-0.4.0/frontend/fonts/ibm-plex-sans-latin-700-normal.woff2 +0 -0
  176. evlet-0.4.0/frontend/fonts/ibm-plex-sans-latin-ext-400-italic.woff2 +0 -0
  177. evlet-0.4.0/frontend/fonts/ibm-plex-sans-latin-ext-400-normal.woff2 +0 -0
  178. evlet-0.4.0/frontend/fonts/ibm-plex-sans-latin-ext-500-normal.woff2 +0 -0
  179. evlet-0.4.0/frontend/fonts/ibm-plex-sans-latin-ext-600-normal.woff2 +0 -0
  180. evlet-0.4.0/frontend/fonts/ibm-plex-sans-latin-ext-700-normal.woff2 +0 -0
  181. evlet-0.4.0/frontend/index.html +1 -0
  182. evlet-0.4.0/frontend/public/assets/evlet-icon-blue.svg +6 -0
  183. evlet-0.4.0/frontend/public/assets/evlet-logo-primary.svg +11 -0
  184. evlet-0.4.0/frontend/public/assets/evlet-logo-white.svg +11 -0
  185. evlet-0.4.0/frontend/scripts/dev-proxy.mjs +8 -0
  186. evlet-0.4.0/frontend/scripts/dev-proxy.test.mjs +13 -0
  187. {evlet-0.2.0 → evlet-0.4.0}/frontend/scripts/install-ui.mjs +1 -1
  188. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/api.ts +41 -20
  189. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/app/app.ts +70 -34
  190. evlet-0.4.0/frontend/src/evlet/app/client.ts +271 -0
  191. evlet-0.4.0/frontend/src/evlet/app/composer.ts +52 -0
  192. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/app/config.ts +4 -1
  193. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/app/context.ts +19 -3
  194. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/app/docs.ts +39 -21
  195. evlet-0.4.0/frontend/src/evlet/app/duplicate.ts +91 -0
  196. evlet-0.4.0/frontend/src/evlet/app/explorer.ts +128 -0
  197. evlet-0.4.0/frontend/src/evlet/app/filters.ts +390 -0
  198. evlet-0.4.0/frontend/src/evlet/app/inbox.ts +207 -0
  199. evlet-0.4.0/frontend/src/evlet/app/last-page.ts +32 -0
  200. evlet-0.4.0/frontend/src/evlet/app/list-page.ts +725 -0
  201. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/app/login.ts +7 -3
  202. evlet-0.4.0/frontend/src/evlet/app/meta.ts +368 -0
  203. evlet-0.4.0/frontend/src/evlet/app/nav-icons.ts +59 -0
  204. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/app/palette.ts +45 -14
  205. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/app/prefs.ts +29 -15
  206. evlet-0.4.0/frontend/src/evlet/app/recents.ts +54 -0
  207. evlet-0.4.0/frontend/src/evlet/app/record-blocks.ts +236 -0
  208. evlet-0.4.0/frontend/src/evlet/app/record-compact.ts +116 -0
  209. evlet-0.4.0/frontend/src/evlet/app/record-page.ts +1412 -0
  210. evlet-0.4.0/frontend/src/evlet/app/related-data.ts +73 -0
  211. evlet-0.4.0/frontend/src/evlet/app/report-page.ts +456 -0
  212. evlet-0.4.0/frontend/src/evlet/app/revisions.ts +77 -0
  213. evlet-0.4.0/frontend/src/evlet/app/screens.css +574 -0
  214. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/app/settings.css +19 -11
  215. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/app/settings.ts +132 -47
  216. evlet-0.4.0/frontend/src/evlet/app/shell.ts +293 -0
  217. evlet-0.4.0/frontend/src/evlet/app/shortcuts.ts +121 -0
  218. evlet-0.4.0/frontend/src/evlet/app/slips.ts +271 -0
  219. evlet-0.4.0/frontend/src/evlet/app/unsaved-bar.ts +115 -0
  220. evlet-0.4.0/frontend/src/evlet/app/unsaved.ts +170 -0
  221. evlet-0.4.0/frontend/src/evlet/app/workspace-editor.ts +378 -0
  222. evlet-0.4.0/frontend/src/evlet/app/workspaces.ts +244 -0
  223. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/access.ts +7 -4
  224. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/ai.ts +16 -6
  225. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/app.ts +31 -8
  226. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/client.ts +90 -7
  227. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/controls.css +110 -10
  228. evlet-0.4.0/frontend/src/evlet/controls/currencies.ts +147 -0
  229. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/drafts.ts +18 -2
  230. evlet-0.4.0/frontend/src/evlet/controls/eva.ts +189 -0
  231. evlet-0.4.0/frontend/src/evlet/controls/log.ts +49 -0
  232. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/models.ts +149 -26
  233. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/naming.ts +1 -1
  234. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/people.ts +30 -7
  235. evlet-0.4.0/frontend/src/evlet/controls/periods.ts +51 -0
  236. evlet-0.4.0/frontend/src/evlet/controls/prints.ts +315 -0
  237. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/system.ts +103 -21
  238. evlet-0.4.0/frontend/src/evlet/controls/unsaved.ts +61 -0
  239. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/dev.ts +4 -6
  240. evlet-0.4.0/frontend/src/evlet/eva/chat.ts +473 -0
  241. evlet-0.4.0/frontend/src/evlet/eva/client.ts +116 -0
  242. evlet-0.4.0/frontend/src/evlet/eva/eva.css +159 -0
  243. evlet-0.4.0/frontend/src/evlet/eva/tasks.ts +124 -0
  244. evlet-0.4.0/frontend/src/evlet/ids.ts +32 -0
  245. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/model/changes.ts +41 -5
  246. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/model/finite.ts +101 -31
  247. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/model/format.ts +78 -4
  248. evlet-0.4.0/frontend/src/evlet/model/links.ts +87 -0
  249. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/model/record.ts +206 -23
  250. evlet-0.4.0/frontend/src/evlet/model/schema.ts +274 -0
  251. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/model/session.ts +18 -9
  252. evlet-0.4.0/frontend/src/evlet/model/unsaved.ts +162 -0
  253. evlet-0.4.0/frontend/src/evlet/richtext/editor.ts +842 -0
  254. evlet-0.4.0/frontend/src/evlet/richtext/history.ts +55 -0
  255. evlet-0.4.0/frontend/src/evlet/richtext/html.ts +500 -0
  256. evlet-0.4.0/frontend/src/evlet/richtext/images.ts +130 -0
  257. evlet-0.4.0/frontend/src/evlet/richtext/model.ts +196 -0
  258. evlet-0.4.0/frontend/src/evlet/richtext/ops.ts +431 -0
  259. evlet-0.4.0/frontend/src/evlet/richtext/render.ts +308 -0
  260. evlet-0.4.0/frontend/src/evlet/richtext/richtext.css +120 -0
  261. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/router.ts +13 -2
  262. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/settings/ai.ts +47 -10
  263. evlet-0.4.0/frontend/src/evlet/ui/autofocus.ts +80 -0
  264. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/base.ts +84 -8
  265. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/catalog.json +106 -23
  266. evlet-0.4.0/frontend/src/evlet/ui/chart.ts +72 -0
  267. evlet-0.4.0/frontend/src/evlet/ui/childtable.ts +983 -0
  268. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/core.ts +5 -0
  269. evlet-0.4.0/frontend/src/evlet/ui/dateparse.ts +197 -0
  270. evlet-0.4.0/frontend/src/evlet/ui/doc.ts +284 -0
  271. evlet-0.4.0/frontend/src/evlet/ui/draglist.ts +178 -0
  272. evlet-0.4.0/frontend/src/evlet/ui/fields.ts +902 -0
  273. evlet-0.4.0/frontend/src/evlet/ui/fold.ts +220 -0
  274. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/icon-data.ts +24 -0
  275. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/index.ts +8 -0
  276. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/inline.ts +54 -12
  277. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/kinds.ts +62 -48
  278. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/layers.ts +82 -15
  279. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/library.ts +47 -19
  280. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/list.ts +6 -5
  281. evlet-0.4.0/frontend/src/evlet/ui/money.ts +42 -0
  282. evlet-0.4.0/frontend/src/evlet/ui/pickers.ts +562 -0
  283. evlet-0.4.0/frontend/src/evlet/ui/shortcuts.ts +79 -0
  284. evlet-0.4.0/frontend/src/evlet/ui/split.ts +86 -0
  285. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/styles.css +685 -180
  286. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/table.ts +174 -22
  287. evlet-0.4.0/frontend/src/evlet/ui/theme.ts +62 -0
  288. evlet-0.4.0/frontend/src/evlet/ui/time.ts +131 -0
  289. evlet-0.4.0/frontend/vite.config.js +21 -0
  290. {evlet-0.2.0 → evlet-0.4.0}/pyproject.toml +4 -3
  291. evlet-0.2.0/AGENTS.md +0 -42
  292. evlet-0.2.0/MANIFEST.in +0 -17
  293. evlet-0.2.0/docs/amendment-v2-release-notes.md +0 -199
  294. evlet-0.2.0/docs/app-upgrades.md +0 -78
  295. evlet-0.2.0/docs/benchmarks/2026-10-29-postgresql.json +0 -72
  296. evlet-0.2.0/docs/benchmarks/2026-10-29-sqlite.json +0 -70
  297. evlet-0.2.0/docs/contributing.md +0 -219
  298. evlet-0.2.0/docs/handoff-model.md +0 -474
  299. evlet-0.2.0/docs/handoff-plan.md +0 -240
  300. evlet-0.2.0/docs/handoff-routing-controls-settings.md +0 -790
  301. evlet-0.2.0/docs/milestones.md +0 -53
  302. evlet-0.2.0/docs/model-engine-implementation-status.md +0 -883
  303. evlet-0.2.0/docs/model-engine.md +0 -300
  304. evlet-0.2.0/docs/specification.md +0 -1121
  305. evlet-0.2.0/docs/testcrm.md +0 -120
  306. evlet-0.2.0/docs/ui-design/README.md +0 -1511
  307. evlet-0.2.0/docs/ui-design/reference/CHANGELOG.md +0 -71
  308. evlet-0.2.0/docs/ui-framework.md +0 -493
  309. evlet-0.2.0/docs/ui.md +0 -332
  310. evlet-0.2.0/evlet/cli/instance.py +0 -22
  311. evlet-0.2.0/evlet/cli/legacy.py +0 -103
  312. evlet-0.2.0/evlet/database.py +0 -311
  313. evlet-0.2.0/evlet/forms.py +0 -255
  314. evlet-0.2.0/evlet/mcp.py +0 -226
  315. evlet-0.2.0/evlet/metadata.py +0 -5
  316. evlet-0.2.0/evlet/migrations.py +0 -649
  317. evlet-0.2.0/evlet/native.py +0 -101
  318. evlet-0.2.0/evlet/query.py +0 -171
  319. evlet-0.2.0/evlet/resources/templates/app/__app__/views/__init__.py.tpl +0 -2
  320. evlet-0.2.0/evlet/ui/__init__.py +0 -73
  321. evlet-0.2.0/evlet/ui/compiler.py +0 -303
  322. evlet-0.2.0/evlet/ui/contracts.py +0 -343
  323. evlet-0.2.0/evlet/ui/definitions.py +0 -263
  324. evlet-0.2.0/evlet/ui/definitions.pyi +0 -173
  325. evlet-0.2.0/evlet/ui/expressions.py +0 -149
  326. evlet-0.2.0/evlet/ui/metadata.py +0 -110
  327. evlet-0.2.0/evlet/ui/registry.py +0 -307
  328. evlet-0.2.0/evlet/ui/static/assets/InterVariable-DiVDrmQJ.woff2 +0 -0
  329. evlet-0.2.0/evlet/ui/static/assets/ai-DUVV29Mv.js +0 -26
  330. evlet-0.2.0/evlet/ui/static/assets/app-BRJBcpEG.css +0 -1
  331. evlet-0.2.0/evlet/ui/static/assets/app-DRbRarwF.js +0 -534
  332. evlet-0.2.0/evlet/ui/static/assets/email-DPM3pn5B.js +0 -25
  333. evlet-0.2.0/evlet/ui/static/assets/evlet.svg +0 -1
  334. evlet-0.2.0/evlet/ui/static/assets/index-BVGf710l.js +0 -436
  335. evlet-0.2.0/evlet/ui/static/assets/index-mPt8bohB.css +0 -1
  336. evlet-0.2.0/evlet/ui/static/index.html +0 -3
  337. evlet-0.2.0/evlet.egg-info/SOURCES.txt +0 -410
  338. evlet-0.2.0/examples/amendment/README.md +0 -43
  339. evlet-0.2.0/examples/amendment/__init__.py +0 -1
  340. evlet-0.2.0/examples/amendment/models/__init__.py +0 -1
  341. evlet-0.2.0/examples/amendment/models/masters.py +0 -51
  342. evlet-0.2.0/examples/amendment/models/quote.py +0 -99
  343. evlet-0.2.0/examples/amendment/models/sales_order.py +0 -69
  344. evlet-0.2.0/examples/amendment/pyproject.toml +0 -20
  345. evlet-0.2.0/examples/amendment/reports/__init__.py +0 -1
  346. evlet-0.2.0/examples/amendment/reports/orders.py +0 -22
  347. evlet-0.2.0/examples/amendment/services/__init__.py +0 -1
  348. evlet-0.2.0/examples/amendment/services/integrations/__init__.py +0 -1
  349. evlet-0.2.0/examples/amendment/services/integrations/warehouse/__init__.py +0 -1
  350. evlet-0.2.0/examples/amendment/services/integrations/warehouse/checks.py +0 -13
  351. evlet-0.2.0/examples/amendment/services/planning.py +0 -43
  352. evlet-0.2.0/examples/amendment/services/stock.py +0 -8
  353. evlet-0.2.0/examples/amendment/setup.py +0 -3
  354. evlet-0.2.0/examples/amendment/views/models/sales_order.ts +0 -11
  355. evlet-0.2.0/examples/playground/app.py +0 -81
  356. evlet-0.2.0/examples/playground/migrate.py +0 -97
  357. evlet-0.2.0/examples/playground/models.py +0 -67
  358. evlet-0.2.0/examples/playground/ui.py +0 -202
  359. evlet-0.2.0/examples/testcrm/__init__.py +0 -1
  360. evlet-0.2.0/examples/testcrm/models.py +0 -306
  361. evlet-0.2.0/examples/testcrm/pyproject.toml +0 -16
  362. evlet-0.2.0/examples/testcrm/setup.py +0 -3
  363. evlet-0.2.0/frontend/fonts/InterVariable.woff2 +0 -0
  364. evlet-0.2.0/frontend/index.html +0 -1
  365. evlet-0.2.0/frontend/public/assets/evlet.svg +0 -1
  366. evlet-0.2.0/frontend/src/evlet/app/client.ts +0 -139
  367. evlet-0.2.0/frontend/src/evlet/app/list-page.ts +0 -398
  368. evlet-0.2.0/frontend/src/evlet/app/meta.ts +0 -161
  369. evlet-0.2.0/frontend/src/evlet/app/record-page.ts +0 -718
  370. evlet-0.2.0/frontend/src/evlet/app/screens.css +0 -89
  371. evlet-0.2.0/frontend/src/evlet/app/shell.ts +0 -158
  372. evlet-0.2.0/frontend/src/evlet/model/schema.ts +0 -110
  373. evlet-0.2.0/frontend/src/evlet/tests/api-fixture.json +0 -12299
  374. evlet-0.2.0/frontend/src/evlet/tests/api.test.ts +0 -245
  375. evlet-0.2.0/frontend/src/evlet/tests/assistants.test.ts +0 -156
  376. evlet-0.2.0/frontend/src/evlet/tests/config.test.ts +0 -44
  377. evlet-0.2.0/frontend/src/evlet/tests/conformance.test.ts +0 -133
  378. evlet-0.2.0/frontend/src/evlet/tests/connections.test.ts +0 -209
  379. evlet-0.2.0/frontend/src/evlet/tests/controls-models.test.ts +0 -160
  380. evlet-0.2.0/frontend/src/evlet/tests/controls-system.test.ts +0 -160
  381. evlet-0.2.0/frontend/src/evlet/tests/controls.test.ts +0 -262
  382. evlet-0.2.0/frontend/src/evlet/tests/dom.test.ts +0 -288
  383. evlet-0.2.0/frontend/src/evlet/tests/finite-benchmark.test.ts +0 -34
  384. evlet-0.2.0/frontend/src/evlet/tests/finite-engine.test.ts +0 -277
  385. evlet-0.2.0/frontend/src/evlet/tests/finite-fixtures.json +0 -31368
  386. evlet-0.2.0/frontend/src/evlet/tests/format.test.ts +0 -62
  387. evlet-0.2.0/frontend/src/evlet/tests/link-titles.test.ts +0 -39
  388. evlet-0.2.0/frontend/src/evlet/tests/mailboxes.test.ts +0 -159
  389. evlet-0.2.0/frontend/src/evlet/tests/reactive.test.ts +0 -318
  390. evlet-0.2.0/frontend/src/evlet/tests/record-restore.test.ts +0 -51
  391. evlet-0.2.0/frontend/src/evlet/tests/record.test.ts +0 -318
  392. evlet-0.2.0/frontend/src/evlet/tests/review-dom.test.ts +0 -198
  393. evlet-0.2.0/frontend/src/evlet/tests/review-model.test.ts +0 -240
  394. evlet-0.2.0/frontend/src/evlet/tests/review-reactive.test.ts +0 -122
  395. evlet-0.2.0/frontend/src/evlet/tests/router.test.ts +0 -152
  396. evlet-0.2.0/frontend/src/evlet/tests/screens-document.test.ts +0 -320
  397. evlet-0.2.0/frontend/src/evlet/tests/screens-fixture.json +0 -4441
  398. evlet-0.2.0/frontend/src/evlet/tests/screens-helpers.ts +0 -84
  399. evlet-0.2.0/frontend/src/evlet/tests/screens-list.test.ts +0 -163
  400. evlet-0.2.0/frontend/src/evlet/tests/screens-palette.test.ts +0 -82
  401. evlet-0.2.0/frontend/src/evlet/tests/screens-record.test.ts +0 -189
  402. evlet-0.2.0/frontend/src/evlet/tests/screens-review.test.ts +0 -231
  403. evlet-0.2.0/frontend/src/evlet/tests/screens-settings.test.ts +0 -243
  404. evlet-0.2.0/frontend/src/evlet/tests/screens-shell.test.ts +0 -182
  405. evlet-0.2.0/frontend/src/evlet/tests/server.ts +0 -46
  406. evlet-0.2.0/frontend/src/evlet/tests/setup.ts +0 -19
  407. evlet-0.2.0/frontend/src/evlet/tests/testcrm-deal.test.ts +0 -308
  408. evlet-0.2.0/frontend/src/evlet/tests/testcrm-fixture.json +0 -1
  409. evlet-0.2.0/frontend/src/evlet/tests/testcrm-helpers.ts +0 -82
  410. evlet-0.2.0/frontend/src/evlet/tests/testcrm-list.test.ts +0 -92
  411. evlet-0.2.0/frontend/src/evlet/tests/ui-base.test.ts +0 -227
  412. evlet-0.2.0/frontend/src/evlet/tests/ui-childtable.test.ts +0 -241
  413. evlet-0.2.0/frontend/src/evlet/tests/ui-datatable.test.ts +0 -146
  414. evlet-0.2.0/frontend/src/evlet/tests/ui-doc.test.ts +0 -213
  415. evlet-0.2.0/frontend/src/evlet/tests/ui-fields.test.ts +0 -234
  416. evlet-0.2.0/frontend/src/evlet/tests/ui-helpers.ts +0 -84
  417. evlet-0.2.0/frontend/src/evlet/tests/ui-inline.test.ts +0 -99
  418. evlet-0.2.0/frontend/src/evlet/tests/ui-review.test.ts +0 -253
  419. evlet-0.2.0/frontend/src/evlet/ui/childtable.ts +0 -482
  420. evlet-0.2.0/frontend/src/evlet/ui/doc.ts +0 -164
  421. evlet-0.2.0/frontend/src/evlet/ui/fields.ts +0 -536
  422. evlet-0.2.0/frontend/vite.config.js +0 -10
  423. evlet-0.2.0/requirements-dev.lock +0 -222
  424. evlet-0.2.0/requirements-mcp.in +0 -2
  425. evlet-0.2.0/requirements-mcp.lock +0 -593
  426. evlet-0.2.0/requirements-postgres.lock +0 -77
  427. evlet-0.2.0/requirements-s3.lock +0 -16
  428. evlet-0.2.0/requirements-server.lock +0 -180
  429. evlet-0.2.0/scripts/benchmark.py +0 -180
  430. evlet-0.2.0/scripts/benchmark_finite.py +0 -55
  431. evlet-0.2.0/scripts/benchmark_lines.py +0 -128
  432. evlet-0.2.0/scripts/check_flat_package.py +0 -35
  433. evlet-0.2.0/scripts/check_package.py +0 -136
  434. evlet-0.2.0/scripts/generate_document_fixtures.py +0 -38
  435. evlet-0.2.0/scripts/generate_finite_fixtures.py +0 -16
  436. evlet-0.2.0/scripts/generate_testcrm_fixtures.py +0 -313
  437. evlet-0.2.0/scripts/generate_ui_fixtures.py +0 -83
  438. evlet-0.2.0/scripts/generate_ui_framework_fixtures.py +0 -464
  439. evlet-0.2.0/scripts/playground.sh +0 -160
  440. evlet-0.2.0/scripts/smoke.py +0 -106
  441. evlet-0.2.0/scripts/smoke_cli.py +0 -132
  442. evlet-0.2.0/scripts/smoke_finite.py +0 -73
  443. evlet-0.2.0/scripts/smoke_tenants.py +0 -210
  444. evlet-0.2.0/scripts/testcrm.py +0 -249
  445. evlet-0.2.0/scripts/testcrm.sh +0 -109
  446. evlet-0.2.0/tests/conftest.py +0 -16
  447. evlet-0.2.0/tests/finite_fixtures.py +0 -447
  448. evlet-0.2.0/tests/fixtures/document-contract.json +0 -474
  449. evlet-0.2.0/tests/fixtures/document-vectors.json +0 -13
  450. evlet-0.2.0/tests/fixtures/record-fixture.json +0 -60
  451. evlet-0.2.0/tests/fixtures/test-business-schema.json +0 -788
  452. evlet-0.2.0/tests/fixtures/test-schema.json +0 -535
  453. evlet-0.2.0/tests/fixtures/ui-fixture.json +0 -4204
  454. evlet-0.2.0/tests/test_api.py +0 -121
  455. evlet-0.2.0/tests/test_api_keys.py +0 -234
  456. evlet-0.2.0/tests/test_assistants.py +0 -522
  457. evlet-0.2.0/tests/test_async_tenants.py +0 -45
  458. evlet-0.2.0/tests/test_builds.py +0 -345
  459. evlet-0.2.0/tests/test_business.py +0 -357
  460. evlet-0.2.0/tests/test_business_regressions.py +0 -94
  461. evlet-0.2.0/tests/test_cli.py +0 -103
  462. evlet-0.2.0/tests/test_cli_lifecycle.py +0 -657
  463. evlet-0.2.0/tests/test_connector.py +0 -256
  464. evlet-0.2.0/tests/test_connector_hardening.py +0 -159
  465. evlet-0.2.0/tests/test_connectors.py +0 -375
  466. evlet-0.2.0/tests/test_controls.py +0 -601
  467. evlet-0.2.0/tests/test_controls_pages.py +0 -387
  468. evlet-0.2.0/tests/test_corrections.py +0 -572
  469. evlet-0.2.0/tests/test_current_user.py +0 -71
  470. evlet-0.2.0/tests/test_customization.py +0 -971
  471. evlet-0.2.0/tests/test_database.py +0 -100
  472. evlet-0.2.0/tests/test_declaration_errors.py +0 -40
  473. evlet-0.2.0/tests/test_deployment.py +0 -55
  474. evlet-0.2.0/tests/test_discovery.py +0 -86
  475. evlet-0.2.0/tests/test_document_boundaries.py +0 -482
  476. evlet-0.2.0/tests/test_documents.py +0 -143
  477. evlet-0.2.0/tests/test_effects.py +0 -1177
  478. evlet-0.2.0/tests/test_events.py +0 -89
  479. evlet-0.2.0/tests/test_finite_expressions.py +0 -1007
  480. evlet-0.2.0/tests/test_forms_services.py +0 -238
  481. evlet-0.2.0/tests/test_generation.py +0 -149
  482. evlet-0.2.0/tests/test_hardening.py +0 -71
  483. evlet-0.2.0/tests/test_hosts_realms.py +0 -582
  484. evlet-0.2.0/tests/test_input_regressions.py +0 -68
  485. evlet-0.2.0/tests/test_instance_lock.py +0 -45
  486. evlet-0.2.0/tests/test_jobs.py +0 -152
  487. evlet-0.2.0/tests/test_journal.py +0 -627
  488. evlet-0.2.0/tests/test_lines.py +0 -547
  489. evlet-0.2.0/tests/test_mailboxes.py +0 -963
  490. evlet-0.2.0/tests/test_mcp_sdk.py +0 -140
  491. evlet-0.2.0/tests/test_meaning.py +0 -487
  492. evlet-0.2.0/tests/test_measures.py +0 -648
  493. evlet-0.2.0/tests/test_migrations.py +0 -264
  494. evlet-0.2.0/tests/test_model_engine.py +0 -187
  495. evlet-0.2.0/tests/test_models.py +0 -93
  496. evlet-0.2.0/tests/test_move_values.py +0 -118
  497. evlet-0.2.0/tests/test_nested_documents.py +0 -642
  498. evlet-0.2.0/tests/test_object_storage.py +0 -117
  499. evlet-0.2.0/tests/test_postgres.py +0 -761
  500. evlet-0.2.0/tests/test_review_regressions.py +0 -251
  501. evlet-0.2.0/tests/test_revocation.py +0 -105
  502. evlet-0.2.0/tests/test_routing.py +0 -317
  503. evlet-0.2.0/tests/test_rules_types.py +0 -789
  504. evlet-0.2.0/tests/test_sequences.py +0 -615
  505. evlet-0.2.0/tests/test_serverless.py +0 -82
  506. evlet-0.2.0/tests/test_settings.py +0 -330
  507. evlet-0.2.0/tests/test_settings_security.py +0 -379
  508. evlet-0.2.0/tests/test_states.py +0 -891
  509. evlet-0.2.0/tests/test_storage.py +0 -136
  510. evlet-0.2.0/tests/test_tenancy.py +0 -259
  511. evlet-0.2.0/tests/test_testcrm.py +0 -420
  512. evlet-0.2.0/tests/test_ui.py +0 -411
  513. evlet-0.2.0/tests/test_ui_contracts.py +0 -66
  514. evlet-0.2.0/tests/test_unpost_repost.py +0 -543
  515. {evlet-0.2.0 → evlet-0.4.0}/LICENSE +0 -0
  516. {evlet-0.2.0 → evlet-0.4.0}/docs/tenancy-deployment.md +0 -0
  517. {evlet-0.2.0 → evlet-0.4.0}/evlet/__main__.py +0 -0
  518. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/connector.py +0 -0
  519. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/effects.py +0 -0
  520. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/journal.py +0 -0
  521. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/project.py +0 -0
  522. {evlet-0.2.0 → evlet-0.4.0}/evlet/cli/setup.py +0 -0
  523. {evlet-0.2.0 → evlet-0.4.0}/evlet/connector.py +0 -0
  524. {evlet-0.2.0 → evlet-0.4.0}/evlet/deployment.py +0 -0
  525. {evlet-0.2.0 → evlet-0.4.0}/evlet/expressions.py +0 -0
  526. {evlet-0.2.0 → evlet-0.4.0}/evlet/py.typed +0 -0
  527. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/__init__.py +0 -0
  528. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app/.gitignore.tpl +0 -0
  529. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app/__app__/__init__.py.tpl +0 -0
  530. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app/__app__/actions/__init__.py.tpl +0 -0
  531. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app/__app__/migrations/__init__.py.tpl +0 -0
  532. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app/__app__/models/__init__.py.tpl +0 -0
  533. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app/__app__/permissions.py.tpl +0 -0
  534. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app/tests/test_models.py.tpl +0 -0
  535. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app_flat/.gitignore.tpl +0 -0
  536. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app_flat/README.md.tpl +0 -0
  537. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app_flat/__init__.py.tpl +0 -0
  538. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app_flat/models/__init__.py.tpl +0 -0
  539. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app_flat/models/item.py.tpl +0 -0
  540. {evlet-0.2.0 → evlet-0.4.0}/evlet/resources/templates/app_flat/setup.py.tpl +0 -0
  541. {evlet-0.2.0 → evlet-0.4.0}/evlet/secrets.py +0 -0
  542. {evlet-0.2.0 → evlet-0.4.0}/evlet/serverless.py +0 -0
  543. {evlet-0.2.0 → evlet-0.4.0}/evlet/tenancy.py +0 -0
  544. {evlet-0.2.0 → evlet-0.4.0}/evlet/ui/static/assets/JetBrainsMono-Medium-3S3k2nMz.woff2 +0 -0
  545. {evlet-0.2.0 → evlet-0.4.0}/evlet/ui/static/assets/JetBrainsMono-OFL.txt +0 -0
  546. {evlet-0.2.0 → evlet-0.4.0}/evlet/ui/static/assets/JetBrainsMono-Regular-BQaDgvhP.woff2 +0 -0
  547. {evlet-0.2.0 → evlet-0.4.0}/evlet.egg-info/dependency_links.txt +0 -0
  548. {evlet-0.2.0 → evlet-0.4.0}/evlet.egg-info/entry_points.txt +0 -0
  549. {evlet-0.2.0 → evlet-0.4.0}/evlet.egg-info/top_level.txt +0 -0
  550. {evlet-0.2.0 → evlet-0.4.0}/examples/playground/manage.py +0 -0
  551. {evlet-0.2.0 → evlet-0.4.0}/examples/playground/portal/index.html +0 -0
  552. {evlet-0.2.0 → evlet-0.4.0}/examples/playground/portal/portal.css +0 -0
  553. {evlet-0.2.0 → evlet-0.4.0}/examples/playground/tenants.py +0 -0
  554. {evlet-0.2.0 → evlet-0.4.0}/examples/playground/worker.py +0 -0
  555. {evlet-0.2.0 → evlet-0.4.0}/frontend/.node-version +0 -0
  556. {evlet-0.2.0 → evlet-0.4.0}/frontend/.npmrc +0 -0
  557. {evlet-0.2.0 → evlet-0.4.0}/frontend/fonts/JetBrainsMono-Medium.woff2 +0 -0
  558. {evlet-0.2.0 → evlet-0.4.0}/frontend/fonts/JetBrainsMono-OFL.txt +0 -0
  559. {evlet-0.2.0 → evlet-0.4.0}/frontend/fonts/JetBrainsMono-Regular.woff2 +0 -0
  560. {evlet-0.2.0 → evlet-0.4.0}/frontend/package-lock.json +0 -0
  561. {evlet-0.2.0 → evlet-0.4.0}/frontend/package.json +0 -0
  562. {evlet-0.2.0 → evlet-0.4.0}/frontend/scripts/bench-ui.mjs +0 -0
  563. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/app/main.ts +0 -0
  564. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/connections.ts +0 -0
  565. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/controls/keys.ts +0 -0
  566. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/dom.ts +0 -0
  567. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/reactive.ts +0 -0
  568. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/settings/consent.ts +0 -0
  569. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/settings/email.ts +0 -0
  570. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/settings/keys.ts +0 -0
  571. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/explain.ts +0 -0
  572. {evlet-0.2.0 → evlet-0.4.0}/frontend/src/evlet/ui/tooltip.ts +0 -0
  573. {evlet-0.2.0 → evlet-0.4.0}/frontend/tsconfig.json +0 -0
  574. {evlet-0.2.0 → evlet-0.4.0}/setup.cfg +0 -0
@@ -0,0 +1,728 @@
1
+ # Changelog
2
+
3
+ Evlet is pre-1.0 and not production ready. From 0.3, a public name or argument that is
4
+ removed or changed keeps working with a `DeprecationWarning` for at least one minor release
5
+ first ([docs/api-stability.md](docs/api-stability.md)). The notes below say what to change.
6
+
7
+ ## 0.4.0 (10-11-2026)
8
+
9
+ This release adds decimal places per currency with money stored at 6 places, the compact record page
10
+ without tabs, child table tools and section rows, image fields, derived values, ledger models,
11
+ workspaces, list tabs and `evlet setup` in one go. It removes the Python page API and native panels,
12
+ which the browser never used. It covers #120 to #159. Evlet is still not production ready.
13
+
14
+ ### Upgrading
15
+
16
+ - **Run `evlet migrate` for each instance before you serve it.** An instance migrated with 0.3.0
17
+ refuses to serve until you do. Stop the server first. It backs up the database, then runs the new
18
+ framework steps `0006_fixed_ids` (a trigger on every model table that refuses an id change) and
19
+ `0007_money_scale` (every stored Currency amount moves to 6 places, exactly), then the app
20
+ migrations ([docs/app-upgrades.md](docs/app-upgrades.md#upgrade-evlet)).
21
+ - **Apps must allow Evlet 0.4.** Change an app's dependency from `evlet>=0.3.0,<0.4` to
22
+ `evlet>=0.4.0,<0.5`. New apps get this by default.
23
+ - Then work through the Breaking list below. [docs/app-upgrades.md](docs/app-upgrades.md#from-03-to-04)
24
+ has the same steps as a checklist.
25
+
26
+ ### Breaking
27
+
28
+ - **Record pages have no tabs.** `Tab`, `Meta.tabs` and `Meta.default_tab` are removed. They are
29
+ removed without the usual deprecation period, by decision of the project owner, because no apps
30
+ built on Evlet have been released yet. Using them fails when the model is defined, with a message
31
+ that points to `Main` and `Section`. Lay a record out with `Main(fields, *tables)` first in
32
+ `Meta.layout` and `Section(...)` and the other blocks after it. A model without `Meta.layout` puts
33
+ every field in the primary area, in declaration order, followed by its Tables; a layout of
34
+ sections only uses its first section as the primary area and the others as "more information".
35
+ Activity moves to the side column (a drawer in a narrow window); Revisions, Related and Postings
36
+ are rows of "more information". The record address no longer takes `?tab=`, and a list's side
37
+ panel no longer writes `?rtab=`. `record_layout` in `/api/schema` is `{"blocks": [...]}` only, with
38
+ no `compact` key. Controls layouts no longer take a record tab order; one saved before keeps its
39
+ sections and panel. The side panel's narrow child rows (`ChildRows`), the Key fields and Related
40
+ side blocks, sticky record tabs and `keepTabPlace` are gone.
41
+ - **Currency amounts are stored at 6 places.** After `evlet migrate`, values still read and travel
42
+ as before (`"12.50"`), applied migration checksums and saved calculation versions do not change,
43
+ and the largest Currency amount is 9,223,372,036,854.775807. A `Currency` field's schema `scale` is
44
+ now 6, the storage scale: format from `currency_decimals` instead. Apps started outside an instance
45
+ move on startup or in `database.migrate()`. Code that rounded money with `quantize(Decimal("0.01"))`
46
+ or `round(x, 2)` should use `round_money(value, code)` so KWD and JPY amounts are right.
47
+ - **Writes refuse amounts with more places than their currency.** For example "Use at most 3 decimal
48
+ places for KWD". Nothing is rounded silently (see Decimal places per currency below).
49
+ - **The list board is opt-in.** A list offers the Board view only when `Meta.board` names its State
50
+ field, such as `board = "stage"`. Apps that relied on the automatic board for every model with a
51
+ State must set it. An old `?view=board` link opens the table. `Meta.board` on any other field fails
52
+ registration, naming the model.
53
+ - **Python pages are gone.** The Python page API in `evlet.ui` (`PageView`, `ListView`, `FormView`,
54
+ `Column`, `ViewRegistry`, the compiler, component contracts and page expressions) and the
55
+ `GET /api/ui` and `GET /api/ui/resolve` routes are removed. Delete those definitions and shape the
56
+ generated screens with `Model.Meta` (`layout`, `list_fields`, `open_in`, `panel`). An
57
+ `AppDefinition` may still pass `views=()`; a non-empty `views` or a `ui` registry is refused at
58
+ start-up. `Application` and `App` no longer take `views` or `ui`. Clients that called `/api/ui`
59
+ read `/api/schema` instead. The Playground's Projects demo and Layouts pages go with it.
60
+ - **Native panels are gone.** Remove `.ts` and `.js` modules from an app's `views/` folder and the
61
+ matching `package-data` line from its `pyproject.toml`. `native_panels` in `/api/schema` and
62
+ `/assets/apps/...` are removed, and a build no longer runs Node for them.
63
+ - **`evlet new` is gone.** Use `evlet setup myproject --app notes --instance acme --dev`. The nested
64
+ app layout and `evlet app <name> --legacy` stay.
65
+ - **`evlet.metadata` is gone.** `field_schema`, `label_for`, `ui_schema` and `view_for` live in
66
+ `evlet.ui.metadata`, which is internal ([docs/api-stability.md](docs/api-stability.md#internal)).
67
+ - **`evlet.calc.Document` loses `observe`, `observe_table`, `observe_rules`, `subscriptions`,
68
+ `explain` and `dispose`.** The server settles a document once and reads its snapshot; the browser
69
+ engine keeps all of them.
70
+ - **A caller-supplied record `id` is refused** on every create and update path with
71
+ `ValidationError({'id': ...})`, and HTTP POST and PATCH answer 422 on `id` instead of 403 (see
72
+ Fixed ids below).
73
+
74
+ ### Added
75
+
76
+ - **Decimal places per currency.** Each currency code has 0 to 6 places: ISO 4217 by default (AED 2,
77
+ KWD 3, JPY 0), changed or added by an admin in Controls, Currencies (for example a client's own
78
+ unit with 5). Finite and legacy formulas, table sums and totals round to the currency each row
79
+ resolves through its currency source, and print, CSV and every screen show exactly those places.
80
+ Trusted code uses `currency_decimals(code)`, `round_money(value, code)` (half up) and
81
+ `currency_unit(code)` instead of hard-coding 2. An app with its own currency list writes it to the
82
+ framework with `set_currency_decimals(app, {...})`. Money kept in `Decimal(scale=4)` moves to
83
+ `Currency` with `AlterField`, exactly. Lowering a code's places is refused (409) while stored
84
+ amounts would lose digits; `round_stored_money(app, code, places, actor=...)` is the explicit step
85
+ that rounds them. `/api/schema` sends `currency_decimals`. When a saved record was calculated with
86
+ older formulas, the browser asks for a recalculation instead of saying someone else changed it.
87
+ The Playground adds a KWD customer and a 5-place unit
88
+ ([docs/model-engine.md](docs/model-engine.md#decimal-places-per-currency)).
89
+ - **Currency display per site.** Controls, Currencies sets how each code is shown: a text symbol
90
+ (`$`, `€`, `د.إ`) or a small PNG or WebP image (at most 32 KB and 128 x 128 pixels, SVG refused),
91
+ before or after the amount, with or without a space. It applies to forms, lists, boards, totals,
92
+ measures, reports and print designs. Only admins change it, and every change is audited.
93
+ `/api/schema` sends `currency_display`, and trusted code can use `set_currency_display(app, {...})`.
94
+ Report CSV names a currency column's code in its header, `Total (AED)`
95
+ ([docs/controls.md](docs/controls.md#currencies)).
96
+ - **The compact record page.** `Main(fields, *tables)` as the first block of `Meta.layout` is the
97
+ primary area, with no heading; every block after it is "more information", shown as rows with a
98
+ one-line summary while closed. `Meta.cards` names up to five derived values (fields with
99
+ `compute=`, `fetch=` or `query=`, and per-record measures) drawn as number cards above the record.
100
+ `Section(..., description=...)` adds a line under a section's title. The side column holds
101
+ Attachments, Activity and Record info. All of it is checked when the registry is built, and
102
+ `/api/schema` sends `cards` (cut per role) and `description`
103
+ ([docs/ui.md](docs/ui.md#compact-record-page)).
104
+ - **Record layout blocks.** Besides `Main` and `Section`, `Meta.layout` takes `Table` field names,
105
+ `Related(model, link=None, filters=..., fields=..., limit=..., order=..., label=...)` lists of
106
+ related records, `Html(...)` text with `{field}` values, and `Chart('stat' | 'bar' | 'line', ...)`
107
+ blocks over a related model's declared measures. Filters use the list syntax, and `Ref('field')`
108
+ compares with a field of the record. Related rows and charts come from the list and aggregate
109
+ routes, so row scopes and field permissions apply. Html keeps to the rich text allowlist and
110
+ inserts record values as text only. Controls, Export as code writes the full `Meta.layout`
111
+ ([docs/ui.md](docs/ui.md#record-layouts)).
112
+ - **Child table tools, row editor and section rows.** A record's table has Focus and Columns buttons.
113
+ A row's Edit opens the row editor in focus view: the rows as a list beside one form for the row,
114
+ with previous and next, Delete line, Insert below and Done. `Table(..., sections=True)` lets a
115
+ Table hold section rows, headings such as "Goods" that group the rows below them, each with its own
116
+ sums. Iterating `self.lines` still yields only real rows, so existing app code is unchanged;
117
+ `self.lines.sections()` gives `(label, rows)` pairs. The existing routes create, rename, move and
118
+ delete section rows with the same checks as rows. They are stored in `evlet_sections`, so turning
119
+ them on needs no migration. Print, the Journal and revisions include them
120
+ ([docs/model-engine.md](docs/model-engine.md#section-rows)).
121
+ - **Image fields: `Image()` and `Meta.image`.** A field holds an image, such as an item photo, as a
122
+ private attachment of the record: PNG, JPEG, GIF or WebP checked by their bytes (SVG refused), up to
123
+ Controls `files.image_max_kb`. A person who cannot read the field cannot load the image.
124
+ `Meta.image` names the record's avatar, shown left of the title. Add one with
125
+ `AddField(model, name, Image())` ([docs/model-engine.md](docs/model-engine.md#image-fields)).
126
+ - **Derived values: `derive()` and `Meta.derives`.** A document builds stored values that formulas
127
+ cannot express, such as rows built from a linked record, or a field on each row of a Table. It runs
128
+ on every write and preview, before calculations. The fields and Tables it sets are refused to
129
+ callers (`DERIVED_FIELD_WRITE`, 422) and marked `read_only` in `/api/schema`. `validate()` stays for
130
+ checks only ([docs/model-engine.md](docs/model-engine.md#derived-values)).
131
+ - **Closing checks: `before_close(self, to)`.** One read-only hook that runs before a move into a
132
+ final state, a void, a cancel and a delete, on every surface, and refuses with a `ValidationError`
133
+ before anything is written
134
+ ([docs/states-actions.md](docs/states-actions.md#before-a-record-closes)).
135
+ - **Cancelled states: `State(..., cancelled=...)`.** Names the final states that mean a record was
136
+ called off. On a voidable State, `"void"` counts without being listed. Lists and boards strike
137
+ cancelled records through, and the record shows when, who and why. Locked or final states show a
138
+ lock, and the starting state a Draft pill
139
+ ([docs/states-actions.md](docs/states-actions.md#cancelled-states)).
140
+ - **`self.context.session` in run methods and actions.** A Move's `run` method and an `@action`
141
+ handler can write other rows, such as ledger rows, in their own transaction, with `tx.lock`,
142
+ `tx.insert_many`, `tx.reserve_ids` and `tx.aggregate`. Everything commits or rolls back together.
143
+ It is open only while the handler runs; every other context refuses it with `AccessError` (403)
144
+ ([docs/states-actions.md](docs/states-actions.md#the-transaction-session-in-run-methods-and-actions)).
145
+ - **Ledger models.** `Meta.ledger = True` stores a model lean: a database-assigned integer id and the
146
+ declared columns only, with no public surface. Options are `append_only`, `journal`, `timestamps`,
147
+ `indexes` and `period`. An append-only table refuses `UPDATE` and `DELETE` with `ConflictError` on
148
+ SQLite and PostgreSQL. `tx.insert_many(model, rows)` inserts rows with one prepared statement, and
149
+ `tx.reserve_ids(model, count)` reserves ids so rows of one batch can link to each other. New
150
+ migration `SetAppendOnly`, and `evlet ledger list --instance NAME`
151
+ ([docs/ledger.md](docs/ledger.md)).
152
+ - **Fixed ids.** Only Evlet makes record ids, and ids never change. Every model table gets a database
153
+ trigger that refuses an id change (framework step `0006_fixed_ids`). `evlet ids check INSTANCE`
154
+ reports rows with an empty, zero or negative id and tables without the trigger; it never rewrites
155
+ ids ([docs/model-engine.md](docs/model-engine.md#only-evlet-makes-ids)).
156
+ - **Composite and unique indexes on every model.** `Meta.indexes`, such as
157
+ `[(("station", "on_date", "kind"), {"unique": True}), ("on_date",)]`. A write that breaks a unique
158
+ entry raises `ValidationError` (HTTP 422). `AddIndex(table, ("a", "b"), unique=True)` adds one
159
+ ([docs/model-engine.md](docs/model-engine.md#composite-and-unique-indexes)).
160
+ - **Transaction locks.** `tx.lock(*keys, timeout=None)` holds named locks on business keys until the
161
+ transaction ends. A wait past `timeout` raises the new `LockTimeout`.
162
+ - **`tx.aggregate(...)`, paged aggregates and long `in` lists.** The transaction session runs the same
163
+ aggregates as `database.aggregate` and sees its own writes. Both take `limit` and `after` to walk
164
+ any number of groups a page at a time. Trusted session queries take `in` and `nin` lists of up to
165
+ 30,000 values. HTTP, `Context`, Eva, tools, MCP and the connector keep their limits
166
+ ([docs/measures.md](docs/measures.md#paging-through-many-groups)).
167
+ - **Progress for long jobs.** A job handler reports `context.progress(done, total, message)`.
168
+ `Task(..., resumable=True)` runs a long job in steps, each in its own transaction, and resumes from
169
+ the last committed checkpoint. Controls, Jobs and `GET /api/_jobs/<id>` show progress, and
170
+ `evlet jobs list --instance NAME` prints it
171
+ ([docs/jobs-realtime.md](docs/jobs-realtime.md#progress-and-long-jobs)).
172
+ - **Workspaces.** `Workspace`, `NavGroup` and `Shortcut` declare named sidebars of models and
173
+ shortcuts to a filtered list or board, a report, a slip or an address, in an app's `workspaces.py`
174
+ or through `Application(workspaces=...)`. `/api/schema` has `workspaces`, with only the items each
175
+ role can open. Admins, and roles with the new Controls access "Customize workspaces", can reorder,
176
+ hide, rename and add items and workspaces per site; overrides never widen access.
177
+ `GET /api/_settings/me` reports `customize_workspaces`
178
+ ([docs/ui.md](docs/ui.md#workspaces), [docs/controls.md](docs/controls.md#workspaces)).
179
+ - **List tabs.** `Meta.list_tabs` names the State, Select or Link field whose values are the list's
180
+ tabs, and `Meta.list_tab` the tab it opens on. `list_tabs = None` turns them off. Counts come from
181
+ `GET /api/{model}/list_tabs`, under the list's filters and row scope. Controls sets both per
182
+ instance ([docs/ui.md](docs/ui.md#list-tabs)).
183
+ - **`evlet setup` in one go.** `evlet setup myproject --app notes,crm --instance acme --dev` creates
184
+ the project, apps and instance, installs the apps and starts `evlet dev`. `--get` fetches apps
185
+ from Git, `--trust` answers the trust questions, and `--host erp.example.com` prepares a server
186
+ install with a Caddy site and a systemd unit under `deploy/` (`--apply` runs the steps). Running the
187
+ same command again skips finished steps ([docs/cli.md](docs/cli.md#setup-in-one-go)).
188
+ - **Smaller model options.** `Integer(grouping=False)` shows a number without thousands separators.
189
+ `Naming(..., label="Project number")` labels the standard `name` field. `Meta.focus` (and `focus`
190
+ on a `Slip`) names the field a new form starts in. `Meta.duplicate = False` hides Duplicate, and
191
+ `copy=False` on a field or `Table` keeps it out of a duplicate. `Meta.summary = False` leaves out
192
+ the summary strip, `Meta.side_blocks` keeps attachments (`files`) or the automatic Related row (`related`), and `Meta.panel_summary = False`
193
+ leaves the cards out of a list's side panel. Measures take `trend=` and `color=`. Reports say
194
+ `source_kind`. All are checked when the registry is built.
195
+ - **Choose what a list's side panel shows.** `panel=False` on a field, `Section` or `Table` keeps it
196
+ on the full page only, and `Meta.panel` names the only parts the panel keeps, in order. Controls,
197
+ Form layout sets the same per instance. It is display only
198
+ ([docs/ui.md](docs/ui.md#what-a-side-panel-shows)).
199
+ - **In the browser:** saved filters on lists, removing a file from a record, More > Copy record ID,
200
+ Change password from the account menu, a history button for recent records, a notification
201
+ centre behind the bell, and a link from Controls back to the app.
202
+
203
+ ### Changed
204
+
205
+ - **Controls, Export as code writes code that works.** It writes `Meta` options on the model's class
206
+ (`layout`, `list_fields`, `open_in`, `list_tabs`, `list_tab`) instead of `FormView` and `ListView`
207
+ code the browser ignored.
208
+ - **Sign-in lands on the first list, not Docs.** After sign-in, and at any address that matches no
209
+ route, the app opens the start page saved in Settings, else the first list the role can open.
210
+ - **Aggregate filters on row-scoped Links.** `GET /api/{model}/aggregate` allows an `eq` or `in`
211
+ filter on a Link to a row-scoped model when every id is a record the caller can read
212
+ ([docs/measures.md](docs/measures.md#permissions)).
213
+ - **`Related` and `Chart` take more arguments.** Existing calls are unchanged.
214
+ - **The record page shows each fact once.** Key fields show in the header, and the summary strip
215
+ holds only calculated values and measures the header does not show. Record info no longer shows
216
+ the record id.
217
+ - **Related records load when shown, five at a time,** with a small pager and View all.
218
+ - **Lists run flush to the main area,** and the filter panel docks beside the table as a side
219
+ panel.
220
+ - **Controls Jobs lists the jobs on the left** and shows the chosen job's schedules and runs on the
221
+ right. Only the Controls nav list scrolls.
222
+ - **Focus rings.** The note composer shows one focus ring, matching rich text fields.
223
+
224
+ ### Fixed
225
+
226
+ - **Field read checks on chained formulas** walked every path again for each formula that read
227
+ another one, so a dozen chained formulas made requests hang. Each answer is now kept per role and
228
+ model.
229
+ - **Percent in string formulas.** `compute="price * discount / 100"` with a `Percent` field failed
230
+ at registration. Percent is now a number there
231
+ ([docs/amendment-v2.md](docs/amendment-v2.md)).
232
+ - **Virtual values in record responses.** `stored=False` results were missing from
233
+ `GET /api/{model}/{id}`, the create and update responses and `/lines/` pages, so the browser showed
234
+ "Not set". They are now calculated from the saved values, under the same field read checks.
235
+ - **Field locks on create.** `locked_when` was judged against the values being created. A new record
236
+ and a new row have nothing locked now; the lock applies from the next write
237
+ ([docs/finite-calculations.md](docs/finite-calculations.md#field-rules)).
238
+ - **Money measures in the right currency.** A sum of a Currency field whose currency comes from the
239
+ record was shown in the default currency. The measures and aggregate routes now return
240
+ `currencies`, and the summaries and charts use it
241
+ ([docs/measures.md](docs/measures.md#currencies)).
242
+ - **Hourly image purge.** The `evlet_image_purge` task failed on every run. Held images and
243
+ unreferenced private files are now cleaned up hourly.
244
+ - **Rich text images in documents.** Saving a document now links the held images its rich text uses
245
+ and deletes the ones it no longer uses. Before, new images were purged after a day.
246
+ - **Records with text ids.** Record pages such as `/app/<model>/01hff1w8vgqwf` are served with 200
247
+ instead of 404, and their move and action buttons show again
248
+ ([docs/routing.md](docs/routing.md)).
249
+ - **A read-only child table stays read only in the row editor** on a locked or cancelled record, or
250
+ without write access.
251
+ - More > Reset layout puts collapsible sections back to their starting state at once.
252
+
253
+ ## 0.3.0 (05-11-2026)
254
+
255
+ This release adds rich text with images and mentions, unsaved changes that survive leaving a
256
+ record, record names, titles and times, period locks, `Meta.api`, reports and print designs, and
257
+ framework migrations through `evlet migrate`. It covers #66 to #118. Evlet is still not
258
+ production ready. The calendar engine, notifications and approval workflows are planned for 0.4.0.
259
+
260
+ ### Upgrade notes
261
+
262
+ - **Run `evlet migrate` for each instance.** An instance migrated with 0.2.0 refuses to serve
263
+ until you do. It backs up the database, then runs the framework migrations in order:
264
+ `0001_startup_tables`, `0002_tool_calls`, `0003_record_names`, `0004_record_times` and
265
+ `0005_unsaved_changes`. Stop the server first. Migrations never run from the browser
266
+ ([docs/app-upgrades.md](docs/app-upgrades.md#upgrade-evlet)).
267
+ - **Apps must allow Evlet 0.3.** Change an app's dependency from `evlet>=0.2.0,<0.3` to
268
+ `evlet>=0.3.0,<0.4`. New apps get this by default.
269
+ - **Record ids are text outside the database.** Clients read ids as 13-character strings and
270
+ build URLs from them; a decimal id in an API path is now a 404. Existing rows keep their ids.
271
+ - **Every record has `name` and `title`.** An app model that declares its own `name` field is
272
+ refused; rename it in an app migration before `evlet migrate` (see Changed).
273
+ - **`State` now shows as a badge by default.** A record's state is a coloured badge in the
274
+ header, with its moves as buttons. Add `show="bar"` to a State that is a real pipeline (draft,
275
+ submitted, approved) to keep the stage bar, or `show="none"` to hide it.
276
+ - **`Meta.api`.** Nothing changes for existing models (`"full"` is the default). Use `"read"` for
277
+ a model that only trusted Python may write, such as a ledger, and `None` for a model callers
278
+ must not reach. A Link from a reachable model to an `api = None` model must be `hidden=True`.
279
+ - **Period locks.** Opt in with `Meta.period = "<date field>"`. Once an admin sets a lock date
280
+ in Controls, Periods, records dated on or before it refuse every write, from HTTP and trusted
281
+ Python alike. Data migrations and repairs that must write there use
282
+ `session.unlocked_periods(reason)`, which is logged and audited.
283
+ - **`evlet dev` creates the first admin.** On an instance with no accounts it creates an active
284
+ admin with a random password and prints a one-time sign-in link. Pass `--no-link` to skip it.
285
+ `evlet serve`, tenants and deployments never create accounts. Use
286
+ `evlet users set-password <instance> <username>` to set a real password.
287
+ - **Rich text is sanitised on the server.** Every `RichText` write keeps only the allowed tags
288
+ and attributes; scripts, event handlers, `style`, `id`, other classes and `javascript:` or `data:`
289
+ URLs are removed, and links keep only `http`, `https` and `mailto`. `max_length` (20,000 by
290
+ default) counts the plain text. Code that writes HTML from Python gets the sanitised form back.
291
+ - **Unsaved changes have limits.** Edits left on a saved record are kept on the server for 30
292
+ days, 200 entries per person, and 256 KB per entry; unsaved new records stay in the browser
293
+ for 7 days, 20 per person. A larger entry stays only in the open tab. Admins change these in
294
+ Controls (`unsaved.*`). Set `Meta.autosave = False` on a model that should keep the leave
295
+ prompt instead.
296
+ - **Smaller changes that can break a client or an app.** A report filter field named `group`,
297
+ `model`, `sortable`, `chart`, `export` or `group_by` must be renamed. Link filter errors have
298
+ new text (still a 422 field error). In `/api/schema` a Currency field's code field moved from
299
+ `currency` to `currency_source`. Filters take only the operators of their field kind, up to 50
300
+ conditions, and filtering on a field the role cannot read is a 403.
301
+
302
+ ### Added
303
+
304
+
305
+ - **`Meta.status` and `Select(colors=...)`.** `Meta.status = "<field>"` names a visible Select or
306
+ State shown as the record's status badge and as a badge in lists, for a status the system sets
307
+ (never a button). `colors` maps choices to `blue`, `green`, `amber`, `rose`, `violet`, `teal` or
308
+ `slate`. A legacy string formula may now calculate a Select. The schema adds `status` on the model
309
+ (for roles that can read the field) and `colors` on the field. The Playground invoice shows a
310
+ calculated payment status (Unpaid, Partly paid, Paid) from a new `amount_paid` field; migration
311
+ `0012_invoice_payment_status` adds both columns. Because the invoice now has a calculated field,
312
+ an update to a Playground invoice sends `If-Match` with its ETag, as every calculated document does.
313
+ Badge colours are display only: changing `colors` needs no migration.
314
+ - **Unsaved changes are kept when you leave a record, and the record is never written.** Leaving
315
+ a saved record with unsaved edits keeps the edited fields in the new framework table
316
+ `evlet_unsaved` (framework migration `0005_unsaved_changes`, so run `evlet migrate`), and the
317
+ next visit offers Restore or Discard, with a per-field choice when the record changed in the
318
+ meantime. Unsaved new records stay in the browser. Only Save writes the record, so no validator,
319
+ event, number or history runs on leave. New routes `GET /api/_unsaved` and
320
+ `GET/PUT/DELETE /api/_unsaved/<model>/<id>` (signed-in sessions only, own entries only), and
321
+ Controls `GET /api/_controls/unsaved` and `POST /api/_controls/unsaved/clear` (counts only).
322
+ New instance settings `unsaved.server_days`, `unsaved.server_entries`, `unsaved.browser_days`,
323
+ `unsaved.browser_entries` and `unsaved.entry_kb`, the framework schedule `evlet_unsaved_purge`,
324
+ the personal setting `keep_unsaved`, and `Meta.autosave` (`True` by default; `False` keeps the
325
+ leave prompt), which `/api/schema` shows as `autosave`. What to change: nothing, unless a model
326
+ should keep the leave prompt; then set `Meta.autosave = False`. Database tools that list
327
+ framework tables see one more ([docs/ui.md](docs/ui.md#unsaved-changes)).
328
+ - **Mentions in the activity composer, and a Mentions inbox.** Notes on a record are written with
329
+ the rich text editor; `@` opens a picker of active people, warning when someone can't open the
330
+ record. Journal `note` and `message` entries take `html` (sanitised, mentions kept) beside `text`.
331
+ Mentioned people get a row in the new per-user inbox (`evlet_inbox`, `/api/_inbox`), shown under
332
+ the bell in the top bar with a live unread count, and an email when their notification preferences
333
+ ask for one. Someone who can't open the record learns only that they were mentioned
334
+ ([docs/journal.md](docs/journal.md#mentions)).
335
+ - **Images in rich text.** Paste, drop or upload a PNG, JPEG, GIF or WebP image straight into a
336
+ `RichText` field; SVG is refused. The browser shrinks it to 2,000 px and re-encodes it before
337
+ upload. Images are private attachments of the record, stored in the HTML by id only and served
338
+ through the record's permission-checked download route; an unsaved record's images are held for
339
+ the person for a day and linked on save, and removing an image from the text deletes it on save.
340
+ New Controls settings `files.image_max_kb` and `files.images_per_record` set their limits apart
341
+ from file attachments. Print Design embeds them and record emails send them inline
342
+ ([docs/business-capabilities.md](docs/business-capabilities.md#images-in-rich-text)).
343
+ - **`RichText` fields and Evlet's own rich text editor.** `RichText(max_length=20000)` stores
344
+ formatted text as an HTML subset: paragraphs, headings 2 and 3, bulleted, numbered and check lists
345
+ nested up to three levels, quotes, code blocks, dividers, bold, italic, underline, strike, inline
346
+ code, line breaks and http, https and mailto links. The server sanitises every write with a
347
+ standard-library allowlist parser (`evlet/richtext.py`) and stores the plain text beside it in
348
+ `<name>_text` for search, filters (`contains`, `icontains`, `nicontains`, `isnull`) and list cells.
349
+ The browser edits it in a new editor with no dependencies (`frontend/src/evlet/richtext/`):
350
+ `beforeinput` handling, IME and phone keyboards, its own undo, Markdown-style shortcuts, cleaned
351
+ paste from Word, Outlook, Google Docs and web pages, a keyboard-reachable toolbar, a floating
352
+ selection toolbar and a phone toolbar above the keyboard. Print Design prints it formatted. The
353
+ Playground's projects gain a Brief (migration `0011_project_brief`). Nothing to change for
354
+ existing models ([docs/model-engine.md](docs/model-engine.md),
355
+ [docs/ui-framework.md](docs/ui-framework.md#rich-text)).
356
+ - **Field order, record tabs and Enter to move on.** `Section(..., flow="columns")` lists a
357
+ section's fields down the left column, then the right (full-width fields break the run); the DOM
358
+ and Tab follow the same order. `Meta.tabs` and `Meta.default_tab` order the record page's tabs and
359
+ choose the one it opens on, validated at registration. The schema adds `flow` per layout entry and
360
+ `tabs` and `default_tab` per model (additive). The Controls form layout gets Fields go, drag to
361
+ reorder fields and sections (mouse, touch and keyboard, with announcements) and a Record tabs card;
362
+ a layout with a tab order is saved as `{"sections", "tabs", "default_tab"}`, and plain lists load as
363
+ before. Tab skips read-only and calculated values. A new Appearance setting, "Enter moves to the
364
+ next field" (`enter_next`, off by default), speeds up data entry. The Playground's Customer uses
365
+ `flow="columns"` and Project sets `Meta.tabs`.
366
+ - **Collapsible form sections.** `evlet.Section(title, fields, *, collapsible=True, collapsed=False)`
367
+ in `Model.Meta.layout` is a section people can open and close; `collapsed` is `False` (open),
368
+ `True` (closed) or `'empty'` (closed when every field is empty on an existing record). Plain
369
+ `('Title', fields)` groups still work and always show. Each UI schema layout entry gains
370
+ `collapsible` and `collapsed` (additive). The Controls form layout gets Can collapse and Starts
371
+ per section, stored as optional `collapsible` and `collapsed`; older saved layouts load as before.
372
+ Record pages remember each person's choice per model, with Reset layout in the More menu; on phones
373
+ sections after the first start closed. Migration checksums do not change. The Playground's Project
374
+ shows all three starting states, so its Planning group is split into Planning and Schedule
375
+ ([docs/business-capabilities.md](docs/business-capabilities.md#collapsible-sections)).
376
+ - **Created and last modified on every record.** Every model table gains four framework columns,
377
+ `evlet_created_at`, `evlet_created_by`, `evlet_modified_at` and `evlet_modified_by` (UTC times and
378
+ user ids), filled in the same statement as every write: the record routes, the document pipeline,
379
+ actions, moves, effects, void, unpost, repost and revise, `business.context(user)` and raw sessions
380
+ (as the engine, or `session.actor`). Record details carry them as `_audit`, outside the ETag, with
381
+ who as `{"id", "name"}` (null for the engine and for portal roles). The record page's Record info
382
+ shows "Created 2 hours ago · Aslam" and "Last modified", with the exact time on hover and a click to
383
+ switch to exact times, remembered per person; the Activity tab's times are relative too. A new
384
+ browser component, `RelativeTime`, shares one minute clock that pauses in a hidden tab
385
+ ([docs/model-engine.md](docs/model-engine.md#record-times), [docs/ui-framework.md](docs/ui-framework.md#relative-times)).
386
+ What to change: run `evlet migrate`; framework migration `0004_record_times` adds the columns and
387
+ fills them from the Journal, or from the time in the record id. A model may not declare a field with
388
+ one of these names. Fixture scripts that need stable output wrap generation in
389
+ `evlet.audit.fixed_times()`, as they do with `sequential_ids()`.
390
+ - **Period locks.** `Meta.period = "posting_date"` (and optionally `Meta.period_scope`) dates a
391
+ model; admins set lock dates in Controls, Periods, with an audit trail. Records dated on or before
392
+ a lock refuse every create, change, delete, move, correction and effect row, from HTTP and trusted
393
+ Python alike, with `{"posting_date": "This date is in a closed period (locked up to 31-03-2026)"}`.
394
+ `Session.unlocked_periods(reason)` and `Context.unlocked_periods(reason)` open them for a migration
395
+ or repair, logged and audited. Mirror rows of a void or unpost in a closed period move to the first
396
+ open date ([docs/model-engine.md](docs/model-engine.md#closed-periods),
397
+ [docs/effects.md](docs/effects.md#closed-periods)). The Playground's ledger entries
398
+ (`LedgerEntry`, `api = "read"`, written by Post to ledger, totalled by the Ledger balances report) and invoices show both; migration
399
+ `0009_ledger` adds the table.
400
+ - **`Meta.api` sets how much HTTP surface a model gets.** `"full"` is the default and changes
401
+ nothing. `"read"` lets callers (HTTP, MCP, Eva, the connector) read the model but write it in no
402
+ way, for any role and whatever Controls overrides say; only trusted Python (sessions, actions,
403
+ moves, services, jobs) writes it, so a posting function can be the only way into a ledger.
404
+ `None` gives the model no surface: its routes answer 404 and it is left out of the schema,
405
+ Discovery, Controls and the tool lists. A Link from a model callers reach to an `api = None`
406
+ model must be `hidden=True` ([docs/model-engine.md](docs/model-engine.md#how-much-of-a-model-callers-reach)).
407
+ A Python report may read an `api = None` model; its own `roles` decide who sees what it returns
408
+ ([docs/reports.md](docs/reports.md#models-callers-cannot-reach)).
409
+ Nothing to change for existing models. The schema adds `"api": "read"` on read-only models.
410
+ - **`evlet dev` creates the first admin.** On an instance with no accounts, `evlet dev` creates an
411
+ active admin (`admin`, or `--user NAME`) with a random password that is never shown and prints a
412
+ one-time sign-in link, so you type no password or two-step code in development. `--no-link` skips
413
+ both. `evlet serve`, tenants and deployments never create accounts. New
414
+ `evlet users set-password <instance> <username>` sets a real password from the server shell. It
415
+ asks twice, enforces `security.password_min`, ends the user's sessions and is audited as `cli`
416
+ ([docs/cli.md](docs/cli.md#development-sign-in-links)).
417
+ - **Report view.** Reports show in the browser at `/reports/<name>`, listed in the sidebar and
418
+ at `/reports`: the filter bar, typed rows, totals, an optional chart, Export (CSV) and Print.
419
+ New, all optional: `Report.group`, `model`, `sortable`, `chart` (`evlet.Chart`, a new root
420
+ export) and `export`; `Column(source=...)` hides a column from people who cannot read that field;
421
+ `run()` may return `totals` for every row and reads the sort as `context.sort`. New route
422
+ `POST /api/_reports/<name>/export.csv`. The evaluate route adds `rules`. Existing reports need no
423
+ change; a report with a filter field named `group`, `model`, `sortable`, `chart` or `export` must
424
+ rename it ([docs/reports.md](docs/reports.md)).
425
+ - **Report groups and saved views.** `Report.group_by` keeps each group's rows together with a
426
+ heading and a subtotal; `run()` may return `groups` with each group's count and totals for every
427
+ row, and `context.sort` starts with the group column. People can save a report's filters and sort
428
+ as named views. `DataTable` gains `rowClass`. A filter field named `group_by` must be renamed.
429
+ - **Print designs.** `PrintDesign` (a new root export) prints a record or a report to PDF through
430
+ WeasyPrint: blocks in a header, main, footnote, footer and watermark region, Jinja templates in a
431
+ sandbox with every value escaped, HTML for any single block, page number formats, and a footnote
432
+ snapped to the bottom of the last page. `Application(prints=[...])` registers designs. Printing is
433
+ the new `print` operation (admin by default; other roles when their Rule names it). It needs the
434
+ optional extra `evlet[print]`; without it the print routes answer 503
435
+ ([docs/printing.md](docs/printing.md)). Record views get a Print button with a PDF preview, and
436
+ Controls gets a block designer for stored designs. These are additions; existing apps need no change.
437
+ - **API stability for apps.** [docs/api-stability.md](docs/api-stability.md) names the
438
+ surface apps can rely on (the root exports, field keywords, lifecycle decorators and the
439
+ `evlet.ui` names in the app docs), the deprecation rule and what stays internal.
440
+ `tests/test_public_api.py` pins those names and signatures. A change needs a regenerated
441
+ snapshot and an entry here.
442
+ - **Tool Engine and Eva exports.** The root exports gain `AI` (Eva's model settings),
443
+ `Application(ai=...)` turns Eva on for an application, and `@api(..., tool=True)` offers an
444
+ app service as a tool to Eva and MCP clients ([docs/eva.md](docs/eva.md),
445
+ [docs/tools.md](docs/tools.md)). These are additions; existing apps need no change.
446
+ - **`DevSignIn` export.** The root exports gain `DevSignIn`, which serves the one-time
447
+ development sign-in links of `evlet dev` and `evlet playground` ([docs/cli.md](docs/cli.md#development-sign-in-links)).
448
+ Never wrap an application you serve with it.
449
+ - **Evlet upgrades go through `evlet migrate`.** `apps.lock` and the installed manifest
450
+ now record the Evlet version and its last framework migration. An instance migrated
451
+ with another Evlet version refuses to serve and asks for `evlet migrate`, which backs
452
+ up the database and runs ordered, checksummed framework migrations
453
+ (`evlet_framework_migrations`) on the staged copy. Existing instances need one
454
+ `evlet migrate` after upgrading; it adopts today's startup tables with no other change
455
+ ([docs/app-upgrades.md](docs/app-upgrades.md#upgrade-evlet)).
456
+ - **Field retirement, safe type changes and data steps.** `RetireField` removes a field from the
457
+ models and API while keeping its column and values; `DropField` deletes a retired field's column
458
+ only with `allow_destructive=True` (`evlet migrate --allow-destructive`, which keeps a backup).
459
+ `AlterField` converts Integer to Decimal, widens a decimal scale, lengthens text and adds Select
460
+ choices, validating every stored row in the migration transaction. `RunData(function)` runs a
461
+ trusted data step right after its own migration; `RunData(..., maintenance=True)` may write
462
+ confirmed and posted records only with `--allow-maintenance`, and each such step is audited. A
463
+ retired Link drops its foreign key. `--plan` suggests RetireField and AlterField
464
+ ([docs/model-engine.md](docs/model-engine.md#retiring-and-dropping-fields)).
465
+ `RetireField`, `DropField`, `AlterField` and `RunData` are new root exports.
466
+ - **Migration plans.** `evlet migrate <instance> --plan` and `database.plan(migrations)` show the
467
+ pending migrations and each model, field and property that differs from the models, with a
468
+ suggested migration; nothing is written. `evlet makemigration <app> --instance <instance>`
469
+ writes that suggestion into a flat app. A mismatch error now lists the same differences.
470
+ `AddTable(parent, name, ChildClass)` adds a child table without hand-written owner and position
471
+ fields, and `CreateModel` no longer compares the Python class name ([docs/model-engine.md](docs/model-engine.md#planning-a-migration)).
472
+ `AddTable` and `MigrationPlan` (what `database.plan()` returns) are new root exports.
473
+ - **Team and hierarchy row scopes.** New root exports `Hierarchy` and `any_of`. `Hierarchy(model, parent=...)` declares a reporting tree, and
474
+ `Hierarchy.team(field)` is a row scope over the user's linked record and everyone below it at any
475
+ depth, resolved in SQL with a recursive query on SQLite and PostgreSQL. `any_of(...)` combines
476
+ row scopes and filter objects with OR. They apply on every surface a row scope covers
477
+ ([docs/business-capabilities.md](docs/business-capabilities.md#team-and-hierarchy-scopes)). List pages
478
+ now check Link values for the whole page at once instead of per row.
479
+ - **Light and dark themes.** Every screen of the browser UI comes in light and dark, or
480
+ follows the device (`theme` in Settings, Appearance: `"light"`, `"dark"` or `"system"`, now
481
+ the default). The server writes the theme on `<html>` before the page paints, so nothing
482
+ flashes, and the sign-in page keeps the browser's last theme. The sidebar, account menu,
483
+ palette and Docs switch it. The config block gains `"theme"`. Components use colour tokens
484
+ only, and a test checks WCAG AA contrast of the token pairs in both themes
485
+ ([docs/ui-framework.md](docs/ui-framework.md#themes)).
486
+ - **List filters like Frappe's.** The Filter button opens rows of field, condition and value,
487
+ any number of them, combined with AND. The field picker searches hundreds of fields and each
488
+ child table's fields; conditions follow the field type (like, in, between, timespan and more);
489
+ values use the form's own pickers; active filters show as chips and stay in the address
490
+ ([docs/ui.md](docs/ui.md#filters)). Links in the old `?f={"field": value}` form still open.
491
+ - **Filter lists and child table filters.** `filters` also takes a list of `[field, operator, value]`
492
+ conditions and child groups `{"child": "prices", "match": "any" | "none", "where": [...]}`,
493
+ compiled to `EXISTS` / `NOT EXISTS`, in Python queries and the list, aggregate and measures
494
+ routes ([docs/model-engine.md](docs/model-engine.md#filter-lists-and-child-tables)). New
495
+ operators: `between`, `nin`, `nicontains`. Each field kind now takes only its own operators
496
+ (a `gt` on a Boolean or `icontains` on a number is a 422), and the schema sends them as each
497
+ field's `operators`; child tables in the schema say whether they are `filterable`. A query
498
+ takes up to 50 conditions (was 20 filters). Filtering on a field or child table the role
499
+ cannot read is a 403, the same as an unknown one.
500
+ - **Pickers.** Select fields, and every select on the Settings and Controls pages, open Evlet's own list (current choice ticked, search for long
501
+ lists, Clear for optional fields) instead of the browser's menu. Date, date-time, time and
502
+ duration fields keep their typed input and add a calendar or steppers. List pages filter
503
+ date fields by range, with presets.
504
+ - **Typed dates and times** are read the forgiving way: `120627`, `1/6/27`, `1206`, `today`,
505
+ `+3`, `935`, `12.35pm`, `9am`, `120627 1235`, `90m`, in the day, month and year order of the
506
+ person's date format. Impossible dates are refused, never guessed ([docs/ui-framework.md](docs/ui-framework.md#typing-dates-and-times)).
507
+ - **Durations** also take `1.30` and `1:30:20` (hours, minutes, seconds), decimal units such as
508
+ `1.5h` or `1.5m`, and words such as `1 hr 30 mins`. A dot without a unit needs two minute digits,
509
+ so `1.5` is refused.
510
+ - **Playground items.** A new Item model has about 200 fields and two child tables (prices,
511
+ barcodes), to try filters at scale. Run `.venv/bin/python -m examples.playground.migrate` (migration `0005_items`) on an
512
+ existing Playground database.
513
+ - **Playground invoice numbers.** New Playground invoices are named by a naming series,
514
+ `INV-{YYYY}-{#####}` dated by the posting date (`INV-2026-00001`), in a new `number` field
515
+ (migration `0006_invoice_number`; run `python -m examples.playground.migrate`). `reference` is now
516
+ labelled Customer reference. `/api/schema` marks a naming series field with `naming: {"field": ...}`
517
+ and the placeholder `Assigned on save`, and the New screen shows that field read only
518
+ ([docs/sequences.md](docs/sequences.md#naming-series)).
519
+
520
+ ### Changed
521
+
522
+
523
+ - **Changed default: a State shows as a header badge, not a stage bar.** `State(..., show=...)`
524
+ takes `"badge"` (the new default: a coloured status badge in the record header, with the moves
525
+ as header buttons), `"bar"` (the stage bar, as before, for pipelines such as draft, submitted,
526
+ approved) or `"none"`. What to change: add `show="bar"` to a State that is a real pipeline
527
+ to keep the bar. The schema's `state` entry adds `show`. The badge and the bar now offer only
528
+ the moves this person may take now; states only the system reaches, and moves for other roles or
529
+ whose condition is not met, are plain text. `_moves` now also blocks every move on a
530
+ `Meta.api = "read"` model (`You cannot change this record`) and on a record in a closed period
531
+ (`This record is in a closed period`). The testCRM deal and the amendment quote declare
532
+ `show="bar"` ([docs/states-actions.md](docs/states-actions.md#how-a-state-and-a-status-show)).
533
+ - **Breaking: record ids are text.** New records get a 63-bit, time-ordered id (milliseconds since
534
+ 01-01-2026 and 21 random bits), stored as before in the `INTEGER` primary key. Outside the
535
+ database an id is always 13 lowercase Crockford base32 characters, such as `01hc1sd9vc1ye`: JSON
536
+ bodies, Link values, `{"model", "id"}` References, row ids, the journal, events, Slips' `source`,
537
+ Eva and MCP tool arguments, and URLs (`/api/invoice/01hc1sd9vc1ye`, `/app/invoice/01hc1sd9vc1ye`).
538
+ Ids are never JSON numbers, because a browser cannot hold 63 bits in a number. Existing rows keep
539
+ their ids (42 shows as `000000000001a`); nothing is rewritten.
540
+ What to change: clients read ids as strings and build URLs from them. A decimal id in an API path
541
+ is now a 404 (the browser turns an old `/app/invoice/42` bookmark into the text id). Writes still
542
+ take a JSON integer for a Link or a row id. In Python, `record.id` and Link values are
543
+ `RecordId` (a new root export), an `int` whose `str()` is the text id; `Database.get` takes either
544
+ form, and services and actions may take `RecordId` arguments
545
+ ([docs/model-engine.md](docs/model-engine.md#record-ids)).
546
+ - **Breaking: every record has a standard name and title.** Record models (not Table rows) gain
547
+ two framework columns next to `id`. `name` is the human identifier, unique per model, filled by
548
+ `Meta.naming`: a naming series (which now fills `name` by default), the model's
549
+ `autoname(self, context)` method (`Naming()`), or people typing it (`Naming(manual=True)`), on
550
+ create, on confirm (`assign_on="confirm"`, gap-free numbers for confirmable documents) or on
551
+ entering a state. Once assigned, people who may write the field can change it with a normal
552
+ edit; Links point to the id, so nothing else changes. `title` is the display text Link pickers,
553
+ lists, search and Eva show: a declared `title` field, or kept in sync from `Meta.title_field` or a
554
+ `Meta.title = "{first_name} {last_name}"` template, falling back to the name, then the text id.
555
+ Record pages show the title as the heading and the name in mono next to it
556
+ ([docs/model-engine.md](docs/model-engine.md#name-and-title)).
557
+ What to change: an `Application` refuses a model that declares its own `name` field; rename it in
558
+ an app migration, such as `RenameField('customer', 'name', 'customer_name')`, and point
559
+ `Meta.title_field` at it (or rename it to `title`). Then run `evlet migrate`: framework migration
560
+ `0003_record_names` adds the columns to existing tables and fills every title. API responses and
561
+ the schema now include `name` and `title`; the schema's `title_field` is `title`.
562
+ The Playground's `Customer.name` is now `customer_name`, `Employee.name` is `full_name`, `Project.name` is `title`, and invoice
563
+ numbers moved from `number` into `name` (migration `0008_record_names`).
564
+ - **Link filters that read another field follow it in the form.** For a Link such as
565
+ `branch = Link(Branch, filters={"company": Ref("company")})`, the picker now lists only records
566
+ that fit the form's current, unsaved values (before, it ignored `filters`), and asks for an empty
567
+ referenced field first. Changing a field checks every Link whose filters read it, on the same row
568
+ and on Table rows through `Ref("parent.<field>")`: a value that still fits stays, one that no
569
+ longer fits is cleared with a note such as "Cleared because Company changed", and chains clear
570
+ together. The field error is plainer: "Port office is not in Summit Services." with one filter
571
+ and readable titles, "Choose Company first." for an empty referenced field, and otherwise "This
572
+ Branch doesn't fit the other values on this form." It never shows a title the role cannot read.
573
+ What to change: code or tests that match the old text "The selected record does not match the
574
+ current filters" match the new messages; the error stays a field error with status 422. The
575
+ schema sends `behavior.<field>.filters` for models with no other rules too. The Playground's
576
+ Invoice has a Project limited to the customer's projects (migration `0010_invoice_project`)
577
+ ([docs/business-capabilities.md](docs/business-capabilities.md#link-filters), [docs/ui.md](docs/ui.md#link-filters)).
578
+ - **Columns menu with drag and a pinned range.** Child tables and reports share one Columns menu:
579
+ drag a grip (mouse, touch, or Space and the arrow keys) to reorder, and drag columns above a
580
+ divider, or use the pin button, to pin any number of them on the left. `TablePrefs` gains an
581
+ optional `pinned` count; prefs saved without it keep the first column pinned. The up and down
582
+ arrow buttons are gone. Its dragging uses the shared `dragList`, as the form layout editor does. A child table's Focus view keeps a compact record header (mark, type,
583
+ title, number, Back to form) above the table and the save bar below it (the `heading` option of `ChildTable`).
584
+ - **Where a Currency field's code comes from.** `Currency(currency=...)` also takes
585
+ `"link.field"` (a field of a linked record) and `"settings.app.key"` (an app setting). In
586
+ `/api/schema`, `currency` now only ever holds a code; a field on the record (`"code_field"`)
587
+ is sent as `currency_source: {"field": "code_field"}` instead of `currency: "code_field"`.
588
+ A client that read the field name from `currency` should read `currency_source`.
589
+ - **Account links are audited.** `LocalAuth.link_user` and `unlink_user` take an `actor` and write
590
+ each change to the Controls audit log (area Users); `evlet link-user` records `cli`.
591
+ - **Form fields** are 40 px tall with a soft focus ring, a 14 px label and a blue required
592
+ mark. `help_text` now shows under the input (an error takes its place). The new
593
+ `tooltip=` field option puts its text behind a ? icon at the end of the input; Controls can
594
+ change it and exports it.
595
+ - Integer and Decimal fields show their `suffix` after the value at rest too (`5.00%`).
596
+ - **Compact Related block on the record page.** The side panel lists each related model as a
597
+ 36px row: icon, name, count and chevron, as real links. Relations with records come first, most
598
+ records first. Those with none fold into one line, "No records: ...", and each name still opens
599
+ the Related tab. Five rows show at first and "Show all" expands the rest; the choice is kept per
600
+ user and model. The count no longer runs into the name.
601
+ - **Offline docs show user guides only.** Handoff plans, the model engine ledger,
602
+ milestone notes, the specification and the testCRM notes moved to `docs/internal/`.
603
+ They are no longer in the wheel or shown by `evlet docs`. The contributor guide moved
604
+ to `CONTRIBUTING.md`.
605
+ - **Smaller source distribution.** The sdist no longer carries tests, scripts, lock
606
+ files, internal docs or the browser test fixtures. It keeps what building and
607
+ installing Evlet needs, including the browser interface source.
608
+ - **Version 0.3.0.** Generated apps and the examples require `evlet>=0.3.0,<0.4`. Apps that
609
+ declare `evlet>=0.2.0,<0.3` must widen the range to install with 0.3.0.
610
+
611
+ ### Fixed
612
+
613
+ - **Focus in the editable child table.** Clicking a cell focuses it while another cell is
614
+ being edited, with one active cell at a time (a cell that can't be committed keeps the focus,
615
+ and an unchanged cell never blocks). Tab and Shift Tab reach every editable cell from a cell in
616
+ navigation mode too, then go on to Add row. A choice from a dropdown or Link search returns the
617
+ focus to its cell, so Tab and Enter continue as the footer says.
618
+ - **Letter avatars and record tiles are centred again.** A record page's meta row styled
619
+ every nested `span`, which turned the avatar and the rounded-square tile there into flex boxes
620
+ with the letter off-centre. The rule now reaches only the row's own items, and `.avatar` and
621
+ `.org-mark` set `line-height:1`.
622
+ - The Link field's record mark no longer stretches across the input.
623
+ - **Unreadable dates, times and durations keep the field's value** on blur or Enter and say what
624
+ was typed ("Couldn't read 1.62 as a duration"). The API keeps accepting only the stored forms.
625
+ - The record state bar no longer stacks vertically: the time picker's spinner had reused its `.stepper` class and now uses `.time-stepper`.
626
+
627
+ ## 0.2.0 (02-11-2026)
628
+
629
+ This release replaces the browser interface with Evlet's own UI framework, adds the
630
+ model engine, and adds Controls and Settings for administrators. It covers #30 to #63.
631
+
632
+ ### Upgrading from 0.1.2
633
+
634
+ - **Apps must allow Evlet 0.2.** Apps declaring `evlet>=0.1.2,<0.2` refuse to load on
635
+ 0.2.0. Change the dependency to `evlet>=0.2.0,<0.3`. New apps get this by default.
636
+ - **SolidJS is gone.** The browser interface is Evlet's own UI framework
637
+ (`frontend/src/evlet/`). The Vue harness, the Projects demo and the Python page renderer
638
+ were removed from it. Python pages, native panels, report screens and form dialogs keep
639
+ their Python APIs, routes and tests but are not shown in the browser
640
+ ([docs/ui.md](docs/ui.md#not-rendered-by-this-interface)).
641
+ - **Security defaults changed.** Sessions last 12 hours (was 8) and sign-in locks after 5
642
+ failures (was 10). Set `security = Security(session_hours=..., lockout=...)` in an
643
+ instance's `config.py` to choose other starting values. Saved settings looser than the
644
+ new values are clamped.
645
+ - **Two-step sign-in is enforced.** People in a role that requires two-step set it up at
646
+ their next sign-in and can't use the app until they do. Admins should sign in right
647
+ after upgrading. `evlet users reset-two-step` resets it from the shell.
648
+ - **New core dependency: `cryptography`.** It encrypts connector secrets, mailbox
649
+ sign-ins and two-step secrets (AES-GCM). It installs automatically with Evlet.
650
+ - **Proxies must be listed.** `X-Forwarded-For` is only trusted from addresses in
651
+ `Instance(trusted_proxies=...)`. Behind a reverse proxy, add it, or every visitor looks
652
+ like the proxy. Controls warns when it sees forwarded headers from an unlisted proxy.
653
+ - **Run `evlet migrate`** for each instance after upgrading. Migrations never run from
654
+ the browser.
655
+
656
+ ### Model engine
657
+
658
+ - Expressions: automatic rounding to the target field, dates (`today()`, `days()`, date
659
+ arithmetic), Link hops, `when(cond, a, b)`, with a TypeScript mirror in the browser.
660
+ - Rules: `initial`, `applies_when`, `required_when`, `locked_when`, `Recompute`
661
+ migrations, and new field types (Phone, Percent, Time, Duration, Tags, Ref).
662
+ - Child tables (`Table`) with row limits, paging and batched loading, tested at 1,000 rows.
663
+ - States and moves: `State`, `Move`, locked and final states, asked values, `available_when`.
664
+ - Corrections: `void`, `revise`, and admin-only `unpost` and `repost` of posted documents.
665
+ Unpost keeps the document number and cancels what was posted with reversing entries. A
666
+ record that has ever posted can't be deleted.
667
+ - Effects: posting rows with `Effect`, `Swap` and `Negate`, balance checks and
668
+ `evlet effects check`.
669
+ - Sequences: gapless numbering with period resets and scopes.
670
+ - Journal: an append-only record history with a hash chain and `journal verify`.
671
+ - Measures: totals and counts declared on models, served by one aggregate API.
672
+ - Meaning: `key_fields`, `relations`, `Meta.attachments` and `view_for`.
673
+ - Posted records are never recalculated by `Recompute` unless an admin runs
674
+ `evlet migrate <instance> --recompute-posted`. Void records are always skipped.
675
+
676
+ ### Browser interface
677
+
678
+ - Evlet's own UI framework: fine-grained reactivity, no virtual DOM, no runtime
679
+ dependencies.
680
+ - A component library, and generated screens for every model: lists, boards, record
681
+ pages, child tables, a command palette, actions and the journal.
682
+ - Login, Docs, the account menu and personal settings.
683
+ - Fonts are bundled under the OFL. The dark theme is hidden for now.
684
+ - testCRM (`examples/testcrm`), a CRM written as `models.py` only, used as the working
685
+ example and end-to-end test.
686
+
687
+ ### Routing and hosts
688
+
689
+ - A route table with reserved paths, `routes.py` and `evlet routes`.
690
+ - Sub-hosts, sign-in realms (desk, portal, public) and their cookies, API scopes, static
691
+ and server frontends, and a customer portal through `evlet_user_links`.
692
+ - `evlet proxy` generates reverse-proxy configuration.
693
+
694
+ ### Controls (administrators)
695
+
696
+ - Users, roles, permission overrides, an append-only audit log and a config version.
697
+ - Fields added from Controls (`x_` fields) are visible to every staff role by default.
698
+ Portal roles see them only when an admin grants them.
699
+ - Naming series over the gapless sequence counters.
700
+ - Apps, routing, jobs and audit pages, and export of overrides as code.
701
+ - Opening Controls can be given to a role without making it admin. Only admins grant admin.
702
+ - An override that no longer validates denies access and is listed under Needs attention.
703
+ - Any change in Controls asks for a two-step code, valid for 10 minutes on that session.
704
+
705
+ ### Settings and security
706
+
707
+ - Two-step sign-in (TOTP) with backup codes, checked per session.
708
+ - Sensitive personal settings ask for a two-step code, or the password when two-step is off.
709
+ - Ending access goes through one function. A password change and "Sign out everywhere"
710
+ ask whether to also revoke API keys. A two-step reset, deactivation and break-glass
711
+ always revoke them.
712
+
713
+ ### Connectors and integrations
714
+
715
+ - Connectors with encrypted secrets, email accounts and personal API keys.
716
+ - Remote MCP for AI assistants, with OAuth 2.1 and PKCE.
717
+ - Personal mailboxes that link messages to records for models that opt in with
718
+ `Meta.mail`.
719
+
720
+ ### Fixes
721
+
722
+ - A dropped IMAP connection during sign-in no longer deletes the saved mailbox sign-in.
723
+ - The PostgreSQL CI job runs every test file that has PostgreSQL variants.
724
+ - Deleting a parent with more than 100 legacy child rows no longer fails.
725
+
726
+ ## 0.1.2
727
+
728
+ Merged UI and CLI release. See the `archive/release-pypi-0.1.2` tag.