-
#7804
c93768cabThanks @dcousens! - Removes node.enginesrestrictions -
Updated dependencies [
713e0f47e,a711c46e0,d34a1e0bc,e322ce122,721ad00f4,3eaab4919,9d3e40612,0ea56667f,0261a5e30,bf70aa64d,c93768cab,809f707ff,809f707ff,da0c197c7,713e0f47e,d2483bb4b,1d24916b8]:- @keystone-6/core@2.2.0
- @keystone-6/auth@4.0.1
- Updated dependencies [
65382ed80,f5fe35573,a48fe5e81,c862e876c,7f83b438b,153eb6778,c862e876c,ffb9ab744,29db9b5de,86569dd75,f9ca9eddf]:- @keystone-6/core@2.1.0
- @keystone-6/auth@4.0.0
-
#7601
4234ed488Thanks @dcousens! - upgrade dependancy"react": "^18.1.0" -
Updated dependencies [
4234ed488,8add4212c,4234ed488,4234ed488,4234ed488,f603859cc,4234ed488,4234ed488,4234ed488,4234ed488,4234ed488,4234ed488,4234ed488]:- @keystone-6/core@2.0.0
- @keystone-6/auth@3.0.0
-
aa80425a2Thanks @MurzNN! - Added sandbox configs to allow launching sandboxes on codesandbox.io service -
Updated dependencies [
bb60d9a68,aced61816,3bb1a5343,0260a30c9,33fde0a26,20095f04b,06feba78b,b6f571a73,62201dd5f]:- @keystone-6/core@1.1.1
- Updated dependencies [
dfb4aea31,3e538d136,518bd2e43,ec8103a12,81e663d31,4f3d0a073,45c2bbaf3,6cea02475]:- @keystone-6/core@1.1.0
- @keystone-6/auth@2.0.0
- Updated dependencies [
7dddbe0fd,fb7844ab5,3c7a581c1,f4554980f]:- @keystone-6/core@1.0.0
- @keystone-6/auth@1.0.0
- #6957
de8cf44e7Thanks @bladey! - Update Node engines to support current Node LTS versions, currently versions 14 and 16.
- Updated dependencies [
f2b41df9f,528cc5e6b,04c54a4eb,748538649,4e96c23bb,76ec35c97,760ae82ac,0a7b75838,622e57689,bbedee845,82539faa5,760ae82ac,96fd2e220,04c54a4eb,82539faa5,de8cf44e7,7a7450009]:- @keystone-next/keystone@29.0.0
- @keystone-next/auth@37.0.0
- Updated dependencies [
70eb86237,990b56291,8ca316455,b981f4c3e]:- @keystone-next/keystone@28.0.0
- @keystone-next/auth@36.0.0
- Updated dependencies [
f3e8aac31,ddabdbd02,71600965b,d9e1ba8fa,71600965b,5e61e0050,f38772b27,30fc08b51,f683dcfe3,c0661b8ee,db7f2311b,023bc7a0b,f3e8aac31,cbb9df927,d1141ea82,36174f867,cbb9df927,ddabdbd02,71600965b,d107a5bec,44cbef543,dcf5241d8]:- @keystone-next/keystone@27.0.0
- @keystone-next/auth@35.0.0
-
#6744
0ef1ee3ccThanks @bladey! - Renamed branchmastertomain. -
Updated dependencies [
73544fd19,0ef1ee3cc,930b7129f,fac96cbd1,3d289eb3d,bed3a560a,930b7129f,6e4a0cf56,d64bd4a7f,abeceaf90,704f68b38,576f341e6]:- @keystone-next/keystone@26.1.0
- @keystone-next/auth@34.0.0
- Updated dependencies [
5c0163e09,7f5caff60,480c875d1,3ece149e5,d0e3c087e,c9af67ce9,21c5d1aa9,8bbba49c7,42268ee72,0e9994bb3,d9e18613a,e81947d6c,5d3fc0b77,3b510c202,3cfc2a383,1da120a38,499c00b44,eb1a89f3c,4da935870,1faddea9d,7de13bce3,271e5d97b,0218a4215,273ee446a,14bfa8a9b,8bbba49c7,a645861a9,581e130cf,1f952fb10,0b136daf1,689d8ecaa,144f7f8e4,f963966ab,b76974736,50fda6414,47c8b53ce,a95da1d81,1b0a2f516,7621d0db7,67492f37d,002e1d88b,ca48072b4,10c61bd44,1659e1fe5,3b9732acd,c2b124f8e,b2349ca3b,4048991ba,79e2cc3aa,1f952fb10,1b0a2f516,4e485a914,3ee4542a8,e84f8f655,ca48072b4,e747ef6f3,ae691cb15,5e62702ba,b00596d3f,80cd31303,c8aca958b,232c512a0,8631917d1,b6c8c3bff,bf5874411,398c08529,47cee8c95,9f0a4cc1f,838845298,11fb46c91]:- @keystone-next/keystone@26.0.0
- @keystone-next/auth@33.0.0
-
#6432
0a189d5d0Thanks @renovate! - Updatedtypescriptdependency to^4.4.2. -
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
- @keystone-next/auth@32.0.0
-
#6310
399561b27Thanks @timleslie! - Updated dependencies to usemergeSchemasfrom@graphql-tools/schema, rather than its old location in@graphql-tools/merge. You might see a reordering of the contents of yourgraphql.schemafile. -
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,8187ea019,d214e2f72,f5e64af37]:- @keystone-next/fields@14.0.0
- @keystone-next/keystone@24.0.0
- @keystone-next/types@24.0.0
- @keystone-next/auth@31.0.0
- Updated dependencies [
3f03b8c1f,ea0712aa2,93f1e5d30,ee8a51498,9e2deac5f,7716315ea,a11e54d69,e5f61ad50,9e2deac5f,e4e6cf9b5,2ef6fe82c,dd7e811e7,587a8d0b0,597edbdd8,1172e1853,fbe698461,32e9879db]:- @keystone-next/keystone@23.0.0
- @keystone-next/types@23.0.0
- @keystone-next/auth@30.0.0
- @keystone-next/fields@13.0.0
- Updated dependencies [
38b78f2ae,5f3d407d7,139d7a8de,279403cb0,253df44c2,253df44c2,f482db633,c536b478f]:- @keystone-next/fields@12.0.0
- @keystone-next/keystone@22.0.0
- @keystone-next/types@22.0.0
- @keystone-next/auth@29.0.0
- Updated dependencies [
03f535ba6,03f535ba6]:- @keystone-next/keystone@21.0.0
- @keystone-next/types@21.0.0
- @keystone-next/auth@28.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
- @keystone-next/types@20.0.0
- @keystone-next/auth@27.0.0
-
#5806
0eadba2baThanks [@list({](https://github.com/list({), [@list({](https://github.com/list({)! - RemovedwithItemDatain favour of asessionDataoption to thecreateAuth()function.Previously,
withItemDatawould be used to wrap theconfig.sessionargument:import { config, createSchema, list } from '@keystone-next/keystone/schema'; import { statelessSessions, withAuthData } from '@keystone-next/keystone/session'; import { text, password, checkbox } from '@keystone-next/fields'; import { createAuth } from '@keystone-next/auth'; const { withAuth } = createAuth({ listKey: 'User', identityField: 'email', secretField: 'password', }); const session = statelessSessions({ secret: '-- EXAMPLE COOKIE SECRET; CHANGE ME --' }); export default withAuth( config({ lists: createSchema({ fields: { email: text({ isUnique: true }), password: password(), isAdmin: checkbox(), }, }), session: withItemData(session, { User: 'id isAdmin' }), }), }) );
Now, the fields to populate are configured on
sessionDataincreateAuth, andwithItemDatais completely removed.import { config, createSchema, list } from '@keystone-next/keystone/schema'; import { statelessSessions } from '@keystone-next/keystone/session'; import { text, password, checkbox } from '@keystone-next/fields'; import { createAuth } from '@keystone-next/auth'; const { withAuth } = createAuth({ listKey: 'User', identityField: 'email', secretField: 'password', sessionData: 'id isAdmin', }); const session = statelessSessions({ secret: '-- EXAMPLE COOKIE SECRET; CHANGE ME --' }); export default withAuth( config({ lists: createSchema({ fields: { email: text({ isUnique: true }), password: password(), isAdmin: checkbox(), }, }), session, }), }) );
-
#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,a2553ab82,59421c039,5cc35170f,319c19bd5,c6cd0a6bd,195d4fb12,1fe4753f3,5b02e8625,76cdb791b,762f17823,0617c81ea,02af04c03,107eeb037,a0ef39cb3,9de71a9fb,08478b8a7,7bda87ea7,590bb1fe9,4b11c5ea8,38a177d61,bb4f4ac91,19a756496]:- @keystone-next/auth@26.0.0
- @keystone-next/keystone@19.0.0
- @keystone-next/fields@10.0.0
- @keystone-next/types@19.0.0
- #5746
19750d2dcThanks @timleslie! - Update Node.js dependency to^12.20 || >= 14.13.
- Updated dependencies [
194bbeea2,19750d2dc,016ccad82,8da79e71a,e2232a553]:- @keystone-next/auth@25.0.0
- @keystone-next/fields@9.0.0
- @keystone-next/keystone@18.0.0
- @keystone-next/types@18.0.0
- Updated dependencies [
737b3e6e5,62e68c8e5,deb7f9504,1ef9986dd,669f0d8ac]:- @keystone-next/keystone@17.2.0
- @keystone-next/types@17.1.0
- @keystone-next/admin-ui@14.1.3
- @keystone-next/auth@24.0.0
- #5594
a3d56570eThanks @timleslie! - Updated example projects to only use the sqlite provider.
-
#5601
8b77b6971Thanks @renovate! - Updated Next.js dependency to^10.2.0. -
Updated dependencies [
1c0265171,3d3894679,8b77b6971,1043243ff]:- @keystone-next/keystone@17.1.0
- @keystone-next/fields@8.1.0
- @keystone-next/admin-ui@14.1.1
- @keystone-next/auth@23.0.0
- Updated dependencies [
b7aeb232d,b7aeb232d,18ae28bde,f7d4c9b9f,7e81b52b0,fddeacf79,fbf5f77c5,fdebf79cc,dbc62ff7c,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,9fd7cc62a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
- @keystone-next/types@17.0.1
- @keystone-next/auth@22.0.0
- #5397
a5627304bThanks @bladey! - Updated Node engine version to 12.x due to 10.x reaching EOL on 2021-04-30.
- #5388
29c9a36b7Thanks @timleslie! - Updated example project to use the newdb.providerconfig option over the deprecateddb.adapteroption.
-
#5366
115b06130Thanks @renovate! - Updated Next.js dependency to^10.1.3. -
Updated dependencies [
9e060fe83,3d3fb860f,637ae05d3,d0adec53f,c7aecec3c,588f31ddc,781b3e5ab,49025d1ad,f059f6349,7498fcabb,11f5bb631,d9e1acb30,24e62e29c,fe55e9289,6861ecb40,5b2369077,a5627304b,202d362f3,d0adec53f,962cde7e3,f67497c1a,1d85d7ff4,2bef01aaa,be60812f2,0e74d8123,be60812f2,76692d266,d7e8cad4f,ecf07393a,ad1776b74,309596591,be60812f2,5b2369077,89b869e8d,58a793988,be60812f2,115b06130,a73aea7d7]:- @keystone-next/admin-ui@14.0.0
- @keystone-next/auth@21.0.0
- @keystone-next/keystone@16.0.0
- @keystone-next/types@17.0.0
- @keystone-next/fields@7.0.0
- #5283
192393d0dThanks @timleslie! - The flag{ experimental: { prismaSqlite: true } }is no longer required to use the SQLite adapter.
-
#5280
9e450d6b3Thanks @timleslie! - Removed theadapters-mongoose-legacypackages dependency. -
Updated dependencies [
901817fed,c28e765d1,c28e765d1,c28e765d1,95fefaf81,c28e765d1,1a4db6c87,b40016301,5c4b48636,192393d0d,c28e765d1,c28e765d1,1886b4323,c28e765d1,399e6db39,8665cfe66,1886b4323,399e6db39,d93bab17b,5cd94b2a3,9e450d6b3,1e6d12f47,c28e765d1,bc21855a7]:- @keystone-next/keystone@15.0.0
- @keystone-next/types@16.0.0
- @keystone-next/admin-ui@13.0.0
- @keystone-next/fields@6.0.0
- @keystone-next/auth@20.0.0
- #5230
673b21a0dThanks @timleslie! - Updated project to useprisma_sqliterather thanmongooseas the database adapter ifDATABASSE_URLis not provided.
- Updated dependencies [
0e01f471d,76e5c7bd3,da900777a,34dd809ee,fe4b48907,b36758a12]:- @keystone-next/fields@5.4.0
- @keystone-next/types@15.0.1
- @keystone-next/keystone@14.0.1
- Updated dependencies [
343b74246]:- @keystone-next/keystone@14.0.0
- @keystone-next/admin-ui@12.0.1
- @keystone-next/auth@19.0.0
- #5150
3a9d20ce1Thanks @timleslie! - Applied eslintimport/orderrule.
-
#5094
3bb4da843Thanks @MurzNN! - Added Prisma schema location to examples packages.json -
Updated dependencies [
bfeb927be,1eeac4722,8e9b04ecd,b7ce464a2,714bdadce,b84abebb6,3a9d20ce1,ec6f9b601,56e5fe10b,56e5fe10b,e6b16d4e9,cdd889db1,215aed387,00f980cad,b37cbffc8,40d4fff5d,215aed387,b37cbffc8,00f980cad,d31acf61b]:- @keystone-next/keystone@13.0.0
- @keystone-next/fields@5.3.0
- @keystone-next/types@15.0.0
- @keystone-next/admin-ui@12.0.0
- @keystone-next/auth@18.0.0
- Updated dependencies [
a2c52848a,acc6e9772,acc6e9772]:- @keystone-next/admin-ui@11.0.0
- @keystone-next/keystone@12.0.0
- @keystone-next/fields@5.2.1
- @keystone-next/auth@17.0.0
-
f4e4498c6#5018 Thanks @bladey! - Updated legacy packages to the @keystone-next namespace. -
Updated dependencies [
f4e4498c6,1c5a39972,687fd5ef0,9a9276eb7,884129fa7,03abbab48,2674831cd,370c0ee62,9ea032828,fdb9d9abb,490d52c2f,2655c0b1b,685347911,0cd5acb82,53b8b659f,2bf710177,29e787983,d9c20ba66,562cccbe1,0e265f6c1,24e0ef5b6,e6844dd95,098ce08d7,45ea93421,f895a2671,6c949dbf2,ceab7dc69,7ae67b857,c8cf7fb1f,d9c20ba66,6469362a1,bea9008f8,10852a174,a00a382ff,9f2409127,c63e5d75c,0f86e99bb,880fd5f92,5d565ea57]:- @keystone-next/admin-ui@10.0.0
- @keystone-next/auth@16.0.0
- @keystone-next/fields@5.1.0
- @keystone-next/keystone@11.0.0
- @keystone-next/types@14.0.0
- Updated dependencies [
ee019cfc5,b97216a65,526b4ce69,208722a42,ad75e3d61,74f428353,4035218df,a418fd535,526b4ce69,954350389,e29ae2749,ee019cfc5,250daa2a2,8d0be8a89,526b4ce69]:- @keystone-next/admin-ui@9.0.0
- @keystone-next/keystone@10.0.0
- @keystone-next/auth@15.0.0
- @keystone-next/fields@5.0.0
- @keystone-next/types@13.0.0
-
75d3c521e#4770 Thanks @timleslie! - Upgraded Next.js dependency to10.0.5. -
Updated dependencies [
6ecd2a766,777981069,75d3c521e,4d808eaa5]:- @keystone-next/types@12.0.1
- @keystone-next/admin-ui@8.0.2
- @keystone-next/keystone@9.3.1
- Updated dependencies [
1744c5f05,26543bd07,d9675553b,fd0dff3fd,314edec3d,5be53ddc3,fb8bcff91,096927a68]:- @keystone-next/types@12.0.0
- @keystone-next/keystone@9.3.0
- @keystone-next/auth@14.0.0
- @keystone-next/admin-ui@8.0.1
- @keystone-next/fields@4.1.1
-
94fbb45f1#4728 Thanks @timleslie! - Added new CLI options to support migrations in the Prisma adapter:prototype,reset,generate, anddeploy. -
Updated dependencies [
94fbb45f1,588be9ea1]:- @keystone-next/keystone@9.2.0
- @keystone-next/types@11.0.2
- @keystone-next/auth@13.0.0
- Updated dependencies [
fe0c228b1,a96c24cca,ac3db9561,f162a9d72]:- @keystone-next/keystone@9.1.0
- @keystone-next/types@11.0.1
- @keystone-next/auth@12.0.0
- Updated dependencies [
4768fbf83,59027f8a4,0d9404768,e11b111c7,283a6694a,b81a11c17,7ffd2ebb4,0df2fb79c,d090053df,177cbd530,831db7c2b,a36bcf847,6ea4ff3cf]:- @keystone-next/types@11.0.0
- @keystone-next/admin-ui@8.0.0
- @keystone-next/keystone@9.0.2
- @keystone-next/fields@4.1.0
- @keystone-next/auth@11.0.0
- Updated dependencies [
24ecd72e5]:- @keystone-next/admin-ui@7.0.1
- @keystone-next/fields@4.0.3
- @keystone-next/types@10.0.0
- @keystone-next/auth@10.0.1
- @keystone-next/keystone@9.0.1
- Updated dependencies [
1236f5f40,933c78a1e,f559e680b,89f7d4599,abc5440dc,1200c3562,0dfb63414,17519bf64]:- @keystone-next/admin-ui@7.0.0
- @keystone-next/keystone@9.0.0
- @keystone-next/types@9.0.0
- @keystone-next/auth@10.0.0
- @keystone-next/fields@4.0.2
- Updated dependencies [
075ef1628]:- @keystone-next/admin-ui@6.0.0
- @keystone-next/keystone@8.0.0
- @keystone-next/types@8.0.0
- @keystone-next/auth@9.0.0
- @keystone-next/fields@4.0.1
- Updated dependencies [
841be0bc9,2d3668c49,6912c7b9d,96ece1c61,e33cf0c1e,fd5daefb4,44c78319e,5c75534f6,6d09df338,4d3cb8e32,7ef80b2f2,a3908a675,39639b203,c1e8def9a,661104764,dab8121a6,481e456ac,08398473b,2308e5efc,4d3cb8e32,f2c7675fb]:- @keystone-next/fields@4.0.0
- @keystone-next/admin-ui@5.0.0
- @keystone-next/keystone@7.0.0
- @keystone-next/auth@8.0.0
- @keystone-next/types@7.0.0
- Updated dependencies [
dc58df5c8,c89b43d07,41ad2a010,a5d7b264a,b7a4b997b,ca34424d5,cffa011f7,192cbed74,2338ed731,e78d837b1,57092b7c1,914beac0e,dbfef6256,b21b62ed5,554917760,d712d3c2b,2da044a0c,341ee2b4b,340253f14,224aeb859,4b019b8cf,ebc9ad096,68d361d25,3f3c65ab2,7f571dc7d,bf22d9f2a,3be854440,3a0e59832,5de960512,fe52e25e0,1c12b8204,0be537426,6a364a664,c9c96cf71,79ae6462a,202767d72]:- @keystone-next/admin-ui@4.0.0
- @keystone-next/keystone@6.0.0
- @keystone-next/types@6.0.0
- @keystone-next/auth@7.0.0
- @keystone-next/fields@3.2.2
- Updated dependencies [
b6498d9f1,dfed54074,d36e580cc,803626e88]:- @keystone-next/auth@6.0.0
- @keystone-next/keystone@5.0.0
- @keystone-next/types@5.0.0
- @keystone-next/admin-ui@3.1.2
- @keystone-next/fields@3.2.1
- Updated dependencies [
d2ebd1c39,ad10994d2,ebb8d2cdf,d2ebd1c39,add3f67e3,2d5f78207,2d5f78207]:- @keystone-next/auth@5.0.0
- @keystone-next/keystone@4.1.0
- @keystone-next/types@4.1.0
- @keystone-next/fields@3.1.0
- @keystone-next/admin-ui@3.1.0
- Updated dependencies [
aa4f28e51,96a1d5226,11777cddb,cbf11a69b,d7d82e90f,5866cb81f,d012b4c89,81a140ee3,c858a05fe,d1ea5e667,60d30b238,c60b229ec,b2de22941,cc987d078,60e061246,9fddeee41,b8e085143,cc987d078]:- @keystone-next/auth@4.0.0
- @keystone-next/keystone@4.0.0
- @keystone-next/admin-ui@3.0.0
- @keystone-next/types@4.0.0
- @keystone-next/fields@3.0.1