-
#6370
9d8ae78ffThanks @bladey! - Adds ability to seed data forblogandtask-managerexamples. Useyarn seed-datain either examples folder to create a set of example data. -
Updated dependencies [
2a901a121,3008c5110,3904a9cf7,32f024738,2e3f3666b,44f2ef60e,9651aff8e,9c5991f43,069265b9c,4f36a81af,c76bfc0a2,bc9088f05,ee54522d5,32f024738,bd120c7c2,595922b48,8f2786535,b3eefc1c3,0aa02a333,bf9b5605f,3957c0981,af5e59bf4,cbc5a68aa,32f024738,783290796,0a189d5d0,944bce1e8,e0f935eb2,2324fa027,f2311781a,88b03bd79,0aa02a333,5ceccd821,fd744dcaa,489e128fe,bb0c6c626]:- @keystone-next/keystone@25.0.0
- Updated dependencies [
e9f3c42d5,5cd8ffd6c,1cbcf54cb,a92169d04,5cd8ffd6c,b696a9579,f3014a627,092df6678,5cd8ffd6c,6da56b80e,4f4f0351a,697efa354,c7e331d90,3a7a06b2c,272b97b3a,78dac764e,399561b27,9d361c1c8,0dcb1c95b,94435ffee,5cd8ffd6c,56044e2a4,f46fd32b7,874f2c405,8ea4eed55,e3fe6498d,1030296d1,3564b342d,8b2d179b2,e3fefafcc,4d9f89f88,686c0f1c4,d214e2f72,f5e64af37]:- @keystone-next/fields@14.0.0
- @keystone-next/keystone@24.0.0
- Updated dependencies [
3f03b8c1f,ea0712aa2,93f1e5d30,9e2deac5f,7716315ea,a11e54d69,e5f61ad50,e4e6cf9b5,2ef6fe82c,dd7e811e7,587a8d0b0,597edbdd8,1172e1853,fbe698461,32e9879db]:- @keystone-next/keystone@23.0.0
- @keystone-next/fields@13.0.0
- Updated dependencies [
38b78f2ae,139d7a8de,279403cb0,253df44c2,253df44c2,f482db633,c536b478f]:- @keystone-next/fields@12.0.0
- @keystone-next/keystone@22.0.0
- Updated dependencies [
03f535ba6,03f535ba6]:- @keystone-next/keystone@21.0.0
- @keystone-next/fields@11.0.2
- Updated dependencies [
a3b07ea16,7eabb4dee,5227234a0,a3b07ea16,e4c19f808,4995c682d,a3b07ea16,a3b07ea16,a3b07ea16,a3b07ea16,a3b07ea16,881c9ffb7,ef14e77ce,df7d7b6f6,a3b07ea16,84a5e7f3b,a3b07ea16,a3b07ea16,a3b07ea16,a3b07ea16,97fd5e05d,a3b07ea16]:- @keystone-next/keystone@20.0.0
- @keystone-next/fields@11.0.0
-
#5797
a6a444acdThanks @timleslie! - The GraphQL field_all<path>Meta { count }generated formanyrelationships has been deprecated in favour of a new field<path>Count, which directly returns the count.A
postsrelationship field would have the following field added to the API:postsCount(where: PostWhereInput! = {}): Int
- #5792
319c19bd5Thanks @timleslie! - Changed the type of thewhereargument toallItemsto_allItemsMetafrom typeItemWhereInputtoItemWhereInput! = {}.
- #5850
5b02e8625Thanks @timleslie! - TheANDandORoperators ofItemWhereInputnow accept non-null values, e.g.[ItemWhereInput!], rather than[ItemWhereInput].
-
#5767
02af04c03Thanks @timleslie! - Deprecated thesortByGraphQL filter. Updated theorderByGraphQL filter with an improved API.Previously a
Userlist'sallUsersquery would have the argument:orderBy: String
The new API gives it the argument:
orderBy: [UserOrderByInput!]! = []
where
input UserOrderByInput { id: OrderDirection name: OrderDirection score: OrderDirection } enum OrderDirection { asc desc }
Rather than writing
allUsers(orderBy: "name_ASC")you now writeallUsers(orderBy: { name: asc }). You can also now order by multiple fields, e.g.allUsers(orderBy: [{ score: asc }, { name: asc }]). EachUserOrderByInputmust have exactly one key, or else an error will be returned.
- #5791
9de71a9fbThanks @timleslie! - Changed the return type ofallItems(...)from[User]to[User!], as this API can never havenullitems in the return array.
-
#5769
08478b8a7Thanks @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.A
Userlist would have the following query added to the API:usersCount(where: UserWhereInput! = {}): Int
-
Updated dependencies [
0eadba2ba,f52079f0b,b9c828fb0,74bc77854,a6a444acd,29075e580,59421c039,319c19bd5,c6cd0a6bd,195d4fb12,1fe4753f3,5b02e8625,76cdb791b,762f17823,0617c81ea,02af04c03,107eeb037,9de71a9fb,08478b8a7,7bda87ea7,590bb1fe9,4b11c5ea8,38a177d61,bb4f4ac91,19a756496]:- @keystone-next/keystone@19.0.0
- @keystone-next/fields@10.0.0
- #5746
19750d2dcThanks @timleslie! - Update Node.js dependency to^12.20 || >= 14.13.
- Updated dependencies [
19750d2dc,016ccad82,8da79e71a,e2232a553]:- @keystone-next/fields@9.0.0
- @keystone-next/keystone@18.0.0
- #5621
e69bcc254Thanks @gwyneplaine! - Initial version of the blog example.