@nixxie-cms/core 1.0.0 → 1.0.2

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 (187) hide show
  1. package/README.md +2 -2
  2. package/admin-ui/components/dist/nixxie-cms-core-admin-ui-components.cjs.js +4 -4
  3. package/admin-ui/components/dist/nixxie-cms-core-admin-ui-components.esm.js +4 -4
  4. package/admin-ui/context/dist/nixxie-cms-core-admin-ui-context.cjs.js +2 -2
  5. package/admin-ui/context/dist/nixxie-cms-core-admin-ui-context.esm.js +2 -2
  6. package/context/dist/nixxie-cms-core-context.cjs.js +2 -2
  7. package/context/dist/nixxie-cms-core-context.esm.js +2 -2
  8. package/dist/{CreateItemDialog-33335548.esm.js → CreateItemDialog-7008b050.esm.js} +1 -1
  9. package/dist/{CreateItemDialog-56cf59b7.cjs.js → CreateItemDialog-a0cab315.cjs.js} +1 -1
  10. package/dist/{PageContainer-7db73317.esm.js → PageContainer-5ae731cc.esm.js} +25 -18
  11. package/dist/{PageContainer-27c27f10.cjs.js → PageContainer-abd7159f.cjs.js} +25 -18
  12. package/dist/{admin-meta-graphql-6f7f5331.esm.js → admin-meta-graphql-0e6e606e.esm.js} +1 -1
  13. package/dist/{admin-meta-graphql-c8f926e9.cjs.js → admin-meta-graphql-306c224a.cjs.js} +1 -1
  14. package/dist/{context-3132c3ed.esm.js → context-af9957ed.esm.js} +2 -2
  15. package/dist/{context-e7a45152.cjs.js → context-b5204629.cjs.js} +2 -2
  16. package/dist/declarations/src/admin-ui/components/Navigation.d.ts.map +1 -1
  17. package/dist/declarations/src/admin-ui/components/PageContainer.d.ts.map +1 -1
  18. package/dist/declarations/src/helpers.d.ts.map +1 -1
  19. package/dist/declarations/src/index.d.ts +1 -0
  20. package/dist/declarations/src/index.d.ts.map +1 -1
  21. package/dist/declarations/src/internal-unstable/admin-ui/id-field-view.d.ts.map +1 -0
  22. package/dist/declarations/src/internal-unstable/admin-ui/pages/App/index.d.ts.map +1 -0
  23. package/dist/declarations/src/internal-unstable/admin-ui/pages/CreateItemPage/index.d.ts.map +1 -0
  24. package/dist/declarations/src/internal-unstable/admin-ui/pages/HomePage/index.d.ts.map +1 -0
  25. package/dist/declarations/src/internal-unstable/admin-ui/pages/ItemPage/index.d.ts.map +1 -0
  26. package/dist/declarations/src/internal-unstable/admin-ui/pages/ListPage/index.d.ts.map +1 -0
  27. package/dist/declarations/src/internal-unstable/admin-ui/pages/NoAccessPage/index.d.ts.map +1 -0
  28. package/dist/declarations/src/internal-unstable/artifacts.d.ts.map +1 -0
  29. package/dist/declarations/src/lib/core/initialise-lists.d.ts +1 -1
  30. package/dist/declarations/src/schema.d.ts.map +1 -1
  31. package/dist/declarations/src/types/config/index.d.ts +60 -1
  32. package/dist/declarations/src/types/config/index.d.ts.map +1 -1
  33. package/dist/declarations/src/types/config/lists.d.ts +4 -4
  34. package/dist/declarations/src/types/context.d.ts +150 -0
  35. package/dist/declarations/src/types/context.d.ts.map +1 -1
  36. package/dist/declarations/src/types/next-fields.d.ts +1 -1
  37. package/dist/{express-e9ed9a7d.cjs.js → express-455ae20c.cjs.js} +1 -1
  38. package/dist/{express-6743b918.esm.js → express-7559ca2d.esm.js} +1 -1
  39. package/dist/{index-ac01583b.cjs.js → index-89635494.cjs.js} +4 -4
  40. package/dist/{index-24b78415.esm.js → index-baa799e0.esm.js} +4 -4
  41. package/dist/nixxie-cms-core.cjs.js +104 -77
  42. package/dist/nixxie-cms-core.esm.js +104 -77
  43. package/dist/{non-null-graphql-5315718c.esm.js → non-null-graphql-a84ed64d.esm.js} +1 -1
  44. package/dist/{non-null-graphql-17b83ddc.cjs.js → non-null-graphql-add6bb3d.cjs.js} +1 -1
  45. package/dist/{resolve-hooks-66fe8a8e.cjs.js → resolve-hooks-165a9ce2.cjs.js} +1 -1
  46. package/dist/{resolve-hooks-17aafd37.esm.js → resolve-hooks-6813a045.esm.js} +2 -2
  47. package/dist/{system-dfec2f0a.esm.js → system-03e49e4f.esm.js} +8 -4
  48. package/dist/{system-48c5f6df.cjs.js → system-a321642d.cjs.js} +8 -4
  49. package/dist/{useFilter-0b5a1ee6.esm.js → useFilter-9b6db1f9.esm.js} +1 -1
  50. package/dist/{useFilter-1a4e6900.cjs.js → useFilter-acc9d413.cjs.js} +1 -1
  51. package/fields/dist/nixxie-cms-core-fields.cjs.js +16 -16
  52. package/fields/dist/nixxie-cms-core-fields.esm.js +17 -17
  53. package/fields/types/bytes/dist/nixxie-cms-core-fields-types-bytes.cjs.js +3 -3
  54. package/fields/types/bytes/dist/nixxie-cms-core-fields-types-bytes.esm.js +3 -3
  55. package/fields/types/bytes/views/dist/nixxie-cms-core-fields-types-bytes-views.cjs.js +1 -1
  56. package/fields/types/bytes/views/dist/nixxie-cms-core-fields-types-bytes-views.esm.js +1 -1
  57. package/fields/types/password/dist/nixxie-cms-core-fields-types-password.cjs.js +3 -3
  58. package/fields/types/password/dist/nixxie-cms-core-fields-types-password.esm.js +3 -3
  59. package/fields/types/relationship/views/dist/nixxie-cms-core-fields-types-relationship-views.cjs.js +4 -4
  60. package/fields/types/relationship/views/dist/nixxie-cms-core-fields-types-relationship-views.esm.js +4 -4
  61. package/fields/types/select/views/dist/nixxie-cms-core-fields-types-select-views.cjs.js +1 -1
  62. package/fields/types/select/views/dist/nixxie-cms-core-fields-types-select-views.esm.js +1 -1
  63. package/fields/types/text/views/dist/nixxie-cms-core-fields-types-text-views.cjs.js +1 -1
  64. package/fields/types/text/views/dist/nixxie-cms-core-fields-types-text-views.esm.js +1 -1
  65. package/internal-unstable/admin-ui/id-field-view/dist/nixxie-cms-core-internal-unstable-admin-ui-id-field-view.cjs.d.ts +2 -0
  66. package/internal-unstable/admin-ui/id-field-view/dist/nixxie-cms-core-internal-unstable-admin-ui-id-field-view.cjs.js +244 -0
  67. package/internal-unstable/admin-ui/id-field-view/dist/nixxie-cms-core-internal-unstable-admin-ui-id-field-view.esm.js +235 -0
  68. package/internal-unstable/admin-ui/id-field-view/package.json +4 -0
  69. package/internal-unstable/admin-ui/next-config/package.json +4 -0
  70. package/internal-unstable/admin-ui/pages/App/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-App.cjs.d.ts +2 -0
  71. package/internal-unstable/admin-ui/pages/App/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-App.cjs.js +59 -0
  72. package/internal-unstable/admin-ui/pages/App/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-App.esm.js +55 -0
  73. package/internal-unstable/admin-ui/pages/App/package.json +4 -0
  74. package/internal-unstable/admin-ui/pages/CreateItemPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-CreateItemPage.cjs.d.ts +2 -0
  75. package/internal-unstable/admin-ui/pages/CreateItemPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-CreateItemPage.cjs.js +116 -0
  76. package/internal-unstable/admin-ui/pages/CreateItemPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-CreateItemPage.esm.js +112 -0
  77. package/internal-unstable/admin-ui/pages/CreateItemPage/package.json +4 -0
  78. package/internal-unstable/admin-ui/pages/HomePage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-HomePage.cjs.d.ts +2 -0
  79. package/internal-unstable/admin-ui/pages/HomePage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-HomePage.cjs.js +336 -0
  80. package/internal-unstable/admin-ui/pages/HomePage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-HomePage.esm.js +332 -0
  81. package/internal-unstable/admin-ui/pages/HomePage/package.json +4 -0
  82. package/internal-unstable/admin-ui/pages/ItemPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-ItemPage.cjs.d.ts +2 -0
  83. package/internal-unstable/admin-ui/pages/ItemPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-ItemPage.cjs.js +463 -0
  84. package/internal-unstable/admin-ui/pages/ItemPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-ItemPage.esm.js +455 -0
  85. package/internal-unstable/admin-ui/pages/ItemPage/package.json +4 -0
  86. package/internal-unstable/admin-ui/pages/ListPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-ListPage.cjs.d.ts +2 -0
  87. package/internal-unstable/admin-ui/pages/ListPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-ListPage.cjs.js +1195 -0
  88. package/internal-unstable/admin-ui/pages/ListPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-ListPage.esm.js +1187 -0
  89. package/internal-unstable/admin-ui/pages/ListPage/package.json +4 -0
  90. package/internal-unstable/admin-ui/pages/NoAccessPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-NoAccessPage.cjs.d.ts +2 -0
  91. package/internal-unstable/admin-ui/pages/NoAccessPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-NoAccessPage.cjs.js +40 -0
  92. package/internal-unstable/admin-ui/pages/NoAccessPage/dist/nixxie-cms-core-internal-unstable-admin-ui-pages-NoAccessPage.esm.js +35 -0
  93. package/internal-unstable/admin-ui/pages/NoAccessPage/package.json +4 -0
  94. package/internal-unstable/artifacts/dist/nixxie-cms-core-internal-unstable-artifacts.cjs.d.ts +2 -0
  95. package/internal-unstable/artifacts/dist/nixxie-cms-core-internal-unstable-artifacts.cjs.js +51 -0
  96. package/internal-unstable/artifacts/dist/nixxie-cms-core-internal-unstable-artifacts.esm.js +38 -0
  97. package/internal-unstable/artifacts/package.json +4 -0
  98. package/package.json +44 -44
  99. package/scripts/cli/dist/nixxie-cms-core-scripts-cli.cjs.js +44 -15
  100. package/scripts/cli/dist/nixxie-cms-core-scripts-cli.esm.js +44 -15
  101. package/scripts/dist/nixxie-cms-core-scripts.cjs.js +3 -3
  102. package/scripts/dist/nixxie-cms-core-scripts.esm.js +3 -3
  103. package/src/admin-ui/admin-meta-graphql.ts +168 -168
  104. package/src/admin-ui/components/CommandPalette.tsx +433 -431
  105. package/src/admin-ui/components/Navigation.tsx +389 -385
  106. package/src/admin-ui/components/PageContainer.tsx +311 -310
  107. package/src/admin-ui/components/WelcomeDialog.tsx +1 -1
  108. package/src/admin-ui/context.tsx +338 -338
  109. package/src/admin-ui/templates/app.ts +60 -60
  110. package/src/admin-ui/templates/create-item.ts +5 -5
  111. package/src/admin-ui/templates/home.ts +2 -2
  112. package/src/admin-ui/templates/item.tsx +5 -5
  113. package/src/admin-ui/templates/list.tsx +5 -5
  114. package/src/admin-ui/templates/next-config.ts +29 -0
  115. package/src/admin-ui/templates/no-access.ts +7 -7
  116. package/src/fields/types/bigInt/index.ts +181 -181
  117. package/src/fields/types/bytes/index.ts +275 -275
  118. package/src/fields/types/calendarDay/index.ts +194 -194
  119. package/src/fields/types/checkbox/index.ts +76 -76
  120. package/src/fields/types/decimal/index.ts +182 -182
  121. package/src/fields/types/file/index.ts +168 -168
  122. package/src/fields/types/float/index.ts +133 -133
  123. package/src/fields/types/image/index.ts +244 -244
  124. package/src/fields/types/integer/index.ts +156 -156
  125. package/src/fields/types/json/index.ts +77 -77
  126. package/src/fields/types/multiselect/index.ts +212 -212
  127. package/src/fields/types/password/index.ts +241 -241
  128. package/src/fields/types/relationship/index.ts +381 -381
  129. package/src/fields/types/relationship/views/RelationshipTable.tsx +190 -190
  130. package/src/fields/types/select/index.ts +226 -226
  131. package/src/fields/types/text/index.ts +207 -207
  132. package/src/fields/types/timestamp/index.ts +116 -116
  133. package/src/fields/types/virtual/index.ts +108 -108
  134. package/src/helpers.ts +342 -316
  135. package/src/index.ts +4 -0
  136. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/id-field-view.tsx +167 -167
  137. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/App/index.tsx +22 -22
  138. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/CreateItemPage/index.tsx +71 -71
  139. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/HomePage/index.tsx +333 -333
  140. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/ItemPage/common.tsx +358 -358
  141. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/ItemPage/index.tsx +483 -483
  142. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/ListPage/FilterAdd.tsx +221 -221
  143. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/ListPage/PaginationControls.tsx +170 -170
  144. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/ListPage/Tag.tsx +72 -72
  145. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/ListPage/index.tsx +1006 -1006
  146. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/NoAccessPage/index.tsx +24 -24
  147. package/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/artifacts.ts +5 -5
  148. package/src/lib/context/createContext.ts +165 -161
  149. package/src/lib/core/initialise-lists.ts +1097 -1097
  150. package/src/lib/id-field.ts +214 -214
  151. package/src/lib/telemetry.ts +342 -342
  152. package/src/schema.ts +237 -233
  153. package/src/scripts/telemetry.ts +1 -1
  154. package/src/types/config/index.ts +400 -333
  155. package/src/types/config/lists.ts +4 -4
  156. package/src/types/context.ts +700 -530
  157. package/src/types/next-fields.ts +499 -499
  158. package/src/types/telemetry.ts +51 -51
  159. package/tests/telemetry.test.ts +361 -361
  160. package/CHANGELOG.md +0 -3158
  161. package/___internal-do-not-use-will-break-in-patch/admin-ui/id-field-view/package.json +0 -4
  162. package/___internal-do-not-use-will-break-in-patch/admin-ui/next-config/package.json +0 -4
  163. package/___internal-do-not-use-will-break-in-patch/admin-ui/pages/App/package.json +0 -4
  164. package/___internal-do-not-use-will-break-in-patch/admin-ui/pages/CreateItemPage/package.json +0 -4
  165. package/___internal-do-not-use-will-break-in-patch/admin-ui/pages/HomePage/package.json +0 -4
  166. package/___internal-do-not-use-will-break-in-patch/admin-ui/pages/ItemPage/package.json +0 -4
  167. package/___internal-do-not-use-will-break-in-patch/admin-ui/pages/ListPage/package.json +0 -4
  168. package/___internal-do-not-use-will-break-in-patch/admin-ui/pages/NoAccessPage/package.json +0 -4
  169. package/___internal-do-not-use-will-break-in-patch/artifacts/package.json +0 -4
  170. package/dist/declarations/src/___internal-do-not-use-will-break-in-patch/admin-ui/id-field-view.d.ts.map +0 -1
  171. package/dist/declarations/src/___internal-do-not-use-will-break-in-patch/admin-ui/pages/App/index.d.ts.map +0 -1
  172. package/dist/declarations/src/___internal-do-not-use-will-break-in-patch/admin-ui/pages/CreateItemPage/index.d.ts.map +0 -1
  173. package/dist/declarations/src/___internal-do-not-use-will-break-in-patch/admin-ui/pages/HomePage/index.d.ts.map +0 -1
  174. package/dist/declarations/src/___internal-do-not-use-will-break-in-patch/admin-ui/pages/ItemPage/index.d.ts.map +0 -1
  175. package/dist/declarations/src/___internal-do-not-use-will-break-in-patch/admin-ui/pages/ListPage/index.d.ts.map +0 -1
  176. package/dist/declarations/src/___internal-do-not-use-will-break-in-patch/admin-ui/pages/NoAccessPage/index.d.ts.map +0 -1
  177. package/dist/declarations/src/___internal-do-not-use-will-break-in-patch/artifacts.d.ts.map +0 -1
  178. /package/dist/{common-1a350e11.cjs.js → common-5933f758.cjs.js} +0 -0
  179. /package/dist/{common-29fc82e6.esm.js → common-ea5c441a.esm.js} +0 -0
  180. /package/dist/declarations/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/id-field-view.d.ts +0 -0
  181. /package/dist/declarations/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/App/index.d.ts +0 -0
  182. /package/dist/declarations/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/CreateItemPage/index.d.ts +0 -0
  183. /package/dist/declarations/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/HomePage/index.d.ts +0 -0
  184. /package/dist/declarations/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/ItemPage/index.d.ts +0 -0
  185. /package/dist/declarations/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/ListPage/index.d.ts +0 -0
  186. /package/dist/declarations/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/admin-ui/pages/NoAccessPage/index.d.ts +0 -0
  187. /package/dist/declarations/src/{___internal-do-not-use-will-break-in-patch → internal-unstable}/artifacts.d.ts +0 -0
package/CHANGELOG.md DELETED
@@ -1,3158 +0,0 @@
1
- # @nixxie/core
2
-
3
- ## 6.5.2
4
-
5
- ### Patch Changes
6
-
7
- - [`b880d9e`](https://github.com/nixxiecms/nixxie/commit/b880d9ee9f7eb306532eb8250b145190fb870ae5) Thanks [@n0wsh](https://github.com/n0wsh)! - Fix `isFilterable` bypass via `cursor` parameter in `findMany` query
8
-
9
- ## 6.5.1
10
-
11
- ### Patch Changes
12
-
13
- - [`9508e02`](https://github.com/nixxiecms/nixxie/commit/9508e020992dcddd221dbccd931bf124bf044235) Thanks [@emmatown](https://github.com/emmatown)! - Fix incompatible `Context` type export
14
-
15
- ## 6.5.0
16
-
17
- ### Minor Changes
18
-
19
- - [`0b29faf`](https://github.com/nixxiecms/nixxie/commit/0b29faf032c5e747099945881c78a8330915afe7) Thanks [@dcousens](https://github.com/dcousens)! - Add support for uniquely filtering items by 1-to-1 relationships
20
-
21
- ## 6.4.0
22
-
23
- ### Minor Changes
24
-
25
- - [#9401](https://github.com/nixxiecms/nixxie/pull/9401) [`48f51be`](https://github.com/nixxiecms/nixxie/commit/48f51be98216ee4fa64f6d65b24c28b9c08f4b76) Thanks [@dcousens](https://github.com/dcousens)! - Add support for searching relationship fields in the list view
26
-
27
- ### Patch Changes
28
-
29
- - [#9401](https://github.com/nixxiecms/nixxie/pull/9401) [`48f51be`](https://github.com/nixxiecms/nixxie/commit/48f51be98216ee4fa64f6d65b24c28b9c08f4b76) Thanks [@dcousens](https://github.com/dcousens)! - Fix list view ignoring `.ui.listView.searchFields`
30
-
31
- - [`424b2a2`](https://github.com/nixxiecms/nixxie/commit/424b2a2297141f55f2450df166d7cdf41765f1da) Thanks [@emmatown](https://github.com/emmatown)! - Fix Admin UI breaking in Safari because of usage of iterator helpers
32
-
33
- - [`f3cef4c`](https://github.com/nixxiecms/nixxie/commit/f3cef4c8ff29f6e3c92399d8e0735fe3bda72950) Thanks [@mikehazell](https://github.com/mikehazell)! - Fixes `context.db` missing types if they are omitted from GraphQL
34
-
35
- ## 6.3.1
36
-
37
- ### Patch Changes
38
-
39
- - [#9348](https://github.com/nixxiecms/nixxie/pull/9348) [`86c5db3`](https://github.com/nixxiecms/nixxie/commit/86c5db38497e7f53452b05cba022ed116c86ae63) Thanks [@dcousens](https://github.com/dcousens)! - Fixes `serxer.maxFileSize` parameter being ignored
40
-
41
- - [#9391](https://github.com/nixxiecms/nixxie/pull/9391) [`91ae307`](https://github.com/nixxiecms/nixxie/commit/91ae307949053daebbd4933d511e17aee4c38143) Thanks [@dcousens](https://github.com/dcousens)! - Updates `prisma` minor version to `5.22.0`
42
-
43
- - [#9262](https://github.com/nixxiecms/nixxie/pull/9262) [`d543e60`](https://github.com/nixxiecms/nixxie/commit/d543e60d2f59959caf804fb6f6dc58227c98934d) Thanks [@kennedybaird](https://github.com/kennedybaird)! - Fixes `decimal` field bug (#8597) by parsing to `Decimal` before lessThan / greaterThan checks
44
-
45
- - [#9359](https://github.com/nixxiecms/nixxie/pull/9359) [`70eaf68`](https://github.com/nixxiecms/nixxie/commit/70eaf68340dabf3848935b821eb384c9716a5c26) Thanks [@marekryb](https://github.com/marekryb)! - Fix misleading error messages when importing `.nixxie/config.js`
46
-
47
- ## 6.3.0
48
-
49
- ### Minor Changes
50
-
51
- - [#9292](https://github.com/nixxiecms/nixxie/pull/9292) [`19a734c`](https://github.com/nixxiecms/nixxie/commit/19a734cffad82ee34452013e76182f72abbfa431) Thanks [@dcousens](https://github.com/dcousens)! - Adds `nixxie telemetry inform` command to show an informed consent notice
52
-
53
- - [#9310](https://github.com/nixxiecms/nixxie/pull/9310) [`c61ac79`](https://github.com/nixxiecms/nixxie/commit/c61ac794e77a9516863e0ab92914882b04a8f1c9) Thanks [@renovate](https://github.com/apps/renovate)! - Upgrade prisma to `5.19.0`
54
-
55
- - [#9280](https://github.com/nixxiecms/nixxie/pull/9280) [`6bdf320`](https://github.com/nixxiecms/nixxie/commit/6bdf3209a2df833fdfd8e7dc5953ec08b785b72d) Thanks [@acburdine](https://github.com/acburdine)! - Adds context.transaction passthrough for prisma $transaction options
56
-
57
- ### Patch Changes
58
-
59
- - [#9278](https://github.com/nixxiecms/nixxie/pull/9278) [`dc3802a`](https://github.com/nixxiecms/nixxie/commit/dc3802a579306b6e6fa5fd2e65a73142dc5f3e86) Thanks [@acburdine](https://github.com/acburdine)! - Fix blended usage of `{field}.hooks.validateInput` and `{field}.validate.*` resulting in an error
60
-
61
- - [`830d46d`](https://github.com/nixxiecms/nixxie/commit/830d46dcb5041d2b7ee52b7670c177139f7691cc) Thanks [@DavidMulder0](https://github.com/DavidMulder0)! - Fixes the `nixxie telemetry disable` command for opting out of telemetry
62
-
63
- - [#9292](https://github.com/nixxiecms/nixxie/pull/9292) [`19a734c`](https://github.com/nixxiecms/nixxie/commit/19a734cffad82ee34452013e76182f72abbfa431) Thanks [@dcousens](https://github.com/dcousens)! - Update https://nixxiecms.com/docs/reference/telemetry to show that `database` type is collected as part of telemetry
64
-
65
- ## 6.2.0
66
-
67
- ### Minor Changes
68
-
69
- - [#9235](https://github.com/nixxiecms/nixxie/pull/9235) [`ab1b44c`](https://github.com/nixxiecms/nixxie/commit/ab1b44cebdf3dd34fb68bb466a5d5b3a42c87b80) Thanks [@dcousens](https://github.com/dcousens)! - Add support for developers to add `esbuild.nixxie.ts` to the working directory to mutate the default esbuild configuration
70
-
71
- - [#9254](https://github.com/nixxiecms/nixxie/pull/9254) [`27207a1`](https://github.com/nixxiecms/nixxie/commit/27207a1a0d77619100386c64c4186a11c25091b6) Thanks [@dcousens](https://github.com/dcousens)! - Add support for lists with no fields in GraphQL
72
-
73
- - [#9166](https://github.com/nixxiecms/nixxie/pull/9166) [`ad45b05`](https://github.com/nixxiecms/nixxie/commit/ad45b0541037c64462f26ae95232f34a8f02a6a1) Thanks [@acburdine](https://github.com/acburdine)! - Add `db.isNullable` support for multiselect field type, defaulting to false
74
-
75
- - [#9264](https://github.com/nixxiecms/nixxie/pull/9264) [`fa63c76`](https://github.com/nixxiecms/nixxie/commit/fa63c7651b037aef41a67aaa7309a19f9792aa9a) Thanks [@dcousens](https://github.com/dcousens)! - Add exports for internal AdminUI pagination components `Pagination`, `PaginationLabel` and `usePaginationParams` for use in custom pages
76
-
77
- - [#9264](https://github.com/nixxiecms/nixxie/pull/9264) [`3f9cf06`](https://github.com/nixxiecms/nixxie/commit/3f9cf06c8813580b74ae85da360dc4252e30a29d) Thanks [@dcousens](https://github.com/dcousens)! - Update `esbuild` to ^0.23.0
78
-
79
- - [#9264](https://github.com/nixxiecms/nixxie/pull/9264) [`3f9cf06`](https://github.com/nixxiecms/nixxie/commit/3f9cf06c8813580b74ae85da360dc4252e30a29d) Thanks [@dcousens](https://github.com/dcousens)! - Update `nextjs` to version 14
80
-
81
- - [#9264](https://github.com/nixxiecms/nixxie/pull/9264) [`3f9cf06`](https://github.com/nixxiecms/nixxie/commit/3f9cf06c8813580b74ae85da360dc4252e30a29d) Thanks [@dcousens](https://github.com/dcousens)! - Update `prisma` monorepo to version 5.17.0
82
-
83
- - [#9273](https://github.com/nixxiecms/nixxie/pull/9273) [`d80748e`](https://github.com/nixxiecms/nixxie/commit/d80748ea5084bed25e1c2973d66774a66c1bdf89) Thanks [@dcousens](https://github.com/dcousens)! - Fix Prisma errors not showing when a Prisma migration errors internally
84
-
85
- ### Patch Changes
86
-
87
- - [#9166](https://github.com/nixxiecms/nixxie/pull/9166) [`ad45b05`](https://github.com/nixxiecms/nixxie/commit/ad45b0541037c64462f26ae95232f34a8f02a6a1) Thanks [@acburdine](https://github.com/acburdine)! - Fix bigInt field type to throw if `defaultValue: { kind: 'autoincrement' }` and `validation.isRequired` is set
88
-
89
- - [#9217](https://github.com/nixxiecms/nixxie/pull/9217) [`5ee45ae`](https://github.com/nixxiecms/nixxie/commit/5ee45ae5ebc0cfe43ff51a185ac55737c49e0df5) Thanks [@dcousens](https://github.com/dcousens)! - Fix `list.ui.hide*` defaulting to false when GraphQL is omitted
90
-
91
- - [#9164](https://github.com/nixxiecms/nixxie/pull/9164) [`4262e50`](https://github.com/nixxiecms/nixxie/commit/4262e50c35d69847242b541db49afd2fda9cb50c) Thanks [@renovate](https://github.com/apps/renovate)! - Fix `nixxie prisma ...` not returning the same error code as the Prisma engine
92
-
93
- - [#9155](https://github.com/nixxiecms/nixxie/pull/9155) [`0aa7317`](https://github.com/nixxiecms/nixxie/commit/0aa7317303e4cadec2051ca04c7ce1a3cefba952) Thanks [@dcousens](https://github.com/dcousens)! - Fix malformed uuid's from breaking relationship filters when using POSTGRESQL
94
-
95
- - [#9166](https://github.com/nixxiecms/nixxie/pull/9166) [`ad45b05`](https://github.com/nixxiecms/nixxie/commit/ad45b0541037c64462f26ae95232f34a8f02a6a1) Thanks [@acburdine](https://github.com/acburdine)! - Update built-in fields to use newer validate hook syntax
96
-
97
- ## 6.1.0
98
-
99
- ### Minor Changes
100
-
101
- - [#9103](https://github.com/nixxiecms/nixxie/pull/9103) [`e69def2`](https://github.com/nixxiecms/nixxie/commit/e69def247d76462c568695f6581ff4fda6ad2880) Thanks [@dcousens](https://github.com/dcousens)! - Adds `nixxie migrate create` and `nixxie migrate apply`
102
-
103
- - [#9122](https://github.com/nixxiecms/nixxie/pull/9122) [`e0aecbb`](https://github.com/nixxiecms/nixxie/commit/e0aecbb5a8f2c668460195a232cb9598dee7d9b1) Thanks [@dcousens](https://github.com/dcousens)! - Adds `context.transaction` for interactive transactions when using a `context`
104
-
105
- - [#9114](https://github.com/nixxiecms/nixxie/pull/9114) [`a9d1d22`](https://github.com/nixxiecms/nixxie/commit/a9d1d222657a1ee14cf3d03a0fdee64f046764bf) Thanks [@iamandrewluca](https://github.com/iamandrewluca)! - Add `config.db.extendPrismaClient` to support extending the `PrismaClient`
106
-
107
- - [#9112](https://github.com/nixxiecms/nixxie/pull/9112) [`002409c`](https://github.com/nixxiecms/nixxie/commit/002409ccd3ed1e06360935e2e94cd5d8393f6a7c) Thanks [@renovate](https://github.com/apps/renovate)! - Update `prisma` to `5.13.0`
108
-
109
- ### Patch Changes
110
-
111
- - [#9100](https://github.com/nixxiecms/nixxie/pull/9100) [`3b6ba78`](https://github.com/nixxiecms/nixxie/commit/3b6ba78f47e190553b7707875ca91e8d958225d5) Thanks [@dcousens](https://github.com/dcousens)! - Fix `config.db.enableLogging` types to align with Prisma 5
112
-
113
- - [#9099](https://github.com/nixxiecms/nixxie/pull/9099) [`deecc1b`](https://github.com/nixxiecms/nixxie/commit/deecc1bd938f949a7d32562031c77e8aec64f709) Thanks [@dcousens](https://github.com/dcousens)! - Fix `nixxie` command help text to show where `--frozen` and `--no-server` are applicable
114
-
115
- ## 6.0.0
116
-
117
- ### Major Changes
118
-
119
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Removes unused type parameters from types `ListConfig` and `ListAdminUIConfig`
120
-
121
- - [#9088](https://github.com/nixxiecms/nixxie/pull/9088) [`7bbc613`](https://github.com/nixxiecms/nixxie/commit/7bbc613f02f14d86d45b189ce06def2389356aa2) Thanks [@dcousens](https://github.com/dcousens)! - Upgrade `@prisma/*` packages to `5.12.1`
122
-
123
- - [#8776](https://github.com/nixxiecms/nixxie/pull/8776) [`e382f9e`](https://github.com/nixxiecms/nixxie/commit/e382f9ead3ad2b94a966651d516b8010b854e220) Thanks [@dcousens](https://github.com/dcousens)! - Change `nixxie prisma` behaviour to first require `nixxie build` (or `nixxie dev`)
124
-
125
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Remove the deprecated type parameters from the `list` and `group` functions
126
-
127
- - [#9085](https://github.com/nixxiecms/nixxie/pull/9085) [`70ffa67`](https://github.com/nixxiecms/nixxie/commit/70ffa67e6a9d421c78616c72ddc97cb698c189ff) Thanks [@dcousens](https://github.com/dcousens)! - Removes `AdminUIConfig`, `DatabaseConfig`, `GraphQLConfig` and `ServerConfig` from `@nixxie/core/types`, and some unused types - instead use `NixxieConfig['ui']`, `NixxieConfig['db']` and so on
128
-
129
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Removes `graphqlSchema` parameter from `extendHttpServer`, use `context.graphql.schema` instead
130
-
131
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Moves `config.extendGraphqlSchema` to `config.graphql.extendGraphqlSchema`, similar to `db.extendPrismaSchema`
132
-
133
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Remove `NixxieConfig` parameter from getAdditionalFiles function type
134
-
135
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Remove the deprecated `context.exitSudo` from `NixxieContext`
136
-
137
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Remove `context.experimental.initialisedLists`, use `context.__internal.lists` (may break in patch)
138
-
139
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Remove `ExtendGraphqlSchema` type alias, use `(schema: GraphQLSchema) => GraphQLSchema` instead (with `import type { GraphQLSchema } from 'graphql'`).
140
-
141
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Remove the deprecated (#8721) `config.server.healthCheck`, use `extendExpressApp` instead
142
-
143
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Removes `ListSchemaConfig` type, use `NixxieConfig['lists']` instead
144
-
145
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Remove `db.additionalPrismaDatasourceProperties`, use `extendPrismaSchema` if needed
146
-
147
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Remove `db.prismaPreviewFeatures`, use `extendPrismaSchema` if needed
148
-
149
- - [#9083](https://github.com/nixxiecms/nixxie/pull/9083) [`d609c6b`](https://github.com/nixxiecms/nixxie/commit/d609c6b052622658fe9e62d75c3c574611072efe) Thanks [@dcousens](https://github.com/dcousens)! - Remove `any` type parameter from `SessionStore`/`SessionStoreFunction` types
150
-
151
- - [#9085](https://github.com/nixxiecms/nixxie/pull/9085) [`70ffa67`](https://github.com/nixxiecms/nixxie/commit/70ffa67e6a9d421c78616c72ddc97cb698c189ff) Thanks [@dcousens](https://github.com/dcousens)! - Removes `@nixxie/core/system` from exports
152
-
153
- - [#9090](https://github.com/nixxiecms/nixxie/pull/9090) [`e21c117`](https://github.com/nixxiecms/nixxie/commit/e21c117f9ed316f54b4baa1972489c997c73d7ad) Thanks [@dcousens](https://github.com/dcousens)! - Remove deprecated `config.db.useMigrations`, use `--with-migrations` process argument or `nixxie prisma migrate [dev|deploy]` instead
154
-
155
- - [#9079](https://github.com/nixxiecms/nixxie/pull/9079) [`2e5b086`](https://github.com/nixxiecms/nixxie/commit/2e5b08625e5b8418d480b7054ea5d45eb19c02e4) Thanks [@dcousens](https://github.com/dcousens)! - Changes `file` and `image` to use random 128-bit `base64url` identifiers by default, not `uuid`
156
-
157
- ### Minor Changes
158
-
159
- - [#8776](https://github.com/nixxiecms/nixxie/pull/8776) [`e382f9e`](https://github.com/nixxiecms/nixxie/commit/e382f9ead3ad2b94a966651d516b8010b854e220) Thanks [@dcousens](https://github.com/dcousens)! - `KS_PRISMA_ERRORS` are now logged with `console.error` on the server
160
-
161
- ### Patch Changes
162
-
163
- - [#9090](https://github.com/nixxiecms/nixxie/pull/9090) [`e21c117`](https://github.com/nixxiecms/nixxie/commit/e21c117f9ed316f54b4baa1972489c997c73d7ad) Thanks [@dcousens](https://github.com/dcousens)! - Fix `--no-server` being ignored by `nixxie start`
164
-
165
- ## 5.8.0
166
-
167
- ### Minor Changes
168
-
169
- - [#9057](https://github.com/nixxiecms/nixxie/pull/9057) [`1b55b41`](https://github.com/nixxiecms/nixxie/commit/1b55b41248ffcea0322d024a333169549ccf111c) Thanks [@dcousens](https://github.com/dcousens)! - Adds `{field}.hooks.validate.[create|update|delete]` hooks, deprecates `validateInput` and `validateDelete` (throws if incompatible)
170
-
171
- - [#9056](https://github.com/nixxiecms/nixxie/pull/9056) [`3d20b94`](https://github.com/nixxiecms/nixxie/commit/3d20b94f8791225bf832b4c8d83d9235b6cc103b) Thanks [@dcousens](https://github.com/dcousens)! - Adds `{list}.hooks.validate.[create|update|delete]` hooks, deprecates `validateInput` and `validateDelete`
172
-
173
- - [#9026](https://github.com/nixxiecms/nixxie/pull/9026) [`8147976`](https://github.com/nixxiecms/nixxie/commit/8147976e90998d3d6e96f177d7f3370feeadf8d1) Thanks [@dcousens](https://github.com/dcousens)! - Add `async` to `extendHttpServer`, to support `await` on startup
174
-
175
- ### Patch Changes
176
-
177
- - [#9027](https://github.com/nixxiecms/nixxie/pull/9027) [`18eed93`](https://github.com/nixxiecms/nixxie/commit/18eed93868f8e769f84ec6c81025d7694252b98f) Thanks [@dcousens](https://github.com/dcousens)! - Use `db.idField` of `{ kind: 'number', kind: 'Int' }` internally for singletons
178
-
179
- - [#9042](https://github.com/nixxiecms/nixxie/pull/9042) [`ee1bdac`](https://github.com/nixxiecms/nixxie/commit/ee1bdaca34412d1b1fbea6dec3ce46e0f33d67f6) Thanks [@dcousens](https://github.com/dcousens)! - Fix static relationship resolution errors to conform to nominal error structure
180
-
181
- - [#9026](https://github.com/nixxiecms/nixxie/pull/9026) [`8147976`](https://github.com/nixxiecms/nixxie/commit/8147976e90998d3d6e96f177d7f3370feeadf8d1) Thanks [@dcousens](https://github.com/dcousens)! - Fix `config.server.cors` type preventing value of `false`
182
-
183
- - [#8809](https://github.com/nixxiecms/nixxie/pull/8809) [`c0dacbf`](https://github.com/nixxiecms/nixxie/commit/c0dacbf3426961e645a56fb9451415ac6b561b0e) Thanks [@dcousens](https://github.com/dcousens)! - Fix `defaultIsFilterable` and `defaultIsOrderable` types preventing value of `true`
184
-
185
- - [#9029](https://github.com/nixxiecms/nixxie/pull/9029) [`f125787`](https://github.com/nixxiecms/nixxie/commit/f125787946ed41ac5d7d097fa33608f27da14654) Thanks [@dcousens](https://github.com/dcousens)! - Fixes `createExpressApp` to use `context.graphql.schema`, not the GraphQLSchema argument
186
-
187
- - [#9028](https://github.com/nixxiecms/nixxie/pull/9028) [`d828013`](https://github.com/nixxiecms/nixxie/commit/d828013079dbbe29ef5cbd10f580cc9a85548996) Thanks [@dcousens](https://github.com/dcousens)! - Deprecates `extendHttpServer`'s `graphqlSchema` argument, use `context.graphql.schema` instead
188
-
189
- - [#9029](https://github.com/nixxiecms/nixxie/pull/9029) [`f125787`](https://github.com/nixxiecms/nixxie/commit/f125787946ed41ac5d7d097fa33608f27da14654) Thanks [@dcousens](https://github.com/dcousens)! - Deprecates `ExtendGraphQLSchema` type, use type `(schema: GraphQLSchema) => GraphQLSchema` instead
190
-
191
- - [#8809](https://github.com/nixxiecms/nixxie/pull/8809) [`c0dacbf`](https://github.com/nixxiecms/nixxie/commit/c0dacbf3426961e645a56fb9451415ac6b561b0e) Thanks [@dcousens](https://github.com/dcousens)! - Fix global locking by dropping global `p-limit` on `context.query`/`context.db`
192
-
193
- - [#9017](https://github.com/nixxiecms/nixxie/pull/9017) [`3cb0cce`](https://github.com/nixxiecms/nixxie/commit/3cb0cceef7a0b55d0ea7998ca00654c7eb217bde) Thanks [@dcousens](https://github.com/dcousens)! - Fix `image` field type to use consistent sub-field ordering
194
-
195
- - [#9057](https://github.com/nixxiecms/nixxie/pull/9057) [`1b55b41`](https://github.com/nixxiecms/nixxie/commit/1b55b41248ffcea0322d024a333169549ccf111c) Thanks [@dcousens](https://github.com/dcousens)! - Fixes the `text` field type to accept a `defaultValue` of `null`
196
-
197
- ## 5.7.2
198
-
199
- ### Patch Changes
200
-
201
- - [#9003](https://github.com/nixxiecms/nixxie/pull/9003) [`fe280c5`](https://github.com/nixxiecms/nixxie/commit/fe280c54aa5c53e3ebe592ee3cfaf8806cdf8d11) Thanks [@dcousens](https://github.com/dcousens)! - Fix `@apollo/client` using invalid data from the cache [#9000](https://github.com/nixxiecms/nixxie/issues/9000)
202
-
203
- ## 5.7.1
204
-
205
- ### Patch Changes
206
-
207
- - [#8914](https://github.com/nixxiecms/nixxie/pull/8914) [`25a6586`](https://github.com/nixxiecms/nixxie/commit/25a6586a3bd4178580150a5b66e260c78dbee36d) Thanks [@dcousens](https://github.com/dcousens)! - Fix ui.inlineCreate: { ... } for relationships submitting the parent form of nested relationship fields
208
-
209
- - [#8909](https://github.com/nixxiecms/nixxie/pull/8909) [`029b5cf`](https://github.com/nixxiecms/nixxie/commit/029b5cf40f7d5d2be9bbcd253f10421f3fa37538) Thanks [@dcousens](https://github.com/dcousens)! - Fix ui.listView.initialSort preventing sort by "No field"
210
-
211
- - [#8898](https://github.com/nixxiecms/nixxie/pull/8898) [`871bdcb`](https://github.com/nixxiecms/nixxie/commit/871bdcb2cebddca9e0f5b8d9e4a45fc179a23e46) Thanks [@marekryb](https://github.com/marekryb)! - Fix prisma migrate non-interactive environment error
212
-
213
- ## 5.7.0
214
-
215
- ### Minor Changes
216
-
217
- - [#8837](https://github.com/nixxiecms/nixxie/pull/8837) [`650fae574`](https://github.com/nixxiecms/nixxie/commit/650fae574951f91454eb1169ff2b1f9ff51e918c) Thanks [@dcousens](https://github.com/dcousens)! - Add type `FieldHooks` to `@nixxie/core/types` exports
218
-
219
- * [#8826](https://github.com/nixxiecms/nixxie/pull/8826) [`dc26bdfed`](https://github.com/nixxiecms/nixxie/commit/dc26bdfedb783a0d73174e579e46d9f00410e8ef) Thanks [@dcousens](https://github.com/dcousens)! - Add `beforeOperation.[create|update|delete]` and `afterOperation.[create|update|delete]` operation routing for list hooks
220
-
221
- ### Patch Changes
222
-
223
- - [#8819](https://github.com/nixxiecms/nixxie/pull/8819) [`52337e3aa`](https://github.com/nixxiecms/nixxie/commit/52337e3aa6a57c23c2f0756199a90058a6e5a2ac) Thanks [@acburdine](https://github.com/acburdine)! - Fix `hooks.validateInput` argument types for update operations
224
-
225
- * [#8824](https://github.com/nixxiecms/nixxie/pull/8824) [`712ebb427`](https://github.com/nixxiecms/nixxie/commit/712ebb42700cd418bb2642858493f57cf7825a40) Thanks [@ScottAgirs](https://github.com/ScottAgirs)! - Remove deprecated `experimental.appDir` flag from generated next.config
226
-
227
- ## 5.6.0
228
-
229
- ### Minor Changes
230
-
231
- - [#8810](https://github.com/nixxiecms/nixxie/pull/8810) [`27a893380`](https://github.com/nixxiecms/nixxie/commit/27a8933807804ddad17ce51e5aa418e958e48ce3) Thanks [@dcousens](https://github.com/dcousens)! - Adds error messages for GraphQL errors on the List view in the AdminUI
232
-
233
- - [#8773](https://github.com/nixxiecms/nixxie/pull/8773) [`32f7a6ad4`](https://github.com/nixxiecms/nixxie/commit/32f7a6ad4a5a51a58988e7be495c96b06771b9b7) Thanks [@marekryb](https://github.com/marekryb)! - Adds `config.graphql.schemaPath`
234
-
235
- * [#8777](https://github.com/nixxiecms/nixxie/pull/8777) [`e3438dcad`](https://github.com/nixxiecms/nixxie/commit/e3438dcad7a97fb976c1d012b0b53919d0514747) Thanks [@dcousens](https://github.com/dcousens)! - Adds `config.db.prismaSchemaPath`
236
-
237
- - [#8706](https://github.com/nixxiecms/nixxie/pull/8706) [`fa0f6bebb`](https://github.com/nixxiecms/nixxie/commit/fa0f6bebb14884b8c2b6c95f51e8757a08a7c4d4) Thanks [@wysher](https://github.com/wysher)! - Removes default descrption for `timestamp` field when using `db.updatedAt`, use `ui.description` instead
238
-
239
- ### Patch Changes
240
-
241
- - [#8810](https://github.com/nixxiecms/nixxie/pull/8810) [`27a893380`](https://github.com/nixxiecms/nixxie/commit/27a8933807804ddad17ce51e5aa418e958e48ce3) Thanks [@dcousens](https://github.com/dcousens)! - Fix `Input error: only a int can be passed to id filters` for AdminUI
242
-
243
- - [#8790](https://github.com/nixxiecms/nixxie/pull/8790) [`b830b7c6d`](https://github.com/nixxiecms/nixxie/commit/b830b7c6deebcffabcf6cd84919a7326a66e9bc9) Thanks [@dcousens](https://github.com/dcousens)! - Reduce number of package dependencies
244
-
245
- * [#8788](https://github.com/nixxiecms/nixxie/pull/8788) [`7b2bb087c`](https://github.com/nixxiecms/nixxie/commit/7b2bb087c475255322893b01dc1be08174bcca80) Thanks [@borisno2](https://github.com/borisno2)! - Fixes `nixxie build` hanging with next version >13.4.12
246
-
247
- ## 5.5.1
248
-
249
- ### Patch Changes
250
-
251
- - [#8771](https://github.com/nixxiecms/nixxie/pull/8771) [`650e27e6e`](https://github.com/nixxiecms/nixxie/commit/650e27e6e9b42abfb94c340c8470faf61f0ff284) Thanks [@dcousens](https://github.com/dcousens)! - Fixes `ui.isAccessAllowed` when `undefined`, to prevent access to the `adminMeta` GraphQL query, akin to the behaviour for the default AdminUI `pageMiddleware`
252
-
253
- * [`8c43bd37b`](https://github.com/nixxiecms/nixxie/commit/8c43bd37baacaee6180b763cfde391a665c5d322) Thanks [@lahirurane-rau](https://github.com/lahirurane-rau)! - Fixes AdminUI overflow bug (#8754) introduced in #8702
254
-
255
- ## 5.5.0
256
-
257
- ### Minor Changes
258
-
259
- - [#8738](https://github.com/nixxiecms/nixxie/pull/8738) [`ef9214cc5`](https://github.com/nixxiecms/nixxie/commit/ef9214cc527cea741fef5f77fc332cc233a1dd66) Thanks [@TweededBadger](https://github.com/TweededBadger)! - Add `sourcemap: true` to esbuild configuration to help with error debugging
260
-
261
- ### Patch Changes
262
-
263
- - [#8733](https://github.com/nixxiecms/nixxie/pull/8733) [`03ae5bcc2`](https://github.com/nixxiecms/nixxie/commit/03ae5bcc28daccccf37d689a599565214f33be3b) Thanks [@molomby](https://github.com/molomby)! - Fixes `ui.isDisabled` condition for `nixxie start`
264
-
265
- * [#8743](https://github.com/nixxiecms/nixxie/pull/8743) [`aef0bf345`](https://github.com/nixxiecms/nixxie/commit/aef0bf3453816f5b9e5acc62ef9881877bed62a5) Thanks [@dcousens](https://github.com/dcousens)! - Fixes `session` type as `any` when using `.nixxie/types` `Lists` as your root type
266
-
267
- - [#8741](https://github.com/nixxiecms/nixxie/pull/8741) [`1f666ea58`](https://github.com/nixxiecms/nixxie/commit/1f666ea58a7739ec917f9cab4ad3c52613cd2954) Thanks [@acburdine](https://github.com/acburdine)! - Fixes broken context type narrowing for virtual field resolvers
268
-
269
- ## 5.4.0
270
-
271
- ### Minor Changes
272
-
273
- - [#8648](https://github.com/nixxiecms/nixxie/pull/8648) [`d848e7d07`](https://github.com/nixxiecms/nixxie/commit/d848e7d07e01a6805db978c665d438ff3fc9dd78) Thanks [@dcousens](https://github.com/dcousens)! - Adds arbitrary string identifier support as `db: { idField: { kind: 'string' }`
274
-
275
- * [#8619](https://github.com/nixxiecms/nixxie/pull/8619) [`6a8f1dd47`](https://github.com/nixxiecms/nixxie/commit/6a8f1dd47abf4dabca121d4441ec6884541d80d1) Thanks [@jim-lake](https://github.com/jim-lake)! - Adds `itemValue` prop for custom field view components to allow value-driven field conditions
276
-
277
- - [#8726](https://github.com/nixxiecms/nixxie/pull/8726) [`404d0d767`](https://github.com/nixxiecms/nixxie/commit/404d0d7671decffa071597368455021f094b5148) Thanks [@dcousens](https://github.com/dcousens)! - Adds new random identifier type as `db: { idField: { kind: 'random', bytes?: number, encoding?: 'hex' | 'base64url' } }`, with a default of 32 bytes, encoded as `base64url`
278
-
279
- * [#8648](https://github.com/nixxiecms/nixxie/pull/8648) [`d848e7d07`](https://github.com/nixxiecms/nixxie/commit/d848e7d07e01a6805db978c665d438ff3fc9dd78) Thanks [@dcousens](https://github.com/dcousens)! - Adds new unique filters for querying by more than 1 unique value
280
-
281
- - [#8730](https://github.com/nixxiecms/nixxie/pull/8730) [`4cb05d9a8`](https://github.com/nixxiecms/nixxie/commit/4cb05d9a85b6e4b99ad8035ffcea36aa845f1943) Thanks [@dcousens](https://github.com/dcousens)! - Changes session secret to a secure random default when not provided
282
-
283
- * [#8730](https://github.com/nixxiecms/nixxie/pull/8730) [`4cb05d9a8`](https://github.com/nixxiecms/nixxie/commit/4cb05d9a85b6e4b99ad8035ffcea36aa845f1943) Thanks [@dcousens](https://github.com/dcousens)! - Allow falling back to default AWS credential provider
284
-
285
- - [#8648](https://github.com/nixxiecms/nixxie/pull/8648) [`d848e7d07`](https://github.com/nixxiecms/nixxie/commit/d848e7d07e01a6805db978c665d438ff3fc9dd78) Thanks [@dcousens](https://github.com/dcousens)! - Changes `id` field behaviours to not reject invalid identifiers when used in GraphQL resolvers, allowing developers to swap `idField` types without breaking
286
-
287
- * [#8648](https://github.com/nixxiecms/nixxie/pull/8648) [`d848e7d07`](https://github.com/nixxiecms/nixxie/commit/d848e7d07e01a6805db978c665d438ff3fc9dd78) Thanks [@dcousens](https://github.com/dcousens)! - Adds `findOne` and `findMany` support for Singleton lists for identifiers other than the default, not recommended in typical usage
288
-
289
- - [#8702](https://github.com/nixxiecms/nixxie/pull/8702) [`d539d60cf`](https://github.com/nixxiecms/nixxie/commit/d539d60cf426c4948cedde3b30fca817fb812513) Thanks [@lahirurane-rau](https://github.com/lahirurane-rau)! - Adds responsive AdminUI menu for smaller device widths
290
-
291
- * [#8730](https://github.com/nixxiecms/nixxie/pull/8730) [`4cb05d9a8`](https://github.com/nixxiecms/nixxie/commit/4cb05d9a85b6e4b99ad8035ffcea36aa845f1943) Thanks [@dcousens](https://github.com/dcousens)! - Upgrade Prisma version to `4.16.2`
292
-
293
- ### Patch Changes
294
-
295
- - [#8730](https://github.com/nixxiecms/nixxie/pull/8730) [`4cb05d9a8`](https://github.com/nixxiecms/nixxie/commit/4cb05d9a85b6e4b99ad8035ffcea36aa845f1943) Thanks [@dcousens](https://github.com/dcousens)! - Use `base64url` from `node:crypto` for random identifiers, drop `safe-uid` dependency
296
-
297
- * [#8730](https://github.com/nixxiecms/nixxie/pull/8730) [`4cb05d9a8`](https://github.com/nixxiecms/nixxie/commit/4cb05d9a85b6e4b99ad8035ffcea36aa845f1943) Thanks [@dcousens](https://github.com/dcousens)! - Deprecates `config.server.healthCheck`, use `extendExpressApp`
298
-
299
- - [#8730](https://github.com/nixxiecms/nixxie/pull/8730) [`4cb05d9a8`](https://github.com/nixxiecms/nixxie/commit/4cb05d9a85b6e4b99ad8035ffcea36aa845f1943) Thanks [@dcousens](https://github.com/dcousens)! - Deprecates `@nixxie/core/system`, including `createSystem`, `createExpressServer` and `initConfig`
300
-
301
- * [#8730](https://github.com/nixxiecms/nixxie/pull/8730) [`4cb05d9a8`](https://github.com/nixxiecms/nixxie/commit/4cb05d9a85b6e4b99ad8035ffcea36aa845f1943) Thanks [@dcousens](https://github.com/dcousens)! - Fixes misleading error when `db.url` is `undefined`
302
-
303
- - [#8730](https://github.com/nixxiecms/nixxie/pull/8730) [`4cb05d9a8`](https://github.com/nixxiecms/nixxie/commit/4cb05d9a85b6e4b99ad8035ffcea36aa845f1943) Thanks [@dcousens](https://github.com/dcousens)! - Fixes GraphQL errors revealing the exact identifier format required when an unknown identifier is provided
304
-
305
- * [#8715](https://github.com/nixxiecms/nixxie/pull/8715) [`246d8eda6`](https://github.com/nixxiecms/nixxie/commit/246d8eda6b8c79a142cdb518a71dfe248c49a809) Thanks [@dcousens](https://github.com/dcousens)! - Fix field omission in `createView` in AdminUI when `graphql.omit.read: true`
306
-
307
- - [#8715](https://github.com/nixxiecms/nixxie/pull/8715) [`246d8eda6`](https://github.com/nixxiecms/nixxie/commit/246d8eda6b8c79a142cdb518a71dfe248c49a809) Thanks [@dcousens](https://github.com/dcousens)! - Fix field omission in `itemView` in AdminUI when `graphql.omit.update: true` and `ui.fieldMode: 'hidden'`
308
-
309
- * [#8718](https://github.com/nixxiecms/nixxie/pull/8718) [`9d92e0021`](https://github.com/nixxiecms/nixxie/commit/9d92e0021fd27445f3e15aa02b4b82c82baeedd9) Thanks [@wysher](https://github.com/wysher)! - Fix the field width of grouped fields in the AdminUI
310
-
311
- ## 5.3.2
312
-
313
- ### Patch Changes
314
-
315
- - [#8641](https://github.com/nixxiecms/nixxie/pull/8641) [`19bb46034`](https://github.com/nixxiecms/nixxie/commit/19bb4603426fc30ebd859e47f4996a7254171d20) Thanks [@borisno2](https://github.com/borisno2)! - Adds `basePath` with a default of `'/'` to `pageMiddleware` to support redirects when using `ui.basePath`
316
-
317
- ## 5.3.1
318
-
319
- ### Patch Changes
320
-
321
- - [#8598](https://github.com/nixxiecms/nixxie/pull/8598) [`2bada802f`](https://github.com/nixxiecms/nixxie/commit/2bada802fdb2448698a644e954f8d0b192d58895) Thanks [@acburdine](https://github.com/acburdine)! - Fixes hanging process when multiple Prisma generators are defined
322
-
323
- * [#8617](https://github.com/nixxiecms/nixxie/pull/8617) [`9ad71cf93`](https://github.com/nixxiecms/nixxie/commit/9ad71cf935b7445b101e72c7a64a7be6ab9fe249) Thanks [@dcousens](https://github.com/dcousens)! - Fixes types for `allOperations`, regression from https://github.com/nixxiecms/nixxie/pull/8570
324
-
325
- - [#8617](https://github.com/nixxiecms/nixxie/pull/8617) [`9ad71cf93`](https://github.com/nixxiecms/nixxie/commit/9ad71cf935b7445b101e72c7a64a7be6ab9fe249) Thanks [@dcousens](https://github.com/dcousens)! - Fixes broken types for field groups, regression from https://github.com/nixxiecms/nixxie/pull/8570
326
-
327
- * [#8612](https://github.com/nixxiecms/nixxie/pull/8612) [`a9cc1285f`](https://github.com/nixxiecms/nixxie/commit/a9cc1285fd2ad67cacdb8b27fcea66f673294e8b) Thanks [@acburdine](https://github.com/acburdine)! - Fixes `db.onConnect`, with `nixxie start --with-migrations`, to run _after_ migrations complete
328
-
329
- ## 5.3.0
330
-
331
- ### Minor Changes
332
-
333
- - [#8545](https://github.com/nixxiecms/nixxie/pull/8545) [`b8453c63c`](https://github.com/nixxiecms/nixxie/commit/b8453c63c2856c0e1e4161da3da3446b2ffc0755) Thanks [@borisno2](https://github.com/borisno2)! - Adds `ui.basePath` for changing the AdminUI base path, using a dynamic `next.config.js`
334
-
335
- * [#8570](https://github.com/nixxiecms/nixxie/pull/8570) [`612431b39`](https://github.com/nixxiecms/nixxie/commit/612431b3991966ccabed20681e36acd09b944213) Thanks [@dcousens](https://github.com/dcousens)! - Adds `cookieName` as an option for `statelessSessions`
336
-
337
- - [#8545](https://github.com/nixxiecms/nixxie/pull/8545) [`b8453c63c`](https://github.com/nixxiecms/nixxie/commit/b8453c63c2856c0e1e4161da3da3446b2ffc0755) Thanks [@borisno2](https://github.com/borisno2)! - Removes prompt when using CLI `--frozen` flag and a schema is out of date, CLI now exits
338
-
339
- * [#8551](https://github.com/nixxiecms/nixxie/pull/8551) [`cfd873ef3`](https://github.com/nixxiecms/nixxie/commit/cfd873ef393b0aa429e08fb64c62bdf3e5ee1844) Thanks [@dcousens](https://github.com/dcousens)! - add `resolveInput.{create|update}` list hooks as shorthand operation circuitry
340
-
341
- - [#8570](https://github.com/nixxiecms/nixxie/pull/8570) [`612431b39`](https://github.com/nixxiecms/nixxie/commit/612431b3991966ccabed20681e36acd09b944213) Thanks [@dcousens](https://github.com/dcousens)! - Adds `Session` type parameter to generated `TypeInfo`, `Lists` and `Context` types, and propagates that type to access control and hooks
342
-
343
- * [#8552](https://github.com/nixxiecms/nixxie/pull/8552) [`ea227f04f`](https://github.com/nixxiecms/nixxie/commit/ea227f04faa60bb202fa50cab3903bdd03b43ddf) Thanks [@dcousens](https://github.com/dcousens)! - Adds new `unfiltered` shorthand function for an empty filter (exported from '@nixxie/core/access')
344
-
345
- ### Patch Changes
346
-
347
- - [#8569](https://github.com/nixxiecms/nixxie/pull/8569) [`f92aa4010`](https://github.com/nixxiecms/nixxie/commit/f92aa4010995d18ac15df83b70cbe9140bb72a7f) Thanks [@dcousens](https://github.com/dcousens)! - Fix `db.enableLogging` with an array resulting in `nixxie dev` exiting
348
-
349
- * [#8551](https://github.com/nixxiecms/nixxie/pull/8551) [`cfd873ef3`](https://github.com/nixxiecms/nixxie/commit/cfd873ef393b0aa429e08fb64c62bdf3e5ee1844) Thanks [@dcousens](https://github.com/dcousens)! - Fixes `graphql.isNonNull.create: true` TypeScript types to be non-optional
350
-
351
- - [#8569](https://github.com/nixxiecms/nixxie/pull/8569) [`f92aa4010`](https://github.com/nixxiecms/nixxie/commit/f92aa4010995d18ac15df83b70cbe9140bb72a7f) Thanks [@dcousens](https://github.com/dcousens)! - Deprecates `@nixxie/core/system` exports (`createSystem`, `createExpressServer`, `initConfig` and `createAdminUIMiddleware`), will be removed in next breaking change
352
-
353
- * [#8552](https://github.com/nixxiecms/nixxie/pull/8552) [`ea227f04f`](https://github.com/nixxiecms/nixxie/commit/ea227f04faa60bb202fa50cab3903bdd03b43ddf) Thanks [@dcousens](https://github.com/dcousens)! - Removes `SessionStrategy`'s type parameter of `StartSessionData`, removal is non-breaking as the parameter was unusable
354
-
355
- - [#8527](https://github.com/nixxiecms/nixxie/pull/8527) [`1d0e6cdea`](https://github.com/nixxiecms/nixxie/commit/1d0e6cdea6ecd3234ed24eb7c3b3794e0a9cfbca) Thanks [@acburdine](https://github.com/acburdine)! - Fixes type generation for lists with `omit.query: true`
356
-
357
- * [#8568](https://github.com/nixxiecms/nixxie/pull/8568) [`1a997d113`](https://github.com/nixxiecms/nixxie/commit/1a997d1135f4aa72ce611909c9c34714be6dbeb3) Thanks [@MohammadKurjieh](https://github.com/MohammadKurjieh)! - Change next `experimental.appDir: false` for now, until resolution found for internal React issues
358
-
359
- - [#8551](https://github.com/nixxiecms/nixxie/pull/8551) [`cfd873ef3`](https://github.com/nixxiecms/nixxie/commit/cfd873ef393b0aa429e08fb64c62bdf3e5ee1844) Thanks [@dcousens](https://github.com/dcousens)! - fix incompatible field key types when working with `resolvedData` (#8485)
360
-
361
- * [#8562](https://github.com/nixxiecms/nixxie/pull/8562) [`b8f7cf4b6`](https://github.com/nixxiecms/nixxie/commit/b8f7cf4b6f6ce77201167910545f4ad6aa857c35) Thanks [@renovate](https://github.com/apps/renovate)! - Update `@prisma/*` to `4.14.0`
362
-
363
- ## 5.2.0
364
-
365
- ### Minor Changes
366
-
367
- - [#8522](https://github.com/nixxiecms/nixxie/pull/8522) [`23c0e1daf`](https://github.com/nixxiecms/nixxie/commit/23c0e1daf909b098530f3c49b82e57ec95ff3769) Thanks [@dcousens](https://github.com/dcousens)! - Adds support for Prisma Data Proxy client generation, automatically enabled for `db.url`'s with a `prisma:` prefix
368
-
369
- * [#8432](https://github.com/nixxiecms/nixxie/pull/8432) [`753f479f7`](https://github.com/nixxiecms/nixxie/commit/753f479f75e5a540da78862a1553a82cd62750b4) Thanks [@renovate](https://github.com/apps/renovate)! - Updates Prisma version to `4.12.0`
370
-
371
- - [#8522](https://github.com/nixxiecms/nixxie/pull/8522) [`23c0e1daf`](https://github.com/nixxiecms/nixxie/commit/23c0e1daf909b098530f3c49b82e57ec95ff3769) Thanks [@dcousens](https://github.com/dcousens)! - Adds a new `.types.path` configuration option, for specifying where your Nixxie types are built
372
-
373
- ### Patch Changes
374
-
375
- - [#8522](https://github.com/nixxiecms/nixxie/pull/8522) [`23c0e1daf`](https://github.com/nixxiecms/nixxie/commit/23c0e1daf909b098530f3c49b82e57ec95ff3769) Thanks [@dcousens](https://github.com/dcousens)! - Fixes the `.nixxie/types` import paths when using `db.prismaSchemaPath` on Windows
376
-
377
- * [#8455](https://github.com/nixxiecms/nixxie/pull/8455) [`7cc1a9f6c`](https://github.com/nixxiecms/nixxie/commit/7cc1a9f6cf57995b33d41709739379f397e2789f) Thanks [@borisno2](https://github.com/borisno2)! - Fixes #8046 regression which prevented other command line arguments from being used
378
-
379
- - [#8441](https://github.com/nixxiecms/nixxie/pull/8441) [`23d01f3d8`](https://github.com/nixxiecms/nixxie/commit/23d01f3d8f0e3470ba7c7dce61c6e141b2d0aabd) Thanks [@dcousens](https://github.com/dcousens)! - Fixes regression from #8073, `.sudo` now retains the `context.session`
380
-
381
- * [#8438](https://github.com/nixxiecms/nixxie/pull/8438) [`ea3c2d443`](https://github.com/nixxiecms/nixxie/commit/ea3c2d4439db2d1bead8ccd829d89063098e8cbc) Thanks [@dcousens](https://github.com/dcousens)! - `.exitSudo` is now deprecated and will be removed in the next major version
382
-
383
- - [#8522](https://github.com/nixxiecms/nixxie/pull/8522) [`23c0e1daf`](https://github.com/nixxiecms/nixxie/commit/23c0e1daf909b098530f3c49b82e57ec95ff3769) Thanks [@dcousens](https://github.com/dcousens)! - Fixes the printed output when using `nixxie telemetry reset`
384
-
385
- - Updated dependencies [[`23c0e1daf`](https://github.com/nixxiecms/nixxie/commit/23c0e1daf909b098530f3c49b82e57ec95ff3769)]:
386
- - @nixxie-ui/fields@7.2.0
387
-
388
- ## 5.1.0
389
-
390
- ### Minor Changes
391
-
392
- - [#7964](https://github.com/nixxiecms/nixxie/pull/7964) [`33ec1fc01`](https://github.com/nixxiecms/nixxie/commit/33ec1fc01ef2e01848fb190d881c4b6ad316daf3) Thanks [@renovate](https://github.com/apps/renovate)! - Updates Prisma to v4.11.0
393
-
394
- ### Patch Changes
395
-
396
- - [#8304](https://github.com/nixxiecms/nixxie/pull/8304) [`aad631483`](https://github.com/nixxiecms/nixxie/commit/aad6314837aac048683f52213de2bcdfcba8f2b1) Thanks [@dcousens](https://github.com/dcousens)! - Updates `image-size` to `5.0.0` to mitigate [CVE-2022-36313](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36313)
397
-
398
- - [#8352](https://github.com/nixxiecms/nixxie/pull/8352) [`f4d4f5c48`](https://github.com/nixxiecms/nixxie/commit/f4d4f5c485861618d225d75e2c7496319703b936) Thanks [@acburdine](https://github.com/acburdine)! - Fixes list-level `graphql.omit` syntax to match the field-level `graphql.omit`
399
-
400
- - [#8355](https://github.com/nixxiecms/nixxie/pull/8355) [`ce600cf44`](https://github.com/nixxiecms/nixxie/commit/ce600cf444a9295be210cae4e2962fa2625e712a) Thanks [@acburdine](https://github.com/acburdine)! - Fixes Typescript types to use `never` for omitted types
401
-
402
- - [#8347](https://github.com/nixxiecms/nixxie/pull/8347) [`5051e5a72`](https://github.com/nixxiecms/nixxie/commit/5051e5a724f13008ce1b606858b565830f349b98) Thanks [@borisno2](https://github.com/borisno2)! - Removes outdated Prisma `prismaClient.$on('beforeExit'...` work-around that blocked Prisma Data Proxy support
403
-
404
- - [#8354](https://github.com/nixxiecms/nixxie/pull/8354) [`c3ce0da37`](https://github.com/nixxiecms/nixxie/commit/c3ce0da37c78c4e1174a13e8d34d00a4f6079dcb) Thanks [@acburdine](https://github.com/acburdine)! - Fixes `nixxie start --with-migrations` exiting after a migration
405
-
406
- ## 5.0.0
407
-
408
- ### Major Changes
409
-
410
- - [#8221](https://github.com/nixxiecms/nixxie/pull/8221) [`88a7c6986`](https://github.com/nixxiecms/nixxie/commit/88a7c6986fd421be2080cb29ca9c86e8bbc40ae5) Thanks [@borisno2](https://github.com/borisno2)! - Upgrade Apollo Server to version 4
411
-
412
- - [#8307](https://github.com/nixxiecms/nixxie/pull/8307) [`d33bb4764`](https://github.com/nixxiecms/nixxie/commit/d33bb4764669db22683b30edb8dcf8e3c4e9b3fc) Thanks [@borisno2](https://github.com/borisno2)! - Removes assumptions about `@prisma/client` output location, with a new `db.prismaClientPath` configuration option to set where to import the Prisma client from
413
-
414
- - [#8302](https://github.com/nixxiecms/nixxie/pull/8302) [`254e6d551`](https://github.com/nixxiecms/nixxie/commit/254e6d5511f3e71f3978b5519710b30c90904049) Thanks [@dcousens](https://github.com/dcousens)! - Removes `--reset-db` from `nixxie dev`, use `nixxie prisma db push --force-reset` to reset your database
415
-
416
- - [#8046](https://github.com/nixxiecms/nixxie/pull/8046) [`ead1241f4`](https://github.com/nixxiecms/nixxie/commit/ead1241f4b3bd6620c9b7bd1a02be789742b9ed6) Thanks [@borisno2](https://github.com/borisno2)! - Adds additional flags to the `nixxie dev`, `nixxie build` and `nixxie start` CLI commands
417
-
418
- - [#8283](https://github.com/nixxiecms/nixxie/pull/8283) [`11bb288ff`](https://github.com/nixxiecms/nixxie/commit/11bb288ff50f4cc1b269f513fb1dd9f5fb63b832) Thanks [@dcousens](https://github.com/dcousens)! - Changes `graphql.omit` type from array to explicit `{ read: boolean, create: boolean, update: boolean }`
419
-
420
- - [#8283](https://github.com/nixxiecms/nixxie/pull/8283) [`11bb288ff`](https://github.com/nixxiecms/nixxie/commit/11bb288ff50f4cc1b269f513fb1dd9f5fb63b832) Thanks [@dcousens](https://github.com/dcousens)! - Changes `graphql.*.isNonNull` to `graphql.isNonNull.*`, and adds `graphql.isNonNull.update` for optimistic locking usecases
421
-
422
- - [#8315](https://github.com/nixxiecms/nixxie/pull/8315) [`907f7b102`](https://github.com/nixxiecms/nixxie/commit/907f7b102c2fd541fd4df8d45331795ee062ca73) Thanks [@dcousens](https://github.com/dcousens)! - Removes `@nixxie/core/next` from our exports
423
-
424
- - [#8280](https://github.com/nixxiecms/nixxie/pull/8280) [`384748d85`](https://github.com/nixxiecms/nixxie/commit/384748d85f06755ee7c8aa6f74f0ffae486b82c1) Thanks [@dcousens](https://github.com/dcousens)! - Renames `isValidSession` on `pageMiddleware` to `wasAccessAllowed`, which is what it actually is
425
-
426
- - [#8221](https://github.com/nixxiecms/nixxie/pull/8221) [`88a7c6986`](https://github.com/nixxiecms/nixxie/commit/88a7c6986fd421be2080cb29ca9c86e8bbc40ae5) Thanks [@borisno2](https://github.com/borisno2)! - Remove experimental `generateNextGraphqlAPI` - use `getContext` instead
427
-
428
- ### Minor Changes
429
-
430
- - [#8321](https://github.com/nixxiecms/nixxie/pull/8321) [`8e7729880`](https://github.com/nixxiecms/nixxie/commit/8e7729880606363203d91b1c74a61e58295dadca) Thanks [@MurzNN](https://github.com/MurzNN)! - Extend `db.enableLogging` to support other Prisma log levels
431
-
432
- - [#8264](https://github.com/nixxiecms/nixxie/pull/8264) [`5a9ca539f`](https://github.com/nixxiecms/nixxie/commit/5a9ca539f714f9dd3b70886710410c28d977045a) Thanks [@jhohlfeld](https://github.com/jhohlfeld)! - Add `acl` option for s3 storage configuration
433
-
434
- - [#8241](https://github.com/nixxiecms/nixxie/pull/8241) [`25a1bf4ed`](https://github.com/nixxiecms/nixxie/commit/25a1bf4edb9844768e5e30027802365564cacd64) Thanks [@borisno2](https://github.com/borisno2)! - Adds an experimental `extendPrismaSchema` configuration option for lists and fields to mutate the prisma schema
435
-
436
- - [#8283](https://github.com/nixxiecms/nixxie/pull/8283) [`11bb288ff`](https://github.com/nixxiecms/nixxie/commit/11bb288ff50f4cc1b269f513fb1dd9f5fb63b832) Thanks [@dcousens](https://github.com/dcousens)! - Removes `nixxie build` errors for `graphql.isNonNull.create` and `graphql.isNonNull.update` when field access control is configured
437
-
438
- - [#8298](https://github.com/nixxiecms/nixxie/pull/8298) [`c14fa5cdd`](https://github.com/nixxiecms/nixxie/commit/c14fa5cdd01a1948c719240797bd4a68a08f12bb) Thanks [@dcousens](https://github.com/dcousens)! - Adds a `sudo` GraphQL extension for the `GraphQLSchema` passed to `extendGraphqlSchema`; enabling developers to determine if they are extending the sudo GraphQL schema
439
-
440
- - [#8313](https://github.com/nixxiecms/nixxie/pull/8313) [`75add09c7`](https://github.com/nixxiecms/nixxie/commit/75add09c7b136ca3f2920fc1d85ffdf10499b3b2) Thanks [@marekryb](https://github.com/marekryb)! - Add a `cursor` argument for `findMany` queries, enabling cursor-based pagination (see [Prisma.io documentation](https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination) for how this works)
441
-
442
- ### Patch Changes
443
-
444
- - [#8177](https://github.com/nixxiecms/nixxie/pull/8177) [`3ef0d9d7d`](https://github.com/nixxiecms/nixxie/commit/3ef0d9d7d857c622cec95b702ea717fa920f8fc0) Thanks [@borisno2](https://github.com/borisno2)! - Fixes creating new relationships in card view on create item page
445
-
446
- - [#8239](https://github.com/nixxiecms/nixxie/pull/8239) [`ebd725938`](https://github.com/nixxiecms/nixxie/commit/ebd7259383161225c9fcc8597d2e5a13eb2de015) Thanks [@borisno2](https://github.com/borisno2)! - Fixes error when deleting an item that has a file or image that is no longer on the filesystem
447
-
448
- - [#8234](https://github.com/nixxiecms/nixxie/pull/8234) [`d074e42c4`](https://github.com/nixxiecms/nixxie/commit/d074e42c4cc45bf72aca7a9254057d56516fec58) Thanks [@borisno2](https://github.com/borisno2)! - Export `next/head` for use in auth package
449
-
450
- - [#8237](https://github.com/nixxiecms/nixxie/pull/8237) [`9598c0466`](https://github.com/nixxiecms/nixxie/commit/9598c04661bfbea88fef5d615565c09b2d6c41ea) Thanks [@borisno2](https://github.com/borisno2)! - Fixes `<div> cannot appear as a dependant of <p>` error on List Page
451
-
452
- - [#8326](https://github.com/nixxiecms/nixxie/pull/8326) [`0bd3e29e1`](https://github.com/nixxiecms/nixxie/commit/0bd3e29e1a44a631f0ad3d68e0dc3782c19a8388) Thanks [@dcousens](https://github.com/dcousens)! - Changes the `nixxie telemetry status` command output to show formatted output instead of JSON
453
-
454
- - [#8326](https://github.com/nixxiecms/nixxie/pull/8326) [`0bd3e29e1`](https://github.com/nixxiecms/nixxie/commit/0bd3e29e1a44a631f0ad3d68e0dc3782c19a8388) Thanks [@dcousens](https://github.com/dcousens)! - Fixes the device telemetry configuration which had duplicate data under a malformed project path
455
-
456
- - [#8300](https://github.com/nixxiecms/nixxie/pull/8300) [`7ebc68ebe`](https://github.com/nixxiecms/nixxie/commit/7ebc68ebef2215e57f2317e9db9a50c68cf421a8) Thanks [@dcousens](https://github.com/dcousens)! - Fixes undefined types when using `omit` for create or update
457
-
458
- - [#8216](https://github.com/nixxiecms/nixxie/pull/8216) [`20bd5056d`](https://github.com/nixxiecms/nixxie/commit/20bd5056dc56e95be7891de1b08583f015bc602a) Thanks [@borisno2](https://github.com/borisno2)! - Fixes Dataloader error when resolving relationships when access is `false` on related to-one item
459
-
460
- - [#8256](https://github.com/nixxiecms/nixxie/pull/8256) [`7c723d961`](https://github.com/nixxiecms/nixxie/commit/7c723d9618e57ca4323fce808e5741172c522b5a) Thanks [@dcousens](https://github.com/dcousens)! - Fixes `.nixxie/types` including invalid definitions
461
-
462
- - [#8159](https://github.com/nixxiecms/nixxie/pull/8159) [`bdbe1ad64`](https://github.com/nixxiecms/nixxie/commit/bdbe1ad64a44bccb28258d490b637e1d81b52f70) Thanks [@borisno2](https://github.com/borisno2)! - Adds the ability to disable telemetry using environment variable `KEYSTONE_TELEMETRY_DISABLED`
463
-
464
- - [#8280](https://github.com/nixxiecms/nixxie/pull/8280) [`384748d85`](https://github.com/nixxiecms/nixxie/commit/384748d85f06755ee7c8aa6f74f0ffae486b82c1) Thanks [@dcousens](https://github.com/dcousens)! - Fixes `pageMiddleware` to be called for `publicPages`, returning support for public redirects
465
-
466
- - [#8293](https://github.com/nixxiecms/nixxie/pull/8293) [`0fada1b15`](https://github.com/nixxiecms/nixxie/commit/0fada1b1510559bcdb564bcf245b151305ca69b5) Thanks [@borisno2](https://github.com/borisno2)! - Fixes `nixxie start` requiring Typescript by removing `tsconfig.json` from the generated AdminUI output
467
-
468
- - [`0c45d272f`](https://github.com/nixxiecms/nixxie/commit/0c45d272f7bffdf3265fb86d075824575819bffe) Thanks [@acburdine](https://github.com/acburdine)! - Fixes withRequest behavior when no session strategy is configured
469
-
470
- - [#8222](https://github.com/nixxiecms/nixxie/pull/8222) [`808505cff`](https://github.com/nixxiecms/nixxie/commit/808505cff4f65f93cfaab3bbf6178c1a5ec75579) Thanks [@emmatown](https://github.com/emmatown)! - Fixes `defaultFieldMode`
471
-
472
- - Updated dependencies [[`3ef0d9d7d`](https://github.com/nixxiecms/nixxie/commit/3ef0d9d7d857c622cec95b702ea717fa920f8fc0)]:
473
- - @nixxie-ui/segmented-control@7.0.3
474
-
475
- ## 4.0.1
476
-
477
- ### Patch Changes
478
-
479
- - [#8155](https://github.com/nixxiecms/nixxie/pull/8155) [`93c2d5dcf`](https://github.com/nixxiecms/nixxie/commit/93c2d5dcf814213202bb229e0ac2d351a78c241f) Thanks [@borisno2](https://github.com/borisno2)! - Resolve `config.telemetry` check issue
480
-
481
- ## 4.0.0
482
-
483
- ### Major Changes
484
-
485
- - [#8073](https://github.com/nixxiecms/nixxie/pull/8073) [`94e12b408`](https://github.com/nixxiecms/nixxie/commit/94e12b40872cd5814fe6d980b68070906f0a9307) Thanks [@borisno2](https://github.com/borisno2)! - Removes `context.startSession` and `context.endSession` - replace with `context.sessionStrategy.start` and `context.sessionStrategy.end` as required
486
-
487
- - [#8073](https://github.com/nixxiecms/nixxie/pull/8073) [`94e12b408`](https://github.com/nixxiecms/nixxie/commit/94e12b40872cd5814fe6d980b68070906f0a9307) Thanks [@borisno2](https://github.com/borisno2)! - Removes `createContext`, `createRequestContext` - replace any relevant usage with `context.sudo()`, `context.withSession()` or `context.withRequest()`
488
-
489
- ### Minor Changes
490
-
491
- - [#8132](https://github.com/nixxiecms/nixxie/pull/8132) [`9dec7455b`](https://github.com/nixxiecms/nixxie/commit/9dec7455b1a8f557f8d5744731a0a40b1d837295) Thanks [@fkrauthan](https://github.com/fkrauthan)! - Adds `HOST` as an environment variable for `nixxie dev` and `nixxie start`, with higher precedence than `config.server.options.host`
492
-
493
- - [#8118](https://github.com/nixxiecms/nixxie/pull/8118) [`39cc3cc53`](https://github.com/nixxiecms/nixxie/commit/39cc3cc53849418ace354f86792e87956c263afa) Thanks [@borisno2](https://github.com/borisno2)! - Adds Project and Device Telemetry events to the `nixxie dev` script
494
-
495
- - [#8061](https://github.com/nixxiecms/nixxie/pull/8061) [`5989672e3`](https://github.com/nixxiecms/nixxie/commit/5989672e3b7d1fc844a4f0a596f8e449abef1351) Thanks [@AliceRossa](https://github.com/AliceRossa)! - Next.js 13 Upgrade
496
-
497
- ### Patch Changes
498
-
499
- - [#8132](https://github.com/nixxiecms/nixxie/pull/8132) [`9dec7455b`](https://github.com/nixxiecms/nixxie/commit/9dec7455b1a8f557f8d5744731a0a40b1d837295) Thanks [@fkrauthan](https://github.com/fkrauthan)! - Reverts `::` as the default `config.server.options.host`, prefer `undefined` (the default for nodejs `httpServer`)
500
-
501
- - Updated dependencies [[`cf18ee7c5`](https://github.com/nixxiecms/nixxie/commit/cf18ee7c5e173fd9cb05e918293dcc4e71a93d96)]:
502
- - @nixxie-ui/modals@6.0.3
503
-
504
- ## 3.1.3
505
-
506
- ### Patch Changes
507
-
508
- - [`a84106345`](https://github.com/nixxiecms/nixxie/commit/a8410634550b29b4dbaf196f23a71428878e24fe) Thanks [@dcousens](https://github.com/dcousens)! - Fixes `access.filter.*` passing `listKey: undefined`
509
-
510
- ## 3.1.2
511
-
512
- ### Patch Changes
513
-
514
- - [#8105](https://github.com/nixxiecms/nixxie/pull/8105) [`3d5ff29a0`](https://github.com/nixxiecms/nixxie/commit/3d5ff29a07825aacf225a73539ceef8246825c76) Thanks [@dcousens](https://github.com/dcousens)! - Fix `http` server not binding to '::' by default (regression introduced by [#8078](https://github.com/nixxiecms/nixxie/pull/8078))
515
-
516
- ## 3.1.1
517
-
518
- ### Patch Changes
519
-
520
- - [`32e200fa7`](https://github.com/nixxiecms/nixxie/commit/32e200fa72b06091746791f1f1b9d3e6027840b4) Thanks [@emmatown](https://github.com/emmatown)! - Fixes `ui.displayMode` in the `relationship` field incorrectly defaulting to `count` instead of `select`
521
-
522
- ## 3.1.0
523
-
524
- ### Minor Changes
525
-
526
- - [#8075](https://github.com/nixxiecms/nixxie/pull/8075) [`7543136e3`](https://github.com/nixxiecms/nixxie/commit/7543136e383b3605841f800112ce6a6159ab8294) Thanks [@borisno2](https://github.com/borisno2)! - Adds `fieldPosition` to field `ui.itemView`, for moving a field to the sidebar
527
-
528
- - [#8013](https://github.com/nixxiecms/nixxie/pull/8013) [`d29de5413`](https://github.com/nixxiecms/nixxie/commit/d29de54138781cb38e5b81848750eb57b4ef3b4e) Thanks [@borisno2](https://github.com/borisno2)! - Adds `context.withRequest`, a method to derive an updated context from an incoming request and response
529
-
530
- - [#8074](https://github.com/nixxiecms/nixxie/pull/8074) [`2a03de46f`](https://github.com/nixxiecms/nixxie/commit/2a03de46fcd2345163dd360048defde27d56f917) Thanks [@dcousens](https://github.com/dcousens)! - Adds `ui.searchFields` for the relationship field
531
-
532
- - [#8088](https://github.com/nixxiecms/nixxie/pull/8088) [`c1a69e265`](https://github.com/nixxiecms/nixxie/commit/c1a69e265c511c3c1ea8232050e035d6c73a8f2b) Thanks [@emmatown](https://github.com/emmatown)! - Adds a new `group` function for grouping fields in the Admin UI
533
-
534
- ### Patch Changes
535
-
536
- - [#8078](https://github.com/nixxiecms/nixxie/pull/8078) [`b3633c108`](https://github.com/nixxiecms/nixxie/commit/b3633c1080500dc2b9243f319cba490dd3c34222) Thanks [@u-ishii](https://github.com/u-ishii)! - Fix the startup message to use the configured `http.options` host instead of assuming `localhost`
537
-
538
- - [#8049](https://github.com/nixxiecms/nixxie/pull/8049) [`5525800c8`](https://github.com/nixxiecms/nixxie/commit/5525800c8568a2d093fd6103bc5147363e66814d) Thanks [@georgekrax](https://github.com/georgekrax)! - Fix relationship fields not using their `ui.labelField` configuration
539
-
540
- - [#8054](https://github.com/nixxiecms/nixxie/pull/8054) [`f72a3d94c`](https://github.com/nixxiecms/nixxie/commit/f72a3d94c31e6e6fd738ba7b0a7f8821b680b9f8) Thanks [@emmatown](https://github.com/emmatown)! - Adds `exports` field to `package.json`
541
-
542
- - Updated dependencies [[`f72a3d94c`](https://github.com/nixxiecms/nixxie/commit/f72a3d94c31e6e6fd738ba7b0a7f8821b680b9f8)]:
543
- - @nixxie-ui/button@7.0.2
544
- - @nixxie-ui/core@5.0.2
545
- - @nixxie-ui/fields@7.1.2
546
- - @nixxie-ui/icons@6.0.2
547
- - @nixxie-ui/loading@6.0.2
548
- - @nixxie-ui/modals@6.0.2
549
- - @nixxie-ui/notice@6.0.2
550
- - @nixxie-ui/options@6.0.2
551
- - @nixxie-ui/pill@7.0.2
552
- - @nixxie-ui/popover@6.0.2
553
- - @nixxie-ui/segmented-control@7.0.2
554
- - @nixxie-ui/toast@6.0.2
555
- - @nixxie-ui/tooltip@6.0.2
556
-
557
- ## 3.0.2
558
-
559
- ### Patch Changes
560
-
561
- - [#8031](https://github.com/nixxiecms/nixxie/pull/8031) [`4ec75f388`](https://github.com/nixxiecms/nixxie/commit/4ec75f388db8157f757307b828354caabd3bb669) Thanks [@mmachatschek](https://github.com/mmachatschek)! - Fixes platform configuration for esbuild
562
-
563
- - [#8038](https://github.com/nixxiecms/nixxie/pull/8038) [`4542c1fd5`](https://github.com/nixxiecms/nixxie/commit/4542c1fd571b33f1a8c6d87cb0f58145d5ba5f30) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixes changes to `session`/`ui.publicPages`/`ui.isValidSession`/`ui.pageMiddleware` not being updated in live reloads
564
-
565
- - [#8034](https://github.com/nixxiecms/nixxie/pull/8034) [`4c08c1120`](https://github.com/nixxiecms/nixxie/commit/4c08c1120a51eee0cd363c20c2fadbacaba9814a) Thanks [@gautamsi](https://github.com/gautamsi)! - Fixes issue where the custom field view `controller` was not being used. You should be able to override field `controller` when setting `ui.views` parameter in fields.
566
-
567
- - [#8000](https://github.com/nixxiecms/nixxie/pull/8000) [`a229856df`](https://github.com/nixxiecms/nixxie/commit/a229856df94cff2d4132d5c466cc8ebea44f4846) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Improves performance of querying to-one relationships
568
-
569
- - [#7930](https://github.com/nixxiecms/nixxie/pull/7930) [`109db894d`](https://github.com/nixxiecms/nixxie/commit/109db894dee4fc00fae4d0afc85f60fa53177199) Thanks [@nya1](https://github.com/nya1)! - Fixes `in` and `not_in` filter views for `integer`, `bigInt`, `decimal` and `float` fields
570
-
571
- ## 3.0.1
572
-
573
- ### Patch Changes
574
-
575
- - [#8017](https://github.com/nixxiecms/nixxie/pull/8017) [`958d7c0bd`](https://github.com/nixxiecms/nixxie/commit/958d7c0bd64e78960a82ccbf76b79203243a3aa3) Thanks [@acburdine](https://github.com/acburdine)! - Fixes the inputData field type for FieldCreateItemAccessArgs
576
-
577
- ## 3.0.0
578
-
579
- ### Major Changes
580
-
581
- - [#7955](https://github.com/nixxiecms/nixxie/pull/7955) [`6497e1c7e`](https://github.com/nixxiecms/nixxie/commit/6497e1c7e314afeae231d0dac0b03eaf145413ed) Thanks [@dcousens](https://github.com/dcousens)! - `db.onConnect` is now called with an unprivileged context, **not sudo**. Use `context.sudo()` if you need to bypass access control
582
-
583
- - [#7914](https://github.com/nixxiecms/nixxie/pull/7914) [`c740ba630`](https://github.com/nixxiecms/nixxie/commit/c740ba630cafbf1417dab0358b901cbfb850df49) Thanks [@dcousens](https://github.com/dcousens)! - Changes access-control error messages to only show the list key and operation
584
-
585
- - [#7968](https://github.com/nixxiecms/nixxie/pull/7968) [`6c60565c9`](https://github.com/nixxiecms/nixxie/commit/6c60565c940a9e27b8bb9b3e3e61260f22ee1e1a) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removes `@nixxie/core/migrations`
586
-
587
- - [#7848](https://github.com/nixxiecms/nixxie/pull/7848) [`7ae3bb706`](https://github.com/nixxiecms/nixxie/commit/7ae3bb7064f54d5d94e55de07339336faff57a0f) Thanks [@Noviny](https://github.com/Noviny)! - Changes `.access` control on `list` to required, with new `allowAll` and `denyAll` functions for easy shorthand.
588
-
589
- - [#7817](https://github.com/nixxiecms/nixxie/pull/7817) [`0530069b6`](https://github.com/nixxiecms/nixxie/commit/0530069b6d3a459f41a77a6b014cdb2178649eef) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Upgrade to `graphql@16`
590
-
591
- - [#7671](https://github.com/nixxiecms/nixxie/pull/7671) [`c06c5d60c`](https://github.com/nixxiecms/nixxie/commit/c06c5d60c8a4d0f05eb3b1e84f97b5611f07005a) Thanks [@renovate](https://github.com/apps/renovate)! - Upgrade to `prisma@4`
592
-
593
- - [#7963](https://github.com/nixxiecms/nixxie/pull/7963) [`25b5bb605`](https://github.com/nixxiecms/nixxie/commit/25b5bb6057a9dfba50bf7e3bbb454a24ff30820b) Thanks [@dcousens](https://github.com/dcousens)! - Removes `context.totalResults` and `context.maxTotalResults`
594
-
595
- - [#7957](https://github.com/nixxiecms/nixxie/pull/7957) [`2a7bc608b`](https://github.com/nixxiecms/nixxie/commit/2a7bc608b9d9a4c1296dadc6ae9d81d834c435cb) Thanks [@dcousens](https://github.com/dcousens)! - Removes `experimental.generateNodeAPI`, use `getContext` instead
596
-
597
- - [#7969](https://github.com/nixxiecms/nixxie/pull/7969) [`411663ae7`](https://github.com/nixxiecms/nixxie/commit/411663ae7f7cf172d3ea429a90e2e28a3ff63cfb) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removes `isLiveReload` flag from `createSystem`
598
-
599
- - [#7888](https://github.com/nixxiecms/nixxie/pull/7888) [`ed3d97874`](https://github.com/nixxiecms/nixxie/commit/ed3d97874e93470cccac67ac2e43dbd268e7e929) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Changes default Apollo Server configuration to use `cache: "bounded"` and `persistedQueries: false`
600
-
601
- - [#7912](https://github.com/nixxiecms/nixxie/pull/7912) [`c3a3789c6`](https://github.com/nixxiecms/nixxie/commit/c3a3789c6e4a1761a24cd02904b7549a62113363) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removes `createSessionContext` export from `@nixxie/core/session`
602
-
603
- - [#7972](https://github.com/nixxiecms/nixxie/pull/7972) [`81f33eed3`](https://github.com/nixxiecms/nixxie/commit/81f33eed3570057be9bc8df1f29de12886dfceea) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removes `@nixxie/core/artifacts` from our exports
604
-
605
- - [#7913](https://github.com/nixxiecms/nixxie/pull/7913) [`267d8c1f3`](https://github.com/nixxiecms/nixxie/commit/267d8c1f39ed2209d4d497f6041d85f5ebb29dbc) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removes the parameters for `getAdminMeta` when writing field types, and the respective types `AdminMetaRootVal`, `ListMetaRootVal` and `FieldMetaRootVal` therein.
606
-
607
- - [#7971](https://github.com/nixxiecms/nixxie/pull/7971) [`a8a5f1fae`](https://github.com/nixxiecms/nixxie/commit/a8a5f1faed31e63e948323bed8e6edf193f54866) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removes `connect` and `disconnect` from `SessionStore`
608
-
609
- - [#7919](https://github.com/nixxiecms/nixxie/pull/7919) [`51ab28615`](https://github.com/nixxiecms/nixxie/commit/51ab28615a706012150bedde914b8f9cdf71c9d6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removes `filters` export from `@nixxie/core/types`
610
-
611
- - [#7671](https://github.com/nixxiecms/nixxie/pull/7671) [`c06c5d60c`](https://github.com/nixxiecms/nixxie/commit/c06c5d60c8a4d0f05eb3b1e84f97b5611f07005a) Thanks [@renovate](https://github.com/apps/renovate)! - Changes the return type for the `resolveInput` hook with `json` fields. Previously you may have used `'DbNull'` or `'JsonNull'` as respective null magic values - you can now always use a Javascript `null` value.
612
- Unlike previous behaviour, a null value will now consistently map to a `Prisma.DbNull`.
613
-
614
- - [#7971](https://github.com/nixxiecms/nixxie/pull/7971) [`a8a5f1fae`](https://github.com/nixxiecms/nixxie/commit/a8a5f1faed31e63e948323bed8e6edf193f54866) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removes `disconnect` from `SessionStrategy`
615
-
616
- - [#7805](https://github.com/nixxiecms/nixxie/pull/7805) [`c2275621d`](https://github.com/nixxiecms/nixxie/commit/c2275621d7e96576acd59de7636095c432b3570e) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Changes field `.views` module resolution, from a path, to a module path that is resolved from where `nixxie start` is run
617
-
618
- - [#7968](https://github.com/nixxiecms/nixxie/pull/7968) [`6c60565c9`](https://github.com/nixxiecms/nixxie/commit/6c60565c940a9e27b8bb9b3e3e61260f22ee1e1a) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Replaces `@nixxie/core/testing` exports with `{ resetDatabase }`, for a `context` use `getContext` instead
619
-
620
- - [#7943](https://github.com/nixxiecms/nixxie/pull/7943) [`494cdefb1`](https://github.com/nixxiecms/nixxie/commit/494cdefb1d08a6f3518fbc4946cdf0ffcb1aa6dd) Thanks [@borisno2](https://github.com/borisno2)! - Removes the `@graphql-tools/schema` wrapping functions `graphQLSchemaExtension` and `gql`. Developers should import `@graphql-tools/schema` themselves, or use `graphql` (as exported by `@nixxie/core`).
621
-
622
- ### Minor Changes
623
-
624
- - [#7954](https://github.com/nixxiecms/nixxie/pull/7954) [`c75340fc4`](https://github.com/nixxiecms/nixxie/commit/c75340fc44757044049712fd6910010ac2029390) Thanks [@dcousens](https://github.com/dcousens)! - Adds new `getContext` function (from `@nixxie/core/context`) for working with a Nixxie configuration directly
625
-
626
- - [#7841](https://github.com/nixxiecms/nixxie/pull/7841) [`d7cfada36`](https://github.com/nixxiecms/nixxie/commit/d7cfada36baf0a9b94576bc004a747ddd2fa127c) Thanks [@Noviny](https://github.com/Noviny)! - Adds a search input field to the list view, resulting in a `contains` query across `ui.searchFields` joined with the list view filters
627
-
628
- - [#7863](https://github.com/nixxiecms/nixxie/pull/7863) [`524431be6`](https://github.com/nixxiecms/nixxie/commit/524431be6795421b3b1bf6e42276cc81979e5255) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Adds a new `isSingleton` property for configuring Singleton lists
629
-
630
- - [#7963](https://github.com/nixxiecms/nixxie/pull/7963) [`25b5bb605`](https://github.com/nixxiecms/nixxie/commit/25b5bb6057a9dfba50bf7e3bbb454a24ff30820b) Thanks [@dcousens](https://github.com/dcousens)! - Adds `[list].graphql.maxTake`, a list configuration option to enforce the maximum `take` value in findMany queries for that list
631
-
632
- ### Patch Changes
633
-
634
- - [#7982](https://github.com/nixxiecms/nixxie/pull/7982) [`138a015ba`](https://github.com/nixxiecms/nixxie/commit/138a015ba030c46f483a773c032f6748dc71ca66) Thanks [@dcousens](https://github.com/dcousens)! - Fixes JSON field type view assuming the empty string is equivalent to `null`
635
-
636
- - [#7809](https://github.com/nixxiecms/nixxie/pull/7809) [`309786f7b`](https://github.com/nixxiecms/nixxie/commit/309786f7bfe9d32a25726b156a20be79123dc236) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Changed platform compilation to use [esbuild](https://esbuild.github.io/), previously used next.js
637
-
638
- - [#7910](https://github.com/nixxiecms/nixxie/pull/7910) [`2317d0bf5`](https://github.com/nixxiecms/nixxie/commit/2317d0bf5f9c9ce17a5d5106a12e408586e0cef6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removes `experimental.enableNextJsGraphqlApiEndpoint`
639
-
640
- - [#7874](https://github.com/nixxiecms/nixxie/pull/7874) [`824dafa2e`](https://github.com/nixxiecms/nixxie/commit/824dafa2ecb9a28561879d8e38ba5cc0753d6e42) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removes `prettier` from formatting the generated `schema.graphql`
641
-
642
- ## 2.3.1
643
-
644
- ### Patch Changes
645
-
646
- - [`03061416c`](https://github.com/nixxiecms/nixxie/commit/03061416c36e0d97cc5fefc08a29e5e2294af58b) Thanks [@dcousens](https://github.com/dcousens)! - Fixes BigInt values throwing on deserialisation in the item view
647
-
648
- * [`65c6ee3de`](https://github.com/nixxiecms/nixxie/commit/65c6ee3deef23605fc72b80230908696a7a65e7c) Thanks [@marekryb](https://github.com/marekryb)! - Fixes the multiselect field type not using the provided `label`, `access`, `graphql`, `isFilterable` or `isOrderable` configuration options
649
-
650
- ## 2.3.0
651
-
652
- ### Minor Changes
653
-
654
- - [#7927](https://github.com/nixxiecms/nixxie/pull/7927) [`1edfbd516`](https://github.com/nixxiecms/nixxie/commit/1edfbd5162895af0ae66d32e36fa98a56604d80a) Thanks [@nixxiecms-release-bot](https://github.com/nixxiecms-release-bot)! - Fixes return types for `context.graphql` so that correct types are returned when using a `TypedDocumentNode`
655
-
656
- ### Patch Changes
657
-
658
- - [#7927](https://github.com/nixxiecms/nixxie/pull/7927) [`59238990e`](https://github.com/nixxiecms/nixxie/commit/59238990e7e701a5d1a99d8ee829ee780d347d6f) Thanks [@nixxiecms-release-bot](https://github.com/nixxiecms-release-bot)! - Adds contextualised types when using the `graphql` export for GraphQL schema extensions
659
-
660
- * [#7927](https://github.com/nixxiecms/nixxie/pull/7927) [`9ad15484c`](https://github.com/nixxiecms/nixxie/commit/9ad15484c3e2f7534c8aab4714fa032dea9404fb) Thanks [@nixxiecms-release-bot](https://github.com/nixxiecms-release-bot)! - Fixes types for `resolvedData`, and the return types for `resolveInput` hooks.
661
-
662
- - [#7927](https://github.com/nixxiecms/nixxie/pull/7927) [`b7df30e92`](https://github.com/nixxiecms/nixxie/commit/b7df30e92c32064201c44e633630af438c9dca33) Thanks [@nixxiecms-release-bot](https://github.com/nixxiecms-release-bot)! - Fixes nullable and non-nullable calendarDay fields existing in the same schema creating a GraphQL schema with two different types with the same name
663
-
664
- ## 2.2.0
665
-
666
- ### Minor Changes
667
-
668
- - [#5645](https://github.com/nixxiecms/nixxie/pull/5645) [`d34a1e0bc`](https://github.com/nixxiecms/nixxie/commit/d34a1e0bc62c2078d0fd77900d865193fea37621) Thanks [@gautamsi](https://github.com/gautamsi)! - Adds `cli` functions as exports to `@nixxie/core/scripts/cli`, assume to be an experimental unstable export and may change in a patch release.
669
-
670
- * [#7747](https://github.com/nixxiecms/nixxie/pull/7747) [`e322ce122`](https://github.com/nixxiecms/nixxie/commit/e322ce1223ef00dfb77f22b2f669e05d91b09814) Thanks [@willemmulder](https://github.com/willemmulder)! - Adds the ability to set additional Prisma datasource fields in the `schema.prisma` file, for example, `referentialIntegrity` by adding options to `db.additionalPrismaDatasourceProperties`
671
-
672
- - [#7324](https://github.com/nixxiecms/nixxie/pull/7324) [`3eaab4919`](https://github.com/nixxiecms/nixxie/commit/3eaab49195cedecf81bd0da05df2710e5486cb2e) Thanks [@dcousens](https://github.com/dcousens)! - Adds http.Server options as configuration `server.options`
673
-
674
- * [#7683](https://github.com/nixxiecms/nixxie/pull/7683) [`9d3e40612`](https://github.com/nixxiecms/nixxie/commit/9d3e40612ead28e5a8d91f214c24bdbddcae0c0f) Thanks [@Achisingh](https://github.com/Achisingh)! - Adds a new `multiselect` field type
675
-
676
- - [#7752](https://github.com/nixxiecms/nixxie/pull/7752) [`0ea56667f`](https://github.com/nixxiecms/nixxie/commit/0ea56667f43852db35457de99d4c05833e147a50) Thanks [@Achisingh](https://github.com/Achisingh)! - Adds `ui.displayMode: 'radio'` as an option for the select field.
677
-
678
- * [#7722](https://github.com/nixxiecms/nixxie/pull/7722) [`809f707ff`](https://github.com/nixxiecms/nixxie/commit/809f707ffa38849ddf15355f9ef6acd18fc02010) Thanks [@borisno2](https://github.com/borisno2)! - Adds 'graphql' schema to `extendHttpServer`.
679
-
680
- - [#7658](https://github.com/nixxiecms/nixxie/pull/7658) [`da0c197c7`](https://github.com/nixxiecms/nixxie/commit/da0c197c7de32d62083357b0831cba43b447a621) Thanks [@Achisingh](https://github.com/Achisingh)! - Adds `calendarDay` field to store a date without a time or timezone attached
681
-
682
- * [#5175](https://github.com/nixxiecms/nixxie/pull/5175) [`d2483bb4b`](https://github.com/nixxiecms/nixxie/commit/d2483bb4b1ad58533d86718753c20e0d21d6ee58) Thanks [@MurzNN](https://github.com/MurzNN)! - Adds a new `bigInt` field type, an integer of width 8 bytes (64 bits), analogous with Prisma's `BigInt`.
683
-
684
- ### Patch Changes
685
-
686
- - [#7744](https://github.com/nixxiecms/nixxie/pull/7744) [`713e0f47e`](https://github.com/nixxiecms/nixxie/commit/713e0f47e021c7cfc0d7f9585f72840ab3552b5b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Pins `pirates` to `4.0.4`
687
-
688
- * [#7803](https://github.com/nixxiecms/nixxie/pull/7803) [`a711c46e0`](https://github.com/nixxiecms/nixxie/commit/a711c46e03229d447cde207b30113198f06e91de) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updates `graphql-upload` to `15.0.2`
689
-
690
- - [#7787](https://github.com/nixxiecms/nixxie/pull/7787) [`721ad00f4`](https://github.com/nixxiecms/nixxie/commit/721ad00f4b0fd85a5b2716c95b260e6f9e43acaf) Thanks [@dcousens](https://github.com/dcousens)! - Fixes environment variable `PORT=` precedence; `PORT=` now takes priority over the configured `server.port`
691
-
692
- * [#7801](https://github.com/nixxiecms/nixxie/pull/7801) [`0261a5e30`](https://github.com/nixxiecms/nixxie/commit/0261a5e305ba7b27c034cca733e690e952966bf3) Thanks [@dcousens](https://github.com/dcousens)! - Removes wrong types for `resolveInput` hooks until actual types are provided
693
-
694
- - [#7731](https://github.com/nixxiecms/nixxie/pull/7731) [`bf70aa64d`](https://github.com/nixxiecms/nixxie/commit/bf70aa64dad1c62672a82ef5be8efc2203a96029) Thanks [@nderkim](https://github.com/nderkim)! - Fixes return type of `findOne` to support `null`, which is returned if no item is found
695
-
696
- * [#7804](https://github.com/nixxiecms/nixxie/pull/7804) [`c93768cab`](https://github.com/nixxiecms/nixxie/commit/c93768cab52c76384608f1d890b1ba1840be5e7d) Thanks [@dcousens](https://github.com/dcousens)! - Removes node `.engines` restrictions
697
-
698
- - [#7722](https://github.com/nixxiecms/nixxie/pull/7722) [`809f707ff`](https://github.com/nixxiecms/nixxie/commit/809f707ffa38849ddf15355f9ef6acd18fc02010) Thanks [@borisno2](https://github.com/borisno2)! - Fixes `extendHttpServer` not using the actual `http.Server` when using `nixxie dev` - with an added limitation that it is only called once at startup.
699
-
700
- * [#7744](https://github.com/nixxiecms/nixxie/pull/7744) [`713e0f47e`](https://github.com/nixxiecms/nixxie/commit/713e0f47e021c7cfc0d7f9585f72840ab3552b5b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updates `@apollo/client` to `3.6.9`
701
-
702
- - [#7742](https://github.com/nixxiecms/nixxie/pull/7742) [`1d24916b8`](https://github.com/nixxiecms/nixxie/commit/1d24916b828af5e0d1bd49c56cf75b0086fe3414) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updates `@graphql-ts/schema` to `0.5.3`
703
-
704
- - Updated dependencies [[`c93768cab`](https://github.com/nixxiecms/nixxie/commit/c93768cab52c76384608f1d890b1ba1840be5e7d)]:
705
- - @nixxie-ui/button@7.0.1
706
- - @nixxie-ui/core@5.0.1
707
- - @nixxie-ui/fields@7.1.1
708
- - @nixxie-ui/icons@6.0.1
709
- - @nixxie-ui/loading@6.0.1
710
- - @nixxie-ui/modals@6.0.1
711
- - @nixxie-ui/notice@6.0.1
712
- - @nixxie-ui/options@6.0.1
713
- - @nixxie-ui/pill@7.0.1
714
- - @nixxie-ui/popover@6.0.1
715
- - @nixxie-ui/segmented-control@7.0.1
716
- - @nixxie-ui/toast@6.0.1
717
- - @nixxie-ui/tooltip@6.0.1
718
-
719
- ## 2.1.0
720
-
721
- ### Minor Changes
722
-
723
- - [#7350](https://github.com/nixxiecms/nixxie/pull/7350) [`f5fe35573`](https://github.com/nixxiecms/nixxie/commit/f5fe35573d0e12e9a624a717c464817031cfe760) Thanks [@chelkyl](https://github.com/chelkyl)! - Adds support for Prisma's `shadowDatabaseUrl` option with `db.shadowDatabaseUrl`.
724
- Your Prisma schemas will now always include `shadowDatabaseUrl = env("SHADOW_DATABASE_URL")`, though using `db.shadowDatabaseUrl` is optional
725
-
726
- * [#7188](https://github.com/nixxiecms/nixxie/pull/7188) [`7f83b438b`](https://github.com/nixxiecms/nixxie/commit/7f83b438b0001c19058b09b0532dc3ef485696bb) Thanks [@MurzNN](https://github.com/MurzNN)! - Adds support for BigInt autoincrement id fields with `idField: { kind: 'autoincrement', type: 'BigInt' }`
727
-
728
- - [#7644](https://github.com/nixxiecms/nixxie/pull/7644) [`153eb6778`](https://github.com/nixxiecms/nixxie/commit/153eb67784cf18417831598715d2689c0173296b) Thanks [@borisno2](https://github.com/borisno2)! - Fixes for `graphQLSchemaExtension`, custom resolvers, if replacing default resolvers, were previously broken
729
-
730
- * [#7538](https://github.com/nixxiecms/nixxie/pull/7538) [`c862e876c`](https://github.com/nixxiecms/nixxie/commit/c862e876c411c26ab5356d155f9c8914663e9654) Thanks [@borisno2](https://github.com/borisno2)! - Adds `db.nativeType` option to the `text` field to customise the database type
731
-
732
- - [#7657](https://github.com/nixxiecms/nixxie/pull/7657) [`ffb9ab744`](https://github.com/nixxiecms/nixxie/commit/ffb9ab74442a036f9c6bc7546bf0fa61c770445b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Adds the ability to set ambiguous plurals - like `Firmware` or `Shrimp` - as list names without receiving an error.
733
- This builds on the existing `graphql.plural` configuration by adding the configuration options of `ui.label`, `ui.singular`, `ui.plural` and `ui.path` to change the auto-generated names of lists used in the Admin UI
734
-
735
- * [#7578](https://github.com/nixxiecms/nixxie/pull/7578) [`29db9b5de`](https://github.com/nixxiecms/nixxie/commit/29db9b5de4d4a13150730f797463e3f8bb1c75d8) Thanks [@Achisingh](https://github.com/Achisingh)! - Adds `ui.description` for fields to show a description below the label in the Admin UI
736
-
737
- ### Patch Changes
738
-
739
- - [#7616](https://github.com/nixxiecms/nixxie/pull/7616) [`65382ed80`](https://github.com/nixxiecms/nixxie/commit/65382ed80a77761fd7b0b7b21990151ab7b3eb30) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixes the inconsistent spacing in the Admin UI on relationships fields using the cards display mode
740
-
741
- * [#7639](https://github.com/nixxiecms/nixxie/pull/7639) [`a48fe5e81`](https://github.com/nixxiecms/nixxie/commit/a48fe5e818421524a6e1f5c52f21431444e003c7) Thanks [@u-ishii](https://github.com/u-ishii)! - Changes segmented control to not show a clear button if `isRequired` is set
742
-
743
- - [#7538](https://github.com/nixxiecms/nixxie/pull/7538) [`c862e876c`](https://github.com/nixxiecms/nixxie/commit/c862e876c411c26ab5356d155f9c8914663e9654) Thanks [@borisno2](https://github.com/borisno2)! - Added support for MySQL
744
-
745
- * [#7666](https://github.com/nixxiecms/nixxie/pull/7666) [`86569dd75`](https://github.com/nixxiecms/nixxie/commit/86569dd751dc63d41103f69509abb882e45f9c54) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixes the generation of an invalid Prisma schema when `{field}.isIndexed: true` and `{field}.db.map` are set
746
-
747
- - [#7629](https://github.com/nixxiecms/nixxie/pull/7629) [`f9ca9eddf`](https://github.com/nixxiecms/nixxie/commit/f9ca9eddf69864e8f85c5df1ea56a5400c9916e2) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixes the semantic-based browser input behaviour for inline create and edit forms on relationship fields when using the cards display mode
748
-
749
- - Updated dependencies [[`29db9b5de`](https://github.com/nixxiecms/nixxie/commit/29db9b5de4d4a13150730f797463e3f8bb1c75d8)]:
750
- - @nixxie-ui/fields@7.1.0
751
-
752
- ## 2.0.0
753
-
754
- ### Major Changes
755
-
756
- - [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - upgrade dependancy `"react": "^18.1.0"`
757
-
758
- * [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - New support for uploading images and files to Amazon S3 and other compatible providers.
759
- This is a _breaking change_, as the `.image` and `.files` configuration options have been removed, and a new storage configuration object introduced.
760
-
761
- See [#7070](https://github.com/nixxiecms/nixxie/pull/7070) for how to upgrade.
762
-
763
- ### Minor Changes
764
-
765
- - [#7591](https://github.com/nixxiecms/nixxie/pull/7591) [`8add4212c`](https://github.com/nixxiecms/nixxie/commit/8add4212cdb9304ebe054763eddd78640db62b42) Thanks [@dcousens](https://github.com/dcousens)! - Add optional `.graphql.bodyParser` options object for changing `body-parser` options when configuring GraphQL
766
-
767
- * [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - Added `disconnect` to the `SessionStrategy` API, this allows Nixxie to disconnect from the store when using stored sessions. This resolves the testrunner hanging when using stored sessions in automated tests.
768
-
769
- - [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - Removed all Nixxie Links, i.e. API explorer, GitHub repository and Nixxie documentation, from the popover and replacing the popover button with `Sign out` button in production
770
-
771
- * [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - Fixed list description from schema to display in the Admin UI
772
-
773
- ### Patch Changes
774
-
775
- - [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - The reset changes button on the item view now presents a confirmation modal before resetting changes and it has been moved to the right of the bottom bar so it is next to the delete button.
776
-
777
- * [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - The Prisma binaries are now downloaded just before they're needed if Prisma's install script to download them fails. Note this will never happen in production, they will always be downloaded before.
778
-
779
- - [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - Alert dialogs are now centered in the Admin UI.
780
-
781
- * [#7594](https://github.com/nixxiecms/nixxie/pull/7594) [`f603859cc`](https://github.com/nixxiecms/nixxie/commit/f603859cc6607327a45c0a519c7a9b6e58e02d6b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Replaced create item drawer with a page when creating an item from the list view or dashboard.
782
-
783
- - [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - Fixed the viewport sometimes shifting when opening the date picker in the create drawer.
784
-
785
- * [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - The label shown for a text field in the Admin UI is now associated with the input so the label can be read by screen readers
786
-
787
- - [#7601](https://github.com/nixxiecms/nixxie/pull/7601) [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea) Thanks [@dcousens](https://github.com/dcousens)! - Fixed the Admin UI crashing when saving an item with a relationship field using the cards display mode when another item is added to the relationship (e.g. by another user or a hook) since the item was initially loaded
788
-
789
- - Updated dependencies [[`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea), [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea), [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea), [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea), [`4234ed488`](https://github.com/nixxiecms/nixxie/commit/4234ed488377367582e1fb1895f4a581c097fbea)]:
790
- - @nixxie-ui/modals@6.0.0
791
- - @nixxie-ui/popover@6.0.0
792
- - @nixxie-ui/fields@7.0.0
793
- - @nixxie-ui/button@7.0.0
794
- - @nixxie-ui/core@5.0.0
795
- - @nixxie-ui/icons@6.0.0
796
- - @nixxie-ui/loading@6.0.0
797
- - @nixxie-ui/notice@6.0.0
798
- - @nixxie-ui/options@6.0.0
799
- - @nixxie-ui/pill@7.0.0
800
- - @nixxie-ui/segmented-control@7.0.0
801
- - @nixxie-ui/toast@6.0.0
802
- - @nixxie-ui/tooltip@6.0.0
803
-
804
- ## 1.1.1
805
-
806
- ### Patch Changes
807
-
808
- - [#7504](https://github.com/nixxiecms/nixxie/pull/7504) [`bb60d9a68`](https://github.com/nixxiecms/nixxie/commit/bb60d9a68ee611011ca0aea2ce45b052ad49517d) Thanks [@Achi06](https://github.com/Achi06)! - Fixed read only view for segmented control display mode in the select field. When a `segmented-control` select field is in `read` mode, the values no longer appear editable.
809
-
810
- * [#7417](https://github.com/nixxiecms/nixxie/pull/7417) [`aced61816`](https://github.com/nixxiecms/nixxie/commit/aced6181646bd6fc94977ea497801e6d3839f9c0) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed decimal `validation.min` not being respected and `validation.max` being used as the min if provided
811
-
812
- - [#7453](https://github.com/nixxiecms/nixxie/pull/7453) [`3bb1a5343`](https://github.com/nixxiecms/nixxie/commit/3bb1a53434b86e8a6294cff01a8699c36dd5df5a) Thanks [@dcousens](https://github.com/dcousens)! - Fixed Prisma schema mismatch warning accidentally showing a warning that there is a mismatch in the GraphQL schema
813
-
814
- * [`0260a30c9`](https://github.com/nixxiecms/nixxie/commit/0260a30c92a059268cb6bf8de8a077847c7cdd96) Thanks [@renovate[bot]](https://github.com/renovate%5Bbot%5D)! - Updated `@preconstruct/next` to v4
815
-
816
- - [`33fde0a26`](https://github.com/nixxiecms/nixxie/commit/33fde0a26d23b8ae3b5907abec70704a1c970547) Thanks [@Achi06](https://github.com/Achi06)! - Updated the styling for the relationship select to be less confusing when the field mode is read-only
817
-
818
- * [`20095f04b`](https://github.com/nixxiecms/nixxie/commit/20095f04be02592da99503d9b54b726d66040e77) Thanks [@moselhy](https://github.com/moselhy)! - Fixed React key warning when showing GraphQL errors
819
-
820
- - [`06feba78b`](https://github.com/nixxiecms/nixxie/commit/06feba78bda6743bc4a7d8b56305fb905bc2af95) Thanks [@Achi06](https://github.com/Achi06)! - Updated the List page to show the reset to default button when any sorting or other field value filters are provided
821
-
822
- * [`b6f571a73`](https://github.com/nixxiecms/nixxie/commit/b6f571a7310af480be64af56fdc0732a7ebfe3f4) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The Admin UI now prompts users to confirm they want to navigate away when there are unsaved changes.
823
-
824
- - [`62201dd5f`](https://github.com/nixxiecms/nixxie/commit/62201dd5fcea0fe4cf95c33527c394ab65ddce7d) Thanks [@Achi06](https://github.com/Achi06)! - Fixed the JSON field not showing any formatting when the field mode is read-only
825
-
826
- - Updated dependencies [[`d7d27d887`](https://github.com/nixxiecms/nixxie/commit/d7d27d88778d50c761a2e362327aa26c06976b1c), [`bb60d9a68`](https://github.com/nixxiecms/nixxie/commit/bb60d9a68ee611011ca0aea2ce45b052ad49517d)]:
827
- - @nixxie-ui/fields@6.1.0
828
- - @nixxie-ui/segmented-control@6.1.0
829
-
830
- ## 1.1.0
831
-
832
- ### Minor Changes
833
-
834
- - [#7268](https://github.com/nixxiecms/nixxie/pull/7268) [`45c2bbaf3`](https://github.com/nixxiecms/nixxie/commit/45c2bbaf34594e135ccd09f5c9221eb822ac9965) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma to 3.9.2
835
-
836
- ### Patch Changes
837
-
838
- - [#7289](https://github.com/nixxiecms/nixxie/pull/7289) [`dfb4aea31`](https://github.com/nixxiecms/nixxie/commit/dfb4aea3112ed83322a698f177545618275699b7) Thanks [@dependabot](https://github.com/apps/dependabot)! - Fixed using `require.resolve` to get the paths to views not woking with newer versions of Next.
839
-
840
- * [#7290](https://github.com/nixxiecms/nixxie/pull/7290) [`3e538d136`](https://github.com/nixxiecms/nixxie/commit/3e538d1360add48c37a099de7c9d1621e2c74ddf) Thanks [@gautamsi](https://github.com/gautamsi)! - Fixed issues with float field filtering when the field is required with default value
841
-
842
- - [#7253](https://github.com/nixxiecms/nixxie/pull/7253) [`518bd2e43`](https://github.com/nixxiecms/nixxie/commit/518bd2e437227fbd1a8f7fb947dcb11c57ffb7dd) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Fixed popover behaviour to accomodate mobile usages.
843
-
844
- * [#7340](https://github.com/nixxiecms/nixxie/pull/7340) [`ec8103a12`](https://github.com/nixxiecms/nixxie/commit/ec8103a12861a7cd182603b82aa3b1133a43da4e) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Minor a11y improvement to table browsing
845
-
846
- - [#7292](https://github.com/nixxiecms/nixxie/pull/7292) [`81e663d31`](https://github.com/nixxiecms/nixxie/commit/81e663d3157b3c49a191aaa1bc1c179dd8cc34d4) Thanks [@lachieh](https://github.com/lachieh)! - added support for extending the underlying node http server
847
-
848
- * [#7218](https://github.com/nixxiecms/nixxie/pull/7218) [`4f3d0a073`](https://github.com/nixxiecms/nixxie/commit/4f3d0a073dba50f22505af545402a2f1e38afe0d) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed cards view in the relationship field not showing up for many relationships in the create view
849
-
850
- - [#7221](https://github.com/nixxiecms/nixxie/pull/7221) [`6cea02475`](https://github.com/nixxiecms/nixxie/commit/6cea02475b02528e5f04f0a5bca641367ca1584d) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Improved how stacking contexts are organised in the Admin UI
851
-
852
- - Updated dependencies [[`5d96ee646`](https://github.com/nixxiecms/nixxie/commit/5d96ee646b3c6342935464763071ad7c3f0a8b43), [`518bd2e43`](https://github.com/nixxiecms/nixxie/commit/518bd2e437227fbd1a8f7fb947dcb11c57ffb7dd)]:
853
- - @nixxie-ui/fields@6.0.1
854
- - @nixxie-ui/popover@5.0.1
855
-
856
- ## 1.0.1
857
-
858
- ### Patch Changes
859
-
860
- - [#7091](https://github.com/nixxiecms/nixxie/pull/7091) [`5ac8ef453`](https://github.com/nixxiecms/nixxie/commit/5ac8ef4533198ed8aa732131959ddd09758bda8d) Thanks [@Noviny](https://github.com/Noviny)! - Page names now reflect the page you are on: Item view shows the item's label, list view shows the list name, other pages show 'Nixxie'
861
-
862
- * [#7064](https://github.com/nixxiecms/nixxie/pull/7064) [`54c056c58`](https://github.com/nixxiecms/nixxie/commit/54c056c58af60d2ab86fd5590df5544e0a0132f9) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Refactoring of TypeScript type generation
863
-
864
- - [#7029](https://github.com/nixxiecms/nixxie/pull/7029) [`53f3ca6fd`](https://github.com/nixxiecms/nixxie/commit/53f3ca6fdbef16b305a41240f107754ad6823ff7) Thanks [@rohan-deshpande](https://github.com/rohan-deshpande)! - Explicitly disable caching for redirect responses in the Admin UI
865
-
866
- * [#7069](https://github.com/nixxiecms/nixxie/pull/7069) [`c51f8f7a0`](https://github.com/nixxiecms/nixxie/commit/c51f8f7a0b18fa53d45c026664454dbb6cd60694) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed `You must await server.start() before calling server.createHandler()` error when using the `generateNextGraphqlAPI` experimental option.
867
-
868
- - [#7062](https://github.com/nixxiecms/nixxie/pull/7062) [`30b3cacb0`](https://github.com/nixxiecms/nixxie/commit/30b3cacb08601a8db445e3c7be85dee10d0d2958) Thanks [@dcousens](https://github.com/dcousens)! - Updated prisma monorepo to [v3.6.0 (minor)](https://github.com/prisma/prisma/releases/tag/3.6.0).
869
-
870
- * [#7052](https://github.com/nixxiecms/nixxie/pull/7052) [`911972098`](https://github.com/nixxiecms/nixxie/commit/911972098c1bdaa6e64a7aee028b3446e00106e5) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed setting `db.enableLogging` to `false` erroring
871
-
872
- - [#7073](https://github.com/nixxiecms/nixxie/pull/7073) [`1353c6290`](https://github.com/nixxiecms/nixxie/commit/1353c62906ee63d8f4006193f73357168208078c) Thanks [@SerWonka](https://github.com/SerWonka)! - Fix Lists import in artifacts types (changed in https://github.com/nixxiecms/nixxie/pull/7001)
873
-
874
- * [#7092](https://github.com/nixxiecms/nixxie/pull/7092) [`1eed5d546`](https://github.com/nixxiecms/nixxie/commit/1eed5d54668757eb28cb3c8460631125d20b6722) Thanks [@Noviny](https://github.com/Noviny)! - Nixxie favicon is now displayed on nixxie sites
875
-
876
- - [#7065](https://github.com/nixxiecms/nixxie/pull/7065) [`8c7a54453`](https://github.com/nixxiecms/nixxie/commit/8c7a54453e740906c18222244f86c3d59ddd54a4) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `fast-glob` dependency
877
-
878
- * [#7111](https://github.com/nixxiecms/nixxie/pull/7111) [`888cf021a`](https://github.com/nixxiecms/nixxie/commit/888cf021a1beee64937c00bc5b58f8b3628dbdd4) Thanks [@Noviny](https://github.com/Noviny)! - Differentiate types for the field `resolveInput` hook and the list `resolveInput` hook.
879
- `undefined` may be returned by field `resolveInput` hooks (indicates a no-op), but not for lists.
880
-
881
- ## 1.0.0
882
-
883
- ### Major Changes
884
-
885
- - [#7005](https://github.com/nixxiecms/nixxie/pull/7005) [`7dddbe0fd`](https://github.com/nixxiecms/nixxie/commit/7dddbe0fd5b42a2596ba4dc0bbe1813cb54571c7) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Change cli command from `nixxie-next` to `nixxie`
886
-
887
- * [#7028](https://github.com/nixxiecms/nixxie/pull/7028) [`3c7a581c1`](https://github.com/nixxiecms/nixxie/commit/3c7a581c1e53ae49c9f74509de3927ebf2703bde) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Released Nixxie 6
888
-
889
- - [#7005](https://github.com/nixxiecms/nixxie/pull/7005) [`f4554980f`](https://github.com/nixxiecms/nixxie/commit/f4554980f6243a6545eee6c887d946ff25cd90e3) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - - The following types have been renamed:
890
- - `BaseGeneratedListTypes` → `BaseListTypeInfo`
891
- - `ItemRootValue` → `BaseItem`
892
- - `ListInfo` → `ListGraphQLTypes`
893
- - `TypesForList` → `GraphQLTypesForList`
894
- - `FieldTypeFunc` now has a required type parameter which must satisfy `BaseListTypeInfo`
895
- - The following types now have a required type parameter which must satisfy `BaseNixxieTypeInfo`:
896
- - `ServerConfig`
897
- - `CreateRequestContext`
898
- - `AdminUIConfig`
899
- - `DatabaseConfig`
900
- - `ListOperationAccessControl`
901
- - `MaybeSessionFunction`
902
- - `MaybeItemFunction`
903
- - `GraphQLResolver` and `GraphQLSchemaExtension` now have a required type parameter which must satisfy `NixxieContext`
904
- - `NixxieGraphQLAPI` no longer has a type parameter
905
- - The first parameter to the resolver in a `virtual` field will be typed as the item type if the list is typed with `Nixxie.Lists` or `Nixxie.Lists.ListKey`, otherwise it will be typed as `unknown`
906
- - The `item`/`originalItem` arguments in hooks/access control will now receive the `Item` type if the list is typed with `Nixxie.Lists` or `Nixxie.Lists.ListKey`, otherwise it will be typed as `BaseItem`
907
- - `args` has been removed from `BaseListTypeInfo`
908
- - `inputs.orderBy` and `all` has been added to `BaseListTypeInfo`
909
- - In `.nixxie/types`:
910
- - `ListKeyListTypeInfo` has been moved to `Lists.ListKey.TypeInfo`
911
- - `NixxieContext` has been renamed to `Context`
912
-
913
- ### Patch Changes
914
-
915
- - [#7005](https://github.com/nixxiecms/nixxie/pull/7005) [`fb7844ab5`](https://github.com/nixxiecms/nixxie/commit/fb7844ab50c1d4a6d14b2ad46a568665f6661921) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Improve console output for when you need to restart the server because of schema changes
916
-
917
- # @nixxie-next/nixxie
918
-
919
- ## 29.0.0
920
-
921
- ### Major Changes
922
-
923
- - [#6920](https://github.com/nixxiecms/nixxie/pull/6920) [`82539faa5`](https://github.com/nixxiecms/nixxie/commit/82539faa53c495be1f5f470deb9eae9861cd31a0) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Nixxie now uses Prisma's Node-API Query Engine instead of the Binary Query Engine. This should improve the performance of operations using Prisma. See https://www.prisma.io/docs/concepts/components/prisma-engines/query-engine for more details.
924
-
925
- * [#6917](https://github.com/nixxiecms/nixxie/pull/6917) [`04c54a4eb`](https://github.com/nixxiecms/nixxie/commit/04c54a4eb4aa6076cf87d441060eaa2091bc903b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The names of one-sided and two-sided, many-many relationships has been shortened. Two-sided many-many relationship names contain only the left-hand side names now; and the `_many` suffix has been dropped from one-sided many-many relationships.
926
-
927
- This reduces the probability that you will exceed [PostgreSQL's 63 character limit for identifiers](https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS) with typical usage.
928
-
929
- This is a breaking change.
930
-
931
- There are two ways to update:
932
-
933
- ### Set `db.relationName` on many to many relation
934
-
935
- Rather than doing a migration, you can set the new field property `db.relationName`, for either side of a many-to-many relationship field.
936
- If set to the existing relation name, your database will remain unchanged.
937
-
938
- For example, given a schema like this:
939
-
940
- ```ts
941
- Post: list({
942
- fields: {
943
- tags: relationship({ ref: 'Tag.posts', many: true }),
944
- },
945
- }),
946
- Tag: list({
947
- fields: {
948
- posts: relationship({ ref: 'Post.tags', many: true }),
949
- },
950
- }),
951
- ```
952
-
953
- Before this release, the generated Prisma schema looked like this:
954
-
955
- ```prisma
956
- // This file is automatically generated by Nixxie, do not modify it manually.
957
- // Modify your Nixxie config when you want to change this.
958
-
959
- datasource postgresql {
960
- url = env("DATABASE_URL")
961
- provider = "postgresql"
962
- }
963
-
964
- generator client {
965
- provider = "prisma-client-js"
966
- output = "node_modules/.prisma/client"
967
- engineType = "binary"
968
- }
969
-
970
- model Post {
971
- id String @id @default(cuid())
972
- tags Tag[] @relation("Post_tags_Tag_posts")
973
- }
974
-
975
- model Tag {
976
- id String @id @default(cuid())
977
- posts Post[] @relation("Post_tags_Tag_posts")
978
- }
979
- ```
980
-
981
- By adding `db: { relationName: 'Post_tags_Tag_posts' }` to one side of the many-to-many relationship; you can preclude yourself from a migration.
982
-
983
- **Note:** It doesn't matter which side of the relationship you put this property, but it should be only on one side; otherwise you will receive an error.
984
-
985
- ```ts
986
- Post: list({
987
- fields: {
988
- tags: relationship({ ref: 'Tag.posts', many: true, db: { relationName: 'Post_tags_Tag_posts' } }),
989
- },
990
- }),
991
- Tag: list({
992
- fields: {
993
- posts: relationship({ ref: 'Post.tags', many: true }),
994
- },
995
- }),
996
- ```
997
-
998
- ### Rename your many relation tables using a migration
999
-
1000
- For example, given a schema like this:
1001
-
1002
- ```ts
1003
- Post: list({
1004
- fields: {
1005
- tags: relationship({ ref: 'Tag.posts', many: true }),
1006
- },
1007
- }),
1008
- Tag: list({
1009
- fields: {
1010
- posts: relationship({ ref: 'Post.tags', many: true }),
1011
- },
1012
- }),
1013
- ```
1014
-
1015
- When updating to this change, and running `npm run dev`, Nixxie will prompt you to update your schema.
1016
- - If you are using `useMigrations: true`, Nixxie will follow the typical migration flow offer to apply an automatically generated migration. **DO NOT APPLY THE AUTOMATICALLY GENERATED MIGRATION** - unless you want to `DROP` your data.
1017
-
1018
- - If you are using `useMigrations: false`, Nixxie will follow the typical flow and offer to automatically migrate your schema. Again, **DO NOT RUN THE AUTOMATIC MIGRATION** - unless you want to `DROP` your data.
1019
-
1020
- On PostgreSQL, Prisma will generate a migration that looks something like this:
1021
-
1022
- ```sql
1023
- /*
1024
- Warnings:
1025
-
1026
- - You are about to drop the `_Post_tags_Tag_posts` table. If the table is not empty, all the data it contains will be lost.
1027
-
1028
- */
1029
- -- DropForeignKey
1030
- ALTER TABLE "_Post_tags_Tag_posts" DROP CONSTRAINT "_Post_tags_Tag_posts_A_fkey";
1031
-
1032
- -- DropForeignKey
1033
- ALTER TABLE "_Post_tags_Tag_posts" DROP CONSTRAINT "_Post_tags_Tag_posts_B_fkey";
1034
-
1035
- -- DropTable
1036
- DROP TABLE "_Post_tags_Tag_posts";
1037
-
1038
- -- CreateTable
1039
- CREATE TABLE "_Post_tags" (
1040
- "A" TEXT NOT NULL,
1041
- "B" TEXT NOT NULL
1042
- );
1043
-
1044
- -- CreateIndex
1045
- CREATE UNIQUE INDEX "_Post_tags_AB_unique" ON "_Post_tags"("A", "B");
1046
-
1047
- -- CreateIndex
1048
- CREATE INDEX "_Post_tags_B_index" ON "_Post_tags"("B");
1049
-
1050
- -- AddForeignKey
1051
- ALTER TABLE "_Post_tags" ADD FOREIGN KEY ("A") REFERENCES "Post"("id") ON DELETE CASCADE ON UPDATE CASCADE;
1052
-
1053
- -- AddForeignKey
1054
- ALTER TABLE "_Post_tags" ADD FOREIGN KEY ("B") REFERENCES "Tag"("id") ON DELETE CASCADE ON UPDATE CASCADE;
1055
- ```
1056
-
1057
- You need to modify it so that it looks like this with the old and new table names for your schema substituted:
1058
-
1059
- ```sql
1060
- ALTER TABLE "_Post_tags_Tag_posts" RENAME TO "_Post_tags";
1061
- ALTER INDEX "_Post_tags_Tag_posts_AB_unique" RENAME TO "_Post_tags_AB_unique";
1062
- ALTER INDEX "_Post_tags_Tag_posts_B_index" RENAME TO "_Post_tags_B_index";
1063
- ALTER TABLE "_Post_tags" RENAME CONSTRAINT "_Post_tags_Tag_posts_A_fkey" TO "_Post_tags_A_fkey";
1064
- ALTER TABLE "_Post_tags" RENAME CONSTRAINT "_Post_tags_Tag_posts_B_fkey" TO "_Post_tags_B_fkey";
1065
- ```
1066
-
1067
- On SQLite, Prisma will generate a migration that looks something like this:
1068
-
1069
- ```sql
1070
- /*
1071
- Warnings:
1072
-
1073
- - You are about to drop the `_Post_tags_Tag_posts` table. If the table is not empty, all the data it contains will be lost.
1074
-
1075
- */
1076
- -- DropTable
1077
- PRAGMA foreign_keys=off;
1078
- DROP TABLE "_Post_tags_Tag_posts";
1079
- PRAGMA foreign_keys=on;
1080
-
1081
- -- CreateTable
1082
- CREATE TABLE "_Post_tags" (
1083
- "A" TEXT NOT NULL,
1084
- "B" TEXT NOT NULL,
1085
- FOREIGN KEY ("A") REFERENCES "Post" ("id") ON DELETE CASCADE ON UPDATE CASCADE,
1086
- FOREIGN KEY ("B") REFERENCES "Tag" ("id") ON DELETE CASCADE ON UPDATE CASCADE
1087
- );
1088
-
1089
- -- CreateIndex
1090
- CREATE UNIQUE INDEX "_Post_tags_AB_unique" ON "_Post_tags"("A", "B");
1091
-
1092
- -- CreateIndex
1093
- CREATE INDEX "_Post_tags_B_index" ON "_Post_tags"("B");
1094
- ```
1095
-
1096
- You need to modify it so that it looks like this with the old and new table names for your schema substituted:
1097
-
1098
- ```sql
1099
- ALTER TABLE "_Post_tags_Tag_posts" RENAME TO "_Post_tags";
1100
- DROP INDEX "_Post_tags_Tag_posts_AB_unique";
1101
- DROP INDEX "_Post_tags_Tag_posts_B_index";
1102
- CREATE UNIQUE INDEX "_Post_tags_AB_unique" ON "_Post_tags"("A", "B");
1103
- CREATE INDEX "_Post_tags_B_index" ON "_Post_tags"("B");
1104
- ```
1105
-
1106
- - [#6957](https://github.com/nixxiecms/nixxie/pull/6957) [`de8cf44e7`](https://github.com/nixxiecms/nixxie/commit/de8cf44e7b328ab98e1466d7191d9ee65a57b02a) Thanks [@bladey](https://github.com/bladey)! - Update Node engines to support current Node LTS versions, currently versions 14 and 16.
1107
-
1108
- ### Minor Changes
1109
-
1110
- - [#6968](https://github.com/nixxiecms/nixxie/pull/6968) [`f2b41df9f`](https://github.com/nixxiecms/nixxie/commit/f2b41df9f77cf340e5e138cf60bacd6aec8e4548) Thanks [@JedWatson](https://github.com/JedWatson)! - Added `db.foreignKey` option to the `relationship` field that allows you to explicitly pick which side of a one to one relationship the foreign key should be on and for one to one or one to many relationships add `@map` to the foreign key to change the column name in the database.
1111
-
1112
- * [#6917](https://github.com/nixxiecms/nixxie/pull/6917) [`04c54a4eb`](https://github.com/nixxiecms/nixxie/commit/04c54a4eb4aa6076cf87d441060eaa2091bc903b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `db.relationName` option to many to many `relationship` fields to allow explicitly setting the relation name.
1113
-
1114
- ### Patch Changes
1115
-
1116
- - [#6911](https://github.com/nixxiecms/nixxie/pull/6911) [`748538649`](https://github.com/nixxiecms/nixxie/commit/748538649645d3b0ef32b0baba8fa310f2a493fe) Thanks [@dcousens](https://github.com/dcousens)! - Explicitly declare return type on createExpressServer
1117
-
1118
- * [#6967](https://github.com/nixxiecms/nixxie/pull/6967) [`4e96c23bb`](https://github.com/nixxiecms/nixxie/commit/4e96c23bb6c3a134f1324ec7879adac3abf90132) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed `relationship` field not respecting `ui.displayMode: 'cards'` in the create view.
1119
-
1120
- - [#6949](https://github.com/nixxiecms/nixxie/pull/6949) [`76ec35c97`](https://github.com/nixxiecms/nixxie/commit/76ec35c97a72dcb023e1b0da5b47e876896b6a03) Thanks [@bladey](https://github.com/bladey)! - Fixed React key error in `relationship` field with `ui.displayMode: 'cards'`
1121
-
1122
- * [#6955](https://github.com/nixxiecms/nixxie/pull/6955) [`760ae82ac`](https://github.com/nixxiecms/nixxie/commit/760ae82ac0fac5f73e123e2b36f7ba6320312ca6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed `ui.isAccessAllowed` not being respected in the admin meta query when no session strategy was defined
1123
-
1124
- - [#6932](https://github.com/nixxiecms/nixxie/pull/6932) [`0a7b75838`](https://github.com/nixxiecms/nixxie/commit/0a7b7583887e3811c23b0b74f4f97633fd484e08) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Field-level hooks and field-level create and update access control functions are now awaited in parallel. Note this means all field-level hooks and access control are now awaited in parallel because field-level read access control was already awaited in parallel.
1125
-
1126
- * [`622e57689`](https://github.com/nixxiecms/nixxie/commit/622e57689cf27dbecba7f64c02f0a3b6499d3218) Thanks [@JedWatson](https://github.com/JedWatson)! - Pinned `@apollo/client` to 3.4.17, fixes an incompatibility between `@apollo/client` >= 3.5.0 and `apollo-upload-client` that breaks the Admin UI.
1127
-
1128
- We can revert this when [jaydenseric/apollo-upload-client#273](https://github.com/jaydenseric/apollo-upload-client/issues/273) has been resolved (may also be resolved by [apollographql/apollo-client#9103](https://github.com/apollographql/apollo-client/pull/9103))
1129
-
1130
- - [#6972](https://github.com/nixxiecms/nixxie/pull/6972) [`bbedee845`](https://github.com/nixxiecms/nixxie/commit/bbedee84541d22c91a6816872902f6cce8e6aee3) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The item page in the Admin UI no longer crashes when failing to fetch an item.
1131
-
1132
- * [#6955](https://github.com/nixxiecms/nixxie/pull/6955) [`760ae82ac`](https://github.com/nixxiecms/nixxie/commit/760ae82ac0fac5f73e123e2b36f7ba6320312ca6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The admin meta query now bypasses `ui.isAccessAllowed` for sudo contexts.
1133
-
1134
- - [#6974](https://github.com/nixxiecms/nixxie/pull/6974) [`96fd2e220`](https://github.com/nixxiecms/nixxie/commit/96fd2e22041de84a042f5a0df2cab75ba0dacc35) Thanks [@JedWatson](https://github.com/JedWatson)! - Removed unnecessary `@types/` dependencies
1135
-
1136
- * [#6920](https://github.com/nixxiecms/nixxie/pull/6920) [`82539faa5`](https://github.com/nixxiecms/nixxie/commit/82539faa53c495be1f5f470deb9eae9861cd31a0) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed doing multiple writes at the same time on SQLite causing an timeout immediately.
1137
-
1138
- - [#6948](https://github.com/nixxiecms/nixxie/pull/6948) [`7a7450009`](https://github.com/nixxiecms/nixxie/commit/7a7450009d68f70173a2af55eb3a845ea3799c99) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The `Set as Authenticated Item`/`Add Authenticated Item` button is now hidden if the relationship field already has the authenticated item.
1139
-
1140
- - Updated dependencies [[`96fd2e220`](https://github.com/nixxiecms/nixxie/commit/96fd2e22041de84a042f5a0df2cab75ba0dacc35), [`de8cf44e7`](https://github.com/nixxiecms/nixxie/commit/de8cf44e7b328ab98e1466d7191d9ee65a57b02a), [`748538649`](https://github.com/nixxiecms/nixxie/commit/748538649645d3b0ef32b0baba8fa310f2a493fe)]:
1141
- - @nixxie-ui/fields@6.0.0
1142
- - @nixxie-ui/options@5.0.0
1143
- - @nixxie-ui/button@6.0.0
1144
- - @nixxie-ui/core@4.0.0
1145
- - @nixxie-ui/icons@5.0.0
1146
- - @nixxie-ui/loading@5.0.0
1147
- - @nixxie-ui/modals@5.0.0
1148
- - @nixxie-ui/notice@5.0.0
1149
- - @nixxie-ui/pill@6.0.0
1150
- - @nixxie-ui/popover@5.0.0
1151
- - @nixxie-ui/segmented-control@6.0.0
1152
- - @nixxie-ui/toast@5.0.0
1153
- - @nixxie-ui/tooltip@5.0.0
1154
-
1155
- ## 28.0.0
1156
-
1157
- ### Major Changes
1158
-
1159
- - [#6915](https://github.com/nixxiecms/nixxie/pull/6915) [`b981f4c3e`](https://github.com/nixxiecms/nixxie/commit/b981f4c3ee135a1184188deb5ed8de22f718080c) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - `select`, `timestamp`, `float` and `decimal` fields with `isIndexed: 'unique'` now add unique filters to `ListWhereUniqueInput` like `text`, `integer` and the id field do.
1160
-
1161
- ### Minor Changes
1162
-
1163
- - [#6907](https://github.com/nixxiecms/nixxie/pull/6907) [`990b56291`](https://github.com/nixxiecms/nixxie/commit/990b56291e677077656b201b935086754c6257f1) Thanks [@JedWatson](https://github.com/JedWatson)! - Added `db.map` option to lists and fields which adds the `@@map` and `@map` Prisma attributes respectively
1164
-
1165
- ### Patch Changes
1166
-
1167
- - [#6918](https://github.com/nixxiecms/nixxie/pull/6918) [`70eb86237`](https://github.com/nixxiecms/nixxie/commit/70eb86237bd3eafd36b0579f66ad3f1e173357b1) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The format of the date shown in the `timestamp` field in the Admin UI now uses the user's locale
1168
-
1169
- - Updated dependencies [[`70eb86237`](https://github.com/nixxiecms/nixxie/commit/70eb86237bd3eafd36b0579f66ad3f1e173357b1)]:
1170
- - @nixxie-ui/fields@5.0.2
1171
-
1172
- ## 27.0.2
1173
-
1174
- ### Patch Changes
1175
-
1176
- - [#6895](https://github.com/nixxiecms/nixxie/pull/6895) [`14d74b014`](https://github.com/nixxiecms/nixxie/commit/14d74b0149a6d34063c8c7d6df5071694e639291) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed importing packages that provide Node ESM
1177
-
1178
- * [#6893](https://github.com/nixxiecms/nixxie/pull/6893) [`465eb3f95`](https://github.com/nixxiecms/nixxie/commit/465eb3f9595892cec34d17e1b7c21aea0c61a9d6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Local images and files are no longer restricted behind `ui.isAccessAllowed`
1179
-
1180
- - [#6904](https://github.com/nixxiecms/nixxie/pull/6904) [`859ccb974`](https://github.com/nixxiecms/nixxie/commit/859ccb97489370443bc8d78b0bd7543d83f5b381) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Update prisma monorepo to [v3.4.0 (minor)](https://github.com/prisma/prisma/releases/tag/3.4.0)
1181
-
1182
- * [#6910](https://github.com/nixxiecms/nixxie/pull/6910) [`127a0db64`](https://github.com/nixxiecms/nixxie/commit/127a0db646ecbfb9ec51c58a98d013e4e7ead20a) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Nixxie will continue starting up when Nixxie Cloud is configured but fails to connect
1183
-
1184
- ## 27.0.1
1185
-
1186
- ### Patch Changes
1187
-
1188
- - [#6870](https://github.com/nixxiecms/nixxie/pull/6870) [`8dac6bb93`](https://github.com/nixxiecms/nixxie/commit/8dac6bb93ccfbe62fe73e3ada311d2283f57ba6c) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed files with names including things like `[...rest]` created using `ui.getAdditionalFiles` being deleted after being written in dev.
1189
-
1190
- * [#6880](https://github.com/nixxiecms/nixxie/pull/6880) [`400f4e1eb`](https://github.com/nixxiecms/nixxie/commit/400f4e1eb34ef70d11a1f8c1f8bcf20d5fb10a1a) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Runtime type errors from Prisma are now actually returned instead of being returned as `Prisma error:`
1191
-
1192
- - [#6872](https://github.com/nixxiecms/nixxie/pull/6872) [`aa98b1c49`](https://github.com/nixxiecms/nixxie/commit/aa98b1c49b44938d2cf0904fd05b041f2259d267) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed `Schema must contain uniquely named types but contains multiple types named "OrderDirection".` error when running `nixxie-next build`.
1193
-
1194
- ## 27.0.0
1195
-
1196
- ### Major Changes
1197
-
1198
- - [#6824](https://github.com/nixxiecms/nixxie/pull/6824) [`ddabdbd02`](https://github.com/nixxiecms/nixxie/commit/ddabdbd02230374ff921998f9d21c0ad7d32b226) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Nixxie will now default to using GraphQL Playground instead of Apollo Sandbox as it did prior to updating to Apollo Server 3. If you want to use Apollo Sandbox, you can set `graphql.playground: 'apollo'` to use Apollo. `graphql.playground` defaults to `process.env.NODE_ENV !== 'production'`, which will serve GraphQL Playground in development and serve nothing in production, if you'd like to set it to one of those always, you can set `graphql.playground` to a boolean explicitly.
1199
-
1200
- * [#6845](https://github.com/nixxiecms/nixxie/pull/6845) [`71600965b`](https://github.com/nixxiecms/nixxie/commit/71600965b963e098ca77ae1261b850b9573c9f22) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `CloudImageFieldOutput` and `CloudFileFieldOutput` GraphQL types to the `image` and `file` fields respectively
1201
-
1202
- - [#6789](https://github.com/nixxiecms/nixxie/pull/6789) [`d9e1ba8fa`](https://github.com/nixxiecms/nixxie/commit/d9e1ba8fa23c0d9e902ef61167913ee92f5657cb) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed the deprecated `resolveFields` from `context.query`, if you were still using it, you should switch to providing `the query option` to `context.query` or use `context.db` if you were providing `false`. The `context.query` functions will now also throw an error if an empty string is passed to `query` rather than silently returning what the `context.db` functions return, you must select at least one field or omit the `query` option to default to selecting the `id`.
1203
-
1204
- * [#6845](https://github.com/nixxiecms/nixxie/pull/6845) [`71600965b`](https://github.com/nixxiecms/nixxie/commit/71600965b963e098ca77ae1261b850b9573c9f22) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The `src` field on the output of `image` and `file` fields has been renamed to `url`.
1205
-
1206
- - [#6813](https://github.com/nixxiecms/nixxie/pull/6813) [`c0661b8ee`](https://github.com/nixxiecms/nixxie/commit/c0661b8ee9e16a1ffdd7fc77c9c56fead0efda36) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated `@graphql-ts/schema` to `0.5.0`. The `__rootVal` properties on `ObjectType`, `InterfaceType` and `UnionType` have been renamed to `__source`, this is intended to be internal but it could be depended on so if you did, you will need to change to `__source`. The `fields` property on `InterfaceType` has been renamed to `__fields` and it will no longer exist at runtime like the other types.
1207
-
1208
- * [#6797](https://github.com/nixxiecms/nixxie/pull/6797) [`cbb9df927`](https://github.com/nixxiecms/nixxie/commit/cbb9df927a0f106aaa35d107961a405b0d08a751) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - `createExpressServer` now returns `Promise<{ expressServer: Express; apolloServer: ApolloServer; }>` instead of `Promise<Express>` so that the apollo server can be stopped.
1209
-
1210
- - [#6797](https://github.com/nixxiecms/nixxie/pull/6797) [`cbb9df927`](https://github.com/nixxiecms/nixxie/commit/cbb9df927a0f106aaa35d107961a405b0d08a751) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added live reloading of your Nixxie config to `nixxie-next dev`
1211
-
1212
- * [#6824](https://github.com/nixxiecms/nixxie/pull/6824) [`ddabdbd02`](https://github.com/nixxiecms/nixxie/commit/ddabdbd02230374ff921998f9d21c0ad7d32b226) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `graphql.cors` option. You should exclusively configure `cors` with the `server.cors` option.
1213
-
1214
- - [#6845](https://github.com/nixxiecms/nixxie/pull/6845) [`71600965b`](https://github.com/nixxiecms/nixxie/commit/71600965b963e098ca77ae1261b850b9573c9f22) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The `getSrc` function on `ImagesContext` and `FilesContext` has been renamed to `getUrl`
1215
-
1216
- * [#6755](https://github.com/nixxiecms/nixxie/pull/6755) [`dcf5241d8`](https://github.com/nixxiecms/nixxie/commit/dcf5241d8e3e62b080842a5d4bfd47a7f2cce5ca) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated the way the `endSession` field on the `Mutation` type and the `nixxie` field on the `Query` type are added to the GraphQL schema. This may result in re-ordering in your generated `schema.graphql` file. The `sessionSchema` export of `@nixxie-next/nixxie/session` has also been removed.
1217
-
1218
- ### Minor Changes
1219
-
1220
- - [#6856](https://github.com/nixxiecms/nixxie/pull/6856) [`f3e8aac31`](https://github.com/nixxiecms/nixxie/commit/f3e8aac31efb3eb1573eb340e07a25920084a4aa) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `graphql.extend` and `graphql.wrap`.
1221
-
1222
- ### Patch Changes
1223
-
1224
- - [#6714](https://github.com/nixxiecms/nixxie/pull/6714) [`5e61e0050`](https://github.com/nixxiecms/nixxie/commit/5e61e00503715f0f634d97e573926091a52661e6) Thanks [@Zlitus](https://github.com/Zlitus)! - When generating safe filenames, support extensions with numerical characters
1225
-
1226
- * [#6758](https://github.com/nixxiecms/nixxie/pull/6758) [`f38772b27`](https://github.com/nixxiecms/nixxie/commit/f38772b27d3e9d157127dabfa40036462c235a9f) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed `text`, `integer`, `float` and `decimal` on the item view when using `ui.itemView.fieldMode: 'read'`.
1227
-
1228
- - [#6777](https://github.com/nixxiecms/nixxie/pull/6777) [`30fc08b51`](https://github.com/nixxiecms/nixxie/commit/30fc08b515e4f8851fd2583a265a813c683bf604) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed the home page of the Admin UI not respecting `ui.hideCreate`
1229
-
1230
- * [#6790](https://github.com/nixxiecms/nixxie/pull/6790) [`f683dcfe3`](https://github.com/nixxiecms/nixxie/commit/f683dcfe37d013b3d17f1fbad3df335b2f2ee51c) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Readonly arrays are now accepted where previously mutable arrays were required. This means that if you use `as const` when writing an array and then pass it to various APIs in nixxie, that will now work.
1231
-
1232
- - [#6837](https://github.com/nixxiecms/nixxie/pull/6837) [`db7f2311b`](https://github.com/nixxiecms/nixxie/commit/db7f2311bb2ff8e1e70350cd0f087439b8404a8a) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Fixed bug in LinkToRelatedItems button for double sided relationships
1233
-
1234
- * [#6804](https://github.com/nixxiecms/nixxie/pull/6804) [`023bc7a0b`](https://github.com/nixxiecms/nixxie/commit/023bc7a0b1e6fb0ebdc5055f0243d9dad255a667) Thanks [@renovate](https://github.com/apps/renovate)! - Update prisma monorepo to [v3.3.0 (minor)](https://github.com/prisma/prisma/releases/tag/3.3.0)
1235
-
1236
- - [#6839](https://github.com/nixxiecms/nixxie/pull/6839) [`d1141ea82`](https://github.com/nixxiecms/nixxie/commit/d1141ea8235bca4ce88500991c24b962b06ade45) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed overfetching, not filtering by the search and erroring when an id is searched for in the relationship select UI.
1237
-
1238
- * [#6843](https://github.com/nixxiecms/nixxie/pull/6843) [`d107a5bec`](https://github.com/nixxiecms/nixxie/commit/d107a5becdd16245caf208c3979965fa926e484c) Thanks [@dcousens](https://github.com/dcousens)! - - We have bumped `memoize-one` to [`v6.0.0`](https://github.com/alexreardon/`/releases/tag/v6.0.0), the only breaking changes for the package were related to Typescript (please see the release notes)
1239
-
1240
- - [#6853](https://github.com/nixxiecms/nixxie/pull/6853) [`44cbef543`](https://github.com/nixxiecms/nixxie/commit/44cbef5435081311acb9e68dd750f1ca289b8221) Thanks [@lukebennett88](https://github.com/lukebennett88)! - Updated minor typos in GraphQL errors
1241
-
1242
- ## 26.1.1
1243
-
1244
- ### Patch Changes
1245
-
1246
- - [#6774](https://github.com/nixxiecms/nixxie/pull/6774) [`d67066e6d`](https://github.com/nixxiecms/nixxie/commit/d67066e6d6bc46119279f5e382581d46658cb39d) Thanks [@bladey](https://github.com/bladey)! - Fixed `text`, `integer`, `float` and `decimal` on the item view when using `ui.itemView.fieldMode: 'read'`.
1247
-
1248
- ## 26.1.0
1249
-
1250
- ### Minor Changes
1251
-
1252
- - [#6746](https://github.com/nixxiecms/nixxie/pull/6746) [`d64bd4a7f`](https://github.com/nixxiecms/nixxie/commit/d64bd4a7f3da87e13e9cac41f0eb9757b771835f) Thanks [@timleslie](https://github.com/timleslie)! - The following config functions now also access a `context` argument:
1253
- - `list.ui.isHidden`
1254
- - `list.ui.hideCreate`
1255
- - `list.ui.hideDelete`
1256
- - `list.ui.createView.defaultFieldMode`
1257
- - `list.ui.itemView.defaultFieldMode`
1258
- - `list.ui.listView.defaultFieldMode`
1259
- - `field.ui.createView.fieldMode`
1260
- - `field.ui.itemView.fieldMode`
1261
- - `field.ui.listView.fieldMode`
1262
-
1263
- * [#6743](https://github.com/nixxiecms/nixxie/pull/6743) [`abeceaf90`](https://github.com/nixxiecms/nixxie/commit/abeceaf902c231aabe9cf3a383ecf29c09b8f4dd) Thanks [@timleslie](https://github.com/timleslie)! - Added custom error codes to all GraphQL errors to support easier debugging and processing of errors.
1264
-
1265
- ### Patch Changes
1266
-
1267
- - [#6732](https://github.com/nixxiecms/nixxie/pull/6732) [`73544fd19`](https://github.com/nixxiecms/nixxie/commit/73544fd19b865be9fbf3ea9ae68fae5f039eb13f) Thanks [@timleslie](https://github.com/timleslie)! - Improved the error messages for user input errors on relationships in update/create operations.
1268
-
1269
- * [#6744](https://github.com/nixxiecms/nixxie/pull/6744) [`0ef1ee3cc`](https://github.com/nixxiecms/nixxie/commit/0ef1ee3ccd99f0f3e1f955f03d00b1a0f238c7cd) Thanks [@bladey](https://github.com/bladey)! - Renamed branch `master` to `main`.
1270
-
1271
- - [#6737](https://github.com/nixxiecms/nixxie/pull/6737) [`930b7129f`](https://github.com/nixxiecms/nixxie/commit/930b7129f37beb396bb8ecc8a8dc9f1b3615a7e0) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Improved dev startup performance
1272
-
1273
- * [#6727](https://github.com/nixxiecms/nixxie/pull/6727) [`fac96cbd1`](https://github.com/nixxiecms/nixxie/commit/fac96cbd14febcc01bdffbecd1aceee391f6a20a) Thanks [@timleslie](https://github.com/timleslie)! - Improved error messages when using the items and DB APIs.
1274
-
1275
- - [#6729](https://github.com/nixxiecms/nixxie/pull/6729) [`3d289eb3d`](https://github.com/nixxiecms/nixxie/commit/3d289eb3d00c3e6a0c26ce962fb0f942a08c400a) Thanks [@timleslie](https://github.com/timleslie)! - Improved the error message when trying to perform a `connect` operation on a missing/access denied ID.
1276
-
1277
- * [#6754](https://github.com/nixxiecms/nixxie/pull/6754) [`bed3a560a`](https://github.com/nixxiecms/nixxie/commit/bed3a560a59d4fe787f3beebd65f8148453aae35) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated dist filenames
1278
-
1279
- - [#6737](https://github.com/nixxiecms/nixxie/pull/6737) [`930b7129f`](https://github.com/nixxiecms/nixxie/commit/930b7129f37beb396bb8ecc8a8dc9f1b3615a7e0) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Nixxie will now consistently not respect a custom Babel config if it exists rather than the previous behaviour of respecting it in some commands but not for compilations from `nixxie-next build` that are run with `nixxie-next start`
1280
-
1281
- * [#6721](https://github.com/nixxiecms/nixxie/pull/6721) [`6e4a0cf56`](https://github.com/nixxiecms/nixxie/commit/6e4a0cf56ce35b2446db7970763c55446de3db0e) Thanks [@timleslie](https://github.com/timleslie)! - Improved error messages when updating/creating relationship fields.
1282
-
1283
- - [#6719](https://github.com/nixxiecms/nixxie/pull/6719) [`704f68b38`](https://github.com/nixxiecms/nixxie/commit/704f68b38f970860137380e21c36e04d2c51a7a4) Thanks [@renovate](https://github.com/apps/renovate)! - Upgraded Prisma monorepo packages to [3.2.0](https://github.com/prisma/prisma/releases/tag/3.2.0).
1284
-
1285
- * [#6738](https://github.com/nixxiecms/nixxie/pull/6738) [`576f341e6`](https://github.com/nixxiecms/nixxie/commit/576f341e61b31bbcf076ba70002d137c7b7ff9a9) Thanks [@timleslie](https://github.com/timleslie)! - Improved error messages when to-many relationship update/create operations fail.
1286
-
1287
- * Updated dependencies [[`0ef1ee3cc`](https://github.com/nixxiecms/nixxie/commit/0ef1ee3ccd99f0f3e1f955f03d00b1a0f238c7cd), [`bed3a560a`](https://github.com/nixxiecms/nixxie/commit/bed3a560a59d4fe787f3beebd65f8148453aae35)]:
1288
- - @nixxie-ui/button@5.0.2
1289
- - @nixxie-ui/core@3.2.1
1290
- - @nixxie-ui/fields@5.0.1
1291
- - @nixxie-ui/icons@4.0.2
1292
- - @nixxie-ui/loading@4.0.2
1293
- - @nixxie-ui/modals@4.0.2
1294
- - @nixxie-ui/notice@4.1.1
1295
- - @nixxie-ui/options@4.0.4
1296
- - @nixxie-ui/pill@5.0.2
1297
- - @nixxie-ui/popover@4.0.5
1298
- - @nixxie-ui/segmented-control@5.0.1
1299
- - @nixxie-ui/toast@4.0.4
1300
- - @nixxie-ui/tooltip@4.0.3
1301
-
1302
- ## 26.0.1
1303
-
1304
- ### Patch Changes
1305
-
1306
- - [#6711](https://github.com/nixxiecms/nixxie/pull/6711) [`1a0614351`](https://github.com/nixxiecms/nixxie/commit/1a0614351808d4cb024840308fcc8288860e1de5) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix `NixxieContext` type exported from `.nixxie/types`
1307
-
1308
- ## 26.0.0
1309
-
1310
- ### Major Changes
1311
-
1312
- - [#6680](https://github.com/nixxiecms/nixxie/pull/6680) [`5c0163e09`](https://github.com/nixxiecms/nixxie/commit/5c0163e0973e5fee9b1e2c2b1f2834284858a509) Thanks [@timleslie](https://github.com/timleslie)! - Renamed the `originalInput` argument for access control functions to `inputData`.
1313
-
1314
- * [#6638](https://github.com/nixxiecms/nixxie/pull/6638) [`7f5caff60`](https://github.com/nixxiecms/nixxie/commit/7f5caff60308112ded832db4703f33eaae00ce24) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - In the `select` field, `dataType` has been renamed to `type`, `defaultValue` is now a static value and `isRequired` has moved to `validation.isRequired`. The `select` field can also be made non-nullable at the database-level with the `db.isNullable` option which defaults to `validation.isRequired ? false : true`. `graphql.read.isNonNull` can also be set if the field is non-nullable in the database and you have no read access control and you don't intend to add any in the future, it will make the GraphQL output field non-nullable. `graphql.create.isNonNull` can also be set if you have no create access control and you don't intend to add any in the future, it will make the GraphQL create input field non-nullable. The `select` can now also be cleared in the Admin UI when `ui.displayMode` is `segmented-control`.
1315
-
1316
- - [#6663](https://github.com/nixxiecms/nixxie/pull/6663) [`480c875d1`](https://github.com/nixxiecms/nixxie/commit/480c875d11700f9eb23f403a5bb277aa94c38ce7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - In the `decimal` field, `defaultValue` is now a static number written as a string, `isRequired` has moved to `validation.isRequired` and now also requires the input isn't `NaN`, along with new `validation.min` and `validation.max` options. The `decimal` field can also be made non-nullable at the database-level with the `db.isNullable` option which defaults to `validation.isRequired ? false : true`. `graphql.read.isNonNull` can also be set if the field is non-nullable in the database and you have no read access control and you don't intend to add any in the future, it will make the GraphQL output field non-nullable. `graphql.create.isNonNull` can also be set if you have no create access control and you don't intend to add any in the future, it will make the GraphQL create input field non-nullable.
1317
-
1318
- * [#6409](https://github.com/nixxiecms/nixxie/pull/6409) [`3ece149e5`](https://github.com/nixxiecms/nixxie/commit/3ece149e53066661c57c56fdd1467003c5b11c06) Thanks [@timleslie](https://github.com/timleslie)! - Upgraded Apollo Server to [Version 3](https://www.apollographql.com/docs/apollo-server/migration/).
1319
-
1320
- The Apollo documentation contains a full list of breaking changes introduced by this update.
1321
- You can configure the Apollo Server provided by Nixxie using the [`graphql.apolloConfig`](https://nixxiecms.com/docs/apis/config#graphql) configuration option.
1322
-
1323
- The most prominant change for most users will be that the GraphQL Playground has been replaced by the Apollo Sandbox.
1324
- If you prefer to keep the GraphQL Playground, you can configure your server by [following these instructions](https://www.apollographql.com/docs/apollo-server/migration/#graphql-playground).
1325
-
1326
- - [#6587](https://github.com/nixxiecms/nixxie/pull/6587) [`8bbba49c7`](https://github.com/nixxiecms/nixxie/commit/8bbba49c74fd4b7cf2560613c9cf6bcaddb11a6f) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The `NixxieAdminUIFieldMeta.isOrderable` and `NixxieAdminUIFieldMeta.isFilterable` fields are no longer statically resolvable and will now take into account the context/session. This also means `isOrderable` and `isFilterable` are no longer accessible on `useList().fields[fieldKey].isOrderable/isFilterable`, they can be fetched through GraphQL if you need them in the Admin UI.
1327
-
1328
- * [#6607](https://github.com/nixxiecms/nixxie/pull/6607) [`42268ee72`](https://github.com/nixxiecms/nixxie/commit/42268ee72707e94a6197607d24534a438b748649) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `isRequired` and `defaultValue` can no longer be dynamic in the `json` field. If you were using `isRequired`, the same behaviour can be re-created with the `validateInput` hook.
1329
-
1330
- - [#6461](https://github.com/nixxiecms/nixxie/pull/6461) [`e81947d6c`](https://github.com/nixxiecms/nixxie/commit/e81947d6ccb0b541387519898fdbbf09274d4c9f) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - In the `text` field, `defaultValue` is now a static value, `isRequired` has moved to `validation.isRequired` and also requires that the value has a length of at least one, along with new `validation.lenght.min`, `validation.length.max` and `validation.match` options. The `text` field is also now non-nullable at the database-level by default and can be made nullable by setting the `db.isNullable` option to `true`. `graphql.read.isNonNull` can also be set if the field does not have `db.isNullable: true` and you have no read access control and you don't intend to add any in the future, it will make the GraphQL output field non-nullable. `graphql.create.isNonNull` can also be set if you have no create access control and you don't intend to add any in the future, it will make the GraphQL create input field non-nullable.
1331
-
1332
- * [#6691](https://github.com/nixxiecms/nixxie/pull/6691) [`5d3fc0b77`](https://github.com/nixxiecms/nixxie/commit/5d3fc0b77c92efc69d725f943626d8d76a28e799) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `__legacy` property from field type implementations
1333
-
1334
- - [#6518](https://github.com/nixxiecms/nixxie/pull/6518) [`0218a4215`](https://github.com/nixxiecms/nixxie/commit/0218a421576fb3ceb38eb5f38223a9ef0af4c4d2) Thanks [@timleslie](https://github.com/timleslie)! - Removed the deprecated `config.db.adapter` option. Please use `config.db.provider` to indicate the database provider for your system.
1335
-
1336
- * [#6684](https://github.com/nixxiecms/nixxie/pull/6684) [`14bfa8a9b`](https://github.com/nixxiecms/nixxie/commit/14bfa8a9b33fae4c5eb3664ca23bb88850df5e50) Thanks [@timleslie](https://github.com/timleslie)! - \* Consolidated the `beforeChange`/`beforeDelete` and `afterChange`/`afterDelete` hooks into `beforeOperation` and `afterOperation`.
1337
- - Renamed the `existingItem` argument for all hooks (except `afterOperation`) to `item`.
1338
- - Renamed the `existingItem` argument for `afterOperation` to `originalItem`.
1339
- - Renamed the `updatedItem` argument for `afterOperation` to `item`.
1340
-
1341
- See the [Hooks API docs](https://nixxiecms.com/docs/apis/hooks) for a complete reference for the updated API.
1342
-
1343
- - [#6535](https://github.com/nixxiecms/nixxie/pull/6535) [`581e130cf`](https://github.com/nixxiecms/nixxie/commit/581e130cf2a833c2b363801a32f4791bc1c7c62c) Thanks [@timleslie](https://github.com/timleslie)! - The API `context.lists` has been renamed to `context.query`, and `context.db.lists` has been renamed to `context.db`.
1344
-
1345
- When using the experimental option `config.experimental.generateNodeAPI`, the `api` module now exports `query` rather than `lists`.
1346
-
1347
- * [#6674](https://github.com/nixxiecms/nixxie/pull/6674) [`f963966ab`](https://github.com/nixxiecms/nixxie/commit/f963966ab138a315a8f18d83ed7a676f7423a51d) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - In the `timestamp` field, `defaultValue` is now a static date time value in an ISO8601 string or `{ kind: 'now' }` and `isRequired` has moved to `validation.isRequired`. The `timestamp` field can also be made non-nullable at the database-level with the `db.isNullable` option which defaults to `validation.isRequired ? false : true`. `graphql.read.isNonNull` can also be set if the field is non-nullable in the database and you have no read access control and you don't intend to add any in the future, it will make the GraphQL output field non-nullable. `graphql.create.isNonNull` can also be set if you have no create access control and you don't intend to add any in the future, it will make the GraphQL create input field non-nullable. The field can also be automatically set to the current time on a create/update by setting `db.updatedAt: true`, this will add Prisma's `@updatedAt` attribute to the field. The `timestamp` field also now uses a custom GraphQL scalar type named `DateTime` which requires inputs as full ISO8601 date-time strings such as `"2021-01-30T00:00:00.000Z"`, using `new Date().toISOString()` will give you a string in the correct format.
1348
-
1349
- - [#6683](https://github.com/nixxiecms/nixxie/pull/6683) [`b76974736`](https://github.com/nixxiecms/nixxie/commit/b76974736132a71d693b3e325ffa009d395840a4) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - In the `password` field, `defaultValue` has been removed, `isRequired` has moved to `validation.isRequired`, `rejectCommon` has moved to `validation.rejectCommon`, `minLength` has moved to `validation.length.min` along with with the new `validation.length.max` and `validation.match` options. The `password` field can also be made non-nullable at the database-level with the `db.isNullable` option which defaults to `validation.isRequired ? false : true`. Also, providing `''` to the field will now result in an error instead of silently setting null. `validation.length.min` also must be `1` or above, though it still defaults to `8`. If `workFactor` is outside of the range of `6` to `31`, an error will now be thrown instead of the previous behaviour of clamping the value to `4` to `31` and warning if it's below `6`.
1350
-
1351
- * [#6542](https://github.com/nixxiecms/nixxie/pull/6542) [`47c8b53ce`](https://github.com/nixxiecms/nixxie/commit/47c8b53ce44b7ad34ba40501a257a2b679cdee05) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `createSchema` function, you can remove the call to `createSchema` and pass the lists directly to the `lists` property
1352
-
1353
- - [#6520](https://github.com/nixxiecms/nixxie/pull/6520) [`1b0a2f516`](https://github.com/nixxiecms/nixxie/commit/1b0a2f516d7d9ffce2e470dcd9ea870a3274500b) Thanks [@timleslie](https://github.com/timleslie)! - Removed `context.schemaName` from the `context` object. This value was an internal API which is no longer required.
1354
-
1355
- * [#6689](https://github.com/nixxiecms/nixxie/pull/6689) [`67492f37d`](https://github.com/nixxiecms/nixxie/commit/67492f37dd9fbcd94234c15a072e9c826fa7a665) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved `graphql` export of `@nixxie-next/nixxie/types` to `@nixxie-next/nixxie`
1356
-
1357
- - [#6656](https://github.com/nixxiecms/nixxie/pull/6656) [`002e1d88b`](https://github.com/nixxiecms/nixxie/commit/002e1d88b0908c2e1215c1181724b2bc1cc57538) Thanks [@Noviny](https://github.com/Noviny)! - In the `float` field, `defaultValue` is now a static number, `isRequired` has moved to `validation.isRequired`, along with new `validation.min` and `validation.max` options. The `float` field can also be made non-nullable at the database-level with the `db.isNullable` option which defaults to `validation.isRequired ? false : true`. `graphql.read.isNonNull` can also be set if the field is non-nullable in the database and you have no read access control and you don't intend to add any in the future, it will make the GraphQL output field non-nullable. `graphql.create.isNonNull` can also be set if you have no create access control and you don't intend to add any in the future, it will make the GraphQL create input field non-nullable.
1358
-
1359
- * [#6490](https://github.com/nixxiecms/nixxie/pull/6490) [`ca48072b4`](https://github.com/nixxiecms/nixxie/commit/ca48072b4d137e879e328c93b703a8364562db8a) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma package dependencies to `3.0.2`. See the [Prisma release notes](https://github.com/prisma/prisma/releases/tag/3.0.1) for full details of the changes.
1360
-
1361
- Note that Nixxie continues to use the "binary" query engine, rather than the new "node-API" query engine, which is now the Prisma default. We are still performing tests to ensure that the node-API query engine will work well with Nixxie.
1362
-
1363
- - [#6588](https://github.com/nixxiecms/nixxie/pull/6588) [`3b9732acd`](https://github.com/nixxiecms/nixxie/commit/3b9732acd8cd597fa9c70128a2e7129ed02e6775) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - In the `integer` field, `defaultValue` is now a static number or `{ kind: 'autoincrement' }`, `isRequired` has moved to `validation.isRequired`, along with new `validation.min` and `validation.max` options. The `integer` field can also be made non-nullable at the database-level with the `db.isNullable` option which defaults to `validation.isRequired ? false : true`. `graphql.read.isNonNull` can also be set if the field is non-nullable in the database and you have no read access control and you don't intend to add any in the future, it will make the GraphQL output field non-nullable. `graphql.create.isNonNull` can also be set if you have no create access control and you don't intend to add any in the future, it will make the GraphQL create input field non-nullable.
1364
-
1365
- The `autoIncrement` field has also been removed, use the integer field with a `defaultValue` of `{ kind: 'autoincrement' }`
1366
-
1367
- * [#6448](https://github.com/nixxiecms/nixxie/pull/6448) [`c2b124f8e`](https://github.com/nixxiecms/nixxie/commit/c2b124f8e4b283022ec473d9e5f32f37de639cf0) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The `checkbox` field is now non-nullable in the database, if you need three states, you should use `select()`. The field no longer accepts dynamic default values and it will default to `false` unless a different `defaultValue` is specified. `graphql.read.isNonNull` can also be set if you have no read access control and you don't intend to add any in the future, it will make the GraphQL output field non-nullable. `graphql.create.isNonNull` can also be set if you have no create access control and you don't intend to add any in the future, it will make the GraphQL create input field non-nullable.
1368
-
1369
- If you're using SQLite, Prisma will generate a migration that makes the column non-nullable and sets any rows that have null values to the `defaultValue`.
1370
-
1371
- If you're using PostgreSQL, Prisma will generate a migration but you'll need to modify it if you have nulls in a checkbox field. Nixxie will say that the migration cannot be executed:
1372
-
1373
- ```
1374
- ✨ Starting Nixxie
1375
- ⭐️ Dev Server Ready on http://localhost:3000
1376
- ✨ Generating GraphQL and Prisma schemas
1377
- ✨ There has been a change to your Nixxie schema that requires a migration
1378
-
1379
- ⚠️ We found changes that cannot be executed:
1380
-
1381
- • Made the column `isAdmin` on table `User` required, but there are 1 existing NULL values.
1382
-
1383
- ✔ Name of migration … make-is-admin-non-null
1384
- ✨ A migration has been created at migrations/20210906053141_make_is_admin_non_null
1385
- Please edit the migration and run nixxie-next dev again to apply the migration
1386
- ```
1387
-
1388
- The generated migration will look like this:
1389
-
1390
- ```sql
1391
- /*
1392
- Warnings:
1393
-
1394
- - Made the column `isAdmin` on table `User` required. This step will fail if there are existing NULL values in that column.
1395
-
1396
- */
1397
- -- AlterTable
1398
- ALTER TABLE "User" ALTER COLUMN "isAdmin" SET NOT NULL,
1399
- ALTER COLUMN "isAdmin" SET DEFAULT false;
1400
- ```
1401
-
1402
- To make it set any null values to false in your database, you need to modify it so that it looks like this but with the table and column names replaced.
1403
-
1404
- ```sql
1405
- ALTER TABLE "User" ALTER COLUMN "isAdmin" SET DEFAULT false;
1406
- UPDATE "User" SET "isAdmin" = DEFAULT WHERE "isAdmin" IS NULL;
1407
- ALTER TABLE "User" ALTER COLUMN "isAdmin" SET NOT NULL;
1408
- ```
1409
-
1410
- - [#6513](https://github.com/nixxiecms/nixxie/pull/6513) [`4048991ba`](https://github.com/nixxiecms/nixxie/commit/4048991ba7db234a694287000beaf2ea052cd24e) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `isRequired` and `defaultValue` from the `image` and `file` fields. If you were using these options, the same behaviour can be re-created with the `validateInput` and `resolveInput` hooks respectively.
1411
-
1412
- * [#6514](https://github.com/nixxiecms/nixxie/pull/6514) [`79e2cc3aa`](https://github.com/nixxiecms/nixxie/commit/79e2cc3aa79a90358a6ce1281a8ad5f5632ac185) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `defaultValue` and the undocumented `withMeta` option from the `relationship` field. To re-create `defaultValue`, you can use `resolveInput` though note that if you're using autoincrement ids, you need to return the id as number, not a string like you would provide to GraphQL, e.g. `{ connect: { id: 1 } }` rather than `{ connect: { id: "1" } }`. If you were using `withMeta: false`, please open an issue with your use case.
1413
-
1414
- - [#6707](https://github.com/nixxiecms/nixxie/pull/6707) [`1f952fb10`](https://github.com/nixxiecms/nixxie/commit/1f952fb10710b7fae6a88112310b25a09ab330ea) Thanks [@timleslie](https://github.com/timleslie)! - Changed the default for `defaultIsFilterable` and `defaultIsOrderable` from `false` to `true`. This means that all fields are filterable and orderable by default. Filtering can be disabled by setting either `defaultIsFilterable: false` at the list level, or `isFilterable: false` at the field level. Ordering can be disabled by setting either `defaultIsOrderable: false` at the list level, or `isOrderable: false` at the field level.
1415
-
1416
- * [#6520](https://github.com/nixxiecms/nixxie/pull/6520) [`1b0a2f516`](https://github.com/nixxiecms/nixxie/commit/1b0a2f516d7d9ffce2e470dcd9ea870a3274500b) Thanks [@timleslie](https://github.com/timleslie)! - Renamed the `skipAccessControl` argument to `createContext` to `sudo` for consistency with `context.sudo()`.
1417
-
1418
- - [#6538](https://github.com/nixxiecms/nixxie/pull/6538) [`4e485a914`](https://github.com/nixxiecms/nixxie/commit/4e485a914cfbc6c4b5ef9eeca9157bf654469b2d) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Renamed `graphQLReturnFragment` to `ui.query` in the virtual field options. The virtual field now checks if `ui.query` is required for the GraphQL output type, and throws an error if it is missing. If you don't want want the Admin UI to fetch the field, you can set `ui.itemView.fieldMode` and `ui.listView.fieldMode` to `'hidden'` instead of providing `ui.query`.
1419
-
1420
- * [#6490](https://github.com/nixxiecms/nixxie/pull/6490) [`ca48072b4`](https://github.com/nixxiecms/nixxie/commit/ca48072b4d137e879e328c93b703a8364562db8a) Thanks [@renovate](https://github.com/apps/renovate)! - Removed `filters.postgresql.Json` export from `@nixxie-next/nixxie/types`. Note this is unrelated to the `json` field type. The `json` field type did not have filters and still does not.
1421
-
1422
- - [#6681](https://github.com/nixxiecms/nixxie/pull/6681) [`c8aca958b`](https://github.com/nixxiecms/nixxie/commit/c8aca958b3650f10011370e0c00b01cb681bb212) Thanks [@timleslie](https://github.com/timleslie)! - Renamed the `originalInput` argument for hook functions to `inputData`.
1423
-
1424
- * [#6519](https://github.com/nixxiecms/nixxie/pull/6519) [`838845298`](https://github.com/nixxiecms/nixxie/commit/8388452982277b10c65ff89be442464761a680a7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The Admin UI will skip fetching fields that have a statically set `itemView.fieldMode: 'hidden'` on the item view. The `id` argument to the `NixxieAdminUIFieldMeta.itemView` GraphQL field can now be omitted which will make `NixxieAdminUIFieldMetaItemView.fieldMode` return null when there isn't a static field mode. The `itemView` also no longer uses a sudo context when fetching the item in the `NixxieAdminUIFieldMetaItemView.fieldMode`. Previously, if someone had access to the Admin UI(`ui.isAccessAllowed`) and a field had a `itemView.fieldMode` function that used the `item` argument, someone could bypass access control to determine whether or not an item with a given id exists.
1425
-
1426
- ### Minor Changes
1427
-
1428
- - [#6560](https://github.com/nixxiecms/nixxie/pull/6560) [`a95da1d81`](https://github.com/nixxiecms/nixxie/commit/a95da1d812574fd17d1fa8bc324415da558a9d9d) Thanks [@timleslie](https://github.com/timleslie)! - Added support for dynamic `isFilterable` and `isOrderable` field config values. If a function is provided for these config option, it will be dynamically evaluated each time the field is used for filtering and ordering, and an error will be returned if the function returns `false`.
1429
-
1430
- * [#6574](https://github.com/nixxiecms/nixxie/pull/6574) [`3ee4542a8`](https://github.com/nixxiecms/nixxie/commit/3ee4542a884d8135299178950ab47bb82907bcd9) Thanks [@Nikitoring](https://github.com/Nikitoring)! - Added support for [Prisma preview features](https://www.prisma.io/docs/concepts/components/preview-features) via the `config.db.prismaPreviewFeatures` configuration option.
1431
-
1432
- - [#6608](https://github.com/nixxiecms/nixxie/pull/6608) [`e747ef6f3`](https://github.com/nixxiecms/nixxie/commit/e747ef6f31590799fa332e1f011b160a443fbeb4) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - \* Added Filter functionality to relationships.
1433
- - Added `portalMenu` prop to the RelationshipSelect and updated it to **not** portal the menu by default.
1434
-
1435
- * [#6616](https://github.com/nixxiecms/nixxie/pull/6616) [`232c512a0`](https://github.com/nixxiecms/nixxie/commit/232c512a05250cb8a9c26b70969afe4106e2f8ac) Thanks [@timleslie](https://github.com/timleslie)! - Added a `createContext` argument to the `config.server.extendExpressApp` option, allowing access to the full context API.
1436
-
1437
- - [#6564](https://github.com/nixxiecms/nixxie/pull/6564) [`b6c8c3bff`](https://github.com/nixxiecms/nixxie/commit/b6c8c3bff9d3d98f743c47c015ae27e63db0271e) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `dbFieldConfig` parameter to `jsonFieldTypePolyfilledForSQLite`
1438
-
1439
- ### Patch Changes
1440
-
1441
- - [#6591](https://github.com/nixxiecms/nixxie/pull/6591) [`d0e3c087e`](https://github.com/nixxiecms/nixxie/commit/d0e3c087e49310774b9538dfa5d2432c00381db0) Thanks [@timleslie](https://github.com/timleslie)! - Improved the error message returned when access is denied.
1442
-
1443
- * [#6685](https://github.com/nixxiecms/nixxie/pull/6685) [`21c5d1aa9`](https://github.com/nixxiecms/nixxie/commit/21c5d1aa964a19657d4ba7eb913e8ca292bf1714) Thanks [@timleslie](https://github.com/timleslie)! - Updated field-type resolver error handling to catch and group errors from all fields.
1444
-
1445
- - [#6524](https://github.com/nixxiecms/nixxie/pull/6524) [`d9e18613a`](https://github.com/nixxiecms/nixxie/commit/d9e18613a4136f1c1201a197e47d9d4bde292cd2) Thanks [@timleslie](https://github.com/timleslie)! - Updated system setup to only check for a valid `config.db.provider` once during `initConfig`.
1446
-
1447
- * [#6508](https://github.com/nixxiecms/nixxie/pull/6508) [`3cfc2a383`](https://github.com/nixxiecms/nixxie/commit/3cfc2a3839142dd3ccdbf1dd86768257e9acc0dc) Thanks [@JedWatson](https://github.com/JedWatson)! - Add Margin to error messages in the Admin UI Item Form
1448
-
1449
- - [#6532](https://github.com/nixxiecms/nixxie/pull/6532) [`1da120a38`](https://github.com/nixxiecms/nixxie/commit/1da120a388a80585e897a06b81b027b7d8011902) Thanks [@bladey](https://github.com/bladey)! - Updated schema export message to accurately reflect required import changes.
1450
-
1451
- * [#6559](https://github.com/nixxiecms/nixxie/pull/6559) [`499c00b44`](https://github.com/nixxiecms/nixxie/commit/499c00b44b4b378285ed21a385da799b4af0af82) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed unnecessary dependency on `typescript`
1452
-
1453
- - [#6678](https://github.com/nixxiecms/nixxie/pull/6678) [`eb1a89f3c`](https://github.com/nixxiecms/nixxie/commit/eb1a89f3c13d4e80516cc372cef3dc505ef864f3) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed returning filters like `{ NOT: [{ name: { equals: 'blah' } }] }` from filter access control and improve error messages when returning bad filters from filter access control
1454
-
1455
- * [#6639](https://github.com/nixxiecms/nixxie/pull/6639) [`4da935870`](https://github.com/nixxiecms/nixxie/commit/4da935870374414e83900949cc70fce0d4b6de19) Thanks [@timleslie](https://github.com/timleslie)! - Improved query generation performance when querying single relationships without filter-based access control.
1456
-
1457
- - [#6565](https://github.com/nixxiecms/nixxie/pull/6565) [`1faddea9d`](https://github.com/nixxiecms/nixxie/commit/1faddea9d285c70d2d867958bc5ab2bbfb44dbd6) Thanks [@timleslie](https://github.com/timleslie)! - Updated error messages to indicate user input errors.
1458
-
1459
- * [#6571](https://github.com/nixxiecms/nixxie/pull/6571) [`7de13bce3`](https://github.com/nixxiecms/nixxie/commit/7de13bce32630ee2478a9894e801020c520c64a9) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Fixed pagination bug on deletion of items.
1460
-
1461
- - [#6537](https://github.com/nixxiecms/nixxie/pull/6537) [`271e5d97b`](https://github.com/nixxiecms/nixxie/commit/271e5d97bc2e4548ce039a568278f9f7569aa41a) Thanks [@timleslie](https://github.com/timleslie)! - Renamed internal function `checkOperationAccess` to `getOperationAccess`.
1462
-
1463
- * [#6592](https://github.com/nixxiecms/nixxie/pull/6592) [`273ee446a`](https://github.com/nixxiecms/nixxie/commit/273ee446a6d3e22c4d01c530d33282df362a6f1b) Thanks [@timleslie](https://github.com/timleslie)! - Removed check for access denied on count operations in the Admin UI databoard queries, as these errors are no longer returned.
1464
-
1465
- - [#6587](https://github.com/nixxiecms/nixxie/pull/6587) [`8bbba49c7`](https://github.com/nixxiecms/nixxie/commit/8bbba49c74fd4b7cf2560613c9cf6bcaddb11a6f) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed `@nixxie-next/nixxie/testing` not respecting Admin UI config
1466
-
1467
- * [#6526](https://github.com/nixxiecms/nixxie/pull/6526) [`a645861a9`](https://github.com/nixxiecms/nixxie/commit/a645861a9562748cf3e9786e37acea67c4a0cc17) Thanks [@bladey](https://github.com/bladey)! - Fixed Relationship field inline connect throwing 400 errors when selecting a value.
1468
-
1469
- - [#6672](https://github.com/nixxiecms/nixxie/pull/6672) [`689d8ecaa`](https://github.com/nixxiecms/nixxie/commit/689d8ecaa9e93eedc80084aafc319a0396efc593) Thanks [@timleslie](https://github.com/timleslie)! - Improved the error messages provided from the GraphQL API when extension code (e.g access control functions, hooks, etc) throw exceptions.
1470
-
1471
- * [#6487](https://github.com/nixxiecms/nixxie/pull/6487) [`144f7f8e4`](https://github.com/nixxiecms/nixxie/commit/144f7f8e4e13ec547865927cb224fea7165b98b7) Thanks [@timleslie](https://github.com/timleslie)! - Fixed type definition of `ValidationArgs['addValidationError']`.
1472
-
1473
- - [#6481](https://github.com/nixxiecms/nixxie/pull/6481) [`7621d0db7`](https://github.com/nixxiecms/nixxie/commit/7621d0db75033b68a510d5f6c9b03d9418980e73) Thanks [@gautamsi](https://github.com/gautamsi)! - Exported Field types to help in updating contrib packages
1474
-
1475
- * [#6500](https://github.com/nixxiecms/nixxie/pull/6500) [`10c61bd44`](https://github.com/nixxiecms/nixxie/commit/10c61bd44176ffa7d0e446c28fd9f12ed54790f0) Thanks [@timleslie](https://github.com/timleslie)! - Fixed a bug in `context.db` API when finding items that don't exist.
1476
-
1477
- - [#6482](https://github.com/nixxiecms/nixxie/pull/6482) [`1659e1fe5`](https://github.com/nixxiecms/nixxie/commit/1659e1fe5e0f394df058b3a773ea62bf392fa8db) Thanks [@timleslie](https://github.com/timleslie)! - Cleaned up the formatting of GraphQL error messages result from Prisma errors.
1478
-
1479
- * [#6521](https://github.com/nixxiecms/nixxie/pull/6521) [`e84f8f655`](https://github.com/nixxiecms/nixxie/commit/e84f8f6550cff4fbca69982e0371d787e67c8915) Thanks [@timleslie](https://github.com/timleslie)! - Removed unused `BaseNixxie` type.
1480
-
1481
- - [#6625](https://github.com/nixxiecms/nixxie/pull/6625) [`5e62702ba`](https://github.com/nixxiecms/nixxie/commit/5e62702ba3934bf8effb5dce65466017dd868610) Thanks [@renovate](https://github.com/apps/renovate)! - Update Prisma dependency to `3.1.1`.
1482
-
1483
- * [#6664](https://github.com/nixxiecms/nixxie/pull/6664) [`b00596d3f`](https://github.com/nixxiecms/nixxie/commit/b00596d3f8b64cddc46ec9e5e4e567dd67264253) Thanks [@timleslie](https://github.com/timleslie)! - Improved error messages when access control functions return invalid values.
1484
-
1485
- - [#6530](https://github.com/nixxiecms/nixxie/pull/6530) [`80cd31303`](https://github.com/nixxiecms/nixxie/commit/80cd313033b339d90b5e640b252a357a4d60fbcd) Thanks [@gautamsi](https://github.com/gautamsi)! - Fixed remaining windows issue where it creates invalid import path. This removes some duplicate code which caused this.
1486
-
1487
- * [#6667](https://github.com/nixxiecms/nixxie/pull/6667) [`8631917d1`](https://github.com/nixxiecms/nixxie/commit/8631917d14778468652abb8eda06802d2469646c) Thanks [@timleslie](https://github.com/timleslie)! - Simplified logic of validation hook execution code.
1488
-
1489
- - [#6512](https://github.com/nixxiecms/nixxie/pull/6512) [`bf5874411`](https://github.com/nixxiecms/nixxie/commit/bf58744118320493325b3b48aadd007e12d5c680) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Fixed lists with `graphql.omit: ['query']` causing issues in the Admin UI.
1490
-
1491
- * [#6505](https://github.com/nixxiecms/nixxie/pull/6505) [`398c08529`](https://github.com/nixxiecms/nixxie/commit/398c085295d992658a9e7e22aae037f55528c258) Thanks [@timleslie](https://github.com/timleslie)! - Improved error message for bad relationship filter inputs.
1492
-
1493
- - [#6627](https://github.com/nixxiecms/nixxie/pull/6627) [`47cee8c95`](https://github.com/nixxiecms/nixxie/commit/47cee8c952c1134e503bff54e61dcd48c76b5429) Thanks [@rohan-deshpande](https://github.com/rohan-deshpande)! - Nixxie Cloud assets integration has been fixed
1494
-
1495
- * [#6523](https://github.com/nixxiecms/nixxie/pull/6523) [`9f0a4cc1f`](https://github.com/nixxiecms/nixxie/commit/9f0a4cc1f6d5133e92a0d326e285152d18689173) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The item view page will only fetch the item once to determine the field modes rather than once per field.
1496
-
1497
- - [#6617](https://github.com/nixxiecms/nixxie/pull/6617) [`11fb46c91`](https://github.com/nixxiecms/nixxie/commit/11fb46c918e508cc182d5bd22f069b9329edadba) Thanks [@Noviny](https://github.com/Noviny)! - Improved messaging around nixxie startup a little
1498
-
1499
- - Updated dependencies [[`3cfc2a383`](https://github.com/nixxiecms/nixxie/commit/3cfc2a3839142dd3ccdbf1dd86768257e9acc0dc), [`6d3798fdb`](https://github.com/nixxiecms/nixxie/commit/6d3798fdbd0a9f1567821e90b7176cf7dd208fda), [`f963966ab`](https://github.com/nixxiecms/nixxie/commit/f963966ab138a315a8f18d83ed7a676f7423a51d), [`7f5caff60`](https://github.com/nixxiecms/nixxie/commit/7f5caff60308112ded832db4703f33eaae00ce24), [`409fd04b8`](https://github.com/nixxiecms/nixxie/commit/409fd04b8c8b9a847ec288972dc8918c7604f011)]:
1500
- - @nixxie-ui/notice@4.1.0
1501
- - @nixxie-ui/popover@4.0.4
1502
- - @nixxie-ui/fields@5.0.0
1503
- - @nixxie-ui/segmented-control@5.0.0
1504
- - @nixxie-ui/options@4.0.3
1505
-
1506
- ## 25.0.4
1507
-
1508
- ### Patch Changes
1509
-
1510
- - [`7e0cae544`](https://github.com/nixxiecms/nixxie/commit/7e0cae54484b19c6adb267e1fda3cbc4058c0381) Thanks [@timleslie](https://github.com/timleslie)! - Nixxie Cloud assets integration has been fixed
1511
-
1512
- ## 25.0.3
1513
-
1514
- ### Patch Changes
1515
-
1516
- - [`7b7956428`](https://github.com/nixxiecms/nixxie/commit/7b795642803fbd4586ca28c9d398a5735f5964d4) Thanks [@timleslie](https://github.com/timleslie)! - Fixed Relationship field inline connect throwing 400 errors when selecting a value.
1517
-
1518
- ## 25.0.2
1519
-
1520
- ### Patch Changes
1521
-
1522
- - [#6507](https://github.com/nixxiecms/nixxie/pull/6507) [`847f6f046`](https://github.com/nixxiecms/nixxie/commit/847f6f04691e6a4847fea6f89de18675254e8845) Thanks [@timleslie](https://github.com/timleslie)! - Fixed an issue where the incorrect value for the `operation` argument was passed into field-level access control functions. Nixxie now correctly passes in `'read'` rather than the incorrect `'query'`.
1523
-
1524
- * [#6507](https://github.com/nixxiecms/nixxie/pull/6507) [`69b4332a7`](https://github.com/nixxiecms/nixxie/commit/69b4332a7bc39f9c4d3731002c4224e39a0660bd) Thanks [@timleslie](https://github.com/timleslie)! - Fixed windows issues with new view resolver from #6414.
1525
-
1526
- - [#6507](https://github.com/nixxiecms/nixxie/pull/6507) [`b3a77c311`](https://github.com/nixxiecms/nixxie/commit/b3a77c31154990a3350fc0005d9d04812021cf0a) Thanks [@timleslie](https://github.com/timleslie)! - Fixed item form submitting an invalid request after saving returns errors
1527
-
1528
- ## 25.0.1
1529
-
1530
- ### Patch Changes
1531
-
1532
- - [#6474](https://github.com/nixxiecms/nixxie/pull/6474) [`6205381b1`](https://github.com/nixxiecms/nixxie/commit/6205381b19041b88363a32e7ff13d606ba12a48e) Thanks [@timleslie](https://github.com/timleslie)! - Fixed typo in Admin UI.
1533
-
1534
- ## 25.0.0
1535
-
1536
- ### Major Changes
1537
-
1538
- - [#6377](https://github.com/nixxiecms/nixxie/pull/6377) [`3008c5110`](https://github.com/nixxiecms/nixxie/commit/3008c5110a0ebc524eb3609bd8ba901f664f83d3) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved exports of `@nixxie-next/nixxie` to `@nixxie-next/nixxie/system`
1539
-
1540
- * [#6323](https://github.com/nixxiecms/nixxie/pull/6323) [`3904a9cf7`](https://github.com/nixxiecms/nixxie/commit/3904a9cf73e16ef192faae833f2f39ed05f2d707) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed unused legacy filter code
1541
-
1542
- - [#6414](https://github.com/nixxiecms/nixxie/pull/6414) [`32f024738`](https://github.com/nixxiecms/nixxie/commit/32f0247384ecf3bce5c3ef14ad8d367c9888459f) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated to Next.js 11. If you were using a custom Babel config, it will no longer be respected because of changes in Next.js.
1543
-
1544
- * [#6393](https://github.com/nixxiecms/nixxie/pull/6393) [`ee54522d5`](https://github.com/nixxiecms/nixxie/commit/ee54522d513a9376c1ed1e472a7ff91657e4e693) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated `@graphql-ts/schema` to `0.3.0` and moved the `schema` export to `@nixxie-next/nixxie` entrypoint and renamed it to `graphql`. `bindSchemaAPIToContext` on the `graphql` export has also been renamed to `bindGraphQLSchemaAPIToContext`.
1545
-
1546
- - [#6426](https://github.com/nixxiecms/nixxie/pull/6426) [`8f2786535`](https://github.com/nixxiecms/nixxie/commit/8f2786535272976678427fd13758e63b2c59d955) Thanks [@timleslie](https://github.com/timleslie)! - Update the Access Control API. This is a breaking change which impacts the security of all Nixxie systems.
1547
-
1548
- See the [Access Control API](https://nixxiecms.com/docs/apis/access-control) for a full description of the new API.
1549
-
1550
- * [#6420](https://github.com/nixxiecms/nixxie/pull/6420) [`0aa02a333`](https://github.com/nixxiecms/nixxie/commit/0aa02a333d989c30647cd10e25325d4d2db61be6) Thanks [@timleslie](https://github.com/timleslie)! - Added the config option `graphql.omit` to list and field level configuration to control which types and operations are excluded from the GraphQL API. The use of a static `false` value in access control definitions no longer excludes operations from the GraphQL API.
1551
-
1552
- - [#6455](https://github.com/nixxiecms/nixxie/pull/6455) [`bf9b5605f`](https://github.com/nixxiecms/nixxie/commit/bf9b5605fc684975d9e2cad604c8e0d978eac40a) Thanks [@timleslie](https://github.com/timleslie)! - The `fieldPath` argument to field hooks has been renamed to `fieldKey`. This makes the naming consistent with the Access Control APIs.
1553
-
1554
- * [#6463](https://github.com/nixxiecms/nixxie/pull/6463) [`3957c0981`](https://github.com/nixxiecms/nixxie/commit/3957c098131b3b055cb94b07f1ce55ec82640908) Thanks [@JedWatson](https://github.com/JedWatson)! - The GraphQL API endpoint now starts up significantly faster in Dev.
1555
-
1556
- To facilitate this, `createExpressServer` no longer includes the step of creating the Admin UI Middleware, which changes its signature. `createAdminUIMiddleware` is now also exported from `@nixxie-next/nixxie/system`.
1557
-
1558
- - [#6437](https://github.com/nixxiecms/nixxie/pull/6437) [`af5e59bf4`](https://github.com/nixxiecms/nixxie/commit/af5e59bf4215aa297495ae603239b1e3510be39b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Changed `isUnique: true` config in fields to `isIndexed: 'unique'`
1559
-
1560
- * [#6420](https://github.com/nixxiecms/nixxie/pull/6420) [`0aa02a333`](https://github.com/nixxiecms/nixxie/commit/0aa02a333d989c30647cd10e25325d4d2db61be6) Thanks [@timleslie](https://github.com/timleslie)! - Filtering and ordering is no longer enabled by default, as they have the potential to expose data which would otherwise be protected by access control. To enable filtering and ordering you can set `isFilterable: true` and `isOrderable: true` on specific fields, or set `defaultIsFilterable: true` and `defaultIsOrderable: true` at the list level.
1561
-
1562
- - [#6378](https://github.com/nixxiecms/nixxie/pull/6378) [`489e128fe`](https://github.com/nixxiecms/nixxie/commit/489e128fe0835968eda0908b199a8867c0e72a5b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved exports of `@nixxie-next/nixxie/schema` to `@nixxie-next/nixxie`
1563
-
1564
- ### Minor Changes
1565
-
1566
- - [#6403](https://github.com/nixxiecms/nixxie/pull/6403) [`2a901a121`](https://github.com/nixxiecms/nixxie/commit/2a901a1210a0b3de0ccd22ca93e9cbcc8ed0f951) Thanks [@timleslie](https://github.com/timleslie)! - Added the experimental config option `config.experimental.contextInitialisedLists`, which adds the internal data structure `experimental.initialisedLists` to the `context` object. This is a temporary addition to the API which will be removed in a future release once a more controlled API is available. It should be used with caution, as it will contain breaking change in `patch` level releases.
1567
-
1568
- * [#6371](https://github.com/nixxiecms/nixxie/pull/6371) [`44f2ef60e`](https://github.com/nixxiecms/nixxie/commit/44f2ef60e29912f3c85b91fc704e09a7d5a15b22) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved `@nixxie-next/types` to `@nixxie-next/nixxie/types`
1569
-
1570
- - [#6367](https://github.com/nixxiecms/nixxie/pull/6367) [`4f36a81af`](https://github.com/nixxiecms/nixxie/commit/4f36a81afb03591354acc1d0141eff8fe54ff208) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved `@nixxie-next/admin-ui-utils` to `@nixxie-next/nixxie/admin-ui/utils`
1571
-
1572
- * [#6361](https://github.com/nixxiecms/nixxie/pull/6361) [`595922b48`](https://github.com/nixxiecms/nixxie/commit/595922b48c909053fa9d34bb1c42177ad41c72d5) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved exports of `@nixxie-next/testing` to `@nixxie-next/nixxie/testing`
1573
-
1574
- - [#6368](https://github.com/nixxiecms/nixxie/pull/6368) [`783290796`](https://github.com/nixxiecms/nixxie/commit/78329079606d74a2eedd63f96a985116bf0b449c) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved `@nixxie-next/utils` to `@nixxie-next/nixxie/fields/types/image/utils` for image ref related utilities and `@nixxie-next/nixxie/fields/types/file/utils` for file ref related utilities.
1575
-
1576
- * [#6458](https://github.com/nixxiecms/nixxie/pull/6458) [`944bce1e8`](https://github.com/nixxiecms/nixxie/commit/944bce1e834be4d0f4c79f35cd53ccbabb92f555) Thanks [@timleslie](https://github.com/timleslie)! - Added the config option `config.graphql.path` to configure the endpoint of the GraphQL API (default `'/api/graphql'`).
1577
-
1578
- - [#6467](https://github.com/nixxiecms/nixxie/pull/6467) [`e0f935eb2`](https://github.com/nixxiecms/nixxie/commit/e0f935eb2ef8ac311a43423c6691e56cd27b6bed) Thanks [@JedWatson](https://github.com/JedWatson)! - Add extendExpressApp config option for configuring the express app that Nixxie creates
1579
-
1580
- * [#6459](https://github.com/nixxiecms/nixxie/pull/6459) [`f2311781a`](https://github.com/nixxiecms/nixxie/commit/f2311781a990c0ccd3302ac8e7aa889138f70e47) Thanks [@timleslie](https://github.com/timleslie)! - Updated Navigation component to show docs and playground links irrespective of authentication.
1581
-
1582
- - [#6362](https://github.com/nixxiecms/nixxie/pull/6362) [`fd744dcaa`](https://github.com/nixxiecms/nixxie/commit/fd744dcaa513efb2a8ae954bb2d5d1fa7f0723d6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved `@nixxie-next/fields` to `@nixxie-next/nixxie/fields`
1583
-
1584
- ### Patch Changes
1585
-
1586
- - [#6390](https://github.com/nixxiecms/nixxie/pull/6390) [`2e3f3666b`](https://github.com/nixxiecms/nixxie/commit/2e3f3666b5340b8eb778104a1d4a3f4d52be6528) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Improved performance of create item modal with many fields
1587
-
1588
- * [#6385](https://github.com/nixxiecms/nixxie/pull/6385) [`9651aff8e`](https://github.com/nixxiecms/nixxie/commit/9651aff8eb9a51c0fbda6f51b1be0fedb07571da) Thanks [@gautamsi](https://github.com/gautamsi)! - Fixed issue in Relationship field display mode 'count'. It was using `_fieldnameMeta.count` instead of `fieldnameCount`
1589
-
1590
- - [#6422](https://github.com/nixxiecms/nixxie/pull/6422) [`9c5991f43`](https://github.com/nixxiecms/nixxie/commit/9c5991f43e8f909e576f6b51fd87aab3bbead504) Thanks [@timleslie](https://github.com/timleslie)! - Made cosmetic changes to the Admin UI code. No functional changes.
1591
-
1592
- * [#6453](https://github.com/nixxiecms/nixxie/pull/6453) [`069265b9c`](https://github.com/nixxiecms/nixxie/commit/069265b9cdd5898f4501535793f56debaa247c1c) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Dashboard cards now enclosed in unordered list, for clearer semantics.
1593
-
1594
- - [#6397](https://github.com/nixxiecms/nixxie/pull/6397) [`c76bfc0a2`](https://github.com/nixxiecms/nixxie/commit/c76bfc0a2ad5aeffb68b8d2006225f608e855a19) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added a comment in the `schema.prisma` and `schema.graphql` files explaining that they're generated and should not be modified manually.
1595
-
1596
- * [#6391](https://github.com/nixxiecms/nixxie/pull/6391) [`bc9088f05`](https://github.com/nixxiecms/nixxie/commit/bc9088f0574af27be6a068483a789a80f7a46a41) Thanks [@bladey](https://github.com/bladey)! - Adds support for `introspection` in the Apollo Server config. Introspection enables you to query a GraphQL server for information about the underlying schema. If the playground is enabled then introspection is automatically enabled - unless specifically disabled.
1597
-
1598
- - [#6414](https://github.com/nixxiecms/nixxie/pull/6414) [`32f024738`](https://github.com/nixxiecms/nixxie/commit/32f0247384ecf3bce5c3ef14ad8d367c9888459f) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated usages of `jsx` from `@nixxie-ui/core` to explicitly use `/** @jsxRuntime classic */`
1599
-
1600
- * [#6392](https://github.com/nixxiecms/nixxie/pull/6392) [`bd120c7c2`](https://github.com/nixxiecms/nixxie/commit/bd120c7c296c9adaaefe9bf93cbb384cc7528715) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed negative `take` values above the list's `graphql.queryLimits.maxResults` not causing an error before getting the values from the database.
1601
-
1602
- - [#6381](https://github.com/nixxiecms/nixxie/pull/6381) [`b3eefc1c3`](https://github.com/nixxiecms/nixxie/commit/b3eefc1c336a9a366c39f7aa2cf5251baaf843fd) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed error from prisma when using `.nixxie/api` from `generateNodeAPI` in a API route (`admin/pages/api/*`)
1603
-
1604
- * [#6429](https://github.com/nixxiecms/nixxie/pull/6429) [`cbc5a68aa`](https://github.com/nixxiecms/nixxie/commit/cbc5a68aa7547ea55d1254ee5c3b1e543cdc78e2) Thanks [@timleslie](https://github.com/timleslie)! - Update adminMeta `fieldMode` resolvers to respect `graphql.omit` configuration.
1605
-
1606
- - [#6414](https://github.com/nixxiecms/nixxie/pull/6414) [`32f024738`](https://github.com/nixxiecms/nixxie/commit/32f0247384ecf3bce5c3ef14ad8d367c9888459f) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Changed the way the package directory for resolving views is obtained to use `__dirname` rather than `require.resolve('pkg/package.json')` because in Next.js 11 `require.resolve` returns a numeric id instead of the path.
1607
-
1608
- * [#6432](https://github.com/nixxiecms/nixxie/pull/6432) [`0a189d5d0`](https://github.com/nixxiecms/nixxie/commit/0a189d5d0e618ee5598e9beaccea0290d2a3f8d9) Thanks [@renovate](https://github.com/apps/renovate)! - Updated `typescript` dependency to `^4.4.2`.
1609
-
1610
- - [#6412](https://github.com/nixxiecms/nixxie/pull/6412) [`2324fa027`](https://github.com/nixxiecms/nixxie/commit/2324fa027a6c2beabef4724c69a9ad05338a0cf3) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Merged aria-description text for dialogs on list view in Admin UI into their respective aria-labels.
1611
-
1612
- * [#6462](https://github.com/nixxiecms/nixxie/pull/6462) [`88b03bd79`](https://github.com/nixxiecms/nixxie/commit/88b03bd79112c7d8f0d41c592c8bd4bb226f5f71) Thanks [@JedWatson](https://github.com/JedWatson)! - Fixed crashing the process when createContext() fails for Admin UI requests
1613
-
1614
- - [#6354](https://github.com/nixxiecms/nixxie/pull/6354) [`5ceccd821`](https://github.com/nixxiecms/nixxie/commit/5ceccd821b513e2abec3eb24278e7c30bdcdf6d6) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Fixed Listview checkbox bug in a better way.
1615
-
1616
- * [#6433](https://github.com/nixxiecms/nixxie/pull/6433) [`bb0c6c626`](https://github.com/nixxiecms/nixxie/commit/bb0c6c62610eda20ae93a6b67185276bdbba3248) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma dependencies to `2.30.2`.
1617
-
1618
- * Updated dependencies [[`32f024738`](https://github.com/nixxiecms/nixxie/commit/32f0247384ecf3bce5c3ef14ad8d367c9888459f), [`069265b9c`](https://github.com/nixxiecms/nixxie/commit/069265b9cdd5898f4501535793f56debaa247c1c)]:
1619
- - @nixxie-ui/button@5.0.1
1620
- - @nixxie-ui/core@3.2.0
1621
- - @nixxie-ui/fields@4.1.3
1622
- - @nixxie-ui/icons@4.0.1
1623
- - @nixxie-ui/loading@4.0.1
1624
- - @nixxie-ui/modals@4.0.1
1625
- - @nixxie-ui/notice@4.0.2
1626
- - @nixxie-ui/options@4.0.2
1627
- - @nixxie-ui/pill@5.0.1
1628
- - @nixxie-ui/popover@4.0.3
1629
- - @nixxie-ui/segmented-control@4.0.3
1630
- - @nixxie-ui/toast@4.0.3
1631
- - @nixxie-ui/tooltip@4.0.2
1632
-
1633
- ## 24.0.1
1634
-
1635
- ### Patch Changes
1636
-
1637
- - [#6350](https://github.com/nixxiecms/nixxie/pull/6350) [`9ca1c41cd`](https://github.com/nixxiecms/nixxie/commit/9ca1c41cd6cc34b4cf4393abfbe2e4b43a275401) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Fixed delete toast not leveraging labelField property.
1638
-
1639
- ## 24.0.0
1640
-
1641
- ### Major Changes
1642
-
1643
- - [#6196](https://github.com/nixxiecms/nixxie/pull/6196) [`5cd8ffd6c`](https://github.com/nixxiecms/nixxie/commit/5cd8ffd6cb822dbee8555b47846a5019c4d2b1c3) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `_ListKeyMeta` and `_toManyRelationshipFieldMeta` fields. You should use `listKeyCount` and `toManyRelationshipFieldCount` instead
1644
-
1645
- * [#6196](https://github.com/nixxiecms/nixxie/pull/6196) [`5cd8ffd6c`](https://github.com/nixxiecms/nixxie/commit/5cd8ffd6cb822dbee8555b47846a5019c4d2b1c3) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed all arguments from `context.lists.List.count` and `context.db.lists.List.count` except for `where`.
1646
-
1647
- - [#6266](https://github.com/nixxiecms/nixxie/pull/6266) [`b696a9579`](https://github.com/nixxiecms/nixxie/commit/b696a9579b503db86f42776381e247c4e1a7409f) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Renamed `first` argument in find many queries to `take` to align with Prisma.
1648
-
1649
- ```graphql
1650
- type Query {
1651
- users(
1652
- where: UserWhereInput! = {}
1653
- orderBy: [UserOrderByInput!]! = []
1654
- # previously was first: Int
1655
- take: Int
1656
- skip: Int! = 0
1657
- ): [User!]
1658
- # ...
1659
- }
1660
-
1661
- type User {
1662
- # ...
1663
- posts(
1664
- where: PostWhereInput! = {}
1665
- orderBy: [PostOrderByInput!]! = []
1666
- # previously was first: Int
1667
- take: Int
1668
- skip: Int! = 0
1669
- ): [Post!]
1670
- # ...
1671
- }
1672
- ```
1673
-
1674
- * [#6208](https://github.com/nixxiecms/nixxie/pull/6208) [`092df6678`](https://github.com/nixxiecms/nixxie/commit/092df6678cea18d639be16ad250ec4ecc9250f5a) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The create one mutation now requires a non-null `data` argument and the create many mutation accepts a list of `ItemCreateInput` directly instead of being nested inside of an object with the `ItemCreateInput` in a `data` field.
1675
-
1676
- If you have a list called `Item`, `createItem` now looks like `createItem(data: ItemCreateInput!): Item` and `createItems` now looks like `createItems(data: [ItemCreateInput!]!): [Item]`.
1677
-
1678
- - [#6196](https://github.com/nixxiecms/nixxie/pull/6196) [`5cd8ffd6c`](https://github.com/nixxiecms/nixxie/commit/5cd8ffd6cb822dbee8555b47846a5019c4d2b1c3) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `search` argument from the GraphQL API for finding many items, Lists/DB API and to-many relationship fields. You should use `contains` filters instead.
1679
-
1680
- * [#6095](https://github.com/nixxiecms/nixxie/pull/6095) [`272b97b3a`](https://github.com/nixxiecms/nixxie/commit/272b97b3a10c0dfada782171d55ef7ac6f47c98f) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated filters to be nested instead of flattened and add top-level `NOT` operator. See the [Query Filter API docs](https://nixxiecms.com/docs/apis/filters) and the upgrade guide for more information.
1681
-
1682
- ```graphql
1683
- query {
1684
- posts(where: { title: { contains: "Something" } }) {
1685
- title
1686
- content
1687
- }
1688
- }
1689
- ```
1690
-
1691
- - [#6198](https://github.com/nixxiecms/nixxie/pull/6198) [`9d361c1c8`](https://github.com/nixxiecms/nixxie/commit/9d361c1c8625e1390f837b7318b63547d686a63b) Thanks [@timleslie](https://github.com/timleslie)! - Removed the `uid` and `name` properties from the errors returned by the GraphQL API.
1692
-
1693
- * [#6196](https://github.com/nixxiecms/nixxie/pull/6196) [`5cd8ffd6c`](https://github.com/nixxiecms/nixxie/commit/5cd8ffd6cb822dbee8555b47846a5019c4d2b1c3) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `sortBy` argument from the GraphQL API for finding many items, Lists/DB API and to-many relationship fields. You should use `orderBy` instead.
1694
-
1695
- - [#6312](https://github.com/nixxiecms/nixxie/pull/6312) [`56044e2a4`](https://github.com/nixxiecms/nixxie/commit/56044e2a425f4256b66475fd3b1a6342cd6c3bf9) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated `@graphql-ts/schema`. The second type parameter of `schema.Arg` exported from `@nixxie-next/types` is now a boolean that defines whether or not the arg has a default value to make it easier to define circular input objects.
1696
-
1697
- * [#6217](https://github.com/nixxiecms/nixxie/pull/6217) [`874f2c405`](https://github.com/nixxiecms/nixxie/commit/874f2c4058c9cf006213e84b9ffcf39c5bf144e8) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - `disconnectAll` has been renamed to `disconnect` in to-one relationship inputs and the old `disconnect` field has been removed. There are also seperate input types for create and update where the input for create doesn't have `disconnect`. It's also now required that if you provide a to-one relationship input, you must provide exactly one field to the input.
1698
-
1699
- If you have a list called `Item`, the to-one relationship inputs now look like this:
1700
-
1701
- ```graphql
1702
- input ItemRelateToOneForCreateInput {
1703
- create: ItemCreateInput
1704
- connect: ItemWhereUniqueInput
1705
- }
1706
- input ItemRelateToOneForUpdateInput {
1707
- create: ItemCreateInput
1708
- connect: ItemWhereUniqueInput
1709
- disconnect: Boolean
1710
- }
1711
- ```
1712
-
1713
- - [#6224](https://github.com/nixxiecms/nixxie/pull/6224) [`3564b342d`](https://github.com/nixxiecms/nixxie/commit/3564b342d6dc2127ae591d7ac055af9eae90543c) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - `disconnectAll` has been replaced by `set` in to-many relationship inputs, the equivalent to `disconnectAll: true` is now `set: []`. There are also seperate input types for create and update where the input for create doesn't have `disconnect` or `set`. The inputs in the lists in the input field are now also non-null.
1714
-
1715
- If you have a list called `Item`, the to-many relationship inputs now look like this:
1716
-
1717
- ```graphql
1718
- input ItemRelateToManyForCreateInput {
1719
- create: [ItemCreateInput!]
1720
- connect: [ItemWhereUniqueInput!]
1721
- }
1722
- input ItemRelateToManyForUpdateInput {
1723
- disconnect: [ItemWhereUniqueInput!]
1724
- set: [ItemWhereUniqueInput!]
1725
- create: [ItemCreateInput!]
1726
- connect: [ItemWhereUniqueInput!]
1727
- }
1728
- ```
1729
-
1730
- * [#6197](https://github.com/nixxiecms/nixxie/pull/6197) [`4d9f89f88`](https://github.com/nixxiecms/nixxie/commit/4d9f89f884e2bf984fdd74ca2cbb7874b25b9cda) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The generated CRUD queries, and some of the input types, in the GraphQL API have been renamed.
1731
-
1732
- If you have a list called `Item`, the query for multiple values, `allItems` will be renamed to `items`. The query for a single value, `Item`, will be renamed to `item`.
1733
-
1734
- Also, the input type used in the `updateItems` mutation has been renamed from `ItemsUpdateInput` to `ItemUpdateArgs`.
1735
-
1736
- - [#6211](https://github.com/nixxiecms/nixxie/pull/6211) [`d214e2f72`](https://github.com/nixxiecms/nixxie/commit/d214e2f72bae1c798e2415a38410d6063c333e2e) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The update mutations now accept `where` unique inputs instead of only an `id` and the `where` and `data` arguments are non-null.
1737
-
1738
- If you have a list called `Item`, the update mutations now look like this:
1739
-
1740
- ```graphql
1741
- type Mutation {
1742
- updateItem(where: ItemWhereUniqueInput!, data: ItemUpdateInput!): Item
1743
- updateItems(data: [ItemUpdateArgs!]!): [Item]
1744
- }
1745
-
1746
- input ItemUpdateArgs {
1747
- where: ItemWhereUniqueInput!
1748
- data: ItemUpdateInput!
1749
- }
1750
- ```
1751
-
1752
- * [#6206](https://github.com/nixxiecms/nixxie/pull/6206) [`f5e64af37`](https://github.com/nixxiecms/nixxie/commit/f5e64af37df2eb460c89d89fa3c8924fb34970ed) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The delete mutations now accept `where` unique inputs instead of only an `id`.
1753
-
1754
- If you have a list called `Item`, `deleteItem` now looks like `deleteItem(where: ItemWhereUniqueInput!): Item` and `deleteItems` now looks like `deleteItems(where: [ItemWhereUniqueInput!]!): [Item]`
1755
-
1756
- ### Minor Changes
1757
-
1758
- - [#6276](https://github.com/nixxiecms/nixxie/pull/6276) [`3a7a06b2c`](https://github.com/nixxiecms/nixxie/commit/3a7a06b2cc6b5ea157d34d925b15494b471899eb) Thanks [@gautamsi](https://github.com/gautamsi)! - Added option for `Bearer` token auth when using session.
1759
-
1760
- * [#6267](https://github.com/nixxiecms/nixxie/pull/6267) [`1030296d1`](https://github.com/nixxiecms/nixxie/commit/1030296d1f304dc44246e895089ac1f992e80590) Thanks [@timleslie](https://github.com/timleslie)! - Added `config.graphql.debug` option, which can be used to control whether debug information such as stack traces are included in the errors returned by the GraphQL API.
1761
-
1762
- ### Patch Changes
1763
-
1764
- - [#6317](https://github.com/nixxiecms/nixxie/pull/6317) [`1cbcf54cb`](https://github.com/nixxiecms/nixxie/commit/1cbcf54cb1206461866b582865e3b1a8fc728f18) Thanks [@timleslie](https://github.com/timleslie)! - Separated the resolving of non-relationship field from relationship fields in create/update inputs to allow for better error handling.
1765
-
1766
- * [#6250](https://github.com/nixxiecms/nixxie/pull/6250) [`a92169d04`](https://github.com/nixxiecms/nixxie/commit/a92169d04e5a1a98deb8e757b8eae3b06fc66450) Thanks [@timleslie](https://github.com/timleslie)! - Updated internal type definitions.
1767
-
1768
- - [#6334](https://github.com/nixxiecms/nixxie/pull/6334) [`f3014a627`](https://github.com/nixxiecms/nixxie/commit/f3014a627060c7cd86440a6937da5caecfd023a0) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Resolved bug with visually hidden elements in ListView checkboxes expanding to fill the whole body on click of elements near the bottom of the screen.
1769
-
1770
- * [#6219](https://github.com/nixxiecms/nixxie/pull/6219) [`6da56b80e`](https://github.com/nixxiecms/nixxie/commit/6da56b80e03c748a621afcca6c1ec2887fef7271) Thanks [@timleslie](https://github.com/timleslie)! - Removed unused code path in Admin UI error display.
1771
-
1772
- - [#6269](https://github.com/nixxiecms/nixxie/pull/6269) [`697efa354`](https://github.com/nixxiecms/nixxie/commit/697efa354b1066b3d4b6eb757ca704b458f45e93) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Added ignoreBuildErrors flag to next-config.js file, to negate false positive errors in nixxie builds with imported components.
1773
-
1774
- * [#6218](https://github.com/nixxiecms/nixxie/pull/6218) [`c7e331d90`](https://github.com/nixxiecms/nixxie/commit/c7e331d90a28b2ed8236100097cb8d34a11fabe2) Thanks [@timleslie](https://github.com/timleslie)! - Added more details to validation failure error messages.
1775
-
1776
- - [#6316](https://github.com/nixxiecms/nixxie/pull/6316) [`78dac764e`](https://github.com/nixxiecms/nixxie/commit/78dac764e1860b33f9e2bd8cee6015abeaaa5ec4) Thanks [@timleslie](https://github.com/timleslie)! - Updated handling of errors in `resolveInput` hooks to provide developers with appropriate debug information.
1777
-
1778
- * [#6310](https://github.com/nixxiecms/nixxie/pull/6310) [`399561b27`](https://github.com/nixxiecms/nixxie/commit/399561b2769ddd8f3d3fdf29838f5784404bb053) Thanks [@timleslie](https://github.com/timleslie)! - Updated dependencies to use `mergeSchemas` from `@graphql-tools/schema`, rather than its old location in `@graphql-tools/merge`. You might see a reordering of the contents of your `graphql.schema` file.
1779
-
1780
- - [#6292](https://github.com/nixxiecms/nixxie/pull/6292) [`0dcb1c95b`](https://github.com/nixxiecms/nixxie/commit/0dcb1c95b5200750cc8649485425f2ae40d023a3) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma dependencies to `2.29.1`.
1781
-
1782
- * [#6263](https://github.com/nixxiecms/nixxie/pull/6263) [`94435ffee`](https://github.com/nixxiecms/nixxie/commit/94435ffee765824091899242e4a2f73c7356b524) Thanks [@timleslie](https://github.com/timleslie)! - Made the original stacktraces for before/after hooks available on `error.extension.errors`.
1783
-
1784
- - [#6259](https://github.com/nixxiecms/nixxie/pull/6259) [`f46fd32b7`](https://github.com/nixxiecms/nixxie/commit/f46fd32b7047dbb5ea2566859f7ecee8db5b0b15) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Bumped @apollo/client dependency to ^3.4.5, the update resolves the following useQuery [issue](https://github.com/nixxiecms/nixxie/issues/6254).
1785
-
1786
- * [#6239](https://github.com/nixxiecms/nixxie/pull/6239) [`8ea4eed55`](https://github.com/nixxiecms/nixxie/commit/8ea4eed55367aaa213f6b4ffb7473087498e39ae) Thanks [@timleslie](https://github.com/timleslie)! - Added more details to before/after change/delete hook error messages.
1787
-
1788
- - [#6248](https://github.com/nixxiecms/nixxie/pull/6248) [`e3fe6498d`](https://github.com/nixxiecms/nixxie/commit/e3fe6498dc36203d8080dff3c2e0c25f6c98733e) Thanks [@timleslie](https://github.com/timleslie)! - Removed unused dependency `@graphql-tools/schema`.
1789
-
1790
- * [#6203](https://github.com/nixxiecms/nixxie/pull/6203) [`8b2d179b2`](https://github.com/nixxiecms/nixxie/commit/8b2d179b2463d78b082182ca9afa8233109e0ba3) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma dependencies to `2.28.0`.
1791
-
1792
- - [#6296](https://github.com/nixxiecms/nixxie/pull/6296) [`e3fefafcc`](https://github.com/nixxiecms/nixxie/commit/e3fefafcce6f8bf836c9bf0f4d931b8200ba41c7) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Fixed delete success notifications in the Admin UI appearing on failed deletes in List view and Item view.
1793
-
1794
- * [#6200](https://github.com/nixxiecms/nixxie/pull/6200) [`686c0f1c4`](https://github.com/nixxiecms/nixxie/commit/686c0f1c4a1feb609e1584aa71738709bbbf984e) Thanks [@timleslie](https://github.com/timleslie)! - Updated internal error handling to use the `apollo-server-errors` package instead of `apollo-errors`.
1795
-
1796
- * Updated dependencies [[`e9f3c42d5`](https://github.com/nixxiecms/nixxie/commit/e9f3c42d5b9d42872cecbd18fbe9bf9d7d53ed82), [`5cd8ffd6c`](https://github.com/nixxiecms/nixxie/commit/5cd8ffd6cb822dbee8555b47846a5019c4d2b1c3), [`5cd8ffd6c`](https://github.com/nixxiecms/nixxie/commit/5cd8ffd6cb822dbee8555b47846a5019c4d2b1c3), [`b696a9579`](https://github.com/nixxiecms/nixxie/commit/b696a9579b503db86f42776381e247c4e1a7409f), [`092df6678`](https://github.com/nixxiecms/nixxie/commit/092df6678cea18d639be16ad250ec4ecc9250f5a), [`5cd8ffd6c`](https://github.com/nixxiecms/nixxie/commit/5cd8ffd6cb822dbee8555b47846a5019c4d2b1c3), [`c2bb6a9a5`](https://github.com/nixxiecms/nixxie/commit/c2bb6a9a596fc52a3c61ec5d91c79758e417e61d), [`4f4f0351a`](https://github.com/nixxiecms/nixxie/commit/4f4f0351a056dea9d1614aa2a3a4789d66bb402d), [`272b97b3a`](https://github.com/nixxiecms/nixxie/commit/272b97b3a10c0dfada782171d55ef7ac6f47c98f), [`5cd8ffd6c`](https://github.com/nixxiecms/nixxie/commit/5cd8ffd6cb822dbee8555b47846a5019c4d2b1c3), [`56044e2a4`](https://github.com/nixxiecms/nixxie/commit/56044e2a425f4256b66475fd3b1a6342cd6c3bf9), [`874f2c405`](https://github.com/nixxiecms/nixxie/commit/874f2c4058c9cf006213e84b9ffcf39c5bf144e8), [`1030296d1`](https://github.com/nixxiecms/nixxie/commit/1030296d1f304dc44246e895089ac1f992e80590), [`3564b342d`](https://github.com/nixxiecms/nixxie/commit/3564b342d6dc2127ae591d7ac055af9eae90543c), [`4d9f89f88`](https://github.com/nixxiecms/nixxie/commit/4d9f89f884e2bf984fdd74ca2cbb7874b25b9cda), [`8187ea019`](https://github.com/nixxiecms/nixxie/commit/8187ea019a212874f3c602573af3382c6f3bd3b2), [`d214e2f72`](https://github.com/nixxiecms/nixxie/commit/d214e2f72bae1c798e2415a38410d6063c333e2e), [`f5e64af37`](https://github.com/nixxiecms/nixxie/commit/f5e64af37df2eb460c89d89fa3c8924fb34970ed)]:
1797
- - @nixxie-next/fields@14.0.0
1798
- - @nixxie-next/types@24.0.0
1799
- - @nixxie-ui/notice@4.0.1
1800
- - @nixxie-ui/toast@4.0.2
1801
- - @nixxie-next/admin-ui-utils@5.0.6
1802
- - @nixxie-next/utils@1.0.4
1803
-
1804
- ## 23.0.3
1805
-
1806
- ### Patch Changes
1807
-
1808
- - [#6251](https://github.com/nixxiecms/nixxie/pull/6251) [`b5ceeaa3e`](https://github.com/nixxiecms/nixxie/commit/b5ceeaa3ecb44997e4c6cc241bdc24cb18663687) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - `@apollo/client` pinned at `3.3.21` until bug with `3.4.2` is resolved.
1809
-
1810
- ## 23.0.2
1811
-
1812
- ### Patch Changes
1813
-
1814
- - [#6216](https://github.com/nixxiecms/nixxie/pull/6216) [`c176d9b3e`](https://github.com/nixxiecms/nixxie/commit/c176d9b3e46df289e1e376c4a327bf407b5bf211) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Resolved nav bug with isSelected state, add Dashboard route back to default Navigation.
1815
-
1816
- ## 23.0.1
1817
-
1818
- ### Patch Changes
1819
-
1820
- - [#6205](https://github.com/nixxiecms/nixxie/pull/6205) [`9c7430ec3`](https://github.com/nixxiecms/nixxie/commit/9c7430ec31cbe162fabd10f3778c4240ffc760cc) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Fix nav path bug in Admin-UI.
1821
-
1822
- ## 23.0.0
1823
-
1824
- ### Major Changes
1825
-
1826
- - [#6153](https://github.com/nixxiecms/nixxie/pull/6153) [`7716315ea`](https://github.com/nixxiecms/nixxie/commit/7716315ea823dd91d17d54dcbb9155b5445cd956) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed implicit chunking from the lists API so that the lists API is a direct translation of the GraphQL API
1827
-
1828
- * [#6105](https://github.com/nixxiecms/nixxie/pull/6105) [`e5f61ad50`](https://github.com/nixxiecms/nixxie/commit/e5f61ad50133a328fcb32299b838fd9eac574c3f) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed unnecessary descriptions on GraphQL types.
1829
-
1830
- - [#6165](https://github.com/nixxiecms/nixxie/pull/6165) [`e4e6cf9b5`](https://github.com/nixxiecms/nixxie/commit/e4e6cf9b59eec461d2b53acfa3b350e4f5a06fc4) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `ui.searchFields` option to lists to allow searching by multiple fields in the Admin UI (the only current usage of this is in the select used in relationship fields) and to replace the usage of the `search` GraphQL argument which will be removed soon and should be replaced by using `contains` filters directly.
1831
-
1832
- ### Minor Changes
1833
-
1834
- - [#6111](https://github.com/nixxiecms/nixxie/pull/6111) [`9e2deac5f`](https://github.com/nixxiecms/nixxie/commit/9e2deac5f340b4baeb03b01ae065f2bec5977523) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Added the ability to customise the Navigation component in the Admin UI, and provided helper components to do so.
1835
-
1836
- ### Patch Changes
1837
-
1838
- - [#6104](https://github.com/nixxiecms/nixxie/pull/6104) [`3f03b8c1f`](https://github.com/nixxiecms/nixxie/commit/3f03b8c1fa7005b37371e1cc401c3a03334a4f7a) Thanks [@timleslie](https://github.com/timleslie)! - Cosmetic changes to the core code in preparation for improvements to the error handling logic.
1839
-
1840
- * [#6126](https://github.com/nixxiecms/nixxie/pull/6126) [`ea0712aa2`](https://github.com/nixxiecms/nixxie/commit/ea0712aa22487325bd898818ea4fbca543c9dcf1) Thanks [@borisno2](https://github.com/borisno2)! - Added `/` to `list.path` on HomePage ListCard to better allow custom `basePath`.
1841
-
1842
- - [#6192](https://github.com/nixxiecms/nixxie/pull/6192) [`93f1e5d30`](https://github.com/nixxiecms/nixxie/commit/93f1e5d302701c610b6cba74e0c5c86a3ac8aacc) Thanks [@JedWatson](https://github.com/JedWatson)! - Added an optional `/_healthcheck` endpoint to Nixxie's express server.
1843
-
1844
- You can enable it by setting `config.server.healthCheck: true`
1845
-
1846
- By default it will respond with `{ status: 'pass', timestamp: Date.now() }`
1847
-
1848
- You can also specify a custom path and JSON data:
1849
-
1850
- ```js
1851
- config({
1852
- server: {
1853
- healthCheck: {
1854
- path: '/my-health-check',
1855
- data: { status: 'healthy' },
1856
- },
1857
- },
1858
- })
1859
- ```
1860
-
1861
- Or use a function for the `data` config to return real-time information:
1862
-
1863
- ```js
1864
- config({
1865
- server: {
1866
- healthCheck: {
1867
- path: '/my-health-check',
1868
- data: () => ({
1869
- status: 'healthy',
1870
- timestamp: Date.now(),
1871
- uptime: process.uptime(),
1872
- }),
1873
- },
1874
- },
1875
- })
1876
- ```
1877
-
1878
- * [#6180](https://github.com/nixxiecms/nixxie/pull/6180) [`a11e54d69`](https://github.com/nixxiecms/nixxie/commit/a11e54d692d3cec4ec2439cbf743b590688fb7d3) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed issues with React hooks dependency arrays
1879
-
1880
- - [#6116](https://github.com/nixxiecms/nixxie/pull/6116) [`dd7e811e7`](https://github.com/nixxiecms/nixxie/commit/dd7e811e7ce084c1e832acefc6ed773af371ac9e) Thanks [@timleslie](https://github.com/timleslie)! - Updated unique filter checking code to ensure it is always run before using the unique input filter.
1881
-
1882
- * [#6139](https://github.com/nixxiecms/nixxie/pull/6139) [`587a8d0b0`](https://github.com/nixxiecms/nixxie/commit/587a8d0b074ccecb239d120275359f72779f306f) Thanks [@timleslie](https://github.com/timleslie)! - Refactored mutation validation handling into a single location.
1883
-
1884
- - [#6119](https://github.com/nixxiecms/nixxie/pull/6119) [`597edbdd8`](https://github.com/nixxiecms/nixxie/commit/597edbdd81df80982dd3df3d9d600003ef8a15e9) Thanks [@timleslie](https://github.com/timleslie)! - Split the default value loop from the field-type input resolver loop to allow for more fine-grained error handling.
1885
-
1886
- * [#6144](https://github.com/nixxiecms/nixxie/pull/6144) [`1172e1853`](https://github.com/nixxiecms/nixxie/commit/1172e18531064df6412c06412e74da3b85740b35) Thanks [@gautamsi](https://github.com/gautamsi)! - Changed symlink generation to use relative path instead of absolute. Solves running project in docker when mapping volume.
1887
-
1888
- - [#6096](https://github.com/nixxiecms/nixxie/pull/6096) [`fbe698461`](https://github.com/nixxiecms/nixxie/commit/fbe6984616de7a302db7c2b0082851db89c2e314) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma dependencies to `2.27.0`.
1889
-
1890
- * [#6123](https://github.com/nixxiecms/nixxie/pull/6123) [`32e9879db`](https://github.com/nixxiecms/nixxie/commit/32e9879db9cfee77f067eb8105262df65bca6c06) Thanks [@timleslie](https://github.com/timleslie)! - Simplified the internal implementation of nested mutations.
1891
-
1892
- * Updated dependencies [[`93f1e5d30`](https://github.com/nixxiecms/nixxie/commit/93f1e5d302701c610b6cba74e0c5c86a3ac8aacc), [`a11e54d69`](https://github.com/nixxiecms/nixxie/commit/a11e54d692d3cec4ec2439cbf743b590688fb7d3), [`e5f61ad50`](https://github.com/nixxiecms/nixxie/commit/e5f61ad50133a328fcb32299b838fd9eac574c3f), [`9e2deac5f`](https://github.com/nixxiecms/nixxie/commit/9e2deac5f340b4baeb03b01ae065f2bec5977523), [`e4e6cf9b5`](https://github.com/nixxiecms/nixxie/commit/e4e6cf9b59eec461d2b53acfa3b350e4f5a06fc4), [`2ef6fe82c`](https://github.com/nixxiecms/nixxie/commit/2ef6fe82cee6df7796935d35d1c12cab29aecc75)]:
1893
- - @nixxie-next/types@23.0.0
1894
- - @nixxie-ui/tooltip@4.0.1
1895
- - @nixxie-next/fields@13.0.0
1896
- - @nixxie-next/admin-ui-utils@5.0.5
1897
- - @nixxie-next/utils@1.0.3
1898
-
1899
- ## 22.0.0
1900
-
1901
- ### Major Changes
1902
-
1903
- - [#6027](https://github.com/nixxiecms/nixxie/pull/6027) [`38b78f2ae`](https://github.com/nixxiecms/nixxie/commit/38b78f2aeaf4c5d8176a1751ad8cb5a7acce2790) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma dependency to `2.26.0`.
1904
-
1905
- ### Patch Changes
1906
-
1907
- - [#6087](https://github.com/nixxiecms/nixxie/pull/6087) [`139d7a8de`](https://github.com/nixxiecms/nixxie/commit/139d7a8def263d40c0d1d5353d2744842d9a0951) Thanks [@JedWatson](https://github.com/JedWatson)! - Move source code from the `packages-next` to the `packages` directory.
1908
-
1909
- * [#6094](https://github.com/nixxiecms/nixxie/pull/6094) [`279403cb0`](https://github.com/nixxiecms/nixxie/commit/279403cb0b4bffb946763c9a7ef71be57478eeb3) Thanks [@timleslie](https://github.com/timleslie)! - Refactored internal nested mutation input handler code.
1910
-
1911
- - [#6045](https://github.com/nixxiecms/nixxie/pull/6045) [`253df44c2`](https://github.com/nixxiecms/nixxie/commit/253df44c2f8d6535a6425b2593eaed5380433d57) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Adjusted when `getAdminMeta` is called on fields so that they can see the metadata (excluding the results of `getAdminMeta` on fields) of other fields to do validation or etc.
1912
-
1913
- * [#6093](https://github.com/nixxiecms/nixxie/pull/6093) [`f482db633`](https://github.com/nixxiecms/nixxie/commit/f482db6332e54a1d5cd469e2805b99b544208e83) Thanks [@JedWatson](https://github.com/JedWatson)! - Added generated types for NixxieContext, NixxieListsAPI and NixxieDbAPI.
1914
-
1915
- You can now import these from `.nixxie/types` (instead of `@nixxie-next/types`) to get types that are pre-bound to your project's schema.
1916
-
1917
- * Updated dependencies [[`38b78f2ae`](https://github.com/nixxiecms/nixxie/commit/38b78f2aeaf4c5d8176a1751ad8cb5a7acce2790), [`5f3d407d7`](https://github.com/nixxiecms/nixxie/commit/5f3d407d79171f04ae877e8eaed9a7f9d5671705), [`139d7a8de`](https://github.com/nixxiecms/nixxie/commit/139d7a8def263d40c0d1d5353d2744842d9a0951), [`253df44c2`](https://github.com/nixxiecms/nixxie/commit/253df44c2f8d6535a6425b2593eaed5380433d57), [`c536b478f`](https://github.com/nixxiecms/nixxie/commit/c536b478fc89f2d933cddf8533e7d88030540a63)]:
1918
- - @nixxie-next/fields@12.0.0
1919
- - @nixxie-next/types@22.0.0
1920
- - @nixxie-ui/core@3.1.1
1921
- - @nixxie-next/admin-ui-utils@5.0.4
1922
- - @nixxie-next/utils@1.0.2
1923
-
1924
- ## 21.0.2
1925
-
1926
- ### Patch Changes
1927
-
1928
- - [#6029](https://github.com/nixxiecms/nixxie/pull/6029) [`038cd09a2`](https://github.com/nixxiecms/nixxie/commit/038cd09a201081e3f56ffd75577e6b74a6eb19e5) Thanks [@bladey](https://github.com/bladey)! - Updated Nixxie URL reference from next.nixxiecms.com to nixxiecms.com.
1929
-
1930
- - Updated dependencies [[`038cd09a2`](https://github.com/nixxiecms/nixxie/commit/038cd09a201081e3f56ffd75577e6b74a6eb19e5), [`0988f08c2`](https://github.com/nixxiecms/nixxie/commit/0988f08c2a88a0da6b85a385caf48ff093e1f9e5)]:
1931
- - @nixxie-next/fields@11.0.3
1932
- - @nixxie-next/types@21.0.1
1933
-
1934
- ## 21.0.1
1935
-
1936
- ### Patch Changes
1937
-
1938
- - [#6022](https://github.com/nixxiecms/nixxie/pull/6022) [`475307e0e`](https://github.com/nixxiecms/nixxie/commit/475307e0ef99e3ce137e976ecf7671e536facd91) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed error when loading the Admin UI due to the id field changes.
1939
-
1940
- ## 21.0.0
1941
-
1942
- ### Major Changes
1943
-
1944
- - [#5947](https://github.com/nixxiecms/nixxie/pull/5947) [`03f535ba6`](https://github.com/nixxiecms/nixxie/commit/03f535ba6fa1a5e5f3027bcad761feb3fd94587b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Replaced the `idField` list configuration option with a more constrained option, `db.idField`, that accepts an object with a `kind` property with a value of `cuid`, `uuid` or `autoincrement`. `db.idField` can be set on either the top level `config` object, or on individual lists.
1945
-
1946
- The default behaviour has changed from using `autoincrement` to using cuids. To keep the current behaviour, you should set `{ kind: 'autoincrement' }` at `db.idField` in your top level config.
1947
-
1948
- * [#5947](https://github.com/nixxiecms/nixxie/pull/5947) [`03f535ba6`](https://github.com/nixxiecms/nixxie/commit/03f535ba6fa1a5e5f3027bcad761feb3fd94587b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Id field filters no longer allow `null` to be passed because ids can never be null. For the `in` and `not_in`, this is reflected in the GraphQL types
1949
-
1950
- ### Patch Changes
1951
-
1952
- - Updated dependencies [[`03f535ba6`](https://github.com/nixxiecms/nixxie/commit/03f535ba6fa1a5e5f3027bcad761feb3fd94587b)]:
1953
- - @nixxie-next/types@21.0.0
1954
- - @nixxie-next/fields@11.0.2
1955
- - @nixxie-next/admin-ui-utils@5.0.3
1956
- - @nixxie-next/utils@1.0.1
1957
-
1958
- ## 20.0.1
1959
-
1960
- ### Patch Changes
1961
-
1962
- - [#5817](https://github.com/nixxiecms/nixxie/pull/5817) [`10b36551a`](https://github.com/nixxiecms/nixxie/commit/10b36551ac3a88da2cfeba3d065d6dd36041e769) Thanks [@bladey](https://github.com/bladey)! - Fixed the GraphQL playground accessed at `/api/graphql` from being accessible in production by default.
1963
-
1964
- Fixed the GraphQL playground incorrectly interpreting config options.
1965
-
1966
- * [#5949](https://github.com/nixxiecms/nixxie/pull/5949) [`8afbab763`](https://github.com/nixxiecms/nixxie/commit/8afbab7636b4236c6604311819160d5f1420a90e) Thanks [@tjbp](https://github.com/tjbp)! - Fixed readonly property set in `format-error` of `createApolloServer`.
1967
-
1968
- - [#5932](https://github.com/nixxiecms/nixxie/pull/5932) [`7a25925c3`](https://github.com/nixxiecms/nixxie/commit/7a25925c3dc5b2af2cf1209ee949563fb71a4a8c) Thanks [@timleslie](https://github.com/timleslie)! - Initial release of `@nixxie-next/utils` package.
1969
-
1970
- * [#5910](https://github.com/nixxiecms/nixxie/pull/5910) [`50ad1ce6b`](https://github.com/nixxiecms/nixxie/commit/50ad1ce6be90f5fb2481840dbd01328b6f629432) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed generated list types to allow passing a value directly when a GraphQL list of the value is expected
1971
-
1972
- - [#5987](https://github.com/nixxiecms/nixxie/pull/5987) [`972e04514`](https://github.com/nixxiecms/nixxie/commit/972e045145711e39fd6fa167cb87fa05e062272c) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Added assorted quality of life and screen reader improvements to Filter pills and dialogs in the admin-ui
1973
-
1974
- * [#5920](https://github.com/nixxiecms/nixxie/pull/5920) [`123042b04`](https://github.com/nixxiecms/nixxie/commit/123042b047f3242ac95d2c5280de8c07f18a86be) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed Admin UI generation to allow files returned from `getAdditionalFiles` to overwrite the files generated by Nixxie
1975
-
1976
- - [#5848](https://github.com/nixxiecms/nixxie/pull/5848) [`4e5634b86`](https://github.com/nixxiecms/nixxie/commit/4e5634b86a26819cecec5b10c18f9d231b5434e2) Thanks [@renovate](https://github.com/apps/renovate)! - Updated TypeScript to 4.3.2
1977
-
1978
- * [#5914](https://github.com/nixxiecms/nixxie/pull/5914) [`006afd108`](https://github.com/nixxiecms/nixxie/commit/006afd1082b474bac2499bed57bcaccf1e1d6138) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma dependencies to `2.25.0`.
1979
-
1980
- - [#5922](https://github.com/nixxiecms/nixxie/pull/5922) [`3be09ea54`](https://github.com/nixxiecms/nixxie/commit/3be09ea548861b490dad8b50e58980580d366434) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Fixed reset-to-default button, broken due to next patch update.
1981
-
1982
- * [#5921](https://github.com/nixxiecms/nixxie/pull/5921) [`eab130f30`](https://github.com/nixxiecms/nixxie/commit/eab130f30d79b82c18b3cce0bc054abe2c1b58fd) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Added more helpful aria-label and aria-description to filter, sort and column popover.
1983
-
1984
- * Updated dependencies [[`de0a5c19e`](https://github.com/nixxiecms/nixxie/commit/de0a5c19e656360ea3febc7e0240543c7817253e), [`7a25925c3`](https://github.com/nixxiecms/nixxie/commit/7a25925c3dc5b2af2cf1209ee949563fb71a4a8c), [`50ad1ce6b`](https://github.com/nixxiecms/nixxie/commit/50ad1ce6be90f5fb2481840dbd01328b6f629432), [`0df3734d5`](https://github.com/nixxiecms/nixxie/commit/0df3734d52a89df30f1d555d003002cb79ad9e9a), [`972e04514`](https://github.com/nixxiecms/nixxie/commit/972e045145711e39fd6fa167cb87fa05e062272c), [`4e5634b86`](https://github.com/nixxiecms/nixxie/commit/4e5634b86a26819cecec5b10c18f9d231b5434e2), [`0afacf621`](https://github.com/nixxiecms/nixxie/commit/0afacf621f922b5f47f7314ead9be94960b9859a), [`40a44d20d`](https://github.com/nixxiecms/nixxie/commit/40a44d20d2eda2bcfb311fc3ce05936623230205), [`eab130f30`](https://github.com/nixxiecms/nixxie/commit/eab130f30d79b82c18b3cce0bc054abe2c1b58fd), [`972e04514`](https://github.com/nixxiecms/nixxie/commit/972e045145711e39fd6fa167cb87fa05e062272c), [`543154bc0`](https://github.com/nixxiecms/nixxie/commit/543154bc081dde33ea29b8a2bff1d3033d538077), [`972e04514`](https://github.com/nixxiecms/nixxie/commit/972e045145711e39fd6fa167cb87fa05e062272c)]:
1985
- - @nixxie-next/fields@11.0.1
1986
- - @nixxie-next/utils@1.0.0
1987
- - @nixxie-next/types@20.0.1
1988
- - @nixxie-ui/popover@4.0.2
1989
- - @nixxie-ui/fields@4.1.2
1990
- - @nixxie-ui/options@4.0.1
1991
- - @nixxie-ui/toast@4.0.1
1992
- - @nixxie-ui/pill@5.0.0
1993
-
1994
- ## 20.0.0
1995
-
1996
- ### Major Changes
1997
-
1998
- - [#5665](https://github.com/nixxiecms/nixxie/pull/5665) [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The ordering of types in the generated `schema.graphql` has changed due to the re-implementation of the core of Nixxie, you will need to run `nixxie-next dev`/`nixxie-next postinstall --fix` to update it.
1999
-
2000
- * [#5665](https://github.com/nixxiecms/nixxie/pull/5665) [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - `createSystem` no longer accepts a Prisma client directly and it returns `getNixxie` which accepts the generated Prisma client and returns `connect`, `disconnect` and `createContext` instead of returning a `nixxie` instance object.
2001
-
2002
- - [#5665](https://github.com/nixxiecms/nixxie/pull/5665) [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The core of Nixxie has been re-implemented to make implementing fields and new features in Nixxie easier. While the observable changes for most users should be minimal, there could be breakage. If you implemented a custom field type, you will need to change it to the new API, see fields in the `@nixxie-next/fields` package for inspiration on how to do this.
2003
-
2004
- * [#5665](https://github.com/nixxiecms/nixxie/pull/5665) [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The ordering of relationships fields in the generated Prisma schema has changed so that it aligns with the order specified in the list config with the opposites to one-sided relationships added at the end. The name of one-to-one and one-to-many relationships has also changed to include `_` between the list key and field key to align with many-to-many relationships. Note that these changes do **not require a migration**, only your `schema.prisma` file will need to be updated with `nixxie-next dev`/`nixxie-next postinstall --fix`.
2005
-
2006
- - [#5665](https://github.com/nixxiecms/nixxie/pull/5665) [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The `id` field on the item returned from `context.db.lists` functions/passed to hooks/field type resolvers is now whatever the actual id field returned from Prisma is rather than a stringified version of it.
2007
-
2008
- * [#5665](https://github.com/nixxiecms/nixxie/pull/5665) [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Replaced `graphql.itemQueryName` with always using the list key as the singular name in GraphQL and renamed `graphql.listQueryName` to `graphql.plural`
2009
-
2010
- - [#5665](https://github.com/nixxiecms/nixxie/pull/5665) [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - The `NixxieContext` type no longer has the `nixxie` object or functions to run access control.
2011
-
2012
- * [#5665](https://github.com/nixxiecms/nixxie/pull/5665) [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - List level create, update and delete access control is now called for each operation in a many operation rather than on all of the operations as a whole. This means that rather than recieving originalInput as an array with itemIds, your access control functions will always be called with just an itemId and/or originalInput(depending on which access control function it is). If your access control functions already worked with creating/updating/deleting one item, they will continue working (though you may get TypeScript errors if you were previously handling itemIds and originalInput as an array, to fix that, you should stop handling that case).
2013
-
2014
- - [#5891](https://github.com/nixxiecms/nixxie/pull/5891) [`97fd5e05d`](https://github.com/nixxiecms/nixxie/commit/97fd5e05d8681bae86001e6b7e8e3f36ebd639b7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added support for filtering uniquely by `text` and `integer` fields that have `isUnique: true` like this:
2015
-
2016
- ```graphql
2017
- query {
2018
- Post(where: { slug: "something-something-something" }) {
2019
- id
2020
- title
2021
- content
2022
- }
2023
- }
2024
- ```
2025
-
2026
- * [#5665](https://github.com/nixxiecms/nixxie/pull/5665) [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Filters returned from access control now go through GraphQL validation and coercion like filters that you pass in through the GraphQL API, this will produce better errors when you return invalid values.
2027
-
2028
- ### Minor Changes
2029
-
2030
- - [#5854](https://github.com/nixxiecms/nixxie/pull/5854) [`7eabb4dee`](https://github.com/nixxiecms/nixxie/commit/7eabb4dee2552f7baf1e0024d82011b179d418d4) Thanks [@rohan-deshpande](https://github.com/rohan-deshpande)! - Replaced the types `FileMode` and `ImageMode` with `AssetMode`.
2031
-
2032
- Added internal experimental Nixxie Cloud integration capabilities for images.
2033
-
2034
- * [#5868](https://github.com/nixxiecms/nixxie/pull/5868) [`84a5e7f3b`](https://github.com/nixxiecms/nixxie/commit/84a5e7f3bc3a29ff31d642831e7aaadfc8534ba1) Thanks [@rohan-deshpande](https://github.com/rohan-deshpande)! - Added experimental support for the integration with nixxie cloud files
2035
-
2036
- ### Patch Changes
2037
-
2038
- - [#5870](https://github.com/nixxiecms/nixxie/pull/5870) [`5227234a0`](https://github.com/nixxiecms/nixxie/commit/5227234a08edd99cd2795c8d888fbb3022810f54) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma dependencies to `2.24.1`.
2039
-
2040
- * [#5885](https://github.com/nixxiecms/nixxie/pull/5885) [`4995c682d`](https://github.com/nixxiecms/nixxie/commit/4995c682dbdcfac2100de9fab98ba1e0e08cbcc2) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed `BaseGeneratedListTypes` to have `orderBy` be readonly like the generated types
2041
-
2042
- * Updated dependencies [[`7eabb4dee`](https://github.com/nixxiecms/nixxie/commit/7eabb4dee2552f7baf1e0024d82011b179d418d4), [`df7d7b6f6`](https://github.com/nixxiecms/nixxie/commit/df7d7b6f6f2830573393560f4a1ec35234889947), [`e4c19f808`](https://github.com/nixxiecms/nixxie/commit/e4c19f8086cc14f7f4a8ef390f1f4e1263004d40), [`4995c682d`](https://github.com/nixxiecms/nixxie/commit/4995c682dbdcfac2100de9fab98ba1e0e08cbcc2), [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7), [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7), [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7), [`4c90c0d3c`](https://github.com/nixxiecms/nixxie/commit/4c90c0d3c8e75c6a58910c4bd563b3b80e61e801), [`881c9ffb7`](https://github.com/nixxiecms/nixxie/commit/881c9ffb7c5941e9fb214ed955148d8ea567e65f), [`ef14e77ce`](https://github.com/nixxiecms/nixxie/commit/ef14e77cebc9420db8c7d29dfe61f02140f4a705), [`df7d7b6f6`](https://github.com/nixxiecms/nixxie/commit/df7d7b6f6f2830573393560f4a1ec35234889947), [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7), [`84a5e7f3b`](https://github.com/nixxiecms/nixxie/commit/84a5e7f3bc3a29ff31d642831e7aaadfc8534ba1), [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7), [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7), [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7), [`8958704ec`](https://github.com/nixxiecms/nixxie/commit/8958704ec9819cd27ad1cae251628ad38dad1c79), [`a3b07ea16`](https://github.com/nixxiecms/nixxie/commit/a3b07ea16ffc0f6741c0c0e5e281622a1831e0e7), [`97fd5e05d`](https://github.com/nixxiecms/nixxie/commit/97fd5e05d8681bae86001e6b7e8e3f36ebd639b7)]:
2043
- - @nixxie-next/fields@11.0.0
2044
- - @nixxie-next/types@20.0.0
2045
- - @nixxie-next/utils-legacy@12.0.0
2046
- - @nixxie-ui/fields@4.1.1
2047
- - @nixxie-ui/core@3.1.0
2048
- - @nixxie-next/admin-ui-utils@5.0.2
2049
-
2050
- ## 19.0.0
2051
-
2052
- ### Major Changes
2053
-
2054
- - [#5806](https://github.com/nixxiecms/nixxie/pull/5806) [`0eadba2ba`](https://github.com/nixxiecms/nixxie/commit/0eadba2badb13fc6a17f7e525d429494ca953481) Thanks [@list({](https://github.com/list({), [@list({](https://github.com/list({)! - Removed `withItemData` in favour of a `sessionData` option to the `createAuth()` function.
2055
-
2056
- Previously, `withItemData` would be used to wrap the `config.session` argument:
2057
-
2058
- ```typescript
2059
- import { config, createSchema, list } from '@nixxie-next/nixxie/schema';
2060
- import { statelessSessions, withAuthData } from '@nixxie-next/nixxie/session';
2061
- import { text, password, checkbox } from '@nixxie-next/fields';
2062
- import { createAuth } from '@nixxie-next/auth';
2063
-
2064
- const { withAuth } = createAuth({
2065
- listKey: 'User',
2066
- identityField: 'email',
2067
- secretField: 'password',
2068
- });
2069
-
2070
- const session = statelessSessions({ secret: '-- EXAMPLE COOKIE SECRET; CHANGE ME --' });
2071
-
2072
- export default withAuth(
2073
- config({
2074
- lists: createSchema({
2075
-
2076
- fields: {
2077
- email: text({ isUnique: true }),
2078
- password: password(),
2079
- isAdmin: checkbox(),
2080
- },
2081
- }),
2082
- session: withItemData(session, { User: 'id isAdmin' }),
2083
- }),
2084
- })
2085
- );
2086
- ```
2087
-
2088
- Now, the fields to populate are configured on `sessionData` in `createAuth`, and `withItemData` is completely removed.
2089
-
2090
- ```typescript
2091
- import { config, createSchema, list } from '@nixxie-next/nixxie/schema';
2092
- import { statelessSessions } from '@nixxie-next/nixxie/session';
2093
- import { text, password, checkbox } from '@nixxie-next/fields';
2094
- import { createAuth } from '@nixxie-next/auth';
2095
-
2096
- const { withAuth } = createAuth({
2097
- listKey: 'User',
2098
- identityField: 'email',
2099
- secretField: 'password',
2100
- sessionData: 'id isAdmin',
2101
- });
2102
-
2103
- const session = statelessSessions({ secret: '-- EXAMPLE COOKIE SECRET; CHANGE ME --' });
2104
-
2105
- export default withAuth(
2106
- config({
2107
- lists: createSchema({
2108
-
2109
- fields: {
2110
- email: text({ isUnique: true }),
2111
- password: password(),
2112
- isAdmin: checkbox(),
2113
- },
2114
- }),
2115
- session,
2116
- }),
2117
- })
2118
- );
2119
- ```
2120
-
2121
- * [#5772](https://github.com/nixxiecms/nixxie/pull/5772) [`f52079f0b`](https://github.com/nixxiecms/nixxie/commit/f52079f0bffc4cf2ab5e26e4c3654127b59d6078) Thanks [@timleslie](https://github.com/timleslie)! - Fixed the behaviour of `createItems`, `updateItems`, and `deleteItems` mutations to be consistent and predictable.
2122
-
2123
- Previously, these mutations could return items in an arbitrary order. They now return items in the same order they were provided to the mutation.
2124
-
2125
- Previously, if there was an error, say a validation error, on one or more of the items then the return value would be `null` and a single top level error would be returned. The state of the database in this case was non-deterministic.
2126
-
2127
- The new behaviour is to return values for all items created, with `null` values for those that had errors. These errors are returned in the `errors` array and have paths which correctly point to the `null` values in the returned array. All the valid operations will be completed, leaving the database in a deterministic state.
2128
-
2129
- Previously, if items were filtered out by declarative access control, then no error would be returned, and only those accessible items would be returned. Now the returned data will contain `null` values for those items which couldn't accessed, and the `errors` array will contain errors with paths which correctly point to the `null` values in the returned array.
2130
-
2131
- Previously, if static access control denied access to the mutation, then `null` was returned, and a single `error` was returned. Now, an array of `null`s is returned, with a separate error for each object. This makes the behaviour of static and declarative access control consistent.
2132
-
2133
- - [#5777](https://github.com/nixxiecms/nixxie/pull/5777) [`74bc77854`](https://github.com/nixxiecms/nixxie/commit/74bc778547623fe4ed3db97ed09384d9dc076372) Thanks [@timleslie](https://github.com/timleslie)! - Updated the type of the `skip` argument to `allItems` from `Int` to `Int! = 0`.
2134
-
2135
- * [#5792](https://github.com/nixxiecms/nixxie/pull/5792) [`319c19bd5`](https://github.com/nixxiecms/nixxie/commit/319c19bd5f8e8c261a1aefb1997d66b2a136ae28) Thanks [@timleslie](https://github.com/timleslie)! - Changed the type of the `where` argument to `allItems` to `_allItemsMeta` from type `ItemWhereInput` to `ItemWhereInput! = {}`.
2136
-
2137
- - [#5832](https://github.com/nixxiecms/nixxie/pull/5832) [`195d4fb12`](https://github.com/nixxiecms/nixxie/commit/195d4fb1218517d7b9a40d3bba1a087d40e6d1d6) Thanks [@timleslie](https://github.com/timleslie)! - Updated the functions `getCommittedArtifacts`, `validateCommittedArtifacts`, `generateCommittedArtifacts`, and `generateNodeModulesArtifacts` exported from `artifacts.ts` to accept a `NixxieConfig` argument rather than a `BaseNixxie` object.
2138
-
2139
- * [#5850](https://github.com/nixxiecms/nixxie/pull/5850) [`5b02e8625`](https://github.com/nixxiecms/nixxie/commit/5b02e8625e18c8e79547d5caf8cacb5014ffee9d) Thanks [@timleslie](https://github.com/timleslie)! - The `AND` and `OR` operators of `ItemWhereInput` now accept non-null values, e.g. `[ItemWhereInput!]`, rather than `[ItemWhereInput]`.
2140
-
2141
- - [#5767](https://github.com/nixxiecms/nixxie/pull/5767) [`02af04c03`](https://github.com/nixxiecms/nixxie/commit/02af04c03c96c26c273cd49eda5b4a132e02a26a) Thanks [@timleslie](https://github.com/timleslie)! - Deprecated the `sortBy` GraphQL filter. Updated the `orderBy` GraphQL filter with an improved API.
2142
-
2143
- Previously a `User` list's `allUsers` query would have the argument:
2144
-
2145
- ```graphql
2146
- orderBy: String
2147
- ```
2148
-
2149
- The new API gives it the argument:
2150
-
2151
- ```graphql
2152
- orderBy: [UserOrderByInput!]! = []
2153
- ```
2154
-
2155
- where
2156
-
2157
- ```graphql
2158
- input UserOrderByInput {
2159
- id: OrderDirection
2160
- name: OrderDirection
2161
- score: OrderDirection
2162
- }
2163
-
2164
- enum OrderDirection {
2165
- asc
2166
- desc
2167
- }
2168
- ```
2169
-
2170
- Rather than writing `allUsers(orderBy: "name_ASC")` you now write `allUsers(orderBy: { name: asc })`. You can also now order by multiple fields, e.g. `allUsers(orderBy: [{ score: asc }, { name: asc }])`. Each `UserOrderByInput` must have exactly one key, or else an error will be returned.
2171
-
2172
- * [#5791](https://github.com/nixxiecms/nixxie/pull/5791) [`9de71a9fb`](https://github.com/nixxiecms/nixxie/commit/9de71a9fb0d3b7f5f05c0d908bebdb818723fd4b) Thanks [@timleslie](https://github.com/timleslie)! - Changed the return type of `allItems(...)` from `[User]` to `[User!]`, as this API can never have `null` items in the return array.
2173
-
2174
- - [#5802](https://github.com/nixxiecms/nixxie/pull/5802) [`7bda87ea7`](https://github.com/nixxiecms/nixxie/commit/7bda87ea7f11e0faceccc6ab3f715c72b07c129b) Thanks [@timleslie](https://github.com/timleslie)! - Changed `config.session` to access a `SessionStrategy` object, rather than a `() => SessionStrategy` function. You will only need to change your configuration if you're using a customised session strategy.
2175
-
2176
- * [#5828](https://github.com/nixxiecms/nixxie/pull/5828) [`4b11c5ea8`](https://github.com/nixxiecms/nixxie/commit/4b11c5ea87b759c24bdbff9d18443bbc972757c0) Thanks [@timleslie](https://github.com/timleslie)! - Removed the `nixxie` argument from the `ExtendGraphqlSchema` type. This will only impact you if you were directly constructing this function. Users of the `graphQLSchemaExtension` function will not be impacted.
2177
-
2178
- - [#5787](https://github.com/nixxiecms/nixxie/pull/5787) [`bb4f4ac91`](https://github.com/nixxiecms/nixxie/commit/bb4f4ac91c3ed70393774f744075971453a12aba) Thanks [@timleslie](https://github.com/timleslie)! - Replaced `req, session, createContext` args to `config.ui.pageMiddleware` with a `context` arg.
2179
-
2180
- ### Minor Changes
2181
-
2182
- - [#5774](https://github.com/nixxiecms/nixxie/pull/5774) [`107eeb037`](https://github.com/nixxiecms/nixxie/commit/107eeb0374e214b69be3727ca955a9f76e1468bb) Thanks [@jonowu](https://github.com/jonowu)! - Added `sameSite` option to session options for cookies
2183
-
2184
- * [#5769](https://github.com/nixxiecms/nixxie/pull/5769) [`08478b8a7`](https://github.com/nixxiecms/nixxie/commit/08478b8a7bb9fe5932c7f74f9f6d3af75a0a5394) Thanks [@timleslie](https://github.com/timleslie)! - The GraphQL query `_all<Items>Meta { count }` generated for each list has been deprecated in favour of a new query `<items>Count`, which directy returns the count.
2185
-
2186
- A `User` list would have the following query added to the API:
2187
-
2188
- ```graphql
2189
- usersCount(where: UserWhereInput! = {}): Int
2190
- ```
2191
-
2192
- ### Patch Changes
2193
-
2194
- - [#5780](https://github.com/nixxiecms/nixxie/pull/5780) [`29075e580`](https://github.com/nixxiecms/nixxie/commit/29075e58074672d90cfca84aba8dcedeecf243ca) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed schema type printer to make arguments that have default values be optional
2195
-
2196
- * [#5825](https://github.com/nixxiecms/nixxie/pull/5825) [`c6cd0a6bd`](https://github.com/nixxiecms/nixxie/commit/c6cd0a6bdc7ccb000c39fba0da31819e33d9e056) Thanks [@timleslie](https://github.com/timleslie)! - Updated the Admin UI to use the `itemsCount` GraphQL API.
2197
-
2198
- - [#5826](https://github.com/nixxiecms/nixxie/pull/5826) [`1fe4753f3`](https://github.com/nixxiecms/nixxie/commit/1fe4753f3af28aa851e1f90d55937c940be5af1a) Thanks [@timleslie](https://github.com/timleslie)! - Updated the list page of the Admin UI to use `orderBy` rather than `sortBy` to order items.
2199
-
2200
- * [#5849](https://github.com/nixxiecms/nixxie/pull/5849) [`76cdb791b`](https://github.com/nixxiecms/nixxie/commit/76cdb791b1ab36d015e43b87deff52be2ea6b629) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma dependencies to `2.24.0`.
2201
-
2202
- - [#5768](https://github.com/nixxiecms/nixxie/pull/5768) [`762f17823`](https://github.com/nixxiecms/nixxie/commit/762f1782334c9b7174c320182c753c215834ff7f) Thanks [@timleslie](https://github.com/timleslie)! - Updated `context.db.lists` API to correctly apply GraphQL defaults to query arguments.
2203
-
2204
- * [#5784](https://github.com/nixxiecms/nixxie/pull/5784) [`38a177d61`](https://github.com/nixxiecms/nixxie/commit/38a177d6140874b29d3c09b5852dbfd787d5c429) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma dependency to `2.23.0`.
2205
-
2206
- * Updated dependencies [[`b9c828fb0`](https://github.com/nixxiecms/nixxie/commit/b9c828fb0d6e587976dbd0dc4e87004bce3b2ef7), [`a6a444acd`](https://github.com/nixxiecms/nixxie/commit/a6a444acd23f2590d9812872441cafb5d088c48e), [`59421c039`](https://github.com/nixxiecms/nixxie/commit/59421c0399368e56e46537c1c687daa27f5912d0), [`5cc35170f`](https://github.com/nixxiecms/nixxie/commit/5cc35170fd46118089a2a6f863d782aff989bbf0), [`0617c81ea`](https://github.com/nixxiecms/nixxie/commit/0617c81eacc88e40bdd21bacab285d674b171a4a), [`02af04c03`](https://github.com/nixxiecms/nixxie/commit/02af04c03c96c26c273cd49eda5b4a132e02a26a), [`3a7acc2c5`](https://github.com/nixxiecms/nixxie/commit/3a7acc2c5114fbcbde994d1f4c6cc0b21c572ec0), [`08478b8a7`](https://github.com/nixxiecms/nixxie/commit/08478b8a7bb9fe5932c7f74f9f6d3af75a0a5394), [`fe5b463ed`](https://github.com/nixxiecms/nixxie/commit/fe5b463ed07c2a524a3cde554ac07575d31e6712), [`7bda87ea7`](https://github.com/nixxiecms/nixxie/commit/7bda87ea7f11e0faceccc6ab3f715c72b07c129b), [`590bb1fe9`](https://github.com/nixxiecms/nixxie/commit/590bb1fe9254c2f8feff7e3a0e2e964610116f95), [`4b11c5ea8`](https://github.com/nixxiecms/nixxie/commit/4b11c5ea87b759c24bdbff9d18443bbc972757c0), [`bb4f4ac91`](https://github.com/nixxiecms/nixxie/commit/bb4f4ac91c3ed70393774f744075971453a12aba), [`19a756496`](https://github.com/nixxiecms/nixxie/commit/19a7564964d9dcdc94ecdda9c0a0e92c539eb309)]:
2207
- - @nixxie-next/fields@10.0.0
2208
- - @nixxie-next/types@19.0.0
2209
- - @nixxie-next/adapter-prisma-legacy@8.0.0
2210
- - @nixxie-ui/fields@4.1.0
2211
- - @nixxie-ui/popover@4.0.1
2212
- - @nixxie-next/admin-ui-utils@5.0.1
2213
- - @nixxie-next/utils-legacy@11.0.1
2214
-
2215
- ## 18.0.0
2216
-
2217
- ### Major Changes
2218
-
2219
- - [#5746](https://github.com/nixxiecms/nixxie/pull/5746) [`19750d2dc`](https://github.com/nixxiecms/nixxie/commit/19750d2dc5801cc8d2ffae1f50d1d5ca6ab9407d) Thanks [@timleslie](https://github.com/timleslie)! - Update Node.js dependency to `^12.20 || >= 14.13`.
2220
-
2221
- * [#5677](https://github.com/nixxiecms/nixxie/pull/5677) [`e2232a553`](https://github.com/nixxiecms/nixxie/commit/e2232a5537620bd82983ba3f5cff124cec8facab) Thanks [@timleslie](https://github.com/timleslie)! - Consolidated the `@nixxie-next/admin-ui` package into `@nixxie-next/nixxie`.
2222
-
2223
- If you were directly importing from `@nixxie-next/admin-ui` you can now import the same items from `@nixxie-next/nixxie/admin-ui`.
2224
- If you have `@nixxie-next/admin-ui` in your `package.json` you should remove it.
2225
-
2226
- ### Minor Changes
2227
-
2228
- - [#5758](https://github.com/nixxiecms/nixxie/pull/5758) [`8da79e71a`](https://github.com/nixxiecms/nixxie/commit/8da79e71abb005eb755620fb3c8f82a3a2952152) Thanks [@timleslie](https://github.com/timleslie)! - Added a `SKIP_PROMPTS` environment variable to explicitly disable prompts in the CLI.
2229
-
2230
- ### Patch Changes
2231
-
2232
- - [#5759](https://github.com/nixxiecms/nixxie/pull/5759) [`016ccad82`](https://github.com/nixxiecms/nixxie/commit/016ccad82ed73898a64310506117c1cbae60a512) Thanks [@timleslie](https://github.com/timleslie)! - Suppresed migration console output when running tests.
2233
-
2234
- - Updated dependencies [[`d40c2a590`](https://github.com/nixxiecms/nixxie/commit/d40c2a5903f07e5a1e80d116ec4cea00289bbf6a), [`19750d2dc`](https://github.com/nixxiecms/nixxie/commit/19750d2dc5801cc8d2ffae1f50d1d5ca6ab9407d), [`e2232a553`](https://github.com/nixxiecms/nixxie/commit/e2232a5537620bd82983ba3f5cff124cec8facab)]:
2235
- - @nixxie-next/adapter-prisma-legacy@7.0.0
2236
- - @nixxie-ui/button@5.0.0
2237
- - @nixxie-ui/core@3.0.0
2238
- - @nixxie-ui/fields@4.0.0
2239
- - @nixxie-ui/icons@4.0.0
2240
- - @nixxie-ui/loading@4.0.0
2241
- - @nixxie-ui/modals@4.0.0
2242
- - @nixxie-ui/notice@4.0.0
2243
- - @nixxie-ui/options@4.0.0
2244
- - @nixxie-ui/pill@4.0.0
2245
- - @nixxie-ui/popover@4.0.0
2246
- - @nixxie-ui/toast@4.0.0
2247
- - @nixxie-ui/tooltip@4.0.0
2248
- - @nixxie-next/admin-ui-utils@5.0.0
2249
- - @nixxie-next/fields@9.0.0
2250
- - @nixxie-next/types@18.0.0
2251
- - @nixxie-next/access-control-legacy@11.0.0
2252
- - @nixxie-next/utils-legacy@11.0.0
2253
-
2254
- ## 17.2.0
2255
-
2256
- ### Minor Changes
2257
-
2258
- - [#5143](https://github.com/nixxiecms/nixxie/pull/5143) [`1ef9986dd`](https://github.com/nixxiecms/nixxie/commit/1ef9986ddc5a4a881a3fc6fae3d1420447174fdb) Thanks [@timleslie](https://github.com/timleslie)! - Added `graphql.cacheHint` configuration for lists and fields.
2259
-
2260
- ### Patch Changes
2261
-
2262
- - [#5727](https://github.com/nixxiecms/nixxie/pull/5727) [`737b3e6e5`](https://github.com/nixxiecms/nixxie/commit/737b3e6e53d0948de8f1419709ece5648ff4529a) Thanks [@cameronbraid](https://github.com/cameronbraid)! - Fixed a bug in `storedSessions` not correctly identifying the current `sessionId`.
2263
-
2264
- * [#5686](https://github.com/nixxiecms/nixxie/pull/5686) [`62e68c8e5`](https://github.com/nixxiecms/nixxie/commit/62e68c8e5b4964785a173ab05ff89cba9cc685f2) Thanks [@timleslie](https://github.com/timleslie)! - Reduced the explicit dependence on the internal Nixxie object when creating context objects.
2265
-
2266
- - [#5673](https://github.com/nixxiecms/nixxie/pull/5673) [`deb7f9504`](https://github.com/nixxiecms/nixxie/commit/deb7f9504573da67b0cd76d3f53dc0fcceaf1021) Thanks [@timleslie](https://github.com/timleslie)! - Refactored code to parse `config.db`. No functional changes.
2267
-
2268
- - Updated dependencies [[`62e68c8e5`](https://github.com/nixxiecms/nixxie/commit/62e68c8e5b4964785a173ab05ff89cba9cc685f2), [`deb7f9504`](https://github.com/nixxiecms/nixxie/commit/deb7f9504573da67b0cd76d3f53dc0fcceaf1021), [`1ef9986dd`](https://github.com/nixxiecms/nixxie/commit/1ef9986ddc5a4a881a3fc6fae3d1420447174fdb), [`669f0d8ac`](https://github.com/nixxiecms/nixxie/commit/669f0d8acfce5d6b7eaaa972ab354597c53c2568)]:
2269
- - @nixxie-next/types@17.1.0
2270
- - @nixxie-next/admin-ui@14.1.3
2271
-
2272
- ## 17.1.1
2273
-
2274
- ### Patch Changes
2275
-
2276
- - [#5613](https://github.com/nixxiecms/nixxie/pull/5613) [`85dfdfb1e`](https://github.com/nixxiecms/nixxie/commit/85dfdfb1ea236bb1515ac6df43f974b30d0bf89a) Thanks [@timleslie](https://github.com/timleslie)! - Improved the types of `withItemData`.
2277
-
2278
- - Updated dependencies [[`3aea3b12f`](https://github.com/nixxiecms/nixxie/commit/3aea3b12fd0047e54671ead796fca15b625ade66), [`11814ce98`](https://github.com/nixxiecms/nixxie/commit/11814ce9865bc14ffdf5ca2a09b7221001539857), [`b0a72a112`](https://github.com/nixxiecms/nixxie/commit/b0a72a112dae7857defc8b745e674d55a29be766), [`79a0844b9`](https://github.com/nixxiecms/nixxie/commit/79a0844b9d5125891e3eaad4dc3999b232cefaa2), [`11814ce98`](https://github.com/nixxiecms/nixxie/commit/11814ce9865bc14ffdf5ca2a09b7221001539857), [`2b3efc8a8`](https://github.com/nixxiecms/nixxie/commit/2b3efc8a883e1e5832ed5111a6e0e4d3ee59f162), [`fc9c3d55d`](https://github.com/nixxiecms/nixxie/commit/fc9c3d55d5a2e6a87bcb9e9ed50a19a503290457), [`400d88257`](https://github.com/nixxiecms/nixxie/commit/400d88257a3383595cf76c9399848b356dd51a11), [`dbe831976`](https://github.com/nixxiecms/nixxie/commit/dbe831976eeee876f3722d4b96e1b752b67cb945), [`53225b0ef`](https://github.com/nixxiecms/nixxie/commit/53225b0efcf33810c1c91a0a4ec3e2369733ab0a), [`79d092afc`](https://github.com/nixxiecms/nixxie/commit/79d092afca565abe780e84d917299ecb749752f1), [`bb8920843`](https://github.com/nixxiecms/nixxie/commit/bb8920843a1e0d803b8238bd17e9d65802698685)]:
2279
- - @nixxie-next/admin-ui@14.1.2
2280
- - @nixxie-next/fields@8.2.0
2281
-
2282
- ## 17.1.0
2283
-
2284
- ### Minor Changes
2285
-
2286
- - [#5609](https://github.com/nixxiecms/nixxie/pull/5609) [`1c0265171`](https://github.com/nixxiecms/nixxie/commit/1c0265171db2e334c25d014d855ec919c3d4782c) Thanks [@renovate](https://github.com/apps/renovate)! - Upgraded Primsa dependency to `2.22.0`.
2287
-
2288
- ### Patch Changes
2289
-
2290
- - [#5601](https://github.com/nixxiecms/nixxie/pull/5601) [`8b77b6971`](https://github.com/nixxiecms/nixxie/commit/8b77b697187f8d5eb73e862b2c07b8bfbb769e0b) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Next.js dependency to `^10.2.0`.
2291
-
2292
- * [#5592](https://github.com/nixxiecms/nixxie/pull/5592) [`1043243ff`](https://github.com/nixxiecms/nixxie/commit/1043243ff5a22bb067cf4aa6e46d28a529203121) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Fixed uncaught exception in file stream.
2293
-
2294
- * Updated dependencies [[`3d3894679`](https://github.com/nixxiecms/nixxie/commit/3d38946798650d117c39ce522987b169e616b2b9), [`8b77b6971`](https://github.com/nixxiecms/nixxie/commit/8b77b697187f8d5eb73e862b2c07b8bfbb769e0b)]:
2295
- - @nixxie-next/fields@8.1.0
2296
- - @nixxie-next/adapter-prisma-legacy@6.1.0
2297
- - @nixxie-next/admin-ui@14.1.1
2298
-
2299
- ## 17.0.0
2300
-
2301
- ### Major Changes
2302
-
2303
- - [#5582](https://github.com/nixxiecms/nixxie/pull/5582) [`49dd46843`](https://github.com/nixxiecms/nixxie/commit/49dd468435a96c537f5649aa2fd9e21103da40e1) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Changed image ref to now be `${mode}:image:${id}`.
2304
-
2305
- ### Minor Changes
2306
-
2307
- - [#5570](https://github.com/nixxiecms/nixxie/pull/5570) [`2df2fa021`](https://github.com/nixxiecms/nixxie/commit/2df2fa0213146adab79e5e17c60d43259041093d) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Added `maxFileSize` property to nixxie config.
2308
-
2309
- ### Patch Changes
2310
-
2311
- - [#5547](https://github.com/nixxiecms/nixxie/pull/5547) [`18ae28bde`](https://github.com/nixxiecms/nixxie/commit/18ae28bde943c140332ad5e0cd0b5238555fb1b8) Thanks [@timleslie](https://github.com/timleslie)! - Consolidate the code from the `@nixxie-next/server-side-graphql-client-legacy` package into the main package.
2312
-
2313
- * [#5518](https://github.com/nixxiecms/nixxie/pull/5518) [`fddeacf79`](https://github.com/nixxiecms/nixxie/commit/fddeacf79d25fea15be57d1a4ec16815bcdc4ab5) Thanks [@timleslie](https://github.com/timleslie)! - Updated the list item and db item APIs to include an empty default for `.findMany()` and `.count()`.
2314
-
2315
- - [#5522](https://github.com/nixxiecms/nixxie/pull/5522) [`fbf5f77c5`](https://github.com/nixxiecms/nixxie/commit/fbf5f77c515b2413c4019b4a521dd4f4aa965276) Thanks [@timleslie](https://github.com/timleslie)! - Moved the call to `createImagesContext` into `makeCreateContext()`.
2316
-
2317
- * [#5514](https://github.com/nixxiecms/nixxie/pull/5514) [`8577eb3ba`](https://github.com/nixxiecms/nixxie/commit/8577eb3baafe9cd61c48d89aca9eff252765e5a6) Thanks [@timleslie](https://github.com/timleslie)! - The field hooks API has deprecated the `addFieldValidationError` argument. It has been replaced with the argument `addValidationError`, and will be removed in a future release.
2318
-
2319
- - [#5523](https://github.com/nixxiecms/nixxie/pull/5523) [`91e603d7a`](https://github.com/nixxiecms/nixxie/commit/91e603d7a686185c145bcbc445a27939f94aafa8) Thanks [@timleslie](https://github.com/timleslie)! - Moved internal code into subdirectories for easier navigation.
2320
-
2321
- * [#5517](https://github.com/nixxiecms/nixxie/pull/5517) [`a6cdf3da8`](https://github.com/nixxiecms/nixxie/commit/a6cdf3da8a9b2ca943048fee6cacd376ea4aae50) Thanks [@timleslie](https://github.com/timleslie)! - Fixed a bug using the items API to create/update `image` field items.
2322
-
2323
- - [#5552](https://github.com/nixxiecms/nixxie/pull/5552) [`a0c5aa307`](https://github.com/nixxiecms/nixxie/commit/a0c5aa30771d187253d0cfe24b4b686e136136cc) Thanks [@timleslie](https://github.com/timleslie)! - Update `context.lists.<list>.count()` to use the GraphQL API rather than directly calling the resolver.
2324
-
2325
- * [#5524](https://github.com/nixxiecms/nixxie/pull/5524) [`ddf51724a`](https://github.com/nixxiecms/nixxie/commit/ddf51724ab2043f395d1d197213748c06a5300b7) Thanks [@timleslie](https://github.com/timleslie)! - Removed un-implemented export `singleton` from `schema/`.
2326
-
2327
- - [#5569](https://github.com/nixxiecms/nixxie/pull/5569) [`d216fd04c`](https://github.com/nixxiecms/nixxie/commit/d216fd04c92ec594fb9b448025fc3e23fe6dfdad) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Refactored implementation of db lists API
2328
-
2329
- * [#5515](https://github.com/nixxiecms/nixxie/pull/5515) [`f76938ac2`](https://github.com/nixxiecms/nixxie/commit/f76938ac223194ce401179fd9fa1226e11077277) Thanks [@timleslie](https://github.com/timleslie)! - Simplified the implementation of the images context API.
2330
-
2331
- * Updated dependencies [[`b7aeb232d`](https://github.com/nixxiecms/nixxie/commit/b7aeb232db43b32cae0bca3fcb74479d6834c587), [`b7aeb232d`](https://github.com/nixxiecms/nixxie/commit/b7aeb232db43b32cae0bca3fcb74479d6834c587), [`f7d4c9b9f`](https://github.com/nixxiecms/nixxie/commit/f7d4c9b9f06cc3090b59d4b29e0907e9f3d1faee), [`7e81b52b0`](https://github.com/nixxiecms/nixxie/commit/7e81b52b0f2240f0c590eb8f6733360cab9fe93a), [`fddeacf79`](https://github.com/nixxiecms/nixxie/commit/fddeacf79d25fea15be57d1a4ec16815bcdc4ab5), [`fdebf79cc`](https://github.com/nixxiecms/nixxie/commit/fdebf79cc3520ffb65979ddac7d61791f4f37324), [`dbc62ff7c`](https://github.com/nixxiecms/nixxie/commit/dbc62ff7c71ca4d4db1fab76f3e0ab729af5b80c), [`8577eb3ba`](https://github.com/nixxiecms/nixxie/commit/8577eb3baafe9cd61c48d89aca9eff252765e5a6), [`05d4883ee`](https://github.com/nixxiecms/nixxie/commit/05d4883ee19bcfdfcbff7f80693a3fa85cf81aaa), [`a0c5aa307`](https://github.com/nixxiecms/nixxie/commit/a0c5aa30771d187253d0cfe24b4b686e136136cc), [`9fd7cc62a`](https://github.com/nixxiecms/nixxie/commit/9fd7cc62a889f8a0f8933040bb16fcc36af7795e), [`3e33cd3ff`](https://github.com/nixxiecms/nixxie/commit/3e33cd3ff46f824ec3516e5810a7e5027b332a5a), [`b7aeb232d`](https://github.com/nixxiecms/nixxie/commit/b7aeb232db43b32cae0bca3fcb74479d6834c587), [`49dd46843`](https://github.com/nixxiecms/nixxie/commit/49dd468435a96c537f5649aa2fd9e21103da40e1), [`49dd46843`](https://github.com/nixxiecms/nixxie/commit/49dd468435a96c537f5649aa2fd9e21103da40e1), [`74fed41e2`](https://github.com/nixxiecms/nixxie/commit/74fed41e23c3d5c6c073574c54ca339df2235351)]:
2332
- - @nixxie-next/admin-ui@14.1.0
2333
- - @nixxie-next/fields@8.0.0
2334
- - @nixxie-next/types@17.0.1
2335
- - @nixxie-next/adapter-prisma-legacy@6.0.1
2336
- - @nixxie-next/utils-legacy@10.0.0
2337
- - @nixxie-next/access-control-legacy@10.0.1
2338
-
2339
- ## 16.0.0
2340
-
2341
- ### Major Changes
2342
-
2343
- - [#5467](https://github.com/nixxiecms/nixxie/pull/5467) [`7498fcabb`](https://github.com/nixxiecms/nixxie/commit/7498fcabba3ef6b411dd3bf67a20821702442ebc) Thanks [@timleslie](https://github.com/timleslie)! - Removed the deprecated `context.executeGraphQL`. Identical functionality is available via `context.graphql.raw`.
2344
-
2345
- * [#5478](https://github.com/nixxiecms/nixxie/pull/5478) [`11f5bb631`](https://github.com/nixxiecms/nixxie/commit/11f5bb6316b90ec603aa034db1b9259c911204ed) Thanks [@timleslie](https://github.com/timleslie)! - Improved types for `BaseNixxieList`.
2346
-
2347
- - [#5404](https://github.com/nixxiecms/nixxie/pull/5404) [`d9e1acb30`](https://github.com/nixxiecms/nixxie/commit/d9e1acb30e384ce88e6681ba9d299d917dea97d9) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Started formatting GraphQL schema written to `schema.graphql` with Prettier
2348
-
2349
- * [#5397](https://github.com/nixxiecms/nixxie/pull/5397) [`a5627304b`](https://github.com/nixxiecms/nixxie/commit/a5627304b7921a0f1484d6d08330115d0edbb45b) Thanks [@bladey](https://github.com/bladey)! - Updated Node engine version to 12.x due to 10.x reaching EOL on 2021-04-30.
2350
-
2351
- - [#5420](https://github.com/nixxiecms/nixxie/pull/5420) [`ecf07393a`](https://github.com/nixxiecms/nixxie/commit/ecf07393a19714f1686772bd082de7d229065aa2) Thanks [@timleslie](https://github.com/timleslie)! - Updated core fields implementation to expect an internal option `type.adapter` rather than `type.adapters.prisma`.
2352
-
2353
- * [#5463](https://github.com/nixxiecms/nixxie/pull/5463) [`309596591`](https://github.com/nixxiecms/nixxie/commit/3095965915adbb93ff6879d4e9bf3f0dd504708c) Thanks [@timleslie](https://github.com/timleslie)! - Removed the `_listMeta` type from the generated GraphQL API.
2354
-
2355
- ### Minor Changes
2356
-
2357
- - [#5451](https://github.com/nixxiecms/nixxie/pull/5451) [`9e060fe83`](https://github.com/nixxiecms/nixxie/commit/9e060fe83459269bc5d257f31a23c164d2283624) Thanks [@JedWatson](https://github.com/JedWatson)! - With the goal of making the Lists API (i.e `context.lists.{List}`) more intuitive to use, the `resolveFields` option has been deprecated in favor of two new methods:
2358
-
2359
- (1) You can specify a string of fields to return with the new `query` option, when you want to query for resolved field values (including querying relationships and virtual fields). This replaces the `resolveFields: false` use case.
2360
-
2361
- For example, to query a Post you would now write:
2362
-
2363
- ```js
2364
- const [post] = await context.lists.Post.findMany({
2365
- where: { slug },
2366
- query: `
2367
- title
2368
- content
2369
- image {
2370
- src
2371
- width
2372
- height
2373
- }`,
2374
- })
2375
- ```
2376
-
2377
- (2) Alternatively, there is a new set of APIs on `context.db.lists.{List}` which will return the unresolved item data from the database (but with read hooks applied), which can then be referenced directly or returned from a custom mutation or query in the GraphQL API to be handled by the Field resolvers. This replaces the `resolveFields: boolean` use case.
2378
-
2379
- For example, to query for the raw data stored in the database, you would write:
2380
-
2381
- ```js
2382
- const [post] = await context.db.lists.Post.findMany({
2383
- where: { slug },
2384
- })
2385
- ```
2386
-
2387
- * [#5325](https://github.com/nixxiecms/nixxie/pull/5325) [`3d3fb860f`](https://github.com/nixxiecms/nixxie/commit/3d3fb860faa303cbfe75eeb0855a8a575113320c) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated to Prisma 2.20
2388
-
2389
- - [#5378](https://github.com/nixxiecms/nixxie/pull/5378) [`6861ecb40`](https://github.com/nixxiecms/nixxie/commit/6861ecb40345434f8d070950a3c8fb85f3d59994) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Prisma to 2.21
2390
-
2391
- * [#5396](https://github.com/nixxiecms/nixxie/pull/5396) [`be60812f2`](https://github.com/nixxiecms/nixxie/commit/be60812f29d7768ce65a5f5e8c40597d4742c5d7) Thanks [@rohan-deshpande](https://github.com/rohan-deshpande)! - Added create-image-context, logic for parsing, storing and retrieving image data in nixxie core.
2392
-
2393
- ### Patch Changes
2394
-
2395
- - [#5452](https://github.com/nixxiecms/nixxie/pull/5452) [`c7aecec3c`](https://github.com/nixxiecms/nixxie/commit/c7aecec3c768eec742e0ce9c5506331e902e5124) Thanks [@timleslie](https://github.com/timleslie)! - Removed the legacy `defaultAccess` argument from the `Nixxie` constructor.
2396
-
2397
- * [#5402](https://github.com/nixxiecms/nixxie/pull/5402) [`588f31ddc`](https://github.com/nixxiecms/nixxie/commit/588f31ddce15ab752a987a1dc1429fa1d6f03d7c) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Refactored to make testing the cli easier
2398
-
2399
- - [#5444](https://github.com/nixxiecms/nixxie/pull/5444) [`781b3e5ab`](https://github.com/nixxiecms/nixxie/commit/781b3e5abcf9a8b6d29c86d6470adfd08b4413c8) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed an error being printed to the console when the Prisma CLI exited with a non-zero exit code when running `nixxie-next prisma`
2400
-
2401
- * [#5429](https://github.com/nixxiecms/nixxie/pull/5429) [`49025d1ad`](https://github.com/nixxiecms/nixxie/commit/49025d1ad0d85c4f80e5430a365c4fc78db96c92) Thanks [@timleslie](https://github.com/timleslie)! - Removed the internal `_label_` field which is no longer used.
2402
-
2403
- - [#5445](https://github.com/nixxiecms/nixxie/pull/5445) [`24e62e29c`](https://github.com/nixxiecms/nixxie/commit/24e62e29c51c04448a272a25292251fc13e06d7a) Thanks [@timleslie](https://github.com/timleslie)! - Removed unused and inaccessible code from the core.
2404
-
2405
- * [#5428](https://github.com/nixxiecms/nixxie/pull/5428) [`5b2369077`](https://github.com/nixxiecms/nixxie/commit/5b2369077094dc5470ce8bfc5a7eaf142c04a818) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed printing the incorrect migrations directory to the console
2406
-
2407
- - [#5426](https://github.com/nixxiecms/nixxie/pull/5426) [`202d362f3`](https://github.com/nixxiecms/nixxie/commit/202d362f38d0c8827263e6cd2d286d8dcbdd22ad) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated CLI help message to match documentation
2408
-
2409
- * [#5403](https://github.com/nixxiecms/nixxie/pull/5403) [`d0adec53f`](https://github.com/nixxiecms/nixxie/commit/d0adec53ff20c2246dfe955b449b7c6e1afe96fb) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Moved core logic in keyToLabel to the @nixxie-next/utils-legacy package.
2410
-
2411
- - [#5458](https://github.com/nixxiecms/nixxie/pull/5458) [`962cde7e3`](https://github.com/nixxiecms/nixxie/commit/962cde7e32ec7ce23d15180f315549f4f34069ee) Thanks [@timleslie](https://github.com/timleslie)! - Set PRISMA_HIDE_UPDATE_MESSAGE=1 to silence Prisma update messages, since these are out of the hands of the developer.
2412
-
2413
- * [#5443](https://github.com/nixxiecms/nixxie/pull/5443) [`f67497c1a`](https://github.com/nixxiecms/nixxie/commit/f67497c1a9dd7462e7d6564250712f5456dc5cb0) Thanks [@timleslie](https://github.com/timleslie)! - Removed legacy support for auxilliary lists.
2414
-
2415
- - [#5460](https://github.com/nixxiecms/nixxie/pull/5460) [`2bef01aaa`](https://github.com/nixxiecms/nixxie/commit/2bef01aaacd32eb746353bde11dd5e37c67fb43e) Thanks [@timleslie](https://github.com/timleslie)! - Consolidated the core code from the `@nixxie-next/nixxie-legacy` package into `@nixxie-next/nixxie`.
2416
-
2417
- * [#5466](https://github.com/nixxiecms/nixxie/pull/5466) [`0e74d8123`](https://github.com/nixxiecms/nixxie/commit/0e74d81238d5d00cc3eb968c95c02f25cb3a5a78) Thanks [@timleslie](https://github.com/timleslie)! - Improved the `BaseNixxie` type to be more correct.
2418
-
2419
- - [#5407](https://github.com/nixxiecms/nixxie/pull/5407) [`76692d266`](https://github.com/nixxiecms/nixxie/commit/76692d26642eabf23d2ef038dec35d35d4e35d31) Thanks [@timleslie](https://github.com/timleslie)! - Fixed a bug where `context.prisma` was `undefined` in the `onConnect()` function.
2420
-
2421
- * [#5400](https://github.com/nixxiecms/nixxie/pull/5400) [`d7e8cad4f`](https://github.com/nixxiecms/nixxie/commit/d7e8cad4fca5d8ffefa235c2ff30ec8e2e0d6276) Thanks [@timleslie](https://github.com/timleslie)! - Moved the `Implementation` base class from the `fields-legacy` package into the `fields` package.
2422
-
2423
- - [#5390](https://github.com/nixxiecms/nixxie/pull/5390) [`ad1776b74`](https://github.com/nixxiecms/nixxie/commit/ad1776b7418b7a0d1c8e5def8d82051752c01aa9) Thanks [@timleslie](https://github.com/timleslie)! - Silenced logging when running CI tests.
2424
-
2425
- * [#5428](https://github.com/nixxiecms/nixxie/pull/5428) [`5b2369077`](https://github.com/nixxiecms/nixxie/commit/5b2369077094dc5470ce8bfc5a7eaf142c04a818) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed casing of GraphQL in message logged in `nixxie-next dev`
2426
-
2427
- - [#5366](https://github.com/nixxiecms/nixxie/pull/5366) [`115b06130`](https://github.com/nixxiecms/nixxie/commit/115b06130d801e00dec88935a5d400e71f089853) Thanks [@renovate](https://github.com/apps/renovate)! - Updated Next.js dependency to `^10.1.3`.
2428
-
2429
- * [#5393](https://github.com/nixxiecms/nixxie/pull/5393) [`a73aea7d7`](https://github.com/nixxiecms/nixxie/commit/a73aea7d78d4c520856f06f9d1b79efe4b36993b) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed reading config file to be local to the passed directory instead of `process.cwd()`
2430
-
2431
- * Updated dependencies [[`9e060fe83`](https://github.com/nixxiecms/nixxie/commit/9e060fe83459269bc5d257f31a23c164d2283624), [`637ae05d3`](https://github.com/nixxiecms/nixxie/commit/637ae05d3f8a138902c2d03c5b342cb93c440767), [`d0adec53f`](https://github.com/nixxiecms/nixxie/commit/d0adec53ff20c2246dfe955b449b7c6e1afe96fb), [`c7aecec3c`](https://github.com/nixxiecms/nixxie/commit/c7aecec3c768eec742e0ce9c5506331e902e5124), [`b0db0a7a8`](https://github.com/nixxiecms/nixxie/commit/b0db0a7a8d3aa46a8034022c456ea5100b129dc0), [`f059f6349`](https://github.com/nixxiecms/nixxie/commit/f059f6349bee3dce8bbf4a0584b235e97872851c), [`7498fcabb`](https://github.com/nixxiecms/nixxie/commit/7498fcabba3ef6b411dd3bf67a20821702442ebc), [`11f5bb631`](https://github.com/nixxiecms/nixxie/commit/11f5bb6316b90ec603aa034db1b9259c911204ed), [`8ab2c9bb6`](https://github.com/nixxiecms/nixxie/commit/8ab2c9bb6633c2f85844e658f534582c30a39a57), [`637ae05d3`](https://github.com/nixxiecms/nixxie/commit/637ae05d3f8a138902c2d03c5b342cb93c440767), [`d0adec53f`](https://github.com/nixxiecms/nixxie/commit/d0adec53ff20c2246dfe955b449b7c6e1afe96fb), [`5f2673704`](https://github.com/nixxiecms/nixxie/commit/5f2673704e997710a088c45e9d95d22e1195b2da), [`fe55e9289`](https://github.com/nixxiecms/nixxie/commit/fe55e9289b898bdcb937eb5e981dba2bb58a672f), [`a5627304b`](https://github.com/nixxiecms/nixxie/commit/a5627304b7921a0f1484d6d08330115d0edbb45b), [`ea708559f`](https://github.com/nixxiecms/nixxie/commit/ea708559fbd19914fe7eb52f519937e5fe50a143), [`49ecca74d`](https://github.com/nixxiecms/nixxie/commit/49ecca74d2f550df9f7be630c577ad7e6cca573c), [`1d85d7ff4`](https://github.com/nixxiecms/nixxie/commit/1d85d7ff4e8d7795d6e0f82484cf7108d11925db), [`2bef01aaa`](https://github.com/nixxiecms/nixxie/commit/2bef01aaacd32eb746353bde11dd5e37c67fb43e), [`be60812f2`](https://github.com/nixxiecms/nixxie/commit/be60812f29d7768ce65a5f5e8c40597d4742c5d7), [`0e74d8123`](https://github.com/nixxiecms/nixxie/commit/0e74d81238d5d00cc3eb968c95c02f25cb3a5a78), [`be60812f2`](https://github.com/nixxiecms/nixxie/commit/be60812f29d7768ce65a5f5e8c40597d4742c5d7), [`d7e8cad4f`](https://github.com/nixxiecms/nixxie/commit/d7e8cad4fca5d8ffefa235c2ff30ec8e2e0d6276), [`ecf07393a`](https://github.com/nixxiecms/nixxie/commit/ecf07393a19714f1686772bd082de7d229065aa2), [`be60812f2`](https://github.com/nixxiecms/nixxie/commit/be60812f29d7768ce65a5f5e8c40597d4742c5d7), [`89b869e8d`](https://github.com/nixxiecms/nixxie/commit/89b869e8d492151449f2146108767a7e5e5ecdfa), [`58a793988`](https://github.com/nixxiecms/nixxie/commit/58a7939888ec84d0f089d77ca1ce9d94ef0d9a85), [`115b06130`](https://github.com/nixxiecms/nixxie/commit/115b06130d801e00dec88935a5d400e71f089853)]:
2432
- - @nixxie-next/admin-ui@14.0.0
2433
- - @nixxie-next/types@17.0.0
2434
- - @nixxie-next/fields@7.0.0
2435
- - @nixxie-next/adapter-prisma-legacy@6.0.0
2436
- - @nixxie-next/utils-legacy@9.0.0
2437
- - @nixxie-next/access-control-legacy@10.0.0
2438
- - @nixxie-next/server-side-graphql-client-legacy@4.0.0
2439
-
2440
- ## 15.0.0
2441
-
2442
- ### Major Changes
2443
-
2444
- - [#5266](https://github.com/nixxiecms/nixxie/pull/5266) [`c28e765d1`](https://github.com/nixxiecms/nixxie/commit/c28e765d12655f802e324b82529fcf571d88c0c6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Replaced `deploy`, `reset` and `generate` commands with `nixxie-next prisma`. You can use these commands as replacements for the old commands:
2445
- - `nixxie-next deploy` -> `nixxie-next prisma migrate deploy`
2446
- - `nixxie-next reset` -> `nixxie-next prisma migrate reset`
2447
- - `nixxie-next generate` -> `nixxie-next prisma migrate dev`
2448
-
2449
- * [#5266](https://github.com/nixxiecms/nixxie/pull/5266) [`c28e765d1`](https://github.com/nixxiecms/nixxie/commit/c28e765d12655f802e324b82529fcf571d88c0c6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `migrationAction` argument to `createSystem` and require that the PrismaClient is passed to `createSystem` to be able to connect to the database.
2450
-
2451
- - [#5266](https://github.com/nixxiecms/nixxie/pull/5266) [`c28e765d1`](https://github.com/nixxiecms/nixxie/commit/c28e765d12655f802e324b82529fcf571d88c0c6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated `nixxie-next build` command to validate that the GraphQL and Prisma schemas are up to date.
2452
-
2453
- * [#5287](https://github.com/nixxiecms/nixxie/pull/5287) [`95fefaf81`](https://github.com/nixxiecms/nixxie/commit/95fefaf815204d6af6e407690f44750f500602e3) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `getDbSchemaName` and `getPrismaPath` database adapter options. To change the database schema that Nixxie uses, you can add `?schema=whatever` to the database url.
2454
-
2455
- - [#5266](https://github.com/nixxiecms/nixxie/pull/5266) [`c28e765d1`](https://github.com/nixxiecms/nixxie/commit/c28e765d12655f802e324b82529fcf571d88c0c6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved generated `schema.prisma` to the root of the project directory. Note that this also moves the location of migrations from `.nixxie/prisma/migrations` to `migrations` at the root of the project.
2456
-
2457
- * [#5266](https://github.com/nixxiecms/nixxie/pull/5266) [`c28e765d1`](https://github.com/nixxiecms/nixxie/commit/c28e765d12655f802e324b82529fcf571d88c0c6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `dotNixxiePath` argument from `createSystem`
2458
-
2459
- - [#5256](https://github.com/nixxiecms/nixxie/pull/5256) [`399e6db39`](https://github.com/nixxiecms/nixxie/commit/399e6db39c51cf9e8bbf3dde0887e5bf55dd1c4d) Thanks [@timleslie](https://github.com/timleslie)! - Removed support for the `knex` and `mongoose` database adapters. We now only support `prisma_postgresql` and `prisma_sqlite`.
2460
-
2461
- * [#5285](https://github.com/nixxiecms/nixxie/pull/5285) [`5cd94b2a3`](https://github.com/nixxiecms/nixxie/commit/5cd94b2a32b3eddaf00ad77229f7e9664899c3b9) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `dropDatabase` method and config option
2462
-
2463
- - [#5266](https://github.com/nixxiecms/nixxie/pull/5266) [`c28e765d1`](https://github.com/nixxiecms/nixxie/commit/c28e765d12655f802e324b82529fcf571d88c0c6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved generated GraphQL schema to `schema.graphql` to the root of the project. We recommend that you commit this file to your repo.
2464
-
2465
- ### Minor Changes
2466
-
2467
- - [#5344](https://github.com/nixxiecms/nixxie/pull/5344) [`901817fed`](https://github.com/nixxiecms/nixxie/commit/901817fedf4bcfb269416c3c68093ae0263f4d00) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added prompt before dropping the database or applying a change to the database that could lose data when `db.useMigrations` is set to false in `nixxie-next dev`
2468
-
2469
- * [#5276](https://github.com/nixxiecms/nixxie/pull/5276) [`1a4db6c87`](https://github.com/nixxiecms/nixxie/commit/1a4db6c87c17706c8e5db2816e0a6b1b8f79e217) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `artifacts` entrypoint.
2470
-
2471
- - [#5368](https://github.com/nixxiecms/nixxie/pull/5368) [`b40016301`](https://github.com/nixxiecms/nixxie/commit/b40016301dab71630068cc86c04828c5ee1683e8) Thanks [@timleslie](https://github.com/timleslie)! - The config option `db.adapter` is now deprecated. It has been repaced with `db.provider` which can take the values `postgresql` or `sqlite`.
2472
-
2473
- * [#5321](https://github.com/nixxiecms/nixxie/pull/5321) [`5c4b48636`](https://github.com/nixxiecms/nixxie/commit/5c4b4863638cffa794dd1b02c445a87655a4178c) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `--reset-db` flag to `nixxie-next dev` to reset the database before starting Nixxie
2474
-
2475
- - [#5283](https://github.com/nixxiecms/nixxie/pull/5283) [`192393d0d`](https://github.com/nixxiecms/nixxie/commit/192393d0df67e123a694a42dd3f95ffa6d40042b) Thanks [@timleslie](https://github.com/timleslie)! - The flag `{ experimental: { prismaSqlite: true } }` is no longer required to use the SQLite adapter.
2476
-
2477
- * [#5341](https://github.com/nixxiecms/nixxie/pull/5341) [`1886b4323`](https://github.com/nixxiecms/nixxie/commit/1886b43235e50bd2e070350d258f0a3145c19bbc) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `generateNextGraphqlAPI` and `generateNodeAPI` experimental options
2478
-
2479
- - [#5266](https://github.com/nixxiecms/nixxie/pull/5266) [`c28e765d1`](https://github.com/nixxiecms/nixxie/commit/c28e765d12655f802e324b82529fcf571d88c0c6) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `nixxie-next postinstall` command which verifies that the Prisma and GraphQL schemas are up to date with a `--fix` flag to automatically update them without a prompt.
2480
-
2481
- * [#5341](https://github.com/nixxiecms/nixxie/pull/5341) [`1886b4323`](https://github.com/nixxiecms/nixxie/commit/1886b43235e50bd2e070350d258f0a3145c19bbc) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `withNixxie` in `next` entrypoint
2482
-
2483
- - [#5302](https://github.com/nixxiecms/nixxie/pull/5302) [`1e6d12f47`](https://github.com/nixxiecms/nixxie/commit/1e6d12f47076816d2a2441b42471176c5a7f2f8c) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `migrations` entrypoint with `pushPrismaSchemaToDatabase` export.
2484
-
2485
- ### Patch Changes
2486
-
2487
- - [#5280](https://github.com/nixxiecms/nixxie/pull/5280) [`9e450d6b3`](https://github.com/nixxiecms/nixxie/commit/9e450d6b326e2ba5f46e49ecf53b6bd7a627e9ca) Thanks [@timleslie](https://github.com/timleslie)! - Removed the `adapters-mongoose-legacy` packages dependency.
2488
-
2489
- - Updated dependencies [[`1261c398b`](https://github.com/nixxiecms/nixxie/commit/1261c398b94ffef2737226cceaebaed1b3c04c72), [`1e6d12f47`](https://github.com/nixxiecms/nixxie/commit/1e6d12f47076816d2a2441b42471176c5a7f2f8c), [`e702fea44`](https://github.com/nixxiecms/nixxie/commit/e702fea44c3116db158d97b5ffd24440f09c9d49), [`c28e765d1`](https://github.com/nixxiecms/nixxie/commit/c28e765d12655f802e324b82529fcf571d88c0c6), [`95fefaf81`](https://github.com/nixxiecms/nixxie/commit/95fefaf815204d6af6e407690f44750f500602e3), [`955787055`](https://github.com/nixxiecms/nixxie/commit/955787055a54fb33eb45c80dd39fa86a9ff632a0), [`b40016301`](https://github.com/nixxiecms/nixxie/commit/b40016301dab71630068cc86c04828c5ee1683e8), [`192393d0d`](https://github.com/nixxiecms/nixxie/commit/192393d0df67e123a694a42dd3f95ffa6d40042b), [`c28e765d1`](https://github.com/nixxiecms/nixxie/commit/c28e765d12655f802e324b82529fcf571d88c0c6), [`1886b4323`](https://github.com/nixxiecms/nixxie/commit/1886b43235e50bd2e070350d258f0a3145c19bbc), [`399e6db39`](https://github.com/nixxiecms/nixxie/commit/399e6db39c51cf9e8bbf3dde0887e5bf55dd1c4d), [`8665cfe66`](https://github.com/nixxiecms/nixxie/commit/8665cfe66016e0356681413e31f80a6d5586d364), [`1e6d12f47`](https://github.com/nixxiecms/nixxie/commit/1e6d12f47076816d2a2441b42471176c5a7f2f8c), [`fda82869c`](https://github.com/nixxiecms/nixxie/commit/fda82869c376d05fd007bec22d7bde2604db445b), [`399e6db39`](https://github.com/nixxiecms/nixxie/commit/399e6db39c51cf9e8bbf3dde0887e5bf55dd1c4d), [`d93bab17b`](https://github.com/nixxiecms/nixxie/commit/d93bab17b69c76e57580dc00e41314215da6d49b), [`5cd94b2a3`](https://github.com/nixxiecms/nixxie/commit/5cd94b2a32b3eddaf00ad77229f7e9664899c3b9), [`9e450d6b3`](https://github.com/nixxiecms/nixxie/commit/9e450d6b326e2ba5f46e49ecf53b6bd7a627e9ca), [`4f0abec0b`](https://github.com/nixxiecms/nixxie/commit/4f0abec0b19c3495c1ae6d7dac49fb46253cf7b3), [`95fefaf81`](https://github.com/nixxiecms/nixxie/commit/95fefaf815204d6af6e407690f44750f500602e3), [`bc21855a7`](https://github.com/nixxiecms/nixxie/commit/bc21855a7ff6dd4dbc278b3e15c9157de765e6ba)]:
2490
- - @nixxie-next/adapter-prisma-legacy@5.0.0
2491
- - @nixxie-next/nixxie-legacy@23.0.0
2492
- - @nixxie-next/types@16.0.0
2493
- - @nixxie-next/admin-ui@13.0.0
2494
- - @nixxie-next/fields@6.0.0
2495
- - @nixxie-next/server-side-graphql-client-legacy@3.0.1
2496
-
2497
- ## 14.0.1
2498
-
2499
- ### Patch Changes
2500
-
2501
- - [#5229](https://github.com/nixxiecms/nixxie/pull/5229) [`fe4b48907`](https://github.com/nixxiecms/nixxie/commit/fe4b48907fc002711640bfdf4644eb6d2d8643b6) Thanks [@raveling](https://github.com/raveling)! - Updated command line output emojis to be more friendly
2502
-
2503
- * [#5198](https://github.com/nixxiecms/nixxie/pull/5198) [`b36758a12`](https://github.com/nixxiecms/nixxie/commit/b36758a121c096e8776420949c77a5304957a969) Thanks [@timleslie](https://github.com/timleslie)! - Removed the legacy `cookieSecret`, `cookie`, and `sessionStore` arguments from the `Nixxie` constructor.
2504
-
2505
- * Updated dependencies [[`0e01f471d`](https://github.com/nixxiecms/nixxie/commit/0e01f471dc669e46c88233cb8ce698749ddcf4fa), [`76e5c7bd3`](https://github.com/nixxiecms/nixxie/commit/76e5c7bd3d5e4b74b1b3b6b6d6c23d087e81bb21), [`f73cc9377`](https://github.com/nixxiecms/nixxie/commit/f73cc93779c9fce1f86730e065c02ede92016ad2), [`e944b1ebb`](https://github.com/nixxiecms/nixxie/commit/e944b1ebbede95500b06028c591ee8947278a479), [`db6cb59dc`](https://github.com/nixxiecms/nixxie/commit/db6cb59dc0d32e3700c5aa0202428b627c40503d), [`ca1be4156`](https://github.com/nixxiecms/nixxie/commit/ca1be415663dd822b3adda1e073bd7a1d4a9b97b), [`7ae452ad1`](https://github.com/nixxiecms/nixxie/commit/7ae452ad144d1186225e94ff39be0eaf9983f585), [`45272d0b1`](https://github.com/nixxiecms/nixxie/commit/45272d0b1dc68e6ae8dbc4cfda790b3a50cf1b25), [`ade638de0`](https://github.com/nixxiecms/nixxie/commit/ade638de07142e8ecd0c3bf6c805eed76fd89878), [`2a1fc416e`](https://github.com/nixxiecms/nixxie/commit/2a1fc416e8f0a83e108a72fcec81b380c601f3ef), [`5510ae33f`](https://github.com/nixxiecms/nixxie/commit/5510ae33fb18d42e378a00f1f78b803fb01b3fad), [`da900777a`](https://github.com/nixxiecms/nixxie/commit/da900777a27264595a68fe1ed0e7a689944eb372), [`4d405390c`](https://github.com/nixxiecms/nixxie/commit/4d405390c0f8dcc37e6fe4da7ce3866c699088f3), [`34dd809ee`](https://github.com/nixxiecms/nixxie/commit/34dd809eef2368bba1e50ed613b36c5dac7262d1), [`0b679b742`](https://github.com/nixxiecms/nixxie/commit/0b679b742fb0d5d4c19db4498e327c44dd68b963), [`b36758a12`](https://github.com/nixxiecms/nixxie/commit/b36758a121c096e8776420949c77a5304957a969), [`fe9fc5e0d`](https://github.com/nixxiecms/nixxie/commit/fe9fc5e0de8cefb889624e43bc281ac408bcd3b8), [`b8cd13fdf`](https://github.com/nixxiecms/nixxie/commit/b8cd13fdfcec645140a06b0331b240583eace061), [`32578f01e`](https://github.com/nixxiecms/nixxie/commit/32578f01e70ea972d438a29fa1e3793c1e02750b)]:
2506
- - @nixxie-next/fields@5.4.0
2507
- - @nixxie-next/server-side-graphql-client-legacy@3.0.0
2508
- - @nixxie-next/nixxie-legacy@22.0.0
2509
- - @nixxie-next/types@15.0.1
2510
- - @nixxie-next/adapter-knex-legacy@13.2.3
2511
- - @nixxie-next/adapter-mongoose-legacy@11.1.3
2512
- - @nixxie-next/adapter-prisma-legacy@4.0.1
2513
-
2514
- ## 14.0.0
2515
-
2516
- ### Major Changes
2517
-
2518
- - [#5168](https://github.com/nixxiecms/nixxie/pull/5168) [`343b74246`](https://github.com/nixxiecms/nixxie/commit/343b742468e01a6cf9003ee47ee2d2a6d9dbd011) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed `withItemData` returning sessions that don't match an item rather than treating them as invalid
2519
-
2520
- ### Patch Changes
2521
-
2522
- - Updated dependencies []:
2523
- - @nixxie-next/admin-ui@12.0.1
2524
-
2525
- ## 13.0.0
2526
-
2527
- ### Major Changes
2528
-
2529
- - [#5087](https://github.com/nixxiecms/nixxie/pull/5087) [`56e5fe10b`](https://github.com/nixxiecms/nixxie/commit/56e5fe10bc89877be7d7e3013e53012b4d82b648) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated `createNixxie` and `createSystem` to accept a migration mode rather than script
2530
-
2531
- * [#5135](https://github.com/nixxiecms/nixxie/pull/5135) [`cdd889db1`](https://github.com/nixxiecms/nixxie/commit/cdd889db10e440c46719bda5fad1d5f7eacbb714) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated `nixxie-next dev` with the Prisma adapter so that it interactively prompts for creating and applying a migration
2532
-
2533
- - [#5163](https://github.com/nixxiecms/nixxie/pull/5163) [`b37cbffc8`](https://github.com/nixxiecms/nixxie/commit/b37cbffc886a4317793a97b7a8afd95639f59ce0) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `db.useMigrations` option to replace using `nixxie-next dev` and `nixxie-next prototype` depending on what kind of migration strategy you want to use. If you were previously using `nixxie-next dev`, you should set `db.useMigrations` to true in your config and continue using `nixxie-next dev`. If you were previously using `nixxie-next prototype`, you should now use `nixxie-next dev`.
2534
-
2535
- * [#5155](https://github.com/nixxiecms/nixxie/pull/5155) [`215aed387`](https://github.com/nixxiecms/nixxie/commit/215aed387d35e9d4c896fe76991b12b54789cc55) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed `createOnly` migration mode
2536
-
2537
- - [#5163](https://github.com/nixxiecms/nixxie/pull/5163) [`b37cbffc8`](https://github.com/nixxiecms/nixxie/commit/b37cbffc886a4317793a97b7a8afd95639f59ce0) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Replaced `MigrationMode` type with `MigrationAction` that `createSystem` and `createNixxie` now accept.
2538
-
2539
- ### Minor Changes
2540
-
2541
- - [#3946](https://github.com/nixxiecms/nixxie/pull/3946) [`8e9b04ecd`](https://github.com/nixxiecms/nixxie/commit/8e9b04ecd07d9c5d0e6aead4705e7a655498ae05) Thanks [@timleslie](https://github.com/timleslie)! - Added experimental support for Prisma + SQLite as a database adapter.
2542
-
2543
- * [#5102](https://github.com/nixxiecms/nixxie/pull/5102) [`714bdadce`](https://github.com/nixxiecms/nixxie/commit/714bdadce8c87a15cf3a296b44a31b9b9ca95e9d) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `none-skip-client-generation` migrationMode
2544
-
2545
- - [#5148](https://github.com/nixxiecms/nixxie/pull/5148) [`e6b16d4e9`](https://github.com/nixxiecms/nixxie/commit/e6b16d4e9d95be8b3d3134931cf077b92a438806) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated `nixxie-next deploy` to use Prisma's programmatic APIs to apply migrations
2546
-
2547
- * [#5155](https://github.com/nixxiecms/nixxie/pull/5155) [`215aed387`](https://github.com/nixxiecms/nixxie/commit/215aed387d35e9d4c896fe76991b12b54789cc55) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Changed `nixxie-next generate` so that it uses Prisma's programmatic APIs to generate migrations and it accepts the following options as command line arguments or as prompts:
2548
- - `--name` to set the name of the migration
2549
- - `--accept-data-loss` to allow resetting the database when it is out of sync with the migrations
2550
- - `--allow-empty` to create an empty migration when there are no changes to the schema
2551
-
2552
- - [#5084](https://github.com/nixxiecms/nixxie/pull/5084) [`40d4fff5d`](https://github.com/nixxiecms/nixxie/commit/40d4fff5d63850cbd513c80bcb5e551e5782dc4b) Thanks [@timleslie](https://github.com/timleslie)! - Updated `context.sudo()` to provide access to all operations, including those excluded by `{ access: false }` in the public schema.
2553
-
2554
- * [#5152](https://github.com/nixxiecms/nixxie/pull/5152) [`00f980cad`](https://github.com/nixxiecms/nixxie/commit/00f980cadda28c0c30da8b50ff1a033365998e02) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated `nixxie-next reset` to use Prisma's programmatic APIs to reset the database.
2555
-
2556
- - [#4912](https://github.com/nixxiecms/nixxie/pull/4912) [`d31acf61b`](https://github.com/nixxiecms/nixxie/commit/d31acf61bcca96ac059d4ba2e78955513a6a0f91) Thanks [@timleslie](https://github.com/timleslie)! - Added a `config.graphql.apolloConfig` option to allow developers to configure the `ApolloServer` object provided by Nixxie.
2557
-
2558
- ### Patch Changes
2559
-
2560
- - [#5099](https://github.com/nixxiecms/nixxie/pull/5099) [`bfeb927be`](https://github.com/nixxiecms/nixxie/commit/bfeb927be5c80fac2dadd800295fd4789c53f1ce) Thanks [@timleslie](https://github.com/timleslie)! - Updated `context.graphql.raw` and `context.graphql.run` to use the GraphQL function `graphql` rather than `execute`. This function performs more rigorous query validation before executing the query.
2561
-
2562
- * [#5096](https://github.com/nixxiecms/nixxie/pull/5096) [`b7ce464a2`](https://github.com/nixxiecms/nixxie/commit/b7ce464a261321fe3344898fa4f4a91e6fa8dbb1) Thanks [@timleslie](https://github.com/timleslie)! - Updated items API to handle static `false` access control.
2563
-
2564
- - [#5150](https://github.com/nixxiecms/nixxie/pull/5150) [`3a9d20ce1`](https://github.com/nixxiecms/nixxie/commit/3a9d20ce11463e7f73f6b6325375cdcee17d63ed) Thanks [@timleslie](https://github.com/timleslie)! - Applied eslint `import/order` rule.
2565
-
2566
- * [#5152](https://github.com/nixxiecms/nixxie/pull/5152) [`00f980cad`](https://github.com/nixxiecms/nixxie/commit/00f980cadda28c0c30da8b50ff1a033365998e02) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed `nixxie-next reset` saying that it is not a command that nixxie-next accepts
2567
-
2568
- * Updated dependencies [[`1eeac4722`](https://github.com/nixxiecms/nixxie/commit/1eeac4722da174307152dad9b5adf5062e4b6403), [`8e9b04ecd`](https://github.com/nixxiecms/nixxie/commit/8e9b04ecd07d9c5d0e6aead4705e7a655498ae05), [`b3c4a756f`](https://github.com/nixxiecms/nixxie/commit/b3c4a756fd2028d1e29967392d37098419e54ec3), [`714bdadce`](https://github.com/nixxiecms/nixxie/commit/714bdadce8c87a15cf3a296b44a31b9b9ca95e9d), [`b84abebb6`](https://github.com/nixxiecms/nixxie/commit/b84abebb6c817172d04f338befa45b3573af55d6), [`3a9d20ce1`](https://github.com/nixxiecms/nixxie/commit/3a9d20ce11463e7f73f6b6325375cdcee17d63ed), [`ec6f9b601`](https://github.com/nixxiecms/nixxie/commit/ec6f9b601ea6fdbfb2335a5e81b7ec3f1b0e4d4d), [`56e5fe10b`](https://github.com/nixxiecms/nixxie/commit/56e5fe10bc89877be7d7e3013e53012b4d82b648), [`56e5fe10b`](https://github.com/nixxiecms/nixxie/commit/56e5fe10bc89877be7d7e3013e53012b4d82b648), [`e6b16d4e9`](https://github.com/nixxiecms/nixxie/commit/e6b16d4e9d95be8b3d3134931cf077b92a438806), [`cdd889db1`](https://github.com/nixxiecms/nixxie/commit/cdd889db10e440c46719bda5fad1d5f7eacbb714), [`215aed387`](https://github.com/nixxiecms/nixxie/commit/215aed387d35e9d4c896fe76991b12b54789cc55), [`b3c4a756f`](https://github.com/nixxiecms/nixxie/commit/b3c4a756fd2028d1e29967392d37098419e54ec3), [`2bccf71b1`](https://github.com/nixxiecms/nixxie/commit/2bccf71b152a9be65a2df6a9751f1d7a382041ae), [`b37cbffc8`](https://github.com/nixxiecms/nixxie/commit/b37cbffc886a4317793a97b7a8afd95639f59ce0), [`a4002b045`](https://github.com/nixxiecms/nixxie/commit/a4002b045b3e783971c382f9373159c04845beeb), [`4ac9148a0`](https://github.com/nixxiecms/nixxie/commit/4ac9148a0fa5b302d50e0ca4293206e2ef3616b7), [`2ff93692a`](https://github.com/nixxiecms/nixxie/commit/2ff93692aaef70474449f30fb249eae8aa33a64a), [`40d4fff5d`](https://github.com/nixxiecms/nixxie/commit/40d4fff5d63850cbd513c80bcb5e551e5782dc4b), [`215aed387`](https://github.com/nixxiecms/nixxie/commit/215aed387d35e9d4c896fe76991b12b54789cc55), [`cdd889db1`](https://github.com/nixxiecms/nixxie/commit/cdd889db10e440c46719bda5fad1d5f7eacbb714), [`b37cbffc8`](https://github.com/nixxiecms/nixxie/commit/b37cbffc886a4317793a97b7a8afd95639f59ce0), [`00f980cad`](https://github.com/nixxiecms/nixxie/commit/00f980cadda28c0c30da8b50ff1a033365998e02), [`bafdcb7bd`](https://github.com/nixxiecms/nixxie/commit/bafdcb7bdcba641bb8a00689a2bcefed10f4d890), [`d31acf61b`](https://github.com/nixxiecms/nixxie/commit/d31acf61bcca96ac059d4ba2e78955513a6a0f91), [`543232c3f`](https://github.com/nixxiecms/nixxie/commit/543232c3f151f2294cf63e0944d1724b7b0ac33e)]:
2569
- - @nixxie-next/fields@5.3.0
2570
- - @nixxie-next/types@15.0.0
2571
- - @nixxie-next/adapter-prisma-legacy@4.0.0
2572
- - @nixxie-next/nixxie-legacy@21.0.0
2573
- - @nixxie-next/admin-ui@12.0.0
2574
- - @nixxie-next/adapter-mongoose-legacy@11.1.2
2575
- - @nixxie-next/adapter-knex-legacy@13.2.2
2576
-
2577
- ## 12.0.0
2578
-
2579
- ### Major Changes
2580
-
2581
- - [#5082](https://github.com/nixxiecms/nixxie/pull/5082) [`a2c52848a`](https://github.com/nixxiecms/nixxie/commit/a2c52848a3a7b66a1968a430040887194e6138d1) Thanks [@timleslie](https://github.com/timleslie)! - Updated `createApolloServerMicro` to take system arguments rather than a `NixxieConfig` object.
2582
-
2583
- ### Minor Changes
2584
-
2585
- - [#5085](https://github.com/nixxiecms/nixxie/pull/5085) [`acc6e9772`](https://github.com/nixxiecms/nixxie/commit/acc6e9772b4a312a62ea756777034638c03a3761) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added an option to pass in the prisma client to use instead of attempting to generate one and `require()`ing it to fix the experimental `enableNextJsGraphqlApiEndpoint` option not working on Vercel
2586
-
2587
- * [#5085](https://github.com/nixxiecms/nixxie/pull/5085) [`acc6e9772`](https://github.com/nixxiecms/nixxie/commit/acc6e9772b4a312a62ea756777034638c03a3761) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Changed experimental `enableNextJsGraphqlApiEndpoint` option so that it doesn't use the API Route when running through Nixxie's CLI
2588
-
2589
- ### Patch Changes
2590
-
2591
- - Updated dependencies [[`c45cbb9b1`](https://github.com/nixxiecms/nixxie/commit/c45cbb9b14010b3ced7ea012f3502998ba2ec393), [`a2c52848a`](https://github.com/nixxiecms/nixxie/commit/a2c52848a3a7b66a1968a430040887194e6138d1), [`acc6e9772`](https://github.com/nixxiecms/nixxie/commit/acc6e9772b4a312a62ea756777034638c03a3761), [`b4b276cf6`](https://github.com/nixxiecms/nixxie/commit/b4b276cf66f90dce2d711c144c0d99c4752f1f5e), [`ab14e7043`](https://github.com/nixxiecms/nixxie/commit/ab14e70435ef89cf702d407c90396eca53bc3f4d), [`7ad7430dc`](https://github.com/nixxiecms/nixxie/commit/7ad7430dc377f79f7ad4024879ec2966ba0d185f)]:
2592
- - @nixxie-next/nixxie-legacy@20.0.0
2593
- - @nixxie-next/admin-ui@11.0.0
2594
- - @nixxie-next/adapter-prisma-legacy@3.3.0
2595
- - @nixxie-next/app-graphql-legacy@7.0.0
2596
- - @nixxie-next/adapter-knex-legacy@13.2.1
2597
- - @nixxie-next/adapter-mongoose-legacy@11.1.1
2598
- - @nixxie-next/fields@5.2.1
2599
-
2600
- ## 11.0.2
2601
-
2602
- ### Patch Changes
2603
-
2604
- - [#5079](https://github.com/nixxiecms/nixxie/pull/5079) [`57c98c90e`](https://github.com/nixxiecms/nixxie/commit/57c98c90ee4220bcc59925a154a231989d25de51) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@hapi/iron` to `^6.0.0`.
2605
-
2606
- * [#5068](https://github.com/nixxiecms/nixxie/pull/5068) [`ed3c98839`](https://github.com/nixxiecms/nixxie/commit/ed3c988392bce981ef7d81c1eb14a045c6198da8) Thanks [@rohan-deshpande](https://github.com/rohan-deshpande)! - Fixed issue where createNixxie would call prisma migrate dev when the build script was run
2607
-
2608
- * Updated dependencies [[`3eabc35e0`](https://github.com/nixxiecms/nixxie/commit/3eabc35e0d41b60449ff456e9a0ec3eabf360508)]:
2609
- - @nixxie-next/adapter-knex-legacy@13.2.0
2610
-
2611
- ## 11.0.1
2612
-
2613
- ### Patch Changes
2614
-
2615
- - [`9b202b31a`](https://github.com/nixxiecms/nixxie/commit/9b202b31a7d4944b709fe0ce58d6ca7ec1523a02) [#5033](https://github.com/nixxiecms/nixxie/pull/5033) Thanks [@rohan-deshpande](https://github.com/rohan-deshpande)! - Added `experimental` config namespace and `enableNextJsGraphqlApiEndpoint` property to support the GraphQL API being served from a Next.js API route rather than Express
2616
-
2617
- - Updated dependencies [[`7bb173018`](https://github.com/nixxiecms/nixxie/commit/7bb173018afc6d8af4c602dc86c5c4b471277b97), [`aba7c45d7`](https://github.com/nixxiecms/nixxie/commit/aba7c45d7645aa71b50de070d37896b73248751a), [`9b202b31a`](https://github.com/nixxiecms/nixxie/commit/9b202b31a7d4944b709fe0ce58d6ca7ec1523a02)]:
2618
- - @nixxie-next/adapter-prisma-legacy@3.2.0
2619
- - @nixxie-next/fields@5.2.0
2620
- - @nixxie-next/admin-ui@10.0.1
2621
- - @nixxie-next/types@14.0.1
2622
-
2623
- ## 11.0.0
2624
-
2625
- ### Major Changes
2626
-
2627
- - [`1c5a39972`](https://github.com/nixxiecms/nixxie/commit/1c5a39972759a0aad49aed2c4b19e2c70a993a8a) [#4923](https://github.com/nixxiecms/nixxie/pull/4923) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed isAccessAllowed default so that if a session strategy is not used, access is always allowed to the Admin UI rather than never allowing access
2628
-
2629
- * [`562cccbe1`](https://github.com/nixxiecms/nixxie/commit/562cccbe12f257a4ee13d23ed64b5ef4b325c1b1) [#4935](https://github.com/nixxiecms/nixxie/pull/4935) Thanks [@timleslie](https://github.com/timleslie)! - Removed `itemId` from `FieldAccessArgs` and no longer pass this value into field level imperative access control rules.
2630
-
2631
- - [`24e0ef5b6`](https://github.com/nixxiecms/nixxie/commit/24e0ef5b6bd93c105fdef2caea6b862ff1dfd6f3) [#4945](https://github.com/nixxiecms/nixxie/pull/4945) Thanks [@timleslie](https://github.com/timleslie)! - Removed the `context` argument from `NixxieContext.graphql.raw` and `NixxieContext.graphql.run`.
2632
-
2633
- * [`d9c20ba66`](https://github.com/nixxiecms/nixxie/commit/d9c20ba66931077f6e18d3497282be328cfb629f) [#4832](https://github.com/nixxiecms/nixxie/pull/4832) Thanks [@timleslie](https://github.com/timleslie)! - Replaced the function `implementSession` with `createSessionContext`.
2634
-
2635
- - [`6469362a1`](https://github.com/nixxiecms/nixxie/commit/6469362a15bdee579937e17527a6c31e5411312a) [#4936](https://github.com/nixxiecms/nixxie/pull/4936) Thanks [@timleslie](https://github.com/timleslie)! - Removed `itemIds` from `FieldAccessArgs` and no longer pass this value into field level imperative access control rules.
2636
-
2637
- * [`0f86e99bb`](https://github.com/nixxiecms/nixxie/commit/0f86e99bb3aa15f691ab7ff79e5a9ae3d1ac464e) [#4839](https://github.com/nixxiecms/nixxie/pull/4839) Thanks [@timleslie](https://github.com/timleslie)! - Removed `context.graphql.createContext` from `NixxieContext`.
2638
-
2639
- ### Minor Changes
2640
-
2641
- - [`2655c0b1b`](https://github.com/nixxiecms/nixxie/commit/2655c0b1bf714d80d46e1ff4e414b4bce474c23d) [#4866](https://github.com/nixxiecms/nixxie/pull/4866) Thanks [@timleslie](https://github.com/timleslie)! - Added a `config.ui.isDisabled` option to completely disable the Admin UI.
2642
-
2643
- * [`0cd5acb82`](https://github.com/nixxiecms/nixxie/commit/0cd5acb82b2e640821c092eb429401eb9d7e8e9a) [#5017](https://github.com/nixxiecms/nixxie/pull/5017) Thanks [@timleslie](https://github.com/timleslie)! - Added an `isVerbose` flag to `createExpressServer` to allow it to be run silently during tests.
2644
-
2645
- - [`f895a2671`](https://github.com/nixxiecms/nixxie/commit/f895a2671d410c4faa2f354d080d8ee6cc4761f2) [#4860](https://github.com/nixxiecms/nixxie/pull/4860) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Updated the require hook used to compile code in development to use Next's Babel preset when no Babel config is present in the user's config to mirror how Nixxie is built for production with Next.
2646
-
2647
- * [`7ae67b857`](https://github.com/nixxiecms/nixxie/commit/7ae67b857745985061700b0477c3f585b3b8efbf) [#4874](https://github.com/nixxiecms/nixxie/pull/4874) Thanks [@timleslie](https://github.com/timleslie)! - Exported the `createExpressServer` function to support running isolated unit tests against the GraphQL API.
2648
-
2649
- - [`880fd5f92`](https://github.com/nixxiecms/nixxie/commit/880fd5f92881796d40e994d5b64dc3cc5c61e5e6) [#4951](https://github.com/nixxiecms/nixxie/pull/4951) Thanks [@yannick1691](https://github.com/yannick1691)! - Added `domain` option to session options for cookies.
2650
-
2651
- ### Patch Changes
2652
-
2653
- - [`f4e4498c6`](https://github.com/nixxiecms/nixxie/commit/f4e4498c6e4c7301288f23048f4aad3c492985c7) [#5018](https://github.com/nixxiecms/nixxie/pull/5018) Thanks [@bladey](https://github.com/bladey)! - Updated legacy packages to the @nixxie-next namespace.
2654
-
2655
- * [`687fd5ef0`](https://github.com/nixxiecms/nixxie/commit/687fd5ef0f798da996f970af1591411f9cfe0985) [#4835](https://github.com/nixxiecms/nixxie/pull/4835) Thanks [@timleslie](https://github.com/timleslie)! - Removed the unused `connect` and `disconnect` properties of `SessionStrategy`.
2656
-
2657
- - [`370c0ee62`](https://github.com/nixxiecms/nixxie/commit/370c0ee623b515177c3863e66545465c13d5c914) [#4867](https://github.com/nixxiecms/nixxie/pull/4867) Thanks [@timleslie](https://github.com/timleslie)! - Removed generation of compiled configuration file from `generateAdminUI`. This is now handled by the `nixxie-next build` command directly.
2658
-
2659
- * [`fdb9d9abb`](https://github.com/nixxiecms/nixxie/commit/fdb9d9abbe1ea24a2dbb9ce6f755c713966601aa) [#4834](https://github.com/nixxiecms/nixxie/pull/4834) Thanks [@timleslie](https://github.com/timleslie)! - Updated `withItemData` to still return the rest of the `session` object if no item was found.
2660
-
2661
- - [`ceab7dc69`](https://github.com/nixxiecms/nixxie/commit/ceab7dc6904df20f581d4693657043f156c2e8c9) [#5004](https://github.com/nixxiecms/nixxie/pull/5004) Thanks [@timleslie](https://github.com/timleslie)! - Moved session handling GraphQL schema code into the sessions module.
2662
-
2663
- * [`c8cf7fb1f`](https://github.com/nixxiecms/nixxie/commit/c8cf7fb1fb7484d46a7e8b7c6c0b638ceae70d1a) [#4854](https://github.com/nixxiecms/nixxie/pull/4854) Thanks [@timleslie](https://github.com/timleslie)! - Added more specific types to implementation of access control validators.
2664
-
2665
- * Updated dependencies [[`f4e4498c6`](https://github.com/nixxiecms/nixxie/commit/f4e4498c6e4c7301288f23048f4aad3c492985c7), [`f32316e6d`](https://github.com/nixxiecms/nixxie/commit/f32316e6deafdb9001874b08e3f4203250728676), [`1c5a39972`](https://github.com/nixxiecms/nixxie/commit/1c5a39972759a0aad49aed2c4b19e2c70a993a8a), [`687fd5ef0`](https://github.com/nixxiecms/nixxie/commit/687fd5ef0f798da996f970af1591411f9cfe0985), [`9a9276eb7`](https://github.com/nixxiecms/nixxie/commit/9a9276eb7acded979b703b4f3ed8bce781e0718a), [`370c0ee62`](https://github.com/nixxiecms/nixxie/commit/370c0ee623b515177c3863e66545465c13d5c914), [`2655c0b1b`](https://github.com/nixxiecms/nixxie/commit/2655c0b1bf714d80d46e1ff4e414b4bce474c23d), [`6f985acc7`](https://github.com/nixxiecms/nixxie/commit/6f985acc775d6037ac69a01215f962285de78c75), [`4eb4753e4`](https://github.com/nixxiecms/nixxie/commit/4eb4753e45e5a6ca37bdc756aef7adda7f551da4), [`53b8b659f`](https://github.com/nixxiecms/nixxie/commit/53b8b659ffc7db41e0e0d9ad7393e6a821187340), [`29e787983`](https://github.com/nixxiecms/nixxie/commit/29e787983bdc26b147d6b5f476e70768bbc5318c), [`d9c20ba66`](https://github.com/nixxiecms/nixxie/commit/d9c20ba66931077f6e18d3497282be328cfb629f), [`0e265f6c1`](https://github.com/nixxiecms/nixxie/commit/0e265f6c10eadd37f75e5551b22b50236e830086), [`24e0ef5b6`](https://github.com/nixxiecms/nixxie/commit/24e0ef5b6bd93c105fdef2caea6b862ff1dfd6f3), [`45ea93421`](https://github.com/nixxiecms/nixxie/commit/45ea93421f9a6cf9b7ccbd983e0c9cbd687ff6af), [`6c949dbf2`](https://github.com/nixxiecms/nixxie/commit/6c949dbf262350e280072d82cd48fdd31ff5ba6d), [`891cd490a`](https://github.com/nixxiecms/nixxie/commit/891cd490a17026f4af29f0ed9b9ca411747d1d63), [`bea9008f8`](https://github.com/nixxiecms/nixxie/commit/bea9008f82efea7fcf1cb547f3841915cd4689cc), [`5d565ea57`](https://github.com/nixxiecms/nixxie/commit/5d565ea57853713458329b823bde7a38776b02bc), [`00f19daee`](https://github.com/nixxiecms/nixxie/commit/00f19daee8bbd75fb58fb76caaa9a3de70ebfcac), [`00f19daee`](https://github.com/nixxiecms/nixxie/commit/00f19daee8bbd75fb58fb76caaa9a3de70ebfcac), [`a16d2cbff`](https://github.com/nixxiecms/nixxie/commit/a16d2cbffd9aa57d0cbdd783ff5ff0c699ff2d8b), [`c63e5d75c`](https://github.com/nixxiecms/nixxie/commit/c63e5d75cd77cf26f8762bda8143d1c1db6d0e3e), [`0f86e99bb`](https://github.com/nixxiecms/nixxie/commit/0f86e99bb3aa15f691ab7ff79e5a9ae3d1ac464e), [`f826f15c6`](https://github.com/nixxiecms/nixxie/commit/f826f15c6e00fcfcef6d9153b261e8977f5117f1), [`5d565ea57`](https://github.com/nixxiecms/nixxie/commit/5d565ea57853713458329b823bde7a38776b02bc)]:
2666
- - @nixxie-next/admin-ui@10.0.0
2667
- - @nixxie-next/fields@5.1.0
2668
- - @nixxie-next/types@14.0.0
2669
- - @nixxie-next/adapter-knex-legacy@13.1.0
2670
- - @nixxie-next/adapter-mongoose-legacy@11.1.0
2671
- - @nixxie-next/adapter-prisma-legacy@3.1.0
2672
- - @nixxie-next/app-graphql-legacy@6.2.2
2673
- - @nixxie-next/nixxie-legacy@19.3.0
2674
- - @nixxie-next/server-side-graphql-client-legacy@2.0.1
2675
-
2676
- ## 10.0.0
2677
-
2678
- ### Major Changes
2679
-
2680
- - [`ee019cfc5`](https://github.com/nixxiecms/nixxie/commit/ee019cfc51a831d005524e5427d0ebe1c71a1dee) [#4783](https://github.com/nixxiecms/nixxie/pull/4783) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Replaced views hashes with indexes so that if the path to a view is different between the build and the running instance, the Admin UI does not break
2681
-
2682
- * [`e29ae2749`](https://github.com/nixxiecms/nixxie/commit/e29ae2749321c103dd494eba6778ee4137bb2aa3) [#4818](https://github.com/nixxiecms/nixxie/pull/4818) Thanks [@timleslie](https://github.com/timleslie)! - Added `context.exitSudo()` and `context.withSession(session)` methods. Removed `context.createContext()`.
2683
-
2684
- ### Minor Changes
2685
-
2686
- - [`4035218df`](https://github.com/nixxiecms/nixxie/commit/4035218df390beff3d42c0d3fc21335230d8a60d) [#4512](https://github.com/nixxiecms/nixxie/pull/4512) Thanks [@renovate](https://github.com/apps/renovate)! - Upgraded dependency `apollo-server-express` to `^2.21.0`. Apollo Server can now be installed with `graphql@15` without causing peer dependency errors or warnings.
2687
-
2688
- * [`8d0be8a89`](https://github.com/nixxiecms/nixxie/commit/8d0be8a89e2d9b89826365f81f47b8d8863b93d0) [#4815](https://github.com/nixxiecms/nixxie/pull/4815) Thanks [@timleslie](https://github.com/timleslie)! - Added a `.sudo()` method to `context` objects, which is equivalent to the common operation `context.createContext({ skipAccessControl: true })`.
2689
-
2690
- ### Patch Changes
2691
-
2692
- - [`74f428353`](https://github.com/nixxiecms/nixxie/commit/74f428353b90958f97669cbcb78e18ca44438765) [#4799](https://github.com/nixxiecms/nixxie/pull/4799) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Improve type-safety of admin meta GraphQL API implementation
2693
-
2694
- * [`a418fd535`](https://github.com/nixxiecms/nixxie/commit/a418fd5351b0070aab05380b658065be7916fb2a) [#4820](https://github.com/nixxiecms/nixxie/pull/4820) Thanks [@timleslie](https://github.com/timleslie)! - Updated `storedSessions` to internally manage store connection state.
2695
-
2696
- - [`250daa2a2`](https://github.com/nixxiecms/nixxie/commit/250daa2a2c2693f415d9499a531095f3caf2a1d5) [#4808](https://github.com/nixxiecms/nixxie/pull/4808) Thanks [@timleslie](https://github.com/timleslie)! - Updated types of session functions.
2697
-
2698
- - Updated dependencies [[`ee019cfc5`](https://github.com/nixxiecms/nixxie/commit/ee019cfc51a831d005524e5427d0ebe1c71a1dee), [`b97216a65`](https://github.com/nixxiecms/nixxie/commit/b97216a6526fffcca8232d86b115c28cb19587bf), [`208722a42`](https://github.com/nixxiecms/nixxie/commit/208722a4234434e116846756bab18f7e11674ec8), [`ad75e3d61`](https://github.com/nixxiecms/nixxie/commit/ad75e3d61c73ba1239fd21b58f175aac01d9f302), [`a0931858e`](https://github.com/nixxiecms/nixxie/commit/a0931858e499d9504e4e822b850dcf89c3cdac60), [`d8f64887f`](https://github.com/nixxiecms/nixxie/commit/d8f64887f2aa428ea8ac35d0efa50ce05534f40b), [`45b047ad0`](https://github.com/nixxiecms/nixxie/commit/45b047ad015fc9d72cf8c2b85529ffe3abbc189e), [`74f428353`](https://github.com/nixxiecms/nixxie/commit/74f428353b90958f97669cbcb78e18ca44438765), [`4035218df`](https://github.com/nixxiecms/nixxie/commit/4035218df390beff3d42c0d3fc21335230d8a60d), [`954350389`](https://github.com/nixxiecms/nixxie/commit/9543503894c3e78a9b69a75cbfb3ca6b85ae34e8), [`e29ae2749`](https://github.com/nixxiecms/nixxie/commit/e29ae2749321c103dd494eba6778ee4137bb2aa3), [`ee019cfc5`](https://github.com/nixxiecms/nixxie/commit/ee019cfc51a831d005524e5427d0ebe1c71a1dee), [`8d0be8a89`](https://github.com/nixxiecms/nixxie/commit/8d0be8a89e2d9b89826365f81f47b8d8863b93d0)]:
2699
- - @nixxie-next/admin-ui@9.0.0
2700
- - @nixxie-next/fields@5.0.0
2701
- - @nixxie-next/types@13.0.0
2702
- - @nixxiecms/adapter-mongoose@11.0.1
2703
- - @nixxiecms/adapter-prisma@3.0.1
2704
- - @nixxiecms/adapter-knex@13.0.1
2705
- - @nixxiecms/nixxie@19.2.0
2706
- - @nixxiecms/server-side-graphql-client@2.0.0
2707
-
2708
- ## 9.3.1
2709
-
2710
- ### Patch Changes
2711
-
2712
- - [`75d3c521e`](https://github.com/nixxiecms/nixxie/commit/75d3c521e4f1f0a1eec9bc91319839a2afc000e0) [#4770](https://github.com/nixxiecms/nixxie/pull/4770) Thanks [@timleslie](https://github.com/timleslie)! - Upgraded Next.js dependency to `10.0.5`.
2713
-
2714
- - Updated dependencies [[`6ecd2a766`](https://github.com/nixxiecms/nixxie/commit/6ecd2a766c868d46f84291bc1611eadef79e6100), [`777981069`](https://github.com/nixxiecms/nixxie/commit/7779810691c4154e1344ced4fb94c5bb9524a71f), [`75d3c521e`](https://github.com/nixxiecms/nixxie/commit/75d3c521e4f1f0a1eec9bc91319839a2afc000e0), [`4d808eaa5`](https://github.com/nixxiecms/nixxie/commit/4d808eaa5aa1593ad1e54000d80f674f7c4d12bd)]:
2715
- - @nixxie-next/types@12.0.1
2716
- - @nixxie-next/admin-ui@8.0.2
2717
-
2718
- ## 9.3.0
2719
-
2720
- ### Minor Changes
2721
-
2722
- - [`fd0dff3fd`](https://github.com/nixxiecms/nixxie/commit/fd0dff3fdfcbe20b2884357a6e1b20f1b7307652) [#4669](https://github.com/nixxiecms/nixxie/pull/4669) Thanks [@MurzNN](https://github.com/MurzNN)! - Added the ability to set the server port number via `config.server.port`.
2723
-
2724
- ### Patch Changes
2725
-
2726
- - [`26543bd07`](https://github.com/nixxiecms/nixxie/commit/26543bd0752c470e336d61644c14e6a5333f65c0) [#4758](https://github.com/nixxiecms/nixxie/pull/4758) Thanks [@timleslie](https://github.com/timleslie)! - Improved help message of the `nixxie-next` CLI.
2727
-
2728
- * [`096927a68`](https://github.com/nixxiecms/nixxie/commit/096927a6813a23030988ba8b64b2e8452f571a33) [#4756](https://github.com/nixxiecms/nixxie/pull/4756) Thanks [@timleslie](https://github.com/timleslie)! - Added correct types for `config.server.cors`.
2729
-
2730
- * Updated dependencies [[`1744c5f05`](https://github.com/nixxiecms/nixxie/commit/1744c5f05c9a13e680aaa1ed151f23f1d015ed9c), [`d9675553b`](https://github.com/nixxiecms/nixxie/commit/d9675553b33f39e2c7ada7eb6555d16e9fccb37e), [`3c1fa3203`](https://github.com/nixxiecms/nixxie/commit/3c1fa3203a6a9eeb2525c256f858f2e6cebea804), [`fd0dff3fd`](https://github.com/nixxiecms/nixxie/commit/fd0dff3fdfcbe20b2884357a6e1b20f1b7307652), [`5be53ddc3`](https://github.com/nixxiecms/nixxie/commit/5be53ddc39be1415d56e2fa5e7898ab9edf468d5), [`fb8bcff91`](https://github.com/nixxiecms/nixxie/commit/fb8bcff91ef487730164c3330e0742ab13d9b3d7), [`096927a68`](https://github.com/nixxiecms/nixxie/commit/096927a6813a23030988ba8b64b2e8452f571a33)]:
2731
- - @nixxie-next/types@12.0.0
2732
- - @nixxiecms/nixxie@19.1.0
2733
- - @nixxie-next/admin-ui@8.0.1
2734
- - @nixxie-next/fields@4.1.1
2735
-
2736
- ## 9.2.0
2737
-
2738
- ### Minor Changes
2739
-
2740
- - [`94fbb45f1`](https://github.com/nixxiecms/nixxie/commit/94fbb45f1920781423f6a8e489e812b74a260099) [#4728](https://github.com/nixxiecms/nixxie/pull/4728) Thanks [@timleslie](https://github.com/timleslie)! - Added new CLI options to support migrations in the Prisma adapter: `prototype`, `reset`, `generate`, and `deploy`.
2741
-
2742
- ### Patch Changes
2743
-
2744
- - [`588be9ea1`](https://github.com/nixxiecms/nixxie/commit/588be9ea16ab5fb6e74f844b917ca8aeb91a9ac9) [#3222](https://github.com/nixxiecms/nixxie/pull/3222) Thanks [@timleslie](https://github.com/timleslie)! - Removed support for multiple database adapters in a single `Nixxie` system. The `adapters` and `defaultAdapter` config options were removed from the `Nixxie()` constructor. If you were accessing the adapter object via `nixxie.adapters.KnexAdapter` or `nixxie.adapters.MongooseAdapter` you should now simply access `nixxie.adapter`.
2745
-
2746
- - Updated dependencies [[`a886039a1`](https://github.com/nixxiecms/nixxie/commit/a886039a1fc17c9b60b2955f0e58916ab1c3d7bf), [`94fbb45f1`](https://github.com/nixxiecms/nixxie/commit/94fbb45f1920781423f6a8e489e812b74a260099), [`749d1c86c`](https://github.com/nixxiecms/nixxie/commit/749d1c86c89690ef10014a4a0a12641eb24bfe1d), [`588be9ea1`](https://github.com/nixxiecms/nixxie/commit/588be9ea16ab5fb6e74f844b917ca8aeb91a9ac9)]:
2747
- - @nixxiecms/adapter-prisma@3.0.0
2748
- - @nixxie-next/types@11.0.2
2749
- - @nixxiecms/adapter-knex@13.0.0
2750
- - @nixxiecms/adapter-mongoose@11.0.0
2751
- - @nixxiecms/nixxie@19.0.0
2752
-
2753
- ## 9.1.0
2754
-
2755
- ### Minor Changes
2756
-
2757
- - [`fe0c228b1`](https://github.com/nixxiecms/nixxie/commit/fe0c228b12530f6d384fa5eed9d5086768a24782) [#4676](https://github.com/nixxiecms/nixxie/pull/4676) Thanks [@timleslie](https://github.com/timleslie)! - Prisma artefacts are now generated in the `.nixxie/prisma` directory.
2758
-
2759
- ### Patch Changes
2760
-
2761
- - [`ac3db9561`](https://github.com/nixxiecms/nixxie/commit/ac3db95613093de83e2369f624ce9b6c77bb8eda) [#4690](https://github.com/nixxiecms/nixxie/pull/4690) Thanks [@timleslie](https://github.com/timleslie)! - Factored out `createNixxie` into a separate module.
2762
-
2763
- * [`f162a9d72`](https://github.com/nixxiecms/nixxie/commit/f162a9d72859ae7f2932bf0859c712861918b9e6) [#4675](https://github.com/nixxiecms/nixxie/pull/4675) Thanks [@timleslie](https://github.com/timleslie)! - Identified static paths required to locate configuration files.
2764
-
2765
- * Updated dependencies [[`6b95cb6e4`](https://github.com/nixxiecms/nixxie/commit/6b95cb6e4d5bea3a87e22765d5fcf31db2fc31ae), [`fc2b7101f`](https://github.com/nixxiecms/nixxie/commit/fc2b7101f35f20e4d729269a005816546bb37464), [`a96c24cca`](https://github.com/nixxiecms/nixxie/commit/a96c24ccab8dadc9e8f0131fe6509abd64a776f5), [`e7d4d54e5`](https://github.com/nixxiecms/nixxie/commit/e7d4d54e5b94e6b376d6eab28a0f2b074f2c95ed), [`a62a2d996`](https://github.com/nixxiecms/nixxie/commit/a62a2d996f1080051f7962b7063ae37d7e8b7e63)]:
2766
- - @nixxiecms/adapter-prisma@2.0.0
2767
- - @nixxie-next/types@11.0.1
2768
-
2769
- ## 9.0.2
2770
-
2771
- ### Patch Changes
2772
-
2773
- - [`59027f8a4`](https://github.com/nixxiecms/nixxie/commit/59027f8a41cb11632f7c1eb5b3a8092193ecc87e) [#4665](https://github.com/nixxiecms/nixxie/pull/4665) Thanks [@timleslie](https://github.com/timleslie)! - Added a `projectAdminPath` argument to `buildAdminUI`, `createAdminUIServer`, and `generateAdminUI`, which replaces the hard-coded `.nixxie/admin`.
2774
-
2775
- * [`e11b111c7`](https://github.com/nixxiecms/nixxie/commit/e11b111c7e4a87c7a31108b9f5adbc546caaac35) [#4663](https://github.com/nixxiecms/nixxie/pull/4663) Thanks [@timleslie](https://github.com/timleslie)! - Cleaned up CLI script code.
2776
-
2777
- - [`283a6694a`](https://github.com/nixxiecms/nixxie/commit/283a6694ac461d0be980d7796f88efadd4fe108e) [#4656](https://github.com/nixxiecms/nixxie/pull/4656) Thanks [@timleslie](https://github.com/timleslie)! - Updated calls to `nixxie.connect()` with a `{ context }` argument to be used by `config.db.onConnect`.
2778
-
2779
- * [`7ffd2ebb4`](https://github.com/nixxiecms/nixxie/commit/7ffd2ebb42dfaf12e23ba166b44ec4db60d9824b) [#4662](https://github.com/nixxiecms/nixxie/pull/4662) Thanks [@timleslie](https://github.com/timleslie)! - Remove type `NixxieSystem`.
2780
-
2781
- - [`0df2fb79c`](https://github.com/nixxiecms/nixxie/commit/0df2fb79c56094b5cdc0be6a0d6c2812ff0ec7f9) [#4657](https://github.com/nixxiecms/nixxie/pull/4657) Thanks [@timleslie](https://github.com/timleslie)! - Replaced `system` argument to `createAdminUIServer` with `createContext`.
2782
-
2783
- * [`d090053df`](https://github.com/nixxiecms/nixxie/commit/d090053df9545380c42ddd18fae6782f3c3e2719) [#4661](https://github.com/nixxiecms/nixxie/pull/4661) Thanks [@timleslie](https://github.com/timleslie)! - Replaced `system` arg to `generateAdminUI` with `graphQLSchema, nixxie`.
2784
-
2785
- * Updated dependencies [[`49eec4dea`](https://github.com/nixxiecms/nixxie/commit/49eec4dea522c6a043b3eaf93fc8be8256b00aa6), [`3b7a056bb`](https://github.com/nixxiecms/nixxie/commit/3b7a056bb835482ceb408a70bf97300741552d19), [`4768fbf83`](https://github.com/nixxiecms/nixxie/commit/4768fbf831ffff648e540c479a1954ae40e05aaa), [`59027f8a4`](https://github.com/nixxiecms/nixxie/commit/59027f8a41cb11632f7c1eb5b3a8092193ecc87e), [`0d9404768`](https://github.com/nixxiecms/nixxie/commit/0d94047686d1bb1308fd8c47b769c999390d8f6d), [`b81a11c17`](https://github.com/nixxiecms/nixxie/commit/b81a11c171f3627f6cecb66bd2faeb89a68a009e), [`7ffd2ebb4`](https://github.com/nixxiecms/nixxie/commit/7ffd2ebb42dfaf12e23ba166b44ec4db60d9824b), [`0df2fb79c`](https://github.com/nixxiecms/nixxie/commit/0df2fb79c56094b5cdc0be6a0d6c2812ff0ec7f9), [`d090053df`](https://github.com/nixxiecms/nixxie/commit/d090053df9545380c42ddd18fae6782f3c3e2719), [`177cbd530`](https://github.com/nixxiecms/nixxie/commit/177cbd5303b814d1acaa8ded98e3d114c770bdba), [`74a8528ea`](https://github.com/nixxiecms/nixxie/commit/74a8528ea0dad739f4f16af32fe4f8926a188b61), [`831db7c2b`](https://github.com/nixxiecms/nixxie/commit/831db7c2b7a9bced87acf76e3f431ca88a8880b0), [`a36bcf847`](https://github.com/nixxiecms/nixxie/commit/a36bcf847806ca0739f7b44d49a9bf6ac26a38d4), [`6ea4ff3cf`](https://github.com/nixxiecms/nixxie/commit/6ea4ff3cf77d5d2278bf4f0415d11aa7399a0490)]:
2786
- - @nixxiecms/adapter-prisma@1.1.2
2787
- - @nixxiecms/nixxie@18.1.0
2788
- - @nixxie-next/types@11.0.0
2789
- - @nixxie-next/admin-ui@8.0.0
2790
- - @nixxie-next/fields@4.1.0
2791
- - @nixxiecms/adapter-knex@12.0.4
2792
- - @nixxiecms/adapter-mongoose@10.1.2
2793
- - @nixxiecms/app-graphql@6.2.1
2794
-
2795
- ## 9.0.1
2796
-
2797
- ### Patch Changes
2798
-
2799
- - Updated dependencies [[`24ecd72e5`](https://github.com/nixxiecms/nixxie/commit/24ecd72e54eee12442c7c1d0533936a9ad86620a)]:
2800
- - @nixxie-next/admin-ui@7.0.1
2801
- - @nixxie-next/fields@4.0.3
2802
- - @nixxie-next/types@10.0.0
2803
-
2804
- ## 9.0.0
2805
-
2806
- ### Major Changes
2807
-
2808
- - [`89f7d4599`](https://github.com/nixxiecms/nixxie/commit/89f7d459906072940da1355c38815d1b3ef49368) [#4586](https://github.com/nixxiecms/nixxie/pull/4586) Thanks [@timleslie](https://github.com/timleslie)! - Removed `adminMeta` from `NixxieSystem`. `getAdminMetaSchema` now takes a `BaseNixxie` argument `nixxie` rather than `adminMeta`.
2809
-
2810
- * [`abc5440dc`](https://github.com/nixxiecms/nixxie/commit/abc5440dc5ee8d8cdd6ddddb32cf21bd2c3fc324) [#4573](https://github.com/nixxiecms/nixxie/pull/4573) Thanks [@timleslie](https://github.com/timleslie)! - Updated `initConfig` to return a copy of the `config` object, rather than modifying the object.
2811
-
2812
- ### Minor Changes
2813
-
2814
- - [`1200c3562`](https://github.com/nixxiecms/nixxie/commit/1200c356272ae8deea9da4267ce62c1449498e95) [#4588](https://github.com/nixxiecms/nixxie/pull/4588) Thanks [@timleslie](https://github.com/timleslie)! - Updated graphql server to use the `graphql-upload` package directly to support uploads, rather than the built-in support provided by Apollo Server.
2815
-
2816
- ### Patch Changes
2817
-
2818
- - [`933c78a1e`](https://github.com/nixxiecms/nixxie/commit/933c78a1edc070b63f7720f64c15421ba28bdde5) [#4587](https://github.com/nixxiecms/nixxie/pull/4587) Thanks [@timleslie](https://github.com/timleslie)! - Use `nixxie.getTypeDefs` and `nixxie.getResolvers` when creating the graphQL schema.
2819
-
2820
- - Updated dependencies [[`1236f5f40`](https://github.com/nixxiecms/nixxie/commit/1236f5f4024f1698b5a39343b4e5dbfa42c5fc9c), [`933c78a1e`](https://github.com/nixxiecms/nixxie/commit/933c78a1edc070b63f7720f64c15421ba28bdde5), [`f559e680b`](https://github.com/nixxiecms/nixxie/commit/f559e680bad7a7c948a317adfb91a3b024b486c4), [`89f7d4599`](https://github.com/nixxiecms/nixxie/commit/89f7d459906072940da1355c38815d1b3ef49368), [`1200c3562`](https://github.com/nixxiecms/nixxie/commit/1200c356272ae8deea9da4267ce62c1449498e95), [`cf2819544`](https://github.com/nixxiecms/nixxie/commit/cf2819544426def260ada5eb18fdc9b8a01e9438), [`1200c3562`](https://github.com/nixxiecms/nixxie/commit/1200c356272ae8deea9da4267ce62c1449498e95), [`17519bf64`](https://github.com/nixxiecms/nixxie/commit/17519bf64f277ad154fad1b0d5a423048e1336e0)]:
2821
- - @nixxie-next/admin-ui@7.0.0
2822
- - @nixxie-next/types@9.0.0
2823
- - @nixxiecms/nixxie@18.0.0
2824
- - @nixxiecms/app-graphql@6.2.0
2825
- - @nixxiecms/adapter-mongoose@10.1.1
2826
- - @nixxie-next/fields@4.0.2
2827
- - @nixxiecms/adapter-knex@12.0.3
2828
- - @nixxiecms/adapter-prisma@1.1.1
2829
-
2830
- ## 8.0.0
2831
-
2832
- ### Major Changes
2833
-
2834
- - [`075ef1628`](https://github.com/nixxiecms/nixxie/commit/075ef16281a89c8291f90275adca98f042cc54da) [#4547](https://github.com/nixxiecms/nixxie/pull/4547) Thanks [@timleslie](https://github.com/timleslie)! - Removed `allViews` from `NixxieSystem` type. `createAdminMeta` no longer returns `allViews`.
2835
-
2836
- ### Patch Changes
2837
-
2838
- - Updated dependencies [[`075ef1628`](https://github.com/nixxiecms/nixxie/commit/075ef16281a89c8291f90275adca98f042cc54da)]:
2839
- - @nixxie-next/admin-ui@6.0.0
2840
- - @nixxie-next/types@8.0.0
2841
- - @nixxie-next/fields@4.0.1
2842
-
2843
- ## 7.0.0
2844
-
2845
- ### Major Changes
2846
-
2847
- - [`481e456ac`](https://github.com/nixxiecms/nixxie/commit/481e456ac4158207436ddd9be18fdca0f27b6409) [#4533](https://github.com/nixxiecms/nixxie/pull/4533) Thanks [@timleslie](https://github.com/timleslie)! - Renamed to `SessionImplementation.createContext` to `createSessionContext`.
2848
-
2849
- ### Minor Changes
2850
-
2851
- - [`44c78319e`](https://github.com/nixxiecms/nixxie/commit/44c78319ed8cfb1000eb4b1aca5eb361376584b4) [#4535](https://github.com/nixxiecms/nixxie/pull/4535) Thanks [@timleslie](https://github.com/timleslie)! - Exported the `initConfig` function.
2852
-
2853
- * [`6d09df338`](https://github.com/nixxiecms/nixxie/commit/6d09df3381d1682b8002d52ed1696b661fdff035) [#4523](https://github.com/nixxiecms/nixxie/pull/4523) Thanks [@timleslie](https://github.com/timleslie)! - Added support for all database adapter configuration options.
2854
-
2855
- - [`4d3cb8e32`](https://github.com/nixxiecms/nixxie/commit/4d3cb8e32b22250fdbe04af758b0aad727ba63e4) [#4548](https://github.com/nixxiecms/nixxie/pull/4548) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `build` and `start` command
2856
-
2857
- * [`2308e5efc`](https://github.com/nixxiecms/nixxie/commit/2308e5efc7c6893c87652411496b15a8124f6e05) [#4527](https://github.com/nixxiecms/nixxie/pull/4527) Thanks [@timleslie](https://github.com/timleslie)! - Added an optional `req` property to the `NixxieContext` type.
2858
-
2859
- ### Patch Changes
2860
-
2861
- - [`2d3668c49`](https://github.com/nixxiecms/nixxie/commit/2d3668c49d1913afecbacf2b5ef164e553210956) [#4495](https://github.com/nixxiecms/nixxie/pull/4495) Thanks [@timleslie](https://github.com/timleslie)! - Removed `cwd` argument from `generateAdminUI`. Refactored and simplified implementation of `generateAdminUI`.
2862
-
2863
- * [`e33cf0c1e`](https://github.com/nixxiecms/nixxie/commit/e33cf0c1e78ae69cffaf45009e47ca1198464cf2) [#4532](https://github.com/nixxiecms/nixxie/pull/4532) Thanks [@timleslie](https://github.com/timleslie)! - Moved `templates/adminMetaSchemaExtension.ts` to `system/getAdminMetaSchema.ts`.
2864
-
2865
- - [`fd5daefb4`](https://github.com/nixxiecms/nixxie/commit/fd5daefb4966b10cf8047386d19db14d325ef8c5) [#4530](https://github.com/nixxiecms/nixxie/pull/4530) Thanks [@timleslie](https://github.com/timleslie)! - Updated `printGeneratedTypes` to accept explicit `nixxie` and `graphQLSchema` arguments.
2866
-
2867
- * [`a3908a675`](https://github.com/nixxiecms/nixxie/commit/a3908a675614fa8690ea641a124cc57c9f963618) [#4524](https://github.com/nixxiecms/nixxie/pull/4524) Thanks [@JedWatson](https://github.com/JedWatson)! - Fixed an issue where invalid items would crash session initialisation
2868
-
2869
- - [`c1e8def9a`](https://github.com/nixxiecms/nixxie/commit/c1e8def9a4204d685a796e267edc50f6ef2e8c51) [#4531](https://github.com/nixxiecms/nixxie/pull/4531) Thanks [@timleslie](https://github.com/timleslie)! - Updated `addApolloServer` to accept explicit `createContext` and `graphQLSchema` arguments.
2870
-
2871
- * [`08398473b`](https://github.com/nixxiecms/nixxie/commit/08398473bb81dfd43a3c134ed8de61e45aa770f0) [#4545](https://github.com/nixxiecms/nixxie/pull/4545) Thanks [@timleslie](https://github.com/timleslie)! - Moved `createAdminMeta` into the `@nixxie-next/admin-ui` package.
2872
-
2873
- * Updated dependencies [[`364ac9254`](https://github.com/nixxiecms/nixxie/commit/364ac9254735befd2d4804789bb62464bb51ee5b), [`841be0bc9`](https://github.com/nixxiecms/nixxie/commit/841be0bc9d192cf64399231a543a9ba9ff41b9a0), [`2d3668c49`](https://github.com/nixxiecms/nixxie/commit/2d3668c49d1913afecbacf2b5ef164e553210956), [`6912c7b9d`](https://github.com/nixxiecms/nixxie/commit/6912c7b9dc3d786e61e6f657b0886b258d942c30), [`e33cf0c1e`](https://github.com/nixxiecms/nixxie/commit/e33cf0c1e78ae69cffaf45009e47ca1198464cf2), [`defd05365`](https://github.com/nixxiecms/nixxie/commit/defd05365f31d0d6d4b6fd9ffe0a0c3928f97e79), [`5c75534f6`](https://github.com/nixxiecms/nixxie/commit/5c75534f6e9e0f10a6556a1f1dc87b5fdd986dd4), [`6d09df338`](https://github.com/nixxiecms/nixxie/commit/6d09df3381d1682b8002d52ed1696b661fdff035), [`d329f07a5`](https://github.com/nixxiecms/nixxie/commit/d329f07a5ce7ebf5d658a7f90334ba4372a2a72d), [`39639b203`](https://github.com/nixxiecms/nixxie/commit/39639b2031bb749067ef537ea47e5d93a8bb89da), [`661104764`](https://github.com/nixxiecms/nixxie/commit/66110476491953af2134cd3cd4e3ef7c361ac5da), [`dab8121a6`](https://github.com/nixxiecms/nixxie/commit/dab8121a6a8eae4c42a5a9ecbdb72a3e8b1eeda4), [`481e456ac`](https://github.com/nixxiecms/nixxie/commit/481e456ac4158207436ddd9be18fdca0f27b6409), [`08398473b`](https://github.com/nixxiecms/nixxie/commit/08398473bb81dfd43a3c134ed8de61e45aa770f0), [`2308e5efc`](https://github.com/nixxiecms/nixxie/commit/2308e5efc7c6893c87652411496b15a8124f6e05), [`4d3cb8e32`](https://github.com/nixxiecms/nixxie/commit/4d3cb8e32b22250fdbe04af758b0aad727ba63e4), [`f2c7675fb`](https://github.com/nixxiecms/nixxie/commit/f2c7675fb51ed41e6df8248c76b9322d6de5ee0d)]:
2874
- - @nixxiecms/adapter-mongoose@10.1.0
2875
- - @nixxie-next/fields@4.0.0
2876
- - @nixxie-next/admin-ui@5.0.0
2877
- - @nixxiecms/adapter-prisma@1.1.0
2878
- - @nixxie-next/types@7.0.0
2879
-
2880
- ## 6.0.0
2881
-
2882
- ### Major Changes
2883
-
2884
- - [`dc58df5c8`](https://github.com/nixxiecms/nixxie/commit/dc58df5c87d694ce94b7d1c2b20d4976176dbd13) [#4493](https://github.com/nixxiecms/nixxie/pull/4493) Thanks [@timleslie](https://github.com/timleslie)! - Renamed `SerializedFieldMeta.views` to `SerializedFieldMeta.viewsIndex` to makes it clear that this is the index, not the views object itself.
2885
-
2886
- * [`c89b43d07`](https://github.com/nixxiecms/nixxie/commit/c89b43d076f157041c154473221785e41589936f) [#4453](https://github.com/nixxiecms/nixxie/pull/4453) Thanks [@timleslie](https://github.com/timleslie)! - `context.createContext()` now inherits the argument values for `sessionContext` and `skipAccessControl` from `context` as defaults.
2887
-
2888
- This means, for example, that
2889
-
2890
- ```js
2891
- context.createContext({ skipAccessControl: true })
2892
- ```
2893
-
2894
- will create a new context with the same `sessionContext` that the original `context` object had.
2895
-
2896
- - [`a5d7b264a`](https://github.com/nixxiecms/nixxie/commit/a5d7b264ad3e5590e335758881d22f7f296203c9) [#4473](https://github.com/nixxiecms/nixxie/pull/4473) Thanks [@timleslie](https://github.com/timleslie)! - Added a `resolveFields: false | string` argument to the items API methods.
2897
-
2898
- This function controls the return type of the methods on the items API.
2899
- If a `string` value is provided, it will be interpreted as a graphQL field specification fragment.
2900
- The method will construct and run a graphQL operation and return the values specified by `resolveFields`.
2901
- The default value for `resolveFields` is `id`.
2902
-
2903
- For example, to find the title and author name for all posts in our system we would run:
2904
-
2905
- ```js
2906
- const posts = await context.lists.Post.findMany({
2907
- resolveFields: 'id title author { id name }',
2908
- })
2909
- ```
2910
-
2911
- If `resolveFields: false` is provided, this indicates to the method that no field-resolving is desired.
2912
- Instead, the method will return the result of the item-level resolver for the corresponding operation.
2913
- These objects are the internal data representation of the items in the system which would normally be passed to the field resolvers.
2914
-
2915
- This flag is most useful in two specific scenarios. Firstly, if you need to inspect data which isn't generally available as a graphQL field, such as password hash values.
2916
-
2917
- Secondly, if you are writing a custom mutation which returns a list item type, such as `Post`. For example
2918
-
2919
- ```js
2920
- export const extendGraphqlSchema = graphQLSchemaExtension({
2921
- typeDefs: `
2922
- type Mutation {
2923
- topPost(userId: ID): Post
2924
- }
2925
- `,
2926
- resolvers: {
2927
- Mutation: {
2928
- topPost: (root, { userId }: { userId: string }, context) => {
2929
- return context.lists.Post.findMany({
2930
- where: { user: { id: userId } },
2931
- first: 1,
2932
- sortBy: ["stars_DESC"],
2933
- resolveFields: false,
2934
- });
2935
- },
2936
- },
2937
- },
2938
- });
2939
- ```
2940
-
2941
- * [`b7a4b997b`](https://github.com/nixxiecms/nixxie/commit/b7a4b997bae5b2269bea0ad94ca771e63c26ab95) [#4501](https://github.com/nixxiecms/nixxie/pull/4501) Thanks [@timleslie](https://github.com/timleslie)! - Removed `sessionImplementation` from `NixxieSystem` and instead pass it explicitly where needed.
2942
-
2943
- - [`ca34424d5`](https://github.com/nixxiecms/nixxie/commit/ca34424d58e58cc4a657828b1362978be8ee4f62) [#4494](https://github.com/nixxiecms/nixxie/pull/4494) Thanks [@timleslie](https://github.com/timleslie)! - Renamed `NixxieSystem.views` to `NixxieSystem.allViews`.
2944
-
2945
- * [`b21b62ed5`](https://github.com/nixxiecms/nixxie/commit/b21b62ed59fcd83ef2fc89587544b9d64522ba27) [#4477](https://github.com/nixxiecms/nixxie/pull/4477) Thanks [@timleslie](https://github.com/timleslie)! - Changed the type `SessionContext` to have parameters `startSession` and `endSession` as required. This type also takes a type parameter `T` which corresponds to the data type of the `data` argument to `startSession`.
2946
-
2947
- - [`2da044a0c`](https://github.com/nixxiecms/nixxie/commit/2da044a0cb22dc16a54b7b5555c2b2678e8d4cab) [#4482](https://github.com/nixxiecms/nixxie/pull/4482) Thanks [@timleslie](https://github.com/timleslie)! - Removed `config` from type `NixxieSystem`. The config object is now explicitly passed around where needed to make it clear which code is consuming it.
2948
- Type `NixxieAdminUIConfig.getAdditionalFiles` now takes a `config` parameter.
2949
-
2950
- * [`3f3c65ab2`](https://github.com/nixxiecms/nixxie/commit/3f3c65ab2d206ef1c72f17259e73fb24a79f0a9b) [#4458](https://github.com/nixxiecms/nixxie/pull/4458) Thanks [@timleslie](https://github.com/timleslie)! - Removed `createContextFromRequest` and `createSessionContext` from `NixxieSystem` and replaced them with `sessionImplementation`, which provides the same core functionality.
2951
-
2952
- - [`fe52e25e0`](https://github.com/nixxiecms/nixxie/commit/fe52e25e04db121adbc6a0ce3bd0dbe1c7270180) [#4492](https://github.com/nixxiecms/nixxie/pull/4492) Thanks [@timleslie](https://github.com/timleslie)! - Replaced the `system` argument on `SessionStrategy.start`, '.end`, and`.get`with`createContext`.
2953
-
2954
- * [`c9c96cf71`](https://github.com/nixxiecms/nixxie/commit/c9c96cf718fce657ed15a75ae8e836dcedcf5326) [#4452](https://github.com/nixxiecms/nixxie/pull/4452) Thanks [@timleslie](https://github.com/timleslie)! - The items API (`context.lists.Post.findOne()`, etc) now use the `context` object they are bound to, rather than creating a new context object with `{ skipAccessControl: true }` when executing the operation.
2955
-
2956
- If you were relying on this behaviour you should change your code from:
2957
-
2958
- ```js
2959
- context.lists.Post.findOne(...)
2960
- ```
2961
-
2962
- to
2963
-
2964
- ```js
2965
- context.createContext({ skipAccessControl: true }).lists.Post.findOne(...)
2966
- ```
2967
-
2968
- ### Minor Changes
2969
-
2970
- - [`68d361d25`](https://github.com/nixxiecms/nixxie/commit/68d361d2596e8811caf00390c60341ef0c233c7b) [#4467](https://github.com/nixxiecms/nixxie/pull/4467) Thanks [@timleslie](https://github.com/timleslie)! - Added type for `BaseNixxie.createApolloServer()`.
2971
-
2972
- ### Patch Changes
2973
-
2974
- - [`cffa011f7`](https://github.com/nixxiecms/nixxie/commit/cffa011f79a49e2f5c9165f82e6dff09a88a5b6d) [#4456](https://github.com/nixxiecms/nixxie/pull/4456) Thanks [@timleslie](https://github.com/timleslie)! - Refactored code to use the original `config` object, rather than `system.config`.
2975
-
2976
- * [`192cbed74`](https://github.com/nixxiecms/nixxie/commit/192cbed74267b68be7de632667261ab943be1e2a) [#4499](https://github.com/nixxiecms/nixxie/pull/4499) Thanks [@timleslie](https://github.com/timleslie)! - Updated and renamed `adminMetaSchemaExtension` to no longer perform the schema merge operation. It now simply returns `{ typeDefs, resolvers }` and allows the calling function to merge them as required, and is renamed to `getAdminMetaSchema`.
2977
-
2978
- - [`e78d837b1`](https://github.com/nixxiecms/nixxie/commit/e78d837b18fba820d3e42cb163420426e2cd3c38) [#4460](https://github.com/nixxiecms/nixxie/pull/4460) Thanks [@timleslie](https://github.com/timleslie)! - Renamed helper function `sessionStrategy` to `asSessionStrategy` to avoid naming clashes.
2979
-
2980
- * [`914beac0e`](https://github.com/nixxiecms/nixxie/commit/914beac0ed8e702b1dcd606e2f67c940b053310b) [#4471](https://github.com/nixxiecms/nixxie/pull/4471) Thanks [@timleslie](https://github.com/timleslie)! - Simplified session and system creation code now that `SessionStrategy.end` and `.start` are required fields.
2981
-
2982
- - [`554917760`](https://github.com/nixxiecms/nixxie/commit/554917760cc76209c034b96452781c61c60d94d0) [#4454](https://github.com/nixxiecms/nixxie/pull/4454) Thanks [@timleslie](https://github.com/timleslie)! - Decoupled DB connection from Admin UI server setup.
2983
-
2984
- * [`341ee2b4b`](https://github.com/nixxiecms/nixxie/commit/341ee2b4b7eab89f296146ff9e14ce53233235f6) [#4475](https://github.com/nixxiecms/nixxie/pull/4475) Thanks [@timleslie](https://github.com/timleslie)! - Use `SerializedAdminMeta` in `createGraphQLSchema` and `FieldType<...>.getAdminMeta?`.
2985
-
2986
- - [`340253f14`](https://github.com/nixxiecms/nixxie/commit/340253f14235084265c6a02fe5958e476f8554ef) [#4455](https://github.com/nixxiecms/nixxie/pull/4455) Thanks [@timleslie](https://github.com/timleslie)! - Renamed `createAdminUIServer` to `createExpressServer` to better capture what this module is doing.
2987
-
2988
- * [`224aeb859`](https://github.com/nixxiecms/nixxie/commit/224aeb859ef30dbea57587efbc54d03074175fba) [#4451](https://github.com/nixxiecms/nixxie/pull/4451) Thanks [@timleslie](https://github.com/timleslie)! - Factored out item API argument processing functions.
2989
-
2990
- - [`ebc9ad096`](https://github.com/nixxiecms/nixxie/commit/ebc9ad0962cb15ac9863268cf857216e51d51b98) [#4500](https://github.com/nixxiecms/nixxie/pull/4500) Thanks [@timleslie](https://github.com/timleslie)! - Removed dependency on `adminMeta` object for generating schema types.
2991
-
2992
- * [`7f571dc7d`](https://github.com/nixxiecms/nixxie/commit/7f571dc7d7c481942ee9d390736e4ea2c083c81c) [#4459](https://github.com/nixxiecms/nixxie/pull/4459) Thanks [@timleslie](https://github.com/timleslie)! - Refactored dev script to apply `applyIdFieldDefaults` before sending `config` object to `createSystem`.
2993
-
2994
- - [`bf22d9f2a`](https://github.com/nixxiecms/nixxie/commit/bf22d9f2afe537111b95571b86d4fd2759eb6a98) [#4498](https://github.com/nixxiecms/nixxie/pull/4498) Thanks [@timleslie](https://github.com/timleslie)! - Removed usage of `nixxie as any`.
2995
-
2996
- * [`3be854440`](https://github.com/nixxiecms/nixxie/commit/3be85444064b8e62e97670594a1d2599ec2fd11c) [#4487](https://github.com/nixxiecms/nixxie/pull/4487) Thanks [@timleslie](https://github.com/timleslie)! - Remove argument `isAccessAllowed` from `adminMetaSchemaExtension`. This value is now calculated internally.
2997
-
2998
- - [`3a0e59832`](https://github.com/nixxiecms/nixxie/commit/3a0e59832b8d910b9cd24c62aab36d2dfa600737) [#4461](https://github.com/nixxiecms/nixxie/pull/4461) Thanks [@timleslie](https://github.com/timleslie)! - Replaced `SessionStrategy<unknown>` with `SessionStrategy<T>` in `implementSession`.
2999
-
3000
- * [`5de960512`](https://github.com/nixxiecms/nixxie/commit/5de960512241e421f72eca496252a9091b9e50c8) [#4468](https://github.com/nixxiecms/nixxie/pull/4468) Thanks [@timleslie](https://github.com/timleslie)! - Optimised `createContext` by precomputing arg-parsing functions at system initialisation.
3001
-
3002
- - [`0be537426`](https://github.com/nixxiecms/nixxie/commit/0be537426bf11b182b1c4387f26357e2ba3e08a5) [#4466](https://github.com/nixxiecms/nixxie/pull/4466) Thanks [@timleslie](https://github.com/timleslie)! - Added an explicit return type for `statelessSessions`.
3003
-
3004
- * [`79ae6462a`](https://github.com/nixxiecms/nixxie/commit/79ae6462aac5ba9e27f9e95eacb2d94e76ce6a77) [#4484](https://github.com/nixxiecms/nixxie/pull/4484) Thanks [@timleslie](https://github.com/timleslie)! - Moved `generateAdminUI` and `createAdminUIServer` into the `@nixxie-next/admin-ui` package.
3005
-
3006
- - [`202767d72`](https://github.com/nixxiecms/nixxie/commit/202767d721719f1ed4455db5a3b5824e9cd8de70) [#4476](https://github.com/nixxiecms/nixxie/pull/4476) Thanks [@timleslie](https://github.com/timleslie)! - Replaced `any` with more specific types in internal code.
3007
-
3008
- - Updated dependencies [[`dc58df5c8`](https://github.com/nixxiecms/nixxie/commit/dc58df5c87d694ce94b7d1c2b20d4976176dbd13), [`a5d7b264a`](https://github.com/nixxiecms/nixxie/commit/a5d7b264ad3e5590e335758881d22f7f296203c9), [`b7a4b997b`](https://github.com/nixxiecms/nixxie/commit/b7a4b997bae5b2269bea0ad94ca771e63c26ab95), [`ca34424d5`](https://github.com/nixxiecms/nixxie/commit/ca34424d58e58cc4a657828b1362978be8ee4f62), [`cffa011f7`](https://github.com/nixxiecms/nixxie/commit/cffa011f79a49e2f5c9165f82e6dff09a88a5b6d), [`192cbed74`](https://github.com/nixxiecms/nixxie/commit/192cbed74267b68be7de632667261ab943be1e2a), [`2338ed731`](https://github.com/nixxiecms/nixxie/commit/2338ed73185cd3d33c62fac69064c8a4950dc3fd), [`57092b7c1`](https://github.com/nixxiecms/nixxie/commit/57092b7c13845fffd1f3767bb609d203afbc2776), [`dbfef6256`](https://github.com/nixxiecms/nixxie/commit/dbfef6256b11d94250885f5f3a11d0ba81ad3b08), [`b21b62ed5`](https://github.com/nixxiecms/nixxie/commit/b21b62ed59fcd83ef2fc89587544b9d64522ba27), [`2da044a0c`](https://github.com/nixxiecms/nixxie/commit/2da044a0cb22dc16a54b7b5555c2b2678e8d4cab), [`341ee2b4b`](https://github.com/nixxiecms/nixxie/commit/341ee2b4b7eab89f296146ff9e14ce53233235f6), [`4b019b8cf`](https://github.com/nixxiecms/nixxie/commit/4b019b8cfcb7bea6f800609da5d07e8c8abfc80a), [`68d361d25`](https://github.com/nixxiecms/nixxie/commit/68d361d2596e8811caf00390c60341ef0c233c7b), [`3f3c65ab2`](https://github.com/nixxiecms/nixxie/commit/3f3c65ab2d206ef1c72f17259e73fb24a79f0a9b), [`bf22d9f2a`](https://github.com/nixxiecms/nixxie/commit/bf22d9f2afe537111b95571b86d4fd2759eb6a98), [`3be854440`](https://github.com/nixxiecms/nixxie/commit/3be85444064b8e62e97670594a1d2599ec2fd11c), [`fe52e25e0`](https://github.com/nixxiecms/nixxie/commit/fe52e25e04db121adbc6a0ce3bd0dbe1c7270180), [`1c12b8204`](https://github.com/nixxiecms/nixxie/commit/1c12b8204f8238997ddaf7337c44cf26ebea9ba4), [`6a364a664`](https://github.com/nixxiecms/nixxie/commit/6a364a664ce16f741408111054f0f3437a63a194), [`79ae6462a`](https://github.com/nixxiecms/nixxie/commit/79ae6462aac5ba9e27f9e95eacb2d94e76ce6a77)]:
3009
- - @nixxie-next/admin-ui@4.0.0
3010
- - @nixxie-next/types@6.0.0
3011
- - @nixxie-next/fields@3.2.2
3012
-
3013
- ## 5.0.0
3014
-
3015
- ### Major Changes
3016
-
3017
- - [`803626e88`](https://github.com/nixxiecms/nixxie/commit/803626e8854f9b7d293bd1829398d25a6692154a) [#4440](https://github.com/nixxiecms/nixxie/pull/4440) Thanks [@JedWatson](https://github.com/JedWatson)! - Changed the `config.db.onConnect` argument to accept a `NixxieContext` instance, created with `{ skipAccessControl: true }`, rather than a `BaseNixxie` instance.
3018
-
3019
- Added database APIs `{ knex?, mongoose?, prisma? }" to`NixxieContext`.
3020
-
3021
- ### Patch Changes
3022
-
3023
- - [`b6498d9f1`](https://github.com/nixxiecms/nixxie/commit/b6498d9f1341648742f2db78fec53b851b36dddd) [#4427](https://github.com/nixxiecms/nixxie/pull/4427) Thanks [@timleslie](https://github.com/timleslie)! - Added a `BaseNixxie` type to replace usage of `any` in all instances.
3024
-
3025
- * [`d36e580cc`](https://github.com/nixxiecms/nixxie/commit/d36e580cc21e4b77a1bd0615c96c0793b9c5dac5) [#4426](https://github.com/nixxiecms/nixxie/pull/4426) Thanks [@timleslie](https://github.com/timleslie)! - Used the `NixxieContext` type rather than `any` where appropriate.
3026
-
3027
- * Updated dependencies [[`b6498d9f1`](https://github.com/nixxiecms/nixxie/commit/b6498d9f1341648742f2db78fec53b851b36dddd), [`d36e580cc`](https://github.com/nixxiecms/nixxie/commit/d36e580cc21e4b77a1bd0615c96c0793b9c5dac5), [`803626e88`](https://github.com/nixxiecms/nixxie/commit/803626e8854f9b7d293bd1829398d25a6692154a)]:
3028
- - @nixxie-next/types@5.0.0
3029
- - @nixxie-next/admin-ui@3.1.2
3030
- - @nixxie-next/fields@3.2.1
3031
-
3032
- ## 4.1.1
3033
-
3034
- ### Patch Changes
3035
-
3036
- - [`6cd469e29`](https://github.com/nixxiecms/nixxie/commit/6cd469e29682ff41a515ed76919efc2bfe0c7567) [#4414](https://github.com/nixxiecms/nixxie/pull/4414) Thanks [@JedWatson](https://github.com/JedWatson)! - Typed nixxie context
3037
-
3038
- * [`139c74a4a`](https://github.com/nixxiecms/nixxie/commit/139c74a4aacfd5230fc86471b9cbd2a3c90bac9a) [#4378](https://github.com/nixxiecms/nixxie/pull/4378) Thanks [@timleslie](https://github.com/timleslie)! - Updated code to consistently use `context` rather than `ctx` for graphQL context variables.
3039
-
3040
- * Updated dependencies [[`8b12f795d`](https://github.com/nixxiecms/nixxie/commit/8b12f795d64dc085ca663921aa6826350d234cd0), [`c9159c956`](https://github.com/nixxiecms/nixxie/commit/c9159c9560efa7f7ae6ef802302c97b7a23f987b), [`6cd469e29`](https://github.com/nixxiecms/nixxie/commit/6cd469e29682ff41a515ed76919efc2bfe0c7567), [`a3a58bcca`](https://github.com/nixxiecms/nixxie/commit/a3a58bcca56943f2240104dae3c816188eead6f1), [`eddd7e795`](https://github.com/nixxiecms/nixxie/commit/eddd7e79599e20f5bef61f240d874b37d0a084c4), [`139c74a4a`](https://github.com/nixxiecms/nixxie/commit/139c74a4aacfd5230fc86471b9cbd2a3c90bac9a), [`b8c2c48ec`](https://github.com/nixxiecms/nixxie/commit/b8c2c48ec3746809894af7347c205f6a95329e8d)]:
3041
- - @nixxie-next/fields@3.2.0
3042
- - @nixxie-next/admin-ui@3.1.1
3043
- - @nixxie-next/types@4.1.1
3044
- - @nixxiecms/nixxie@17.1.2
3045
-
3046
- ## 4.1.0
3047
-
3048
- ### Minor Changes
3049
-
3050
- - [`add3f67e3`](https://github.com/nixxiecms/nixxie/commit/add3f67e379caebbcf0880b4ce82cf6a1e89020b) [#4316](https://github.com/nixxiecms/nixxie/pull/4316) Thanks [@timleslie](https://github.com/timleslie)! - Added a `config.server.cors` option to allow configuration of the cors middleware. Updated the Apollo server middleware to not override cors options.
3051
-
3052
- ### Patch Changes
3053
-
3054
- - [`ad10994d2`](https://github.com/nixxiecms/nixxie/commit/ad10994d271cff6f95e9e412a7e6830742a6d949) [#4317](https://github.com/nixxiecms/nixxie/pull/4317) Thanks [@timleslie](https://github.com/timleslie)! - Added a function `createGraphQLSchema` to `createSystem` to isolate schema generation code.
3055
-
3056
- * [`d2ebd1c39`](https://github.com/nixxiecms/nixxie/commit/d2ebd1c3922f1090bcc8e89c9c70ae880f6a24d9) [#4308](https://github.com/nixxiecms/nixxie/pull/4308) Thanks [@timleslie](https://github.com/timleslie)! - Fixed `itemAPI` `count()` function.
3057
-
3058
- * Updated dependencies [[`add3f67e3`](https://github.com/nixxiecms/nixxie/commit/add3f67e379caebbcf0880b4ce82cf6a1e89020b), [`2d5f78207`](https://github.com/nixxiecms/nixxie/commit/2d5f78207103caaf8f86a4dd05b7e4b0a4795213), [`2d5f78207`](https://github.com/nixxiecms/nixxie/commit/2d5f78207103caaf8f86a4dd05b7e4b0a4795213)]:
3059
- - @nixxie-next/types@4.1.0
3060
- - @nixxie-next/fields@3.1.0
3061
- - @nixxie-next/admin-ui@3.1.0
3062
-
3063
- ## 4.0.0
3064
-
3065
- ### Major Changes
3066
-
3067
- - [`c60b229ec`](https://github.com/nixxiecms/nixxie/commit/c60b229ec38b4845ac606ee83b9787a97834baf3) [#4299](https://github.com/nixxiecms/nixxie/pull/4299) Thanks [@timleslie](https://github.com/timleslie)! - Renamed `createNixxie` to `createSystem` to make it consistent with the type names.
3068
-
3069
- * [`cc987d078`](https://github.com/nixxiecms/nixxie/commit/cc987d078653fd9e686069f9f885f1269b64a882) [#4269](https://github.com/nixxiecms/nixxie/pull/4269) Thanks [@timleslie](https://github.com/timleslie)! - Renamed `nixxie` argument of `NixxieAdminUIConfig.getAdditionalFiles()` and `NixxieAdminUIConfig.pageMiddleware()` to `system`.
3070
- Renamed `nixxie` argument of `SessionStrategy.start`, `SessionStrategy.end` and `SessionStrategy.get` to `system`.
3071
-
3072
- ### Minor Changes
3073
-
3074
- - [`c858a05fe`](https://github.com/nixxiecms/nixxie/commit/c858a05fee6dc3ed3d80db9fdf50944217bee072) [#4246](https://github.com/nixxiecms/nixxie/pull/4246) Thanks [@timleslie](https://github.com/timleslie)! - Added `executeGraphQL` and `gqlNames` to the `context` object. This provides the compatibility required to use `@nixxiecms/server-side-graphql-client` in projects using the new interfaces.
3075
-
3076
- ### Patch Changes
3077
-
3078
- - [`96a1d5226`](https://github.com/nixxiecms/nixxie/commit/96a1d52263db625cd117ab85cb6a4a5c3888fdca) [#4286](https://github.com/nixxiecms/nixxie/pull/4286) Thanks [@JedWatson](https://github.com/JedWatson)! - Fixed behaviour in withItemData when session listKey and itemId aren't valid
3079
-
3080
- * [`11777cddb`](https://github.com/nixxiecms/nixxie/commit/11777cddba45b28a9e17a3149b792db121322b46) [#4263](https://github.com/nixxiecms/nixxie/pull/4263) Thanks [@timleslie](https://github.com/timleslie)! - Renamed the type `Nixxie` to `NixxieSystem` to avoid confusion with the core `Nixxie` class.
3081
-
3082
- - [`5866cb81f`](https://github.com/nixxiecms/nixxie/commit/5866cb81fd462b86851deb0a88e5034f1934ac84) [#4268](https://github.com/nixxiecms/nixxie/pull/4268) Thanks [@timleslie](https://github.com/timleslie)! - Refactored `createNixxie` to isolate admin UI related setup.
3083
-
3084
- * [`d1ea5e667`](https://github.com/nixxiecms/nixxie/commit/d1ea5e66750175e907f41a58c15fce86a4b4ea77) [#4264](https://github.com/nixxiecms/nixxie/pull/4264) Thanks [@timleslie](https://github.com/timleslie)! - Factored out a `_createNixxie` function to allow for backwards compatibility.
3085
-
3086
- - [`9fddeee41`](https://github.com/nixxiecms/nixxie/commit/9fddeee41b7e0dbb3854e5ce6abea4cdeeaa81d0) [#4300](https://github.com/nixxiecms/nixxie/pull/4300) Thanks [@timleslie](https://github.com/timleslie)! - Removed unused `connect()` and `disconnect()` functions from the object returned by `implementSession()`.
3087
-
3088
- * [`cc987d078`](https://github.com/nixxiecms/nixxie/commit/cc987d078653fd9e686069f9f885f1269b64a882) [#4269](https://github.com/nixxiecms/nixxie/pull/4269) Thanks [@timleslie](https://github.com/timleslie)! - Renamed `nixxie` argument of `writeAdminFiles()` to `system`.
3089
-
3090
- * Updated dependencies [[`11777cddb`](https://github.com/nixxiecms/nixxie/commit/11777cddba45b28a9e17a3149b792db121322b46), [`cbf11a69b`](https://github.com/nixxiecms/nixxie/commit/cbf11a69b8f2c428e2c0a08dd568b3bc0e0d80f4), [`81a140ee3`](https://github.com/nixxiecms/nixxie/commit/81a140ee3badc9c032ab02a233a21d011278e173), [`b2de22941`](https://github.com/nixxiecms/nixxie/commit/b2de229419cc93b69ee4027c387cab9c8d701488), [`cc987d078`](https://github.com/nixxiecms/nixxie/commit/cc987d078653fd9e686069f9f885f1269b64a882), [`60e061246`](https://github.com/nixxiecms/nixxie/commit/60e061246bc35b76031f43ff6c07446fe6ad3c6b), [`cc987d078`](https://github.com/nixxiecms/nixxie/commit/cc987d078653fd9e686069f9f885f1269b64a882)]:
3091
- - @nixxie-next/admin-ui@3.0.0
3092
- - @nixxie-next/types@4.0.0
3093
- - @nixxie-next/fields@3.0.1
3094
-
3095
- ## 3.0.0
3096
-
3097
- ### Major Changes
3098
-
3099
- - [`98dd7dcff`](https://github.com/nixxiecms/nixxie/commit/98dd7dcffa797eb40eb1713ba1ac2697dfef95e3) [#4200](https://github.com/nixxiecms/nixxie/pull/4200) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Renamed CRUD API to Items API and changed property on context from `crud` to `lists`
3100
-
3101
- * [`fab97f6b4`](https://github.com/nixxiecms/nixxie/commit/fab97f6b416d7040cdd159be379e226142fc189c) [#4238](https://github.com/nixxiecms/nixxie/pull/4238) Thanks [@timleslie](https://github.com/timleslie)! - Uses the new `field.getBackingTypes()` method on core field objects to generate types.
3102
-
3103
- ### Minor Changes
3104
-
3105
- - [`d2cfd6106`](https://github.com/nixxiecms/nixxie/commit/d2cfd6106b44b13254ff1e18601ef943c4211faf) [#4183](https://github.com/nixxiecms/nixxie/pull/4183) Thanks [@JedWatson](https://github.com/JedWatson)! - Always load the session item in withItemData. The second argument to `withItemData` is now optional.
3106
-
3107
- * [`d02957453`](https://github.com/nixxiecms/nixxie/commit/d029574533c179fa53f65c0e0ba3812dab2ba4ad) [#4239](https://github.com/nixxiecms/nixxie/pull/4239) Thanks [@timleslie](https://github.com/timleslie)! - Added support for `config.db.onConnect` in the new APIs. This is passed through as `Nixxie{ onConnect }` to the core object.
3108
-
3109
- - [`8f4ebd5f7`](https://github.com/nixxiecms/nixxie/commit/8f4ebd5f70251ccdfb6b5ce14efb9fb59f5d2b3d) [#4201](https://github.com/nixxiecms/nixxie/pull/4201) Thanks [@JedWatson](https://github.com/JedWatson)! - New internal graphql api
3110
-
3111
- * [`b89377c9c`](https://github.com/nixxiecms/nixxie/commit/b89377c9c668c6a4b1be742a177cfb50568d48bf) [#4230](https://github.com/nixxiecms/nixxie/pull/4230) Thanks [@JedWatson](https://github.com/JedWatson)! - Add Cross-Origin Resource Support to the dev server
3112
-
3113
- ### Patch Changes
3114
-
3115
- - [`98e8fd4bc`](https://github.com/nixxiecms/nixxie/commit/98e8fd4bc586c732d629328ef643014ce42442ed) [#4212](https://github.com/nixxiecms/nixxie/pull/4212) Thanks [@JedWatson](https://github.com/JedWatson)! - Rename NixxieItemAPI to NixxieListsAPI
3116
-
3117
- * [`bc198775e`](https://github.com/nixxiecms/nixxie/commit/bc198775ed27d356017b4a0c6aadeba47e37ce2e) [#4241](https://github.com/nixxiecms/nixxie/pull/4241) Thanks [@JedWatson](https://github.com/JedWatson)! - Expanded the defaults for labelField to include "label" and "title"
3118
-
3119
- - [`b9e93cb66`](https://github.com/nixxiecms/nixxie/commit/b9e93cb66e8559858ecfbfee3244a761f821b9ec) [#4236](https://github.com/nixxiecms/nixxie/pull/4236) Thanks [@timleslie](https://github.com/timleslie)! - Removed unnecessary intermediate functions from initialisation step.
3120
-
3121
- * [`9928da13e`](https://github.com/nixxiecms/nixxie/commit/9928da13ecca03fed560a42e1071afc59c0feb3b) [#4242](https://github.com/nixxiecms/nixxie/pull/4242) Thanks [@timleslie](https://github.com/timleslie)! - Removed `name` field from `NixxieConfig` type, as it doesn't actually do anything.
3122
-
3123
- - [`dce39ca1b`](https://github.com/nixxiecms/nixxie/commit/dce39ca1be682647b05a2b59710f05e421b140a1) [#4235](https://github.com/nixxiecms/nixxie/pull/4235) Thanks [@timleslie](https://github.com/timleslie)! - Removed unused utils code and applied internal cosmetic changes.
3124
-
3125
- - Updated dependencies [[`fd4b0d04c`](https://github.com/nixxiecms/nixxie/commit/fd4b0d04cd9ab8ba12653f1e64fdf08d8cb0c4db), [`c103cde7d`](https://github.com/nixxiecms/nixxie/commit/c103cde7da198cd7e9adefa763c51e433680e800), [`84e651c3f`](https://github.com/nixxiecms/nixxie/commit/84e651c3f08fdfc11628490c9d55229dc360f52a), [`98e8fd4bc`](https://github.com/nixxiecms/nixxie/commit/98e8fd4bc586c732d629328ef643014ce42442ed), [`d02957453`](https://github.com/nixxiecms/nixxie/commit/d029574533c179fa53f65c0e0ba3812dab2ba4ad), [`549a9a06d`](https://github.com/nixxiecms/nixxie/commit/549a9a06d9dbeb514aad724ece603a3fa7fc8cb6), [`400a6e50c`](https://github.com/nixxiecms/nixxie/commit/400a6e50cba643f4b142858bb1cac83a50ab020d), [`302afe226`](https://github.com/nixxiecms/nixxie/commit/302afe226162452c91d9e2f11f5c29552df70c6a), [`98dd7dcff`](https://github.com/nixxiecms/nixxie/commit/98dd7dcffa797eb40eb1713ba1ac2697dfef95e3), [`7afde2fb5`](https://github.com/nixxiecms/nixxie/commit/7afde2fb516e1d3824d73a96308abb4a6b022400), [`8291187de`](https://github.com/nixxiecms/nixxie/commit/8291187de347784f21e4d856ed1eefbc5b8a103b), [`fab97f6b4`](https://github.com/nixxiecms/nixxie/commit/fab97f6b416d7040cdd159be379e226142fc189c), [`36cf9b0a9`](https://github.com/nixxiecms/nixxie/commit/36cf9b0a9f6c9c2cd3c823146135f86d4152718b), [`6eb4def9a`](https://github.com/nixxiecms/nixxie/commit/6eb4def9a1be293872e59bcf6472866c0981b45f), [`8f4ebd5f7`](https://github.com/nixxiecms/nixxie/commit/8f4ebd5f70251ccdfb6b5ce14efb9fb59f5d2b3d), [`2a2a7c00b`](https://github.com/nixxiecms/nixxie/commit/2a2a7c00b74028b758006219781cbbd22909be85), [`8e77254a2`](https://github.com/nixxiecms/nixxie/commit/8e77254a262a4c892263e30044803b463750c3e9), [`28e2b43d4`](https://github.com/nixxiecms/nixxie/commit/28e2b43d4a5a4624b3ad6683e5f4f0116a5971f4), [`b9e643dc6`](https://github.com/nixxiecms/nixxie/commit/b9e643dc6c66f75bc6d5b6ced74d91ba3ee7533d), [`cfa0d8275`](https://github.com/nixxiecms/nixxie/commit/cfa0d8275c89f09b89643c801b208161348b4f65), [`9928da13e`](https://github.com/nixxiecms/nixxie/commit/9928da13ecca03fed560a42e1071afc59c0feb3b), [`0e65409c7`](https://github.com/nixxiecms/nixxie/commit/0e65409c7416d285fdc4f9da4a7dfb0f652c6cb2)]:
3126
- - @nixxie-next/fields@3.0.0
3127
- - @nixxie-next/admin-ui@2.0.2
3128
- - @nixxie-next/types@3.0.0
3129
-
3130
- ## 2.0.0
3131
-
3132
- ### Major Changes
3133
-
3134
- - [`ae0fc4d78`](https://github.com/nixxiecms/nixxie/commit/ae0fc4d787ba47eb9e5258a20a57f76124aee797) [#4132](https://github.com/nixxiecms/nixxie/pull/4132) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Add CardValue export from field views
3135
-
3136
- ### Patch Changes
3137
-
3138
- - [`166acb9bf`](https://github.com/nixxiecms/nixxie/commit/166acb9bf211e0ee8a90d4740f6ebc54ffe72dec) [#4138](https://github.com/nixxiecms/nixxie/pull/4138) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Handle non-builtin GraphQL scalar types when generating types
3139
-
3140
- - Updated dependencies [[`166acb9bf`](https://github.com/nixxiecms/nixxie/commit/166acb9bf211e0ee8a90d4740f6ebc54ffe72dec), [`ae0fc4d78`](https://github.com/nixxiecms/nixxie/commit/ae0fc4d787ba47eb9e5258a20a57f76124aee797), [`166acb9bf`](https://github.com/nixxiecms/nixxie/commit/166acb9bf211e0ee8a90d4740f6ebc54ffe72dec), [`ae0fc4d78`](https://github.com/nixxiecms/nixxie/commit/ae0fc4d787ba47eb9e5258a20a57f76124aee797), [`71b74161d`](https://github.com/nixxiecms/nixxie/commit/71b74161dfc9d7f0b918a3451cf545935afce94d), [`ae0fc4d78`](https://github.com/nixxiecms/nixxie/commit/ae0fc4d787ba47eb9e5258a20a57f76124aee797), [`f3c0f79e3`](https://github.com/nixxiecms/nixxie/commit/f3c0f79e3005aa6a8e867efef4431b83bbdf9898), [`ae0fc4d78`](https://github.com/nixxiecms/nixxie/commit/ae0fc4d787ba47eb9e5258a20a57f76124aee797)]:
3141
- - @nixxie-next/types@2.0.0
3142
- - @nixxie-next/fields@2.0.0
3143
- - @nixxie-next/admin-ui@2.0.0
3144
-
3145
- ## 1.0.0
3146
-
3147
- ### Major Changes
3148
-
3149
- - [`9d360a67b`](https://github.com/nixxiecms/nixxie/commit/9d360a67b69ec38e3018fe132b1e34f24956f86c) [#4106](https://github.com/nixxiecms/nixxie/pull/4106) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Initial release
3150
-
3151
- ### Patch Changes
3152
-
3153
- - Updated dependencies [[`9d360a67b`](https://github.com/nixxiecms/nixxie/commit/9d360a67b69ec38e3018fe132b1e34f24956f86c), [`2d660b2a1`](https://github.com/nixxiecms/nixxie/commit/2d660b2a1dd013787e022cad3a0c70dbe08c60da), [`3dd5c570a`](https://github.com/nixxiecms/nixxie/commit/3dd5c570a27d0795a689407d96fc9623c90a66df)]:
3154
- - @nixxie-next/admin-ui@1.0.0
3155
- - @nixxie-next/fields@1.0.0
3156
- - @nixxie-next/types@1.0.0
3157
- - @nixxiecms/adapter-mongoose@10.0.1
3158
- - @nixxiecms/nixxie@17.1.1