@tinacms/datalayer 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,798 @@
1
+ # tina-graphql
2
+
3
+ ## 0.59.1
4
+
5
+ ### Patch Changes
6
+
7
+ - f46c6f987: Fix type definitions for schema metadata so they're optional
8
+
9
+ ## 0.59.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 62bea7019: #2323: fix saving bold and italic text in rich-text editor
14
+
15
+ ### Patch Changes
16
+
17
+ - bd4e1f802: Pin version number from @tinacms/graphql during schema compilation. This can be used to ensure the proper version is provided when working with Tina Cloud
18
+
19
+ ## 0.58.2
20
+
21
+ ### Patch Changes
22
+
23
+ - fffce3af8: Don't cache graphql schema during resolution, this was causing the schema to go stale, while updating the schema.gql, so GraphQL tooling thought the value was updated, but the server was still holding on to the cached version
24
+
25
+ ## 0.58.1
26
+
27
+ ### Patch Changes
28
+
29
+ - 4700d7ae4: Patch fix to ensure builds include latest dependencies
30
+
31
+ ## 0.58.0
32
+
33
+ ### Minor Changes
34
+
35
+ - fa7a0419f: Adds experimental support for a data layer between file-based content and the GraphQL API. This allows documents to be indexed so the CMS can behave more like a traditional CMS, with the ability enforce foreign reference constraints and filtering/pagination capabilities.
36
+
37
+ ### Patch Changes
38
+
39
+ - eb5fbfac7: Ensure GraphQL resolve doesn't access "bridge" documents
40
+ - 47d126029: Fix support of objects in a list for MDX templates
41
+
42
+ ## 0.57.2
43
+
44
+ ### Patch Changes
45
+
46
+ - edb2f4011: Trim path property on collections during compilation
47
+
48
+ ## 0.57.1
49
+
50
+ ### Patch Changes
51
+
52
+ - 60729f60c: Adds a `reference` field
53
+
54
+ ## 0.57.0
55
+
56
+ ### Minor Changes
57
+
58
+ - ed277e3bd: Remove aws dependency and cache logic from GithubBridge
59
+ - d1ed404ba: Add support for auto-generated SDK for type-safe data fetching
60
+
61
+ ### Patch Changes
62
+
63
+ - 138ceb8c4: Clean up dependencies
64
+ - 577d6a5ad: Adds collection arg back for generic queries as optional
65
+
66
+ ## 0.56.1
67
+
68
+ ### Patch Changes
69
+
70
+ - 4b7795612: Adds support for collection.templates to TinaAdmin
71
+
72
+ ## 0.56.0
73
+
74
+ ### Minor Changes
75
+
76
+ - b99baebf1: Add rich-text editor based on mdx, bump React dependency requirement to 16.14
77
+
78
+ ### Patch Changes
79
+
80
+ - 891623c7c: Adds support for List and Update to TinaAdmin
81
+
82
+ ## 0.55.2
83
+
84
+ ### Patch Changes
85
+
86
+ - 9ecb392ca: Fix bug which would set markdown body to undefined when the payload was emptry"
87
+
88
+ ## 0.55.1
89
+
90
+ ### Patch Changes
91
+
92
+ - ff4446c8e: Adds `getDocumentFields()` query for use with Tina Admin
93
+ - 667c33e2a: Add support for rich-text field, update build script to work with unified packages, which are ESM-only
94
+
95
+ ## 0.55.0
96
+
97
+ ### Minor Changes
98
+
99
+ - f3bddeb4a: Added new warning messages for list UI that we do not support by default
100
+
101
+ ### Patch Changes
102
+
103
+ - 2908f8176: Fixes an issue where nested reference fields weren't updated properly when their values changed.
104
+ - 5d83643b2: Adds create document mutations
105
+
106
+ ## 0.54.3
107
+
108
+ ### Patch Changes
109
+
110
+ - 9b27192fe: Build packages with new scripting, which includes preliminary support for ES modules.
111
+
112
+ ## 0.54.2
113
+
114
+ ### Patch Changes
115
+
116
+ - d94fec611: Improve exported types for defineSchema
117
+
118
+ ## 0.54.1
119
+
120
+ ### Patch Changes
121
+
122
+ - 4de977f63: Makes `DateFieldPlugin` timezone-friendly
123
+
124
+ ## 0.54.0
125
+
126
+ ### Minor Changes
127
+
128
+ - 7663e0f7f: Fixed windows issue where you could not save a file
129
+
130
+ ## 0.53.0
131
+
132
+ ### Minor Changes
133
+
134
+ - b4f5e973f: Update datetime field to expect and receive ISO string
135
+
136
+ ## 0.52.2
137
+
138
+ ### Patch Changes
139
+
140
+ - b4bbdda86: Better error messaging when no tina schema files are found
141
+
142
+ ## 0.52.1
143
+
144
+ ### Patch Changes
145
+
146
+ - b05c91c6: Remove console.log
147
+
148
+ ## 0.52.0
149
+
150
+ ### Minor Changes
151
+
152
+ - aa4507697: When working with a new document that queries for a reference, we were not properly building the path information required to update that reference, resulting in an error until the page was refreshed.
153
+
154
+ ## 0.51.1
155
+
156
+ ### Patch Changes
157
+
158
+ - 589c7806: Fix issue where the `isBody` field wasn't properly removing that value from frontmatter. Ensure that the field is not treating any differently for JSON format
159
+
160
+ ## 0.51.0
161
+
162
+ ### Minor Changes
163
+
164
+ - 5a934f6b: Fixed windows path issues
165
+
166
+ ### Patch Changes
167
+
168
+ - 271a72d7: Use collection label (defined in schema.ts) as form label
169
+
170
+ ## 0.50.2
171
+
172
+ ### Patch Changes
173
+
174
+ - 0970961f: addPendingDocument was expecting params, which are not supported for new doc creation at this time
175
+
176
+ ## 0.50.1
177
+
178
+ ### Patch Changes
179
+
180
+ - 65b3e3a3: Uses checkbox-group field
181
+
182
+ ## 0.50.0
183
+
184
+ ### Minor Changes
185
+
186
+ - 7f3c8c1a: # 🔧 Changes coming to TinaCMS ⚙️
187
+
188
+ 👋 You may have noticed we've been hard at-work lately building out a more opinionated approach to TinaCMS. To that end, we've settled around a few key points we'd like to announce. To see the work in progress, check out the [main](https://github.com/tinacms/tinacms/tree/main) branch, which will become the primary branch soon.
189
+
190
+ ## Consolidating @tinacms packages in to @tinacms/toolkit
191
+
192
+ By nature, Tina relies heavily on React context, and the dependency mismatches from over-modularizing our toolkit has led to many bugs related to missing context. To fix this, we'll be consolidating nearly every package in the @tinacms scope to a single package called `@tinacms/toolkit`
193
+
194
+ We'll also be rolling out esm support as it's now much easier to address build improvements
195
+
196
+ ## A more focused tinacms package
197
+
198
+ The `tinacms` package now comes baked-in with APIs for working with the TinaCMS GraphQL API. Because `@tinacms/toolkit` now encompasses everything you'd need to build your own CMS integration, we're repurposing the `tinacms` package to more accurately reflect the "batteries-included" approach.
199
+
200
+ If you haven't been introduced, the GraphQL API is a Git-backed CMS which we'll be leaning into more in the future. With a generous free tier and direct syncing with Github its something we're really excited to push forward. Sign up for free here
201
+ Note: tinacms still exports the same APIs, but we'll gradually start moving the backend-agnostic tools to @tinacms/toolkit.
202
+
203
+ ## Consolidating the tina-graphql-gateway repo
204
+
205
+ The tina-graphql-gateway repo will be absorbed into this one. If you've been working with our GraphQL APIs you'll need to follow our migration guide.
206
+
207
+ ## Moving from Lerna to Yarn PNP
208
+
209
+ We've had success with Yarn 2 and PNP in other monorepos, if you're a contributor you'll notice some updates to the DX, which should hopefully result in a smoother experience.
210
+
211
+ ## FAQ
212
+
213
+ ### What about other backends?
214
+
215
+ The `@tinacms/toolkit` isn't going anywhere. And if you're using packages like `react-tinacms-strapi` or r`eact-tinacms-github` with success, that won't change much, they'll just be powered by `@tinacms/toolkit` under the hood.
216
+
217
+ ### Do I need to do anything?
218
+
219
+ We'll be bumping all packages to `0.50.0` to reflect the changes. If you're using @tincams scoped packages those won't receive the upgrade. Unscoped packages like `react-tinacms-editor` will be upgraded, and should be bumped to 0.50.0 as well.
220
+ When we move to `1.0.0` we'll be pushing internal APIs to `@tinacms/toolkit`, so that's the long-term location of
221
+
222
+ ### Will you continue to patch older versions?
223
+
224
+ We'll continue to make security patches, however major bug fixes will likely not see any updates. Keep in mind that `@tinacms/toolkit` will continue to be developed.
225
+
226
+ ## 0.2.0
227
+
228
+ ### Minor Changes
229
+
230
+ - 7351d92f: # Define schema changes
231
+
232
+ We're going to be leaning on a more _primitive_ concept of how types are defined with Tina, and in doing so will be introducing some breaking changes to the way schemas are defined. Read the detailed [RFC discussion](https://github.com/tinacms/rfcs/pull/18) for more on this topic, specifically the [latter portions](https://github.com/tinacms/rfcs/pull/18#issuecomment-805400313) of the discussion.
233
+
234
+ ## Collections now accept a `fields` _or_ `templates` property
235
+
236
+ You can now provide `fields` instead of `templates` for your collection, doing so will result in a more straightforward schema definition:
237
+
238
+ ```js
239
+ {
240
+ collections: [
241
+ {
242
+ name: 'post',
243
+ label: 'Post',
244
+ path: 'content/posts',
245
+ fields: [
246
+ {
247
+ name: 'title',
248
+ label: 'Title',
249
+ type: 'string', // read on below to learn more about _type_ changes
250
+ },
251
+ ],
252
+ // defining `fields` and `templates` would result in a compilation error
253
+ },
254
+ ]
255
+ }
256
+ ```
257
+
258
+ **Why?**
259
+
260
+ Previously, a collection could define multiple templates, the ambiguity introduced with this feature meant that your documents needed a `_template` field on them so we'd know which one they belonged to. It also mean having to disambiguate your queries in graphql:
261
+
262
+ ```graphql
263
+ getPostDocument(relativePage: $relativePath) {
264
+ data {
265
+ ...on Article_Doc_Data {
266
+ title
267
+ }
268
+ }
269
+ }
270
+ ```
271
+
272
+ Going forward, if you use `fields` on a collection, you can omit the `_template` key and simplify your query:
273
+
274
+ ```graphql
275
+ getPostDocument(relativePage: $relativePath) {
276
+ data {
277
+ title
278
+ }
279
+ }
280
+ ```
281
+
282
+ ## `type` changes
283
+
284
+ Types will look a little bit different, and are meant to reflect the lowest form of the shape they can represent. Moving forward, the `ui` field will represent the UI portion of what you might expect. For a blog post "description" field, you'd define it like this:
285
+
286
+ ```js
287
+ {
288
+ type: "string",
289
+ label: "Description",
290
+ name: "description",
291
+ }
292
+ ```
293
+
294
+ By default `string` will use the `text` field, but you can change that by specifying the `component`:
295
+
296
+ ```js
297
+ {
298
+ type: "string",
299
+ label: "Description",
300
+ name: "description",
301
+ ui: {
302
+ component: "textarea"
303
+ }
304
+ }
305
+ ```
306
+
307
+ For the most part, the UI properties are added to the field and adhere to the existing capabilities of Tina's core [field plugins](https://tina.io/docs/fields/). But there's nothing stopping you from providing your own components -- just be sure to register those with the CMS object on the frontend:
308
+
309
+ ```js
310
+ {
311
+ type: "string",
312
+ label: "Description",
313
+ name: "description",
314
+ ui: {
315
+ component: "myMapField"
316
+ someAdditionalMapConfig: 'some-value'
317
+ }
318
+ }
319
+ ```
320
+
321
+ [Register](https://tina.io/docs/fields/custom-fields/#registering-the-plugin) your `myMapField` with Tina:
322
+
323
+ ```js
324
+ cms.fields.add({
325
+ name: 'myMapField',
326
+ Component: MapPicker,
327
+ })
328
+ ```
329
+
330
+ ### One important gotcha
331
+
332
+ Every property in the `defineSchema` API must be serlializable. Meaning functions will not work. For example, there's no way to define a `validate` or `parse` function at this level. However, you can either use the [formify](https://tina.io/docs/tina-cloud/client/#formify) API to get access to the Tina form, or provide your own logic by specifying a plugin of your choice:
333
+
334
+ ```js
335
+ {
336
+ type: "string",
337
+ label: "Description",
338
+ name: "description",
339
+ ui: {
340
+ component: "myText"
341
+ }
342
+ }
343
+ ```
344
+
345
+ And then when you register the plugin, provide your custom logic here:
346
+
347
+ ```js
348
+ import { TextFieldPlugin } from 'tinacms'
349
+
350
+ // ...
351
+
352
+ cms.fields.add({
353
+ ...TextFieldPlugin, // spread existing text plugin
354
+ name: 'myText',
355
+ validate: value => {
356
+ someValidationLogic(value)
357
+ },
358
+ })
359
+ ```
360
+
361
+ **Why?**
362
+
363
+ The reality is that under the hood this has made no difference to the backend, so we're removing it as a point of friction. Instead, `type` is the true definition of the field's _shape_, while `ui` can be used for customizing the look and behavior of the field's UI.
364
+
365
+ ## Defensive coding in Tina
366
+
367
+ When working with GraphQL, there are 2 reasons a property may not be present.
368
+
369
+ 1. The data is not a required property. That is to say, if I have a blog post document, and "category" is an optional field, we'll need to make sure we factor that into how we render our page:
370
+
371
+ ```tsx
372
+ const MyPage = props => {
373
+ return (
374
+ <>
375
+ <h2>{props.getPostDocument.data.title}</h2>
376
+ <MyCategoryComponent>
377
+ {props.getPostDocument.data?.category}
378
+ </MyCategoryComponent>
379
+ </>
380
+ )
381
+ }
382
+ ```
383
+
384
+ 2. The query did not ask for that field:
385
+
386
+ ```graphql
387
+ {
388
+ getPostDocument {
389
+ data {
390
+ title
391
+ }
392
+ }
393
+ }
394
+ ```
395
+
396
+ But with Tina, there's a 3rd scenario: the document may be in an invalid state. Meaning, we could mark the field as `required` _and_ query for the appropriate field, and _still_ not have the expected shape of data. Due to the contextual nature of Tina, it's very common to be in an intermediate state, where your data is incomplete simply because you're still working on it. Most APIs would throw an error when a document is in an invalid state. Or, more likely, you couldn't even request it.
397
+
398
+ ## Undefined list fields will return `null`
399
+
400
+ Previously an listable field which wasn't defined in the document was treated as an emptry array. So for example:
401
+
402
+ ```md
403
+ ---
404
+ title: 'Hello, World'
405
+ categories:
406
+ - sports
407
+ - movies
408
+ ---
409
+ ```
410
+
411
+ The responsee would be `categories: ['sports', 'movies']`. If you omit the items, but kept the empty array:
412
+
413
+ ```md
414
+ ---
415
+ title: 'Hello, World'
416
+ categories: []
417
+ ---
418
+ ```
419
+
420
+ The responsee would be `categories: []`. If you omit the field entirely:
421
+
422
+ ```md
423
+ ---
424
+ title: 'Hello, World'
425
+ ---
426
+ ```
427
+
428
+ The response will be `categories: null`. Previously this would have been `[]`, which was incorrect.
429
+
430
+ ## For a listable item which is `required: true` you _must_ provide a `ui.defaultItem` property
431
+
432
+ ### Why?
433
+
434
+ It's possible for Tina's editing capabilities to introduce an invalid state during edits to list items. Imagine the scenario where you are iterating through an array of objects, and each object has a categories array on it we'd like to render:
435
+
436
+ ```tsx
437
+ const MyPage = props => {
438
+ return props.blocks.map(block => {
439
+ return (
440
+ <>
441
+ <h2>{block.categories.split(',')}</h2>
442
+ </>
443
+ )
444
+ })
445
+ }
446
+ ```
447
+
448
+ For a new item, `categories` will be null, so we'll get an error. This only happens when you're editing your page with Tina, so it's not a production-facing issue.
449
+
450
+ ## Every `type` can be a list
451
+
452
+ Previously, we had a `list` field, which allowed you to supply a `field` property. Instead, _every_ primitive type can be represented as a list:
453
+
454
+ ```js
455
+ {
456
+ type: "string",
457
+ label: "Categories",
458
+ name: "categories",
459
+ list: true
460
+ }
461
+ ```
462
+
463
+ Additionally, enumerable lists and selects are inferred from the `options` property. The following example is represented by a `select` field:
464
+
465
+ ```js
466
+ {
467
+ type: "string",
468
+ label: "Categories",
469
+ name: "categories",
470
+ options: ["fitness", "movies", "music"]
471
+ }
472
+ ```
473
+
474
+ While this, is a `checkbox` field
475
+
476
+ ```js
477
+ {
478
+ type: "string",
479
+ label: "Categories",
480
+ name: "categories"
481
+ list: true,
482
+ options: ["fitness", "movies", "music"]
483
+ }
484
+ ```
485
+
486
+ > Note we may introduce an `enum` type, but haven't discussed it thoroughly
487
+
488
+ ## Introducing the `object` type
489
+
490
+ Tina currently represents the concept of an _object_ in two ways: a `group` (and `group-list`), which is a uniform collection of fields; and `blocks`, which is a polymporphic collection. Moving forward, we'll be introducing a more comporehensive type, which envelopes the behavior of both `group` and `blocks`, and since _every_ field can be a `list`, this also makes `group-list` redundant.
491
+
492
+ > Note: we've previously assumed that `blocks` usage would _always_ be as an array. We'll be keeping that assumption with the `blocks` type for compatibility, but `object` will allow for non-array polymorphic objects.
493
+
494
+ ### Defining an `object` type
495
+
496
+ An `object` type takes either a `fields` _or_ `templates` property (just like the `collections` definition). If you supply `fields`, you'll end up with what is essentially a `group` item. And if you say `list: true`, you'll have what used to be a `group-list` definition.
497
+
498
+ Likewise, if you supply a `templates` field and `list: true`, you'll get the same API as `blocks`. However you can also say `list: false` (or omit it entirely), and you'll have a polymorphic object which is _not_ an array.
499
+
500
+ This is identical to the current `blocks` definition:
501
+
502
+ ```js
503
+ {
504
+ type: "object",
505
+ label: "Page Sections",
506
+ name: "pageSections",
507
+ list: true,
508
+ templates: [{
509
+ label: "Hero",
510
+ name: "hero",
511
+ fields: [{
512
+ label: "Title",
513
+ name: "title",
514
+ type: "string"
515
+ }]
516
+ }]
517
+ }
518
+ ```
519
+
520
+ And here is one for `group`:
521
+
522
+ ```js
523
+ {
524
+ type: "object",
525
+ label: "Hero",
526
+ name: "hero",
527
+ fields: [{
528
+ label: "Title",
529
+ name: "title",
530
+ type: "string"
531
+ }]
532
+ }
533
+ ```
534
+
535
+ ## `dataJSON` field
536
+
537
+ You can now request `dataJSON` for the entire data object as a single query key. This is great for more tedius queries like theme files where including each item in the result is cumbersome.
538
+
539
+ > Note there is no typescript help for this feature for now
540
+
541
+ ```graphql
542
+ getThemeDocument(relativePath: $relativePath) {
543
+ dataJSON
544
+ }
545
+ ```
546
+
547
+ ```json
548
+ {
549
+ "getThemeDocument": {
550
+ "dataJSON": {
551
+ "every": "field",
552
+ "in": {
553
+ "the": "document"
554
+ },
555
+ "is": "returned"
556
+ }
557
+ }
558
+ }
559
+ ```
560
+
561
+ ## Lists queries will now adhere to the GraphQL connection spec
562
+
563
+ [Read the spec](https://relay.dev/graphql/connections.htm)
564
+
565
+ Previously, lists would return a simple array of items:
566
+
567
+ ```graphql
568
+ {
569
+ getPostsList {
570
+ id
571
+ }
572
+ }
573
+ ```
574
+
575
+ Which would result in:
576
+
577
+ ```json
578
+ {
579
+ "data": {
580
+ "getPostsList": [
581
+ {
582
+ "id": "content/posts/voteForPedro.md"
583
+ }
584
+ ]
585
+ }
586
+ }
587
+ ```
588
+
589
+ In the new API, you'll need to step through `edges` & `nodes`:
590
+
591
+ ```graphql
592
+ {
593
+ getPostsList {
594
+ edges {
595
+ node {
596
+ id
597
+ }
598
+ }
599
+ }
600
+ }
601
+ ```
602
+
603
+ ```json
604
+ {
605
+ "data": {
606
+ "getPostsList": {
607
+ "edges": [
608
+ {
609
+ "node": {
610
+ "id": "content/posts/voteForPedro.md"
611
+ }
612
+ }
613
+ ]
614
+ }
615
+ }
616
+ }
617
+ ```
618
+
619
+ **Why?**
620
+
621
+ The GraphQL connection spec opens up a more future-proof structure, allowing us to put more information in to the _connection_ itself like how many results have been returned, and how to request the next page of data.
622
+
623
+ Read [a detailed explanation](https://graphql.org/learn/pagination/) of how the connection spec provides a richer set of capabilities.
624
+
625
+ > Note: sorting and filtering is still not supported for list queries.
626
+
627
+ ## `_body` is no longer included by default
628
+
629
+ There is instead an `isBody` boolean which can be added to any `string` field
630
+
631
+ **Why?**
632
+
633
+ Since markdown files sort of have an implicit "body" to them, we were automatically populating a field which represented the body of your markdown file. This wasn't that useful, and kind of annoying. Instead, just attach `isBody` to the field which you want to represent your markdown "body":
634
+
635
+ ```js
636
+ {
637
+ collections: [{
638
+ name: "post",
639
+ label: "Post",
640
+ path: "content/posts",
641
+ fields: [
642
+ {
643
+ name: "title",
644
+ label: "Title",
645
+ type: "string"
646
+ }
647
+ {
648
+ name: "myBody",
649
+ label: "My Body",
650
+ type: "string",
651
+ component: 'textarea',
652
+ isBody: true
653
+ }
654
+ ]
655
+ }]
656
+ }
657
+ ```
658
+
659
+ This would result in a form field called `My Body` getting saved to the body of your markdown file (if you're using markdown):
660
+
661
+ ```md
662
+ ---
663
+ title: Hello, World!
664
+ ---
665
+
666
+ This is the body of the file, it's edited through the "My Body" field in your form.
667
+ ```
668
+
669
+ ## References now point to more than one collection.
670
+
671
+ Instead of a `collection` property, you must now define a `collections` field, which is an array:
672
+
673
+ ```js
674
+ {
675
+ type: "reference",
676
+ label: "Author",
677
+ name: "author",
678
+ collections: ["author"]
679
+ }
680
+ ```
681
+
682
+ ```graphql
683
+ {
684
+ getPostDocument(relativePath: "hello.md") {
685
+ data {
686
+ title
687
+ author {
688
+ ...on Author_Document {
689
+ name
690
+ }
691
+ ...on Post_Document {
692
+ title
693
+ }
694
+ }
695
+ }
696
+ }
697
+ ```
698
+
699
+ ## Other breaking changes
700
+
701
+ ### The `template` field on polymorphic objects (formerly _blocks_) is now `_template`
702
+
703
+ **Old API:**
704
+
705
+ ```md
706
+ ---
707
+ ---
708
+ myBlocks:
709
+ - template: hero
710
+ title: Hello
711
+ ---
712
+ ```
713
+
714
+ **New API:**
715
+
716
+ ```md
717
+ ---
718
+ ---
719
+ myBlocks:
720
+ - \_template: hero
721
+ title: Hello
722
+ ---
723
+ ```
724
+
725
+ ### `data` `__typename` values have changed
726
+
727
+ They now include the proper namespace to prevent naming collisions and no longer require `_Doc_Data` suffix. All generated `__typename` properties are going to be slightly different. We weren't fully namespacing fields so it wasn't possible to guarantee that no collisions would occur. The pain felt here will likely be most seen when querying and filtering through blocks. This ensures the stability of this type in the future
728
+
729
+ ```graphql
730
+ {
731
+ getPageDocument(relativePath: "home.md") {
732
+ data {
733
+ title
734
+ myBlocks {
735
+ ...on Page_Hero_Data { # previously this would have been Hero_Data
736
+ # ...
737
+ }
738
+ }
739
+ }
740
+ }
741
+ ```
742
+
743
+ ### Patch Changes
744
+
745
+ - fdb7724b: Fix stringify for json extensions
746
+ - d42e2bcf: Adds number, datetime, and boolean fields back into primitive field generators
747
+ - 5cd5ce76: - Improve types for ui field
748
+ - Marks system fields as required so the user has a guarantee that they'll be there
749
+ - Return null for listable fields which are null or undefined
750
+ - Handle null values for reference fields better
751
+ - 8c425440: Remmove accidental additional of dataJSON in schema
752
+ - Updated dependencies [7351d92f]
753
+ - tina-graphql-helpers@0.1.2
754
+
755
+ ## 0.1.25
756
+
757
+ ### Patch Changes
758
+
759
+ - 348ef1e5: Testing version bumps go into a PR
760
+
761
+ ## 0.1.24
762
+
763
+ ### Patch Changes
764
+
765
+ - b36de960: lruClearCache should just be clearCache for now
766
+
767
+ ## 0.1.23
768
+
769
+ ### Patch Changes
770
+
771
+ - Bump packages to reflect new changest capabilities
772
+ - Updated dependencies [undefined]
773
+ - tina-graphql-helpers@0.1.1
774
+
775
+ ## 0.1.22
776
+
777
+ ### Patch Changes
778
+
779
+ - Updated dependencies [undefined]
780
+ - tina-graphql-helpers@0.1.0
781
+
782
+ ## 0.1.21
783
+
784
+ ### Patch Changes
785
+
786
+ - Testin
787
+
788
+ ## 0.1.20
789
+
790
+ ### Patch Changes
791
+
792
+ - Testing
793
+
794
+ ## 0.1.13
795
+
796
+ ### Patch Changes
797
+
798
+ - Testing out changesets