-
#7804
c93768cabThanks @dcousens! - Removes node.enginesrestrictions -
Updated dependencies [
c93768cab]:- @keystone-ui/button@7.0.1
- @keystone-ui/core@5.0.1
- @keystone-ui/fields@7.1.1
- @keystone-ui/loading@6.0.1
- @keystone-ui/notice@6.0.1
-
#7188
7f83b438bThanks @MurzNN! - Adds support for BigInt autoincrement id fields withidField: { kind: 'autoincrement', type: 'BigInt' } -
Updated dependencies [
65382ed80,f5fe35573,29db9b5de,a48fe5e81,c862e876c,7f83b438b,153eb6778,c862e876c,ffb9ab744,29db9b5de,86569dd75,f9ca9eddf]:- @keystone-6/core@2.1.0
- @keystone-ui/fields@7.1.0
- Updated dependencies [
4234ed488,8add4212c,4234ed488,4234ed488,4234ed488,f603859cc,4234ed488,4234ed488,4234ed488,4234ed488,4234ed488,4234ed488,4234ed488]:- @keystone-6/core@2.0.0
- @keystone-ui/fields@7.0.0
- @keystone-ui/button@7.0.0
- @keystone-ui/core@5.0.0
- @keystone-ui/loading@6.0.0
- @keystone-ui/notice@6.0.0
- Updated dependencies [
5d96ee646,dfb4aea31,3e538d136,518bd2e43,ec8103a12,81e663d31,4f3d0a073,45c2bbaf3,6cea02475]:- @keystone-ui/fields@6.0.1
- @keystone-6/core@1.1.0
96bf833a2Thanks @Noviny! - When redirecting to the homepage, thefromquery parameter unnecessarily displayed=/. This patch fixes that so it is only provided as a query parameter when needed.
-
#7091
5ac8ef453Thanks @Noviny! - Add titles to initi and sign-in pages -
Updated dependencies [
5ac8ef453,54c056c58,53f3ca6fd,c51f8f7a0,30b3cacb0,911972098,1353c6290,1eed5d546,8c7a54453,888cf021a]:- @keystone-6/core@1.0.1
- #7028
3c7a581c1Thanks @mitchellhamilton! - Released Keystone 6
- #7005
f4554980fThanks @gwyneplaine! - - The following types have been renamed:BaseGeneratedListTypes→BaseListTypeInfoItemRootValue→BaseItemListInfo→ListGraphQLTypesTypesForList→GraphQLTypesForListFieldTypeFuncnow has a required type parameter which must satisfyBaseListTypeInfo- The following types now have a required type parameter which must satisfy
BaseKeystoneTypeInfo:ServerConfigCreateRequestContextAdminUIConfigDatabaseConfigListOperationAccessControlMaybeSessionFunctionMaybeItemFunction
GraphQLResolverandGraphQLSchemaExtensionnow have a required type parameter which must satisfyKeystoneContextKeystoneGraphQLAPIno longer has a type parameter- The first parameter to the resolver in a
virtualfield will be typed as the item type if the list is typed withKeystone.ListsorKeystone.Lists.ListKey, otherwise it will be typed asunknown - The
item/originalItemarguments in hooks/access control will now receive theItemtype if the list is typed withKeystone.ListsorKeystone.Lists.ListKey, otherwise it will be typed asBaseItem argshas been removed fromBaseListTypeInfoinputs.orderByandallhas been added toBaseListTypeInfo- In
.keystone/types:ListKeyListTypeInfohas been moved toLists.ListKey.TypeInfoKeystoneContexthas been renamed toContext
- #6957
de8cf44e7Thanks @bladey! - Update Node engines to support current Node LTS versions, currently versions 14 and 16.
-
#6934
528cc5e6bThanks @mitchellhamilton! - Fixed the init/sign in page showing for a short amount of time after submitting on the init/sign in page and seeing a loading spinner. -
Updated dependencies [
f2b41df9f,04c54a4eb,748538649,4e96c23bb,76ec35c97,760ae82ac,0a7b75838,622e57689,bbedee845,82539faa5,760ae82ac,96fd2e220,04c54a4eb,82539faa5,de8cf44e7,748538649,7a7450009]:- @keystone-next/keystone@29.0.0
- @keystone-ui/fields@6.0.0
- @keystone-ui/button@6.0.0
- @keystone-ui/core@4.0.0
- @keystone-ui/loading@5.0.0
- @keystone-ui/notice@5.0.0
-
#6912
8ca316455Thanks @mitchellhamilton! - When thesessionDataoption is invalid, the error will now be thrown on startup instead of silently ignored -
Updated dependencies [
70eb86237,990b56291,70eb86237,b981f4c3e]:- @keystone-next/keystone@28.0.0
- @keystone-ui/fields@5.0.2
- #6856
f3e8aac31Thanks @mitchellhamilton! - Updated the way the schema extension is added, this may result in schema re-ordering.
- #6790
f683dcfe3Thanks @mitchellhamilton! - Readonly arrays are now accepted where previously mutable arrays were required. This means that if you useas constwhen writing an array and then pass it to various APIs in keystone, that will now work.
-
#6841
36174f867Thanks @dcousens! - Don't fillcontext.sessionif the session is invalid. -
Updated dependencies [
f3e8aac31,ddabdbd02,71600965b,d9e1ba8fa,71600965b,5e61e0050,f38772b27,30fc08b51,f683dcfe3,c0661b8ee,db7f2311b,023bc7a0b,cbb9df927,d1141ea82,cbb9df927,ddabdbd02,71600965b,d107a5bec,44cbef543,dcf5241d8]:- @keystone-next/keystone@27.0.0
-
#6754
bed3a560aThanks @mitchellhamilton! - Updated dist filenames -
Updated dependencies [
73544fd19,0ef1ee3cc,930b7129f,fac96cbd1,3d289eb3d,bed3a560a,930b7129f,6e4a0cf56,d64bd4a7f,abeceaf90,704f68b38,576f341e6]:- @keystone-next/keystone@26.1.0
- @keystone-ui/button@5.0.2
- @keystone-ui/core@3.2.1
- @keystone-ui/fields@5.0.1
- @keystone-ui/notice@4.1.1
-
#6535
581e130cfThanks @timleslie! - The APIcontext.listshas been renamed tocontext.query, andcontext.db.listshas been renamed tocontext.db.When using the experimental option
config.experimental.generateNodeAPI, theapimodule now exportsqueryrather thanlists.
- #6645
0b136daf1Thanks @timleslie! - Removed unused return types, and unused values from enum definitions.sendUserPasswordResetLinkandsendUserMagicAuthLinkonly ever returnnull, so now have return types ofBoolean.UserAuthenticationWithPasswordFailureno longer has acodevalue.MagicLinkRedemptionErrorCodeandPasswordResetRedemptionErrorCodeno longer have the valuesIDENTITY_NOT_FOUND,MULTIPLE_IDENTITY_MATCHES,TOKEN_NOT_SET, orTOKEN_MISMATCH.
- #6682
b2349ca3bThanks @mitchellhamilton! - ThesendItemMagicAuthLinkandsendItemPasswordResetLinkmutations now always returntrueinstead of always returningnull
- #6520
1b0a2f516Thanks @timleslie! - Renamed theskipAccessControlargument tocreateContexttosudofor consistency withcontext.sudo().
- #6618
c9af67ce9Thanks @timleslie! - Refactored internals of the package to remove inaccessible code.
- #6606
0e9994bb3Thanks @timleslie! - Removed the internalprotectIdentitiesvariable.
- #6675
3b510c202Thanks @bladey! - Updated newsletter opt-in to unchecked by default when starting Keystone when no users are detected (triggering the create first user flow).
- #6707
1f952fb10Thanks @timleslie! - Updated configuration error message.
- #6649
50fda6414Thanks @timleslie! - Fixed typo in first user screen.
-
#6593
ae691cb15Thanks @timleslie! - Fixed bug with incorrect errors being returned on invalid auth attempts. -
Updated dependencies [
5c0163e09,7f5caff60,480c875d1,3ece149e5,d0e3c087e,21c5d1aa9,8bbba49c7,42268ee72,d9e18613a,e81947d6c,5d3fc0b77,3cfc2a383,1da120a38,499c00b44,eb1a89f3c,4da935870,1faddea9d,7de13bce3,271e5d97b,0218a4215,273ee446a,14bfa8a9b,8bbba49c7,a645861a9,581e130cf,689d8ecaa,144f7f8e4,f963966ab,b76974736,47c8b53ce,f963966ab,a95da1d81,1b0a2f516,7621d0db7,67492f37d,002e1d88b,ca48072b4,10c61bd44,1659e1fe5,3b9732acd,c2b124f8e,4048991ba,79e2cc3aa,1f952fb10,1b0a2f516,4e485a914,3ee4542a8,e84f8f655,ca48072b4,e747ef6f3,5e62702ba,b00596d3f,80cd31303,c8aca958b,232c512a0,8631917d1,b6c8c3bff,bf5874411,398c08529,47cee8c95,9f0a4cc1f,838845298,11fb46c91]:- @keystone-next/keystone@26.0.0
- @keystone-ui/notice@4.1.0
- @keystone-ui/fields@5.0.0
- #6371
44f2ef60eThanks @mitchellhamilton! - Moved@keystone-next/typesto@keystone-next/keystone/types
- #6367
4f36a81afThanks @mitchellhamilton! - Moved@keystone-next/admin-ui-utilsto@keystone-next/keystone/admin-ui/utils
- #6414
32f024738Thanks @mitchellhamilton! - Updated usages ofjsxfrom@keystone-ui/coreto explicitly use/** @jsxRuntime classic */
- #6437
af5e59bf4Thanks @mitchellhamilton! - ChangedisUnique: trueconfig in fields toisIndexed: 'unique'
- #6414
32f024738Thanks @mitchellhamilton! - Changed the way the package directory for resolving views is obtained to use__dirnamerather thanrequire.resolve('pkg/package.json')because in Next.js 11require.resolvereturns a numeric id instead of the path.
-
#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,069265b9c,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-ui/button@5.0.1
- @keystone-ui/core@3.2.0
- @keystone-ui/fields@4.1.3
- @keystone-ui/notice@4.0.2
-
#6211
d214e2f72Thanks @mitchellhamilton! - The update mutations now acceptwhereunique inputs instead of only anidand thewhereanddataarguments are non-null.If you have a list called
Item, the update mutations now look like this:type Mutation { updateItem(where: ItemWhereUniqueInput!, data: ItemUpdateInput!): Item updateItems(data: [ItemUpdateArgs!]!): [Item] } input ItemUpdateArgs { where: ItemWhereUniqueInput! data: ItemUpdateInput! }
-
#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,c2bb6a9a5,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-ui/notice@4.0.1
- @keystone-next/admin-ui-utils@5.0.6
- #6179
ee8a51498Thanks @mitchellhamilton! - The field passed to theidentityFieldoption is now required to haveisUnique: true.
-
#6180
a11e54d69Thanks @mitchellhamilton! - Fixed issues with React hooks dependency arrays -
Updated dependencies [
3f03b8c1f,ea0712aa2,93f1e5d30,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/fields@13.0.0
- @keystone-next/admin-ui-utils@5.0.5
-
#6087
139d7a8deThanks @JedWatson! - Move source code from thepackages-nextto thepackagesdirectory. -
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-ui/core@3.1.1
- @keystone-next/admin-ui-utils@5.0.4
-
#6029
038cd09a2Thanks @bladey! - Updated Keystone URL reference from next.keystonejs.com to keystonejs.com. -
Updated dependencies [
038cd09a2,0988f08c2]:- @keystone-next/fields@11.0.3
- @keystone-next/keystone@21.0.2
- @keystone-next/types@21.0.1
- Updated dependencies [
03f535ba6,03f535ba6]:- @keystone-next/keystone@21.0.0
- @keystone-next/types@21.0.0
- @keystone-next/fields@11.0.2
- @keystone-next/admin-ui-utils@5.0.3
- #5665
a3b07ea16Thanks @mitchellhamilton! - The core of Keystone has been re-implemented to make implementing fields and new features in Keystone 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@keystone-next/fieldspackage for inspiration on how to do this.
- #5665
a3b07ea16Thanks @mitchellhamilton! - The way that the implementations ofgenerateHashandcompareare passed from the password field to auth has changed to be in the extensions object of the GraphQL output field. Unless you've written your own password field implementation or you're using mismatching versions of @keystone-next/auth and @keystone-next/fields, this won't affect you.
- Updated dependencies [
a3b07ea16,7eabb4dee,df7d7b6f6,5227234a0,a3b07ea16,e4c19f808,4995c682d,a3b07ea16,a3b07ea16,a3b07ea16,a3b07ea16,a3b07ea16,881c9ffb7,ef14e77ce,df7d7b6f6,a3b07ea16,84a5e7f3b,a3b07ea16,a3b07ea16,a3b07ea16,8958704ec,a3b07ea16,97fd5e05d,a3b07ea16]:- @keystone-next/keystone@20.0.0
- @keystone-next/fields@11.0.0
- @keystone-next/types@20.0.0
- @keystone-ui/fields@4.1.1
- @keystone-ui/core@3.1.0
- @keystone-next/admin-ui-utils@5.0.2
-
#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, }), }) );
- #5787
bb4f4ac91Thanks @timleslie! - Replacedreq, session, createContextargs toconfig.ui.pageMiddlewarewith acontextarg.
- #5766
a2553ab82Thanks @gwyneplaine! - Added visually hidden labels to signin / welcome fields for better screen reader experience.
- #5827
a0ef39cb3Thanks @timleslie! - Updated schema extension code to not depend on theBaseKeystoneobject.
-
#5828
4b11c5ea8Thanks @timleslie! - Removed thekeystoneargument from theExtendGraphqlSchematype. This will only impact you if you were directly constructing this function. Users of thegraphQLSchemaExtensionfunction will not be impacted. -
Updated dependencies [
0eadba2ba,f52079f0b,b9c828fb0,74bc77854,a6a444acd,29075e580,59421c039,5cc35170f,319c19bd5,c6cd0a6bd,195d4fb12,1fe4753f3,5b02e8625,76cdb791b,762f17823,0617c81ea,02af04c03,107eeb037,3a7acc2c5,9de71a9fb,08478b8a7,7bda87ea7,590bb1fe9,4b11c5ea8,38a177d61,bb4f4ac91,19a756496]:- @keystone-next/keystone@19.0.0
- @keystone-next/fields@10.0.0
- @keystone-next/types@19.0.0
- @keystone-ui/fields@4.1.0
- @keystone-next/admin-ui-utils@5.0.1
- #5746
19750d2dcThanks @timleslie! - Update Node.js dependency to^12.20 || >= 14.13.
-
#5677
e2232a553Thanks @timleslie! - Consolidated the@keystone-next/admin-uipackage into@keystone-next/keystone.If you were directly importing from
@keystone-next/admin-uiyou can now import the same items from@keystone-next/keystone/admin-ui. If you have@keystone-next/admin-uiin yourpackage.jsonyou should remove it.
-
#5734
194bbeea2Thanks @raveling! - The signup copy to create first user now uses active voice. -
Updated dependencies [
19750d2dc,016ccad82,8da79e71a,e2232a553]:- @keystone-ui/button@5.0.0
- @keystone-ui/core@3.0.0
- @keystone-ui/fields@4.0.0
- @keystone-ui/notice@4.0.0
- @keystone-next/admin-ui-utils@5.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
- #5614
483932276Thanks @timleslie! - UpdatedwithAuthto respectconfig.ui.isDisabled. Now works as expected whenconfig.uiis undefined.
-
#5624
868d89f29Thanks @timleslie! - Disabled theForgot your passwordbutton on the signin page, which is not yet functional. -
Updated dependencies [
3aea3b12f,11814ce98,b0a72a112,79a0844b9,11814ce98,2b3efc8a8,85dfdfb1e,fc9c3d55d,400d88257,dbe831976,53225b0ef,79d092afc,bb8920843]:- @keystone-next/admin-ui@14.1.2
- @keystone-next/fields@8.2.0
- @keystone-next/keystone@17.1.1
- @keystone-ui/core@2.0.3
- 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
-
#5530
74fed41e2Thanks @timleslie! - Updated code to use the new DB items API. -
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
- #5397
a5627304bThanks @bladey! - Updated Node engine version to 12.x due to 10.x reaching EOL on 2021-04-30.
-
#5451
9e060fe83Thanks @JedWatson! - With the goal of making the Lists API (i.econtext.lists.{List}) more intuitive to use, theresolveFieldsoption has been deprecated in favor of two new methods:(1) You can specify a string of fields to return with the new
queryoption, when you want to query for resolved field values (including querying relationships and virtual fields). This replaces theresolveFields: falseuse case.For example, to query a Post you would now write:
const [post] = await context.lists.Post.findMany({ where: { slug }, query: ` title content image { src width height }`, });
(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 theresolveFields: booleanuse case.For example, to query for the raw data stored in the database, you would write:
const [post] = await context.db.lists.Post.findMany({ where: { slug }, });
-
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/keystone@16.0.0
- @keystone-next/types@17.0.0
- @keystone-next/fields@7.0.0
- @keystone-ui/button@4.0.0
- @keystone-ui/fields@3.0.0
- @keystone-ui/notice@3.0.0
- @keystone-next/admin-ui-utils@4.0.0
- 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,d93bab17b]:- @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-ui/fields@2.1.0
- @keystone-next/admin-ui-utils@3.0.3
- Updated dependencies [
343b74246]:- @keystone-next/keystone@14.0.0
- @keystone-next/admin-ui@12.0.1
-
#5150
3a9d20ce1Thanks @timleslie! - Applied eslintimport/orderrule. -
Updated dependencies [
bfeb927be,1eeac4722,8e9b04ecd,17c86e0c3,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-ui/fields@2.0.2
- @keystone-ui/core@2.0.2
- @keystone-ui/notice@2.0.2
- @keystone-next/admin-ui@12.0.0
- @keystone-next/admin-ui-utils@3.0.2
- Updated dependencies [
a2c52848a,acc6e9772,acc6e9772]:- @keystone-next/admin-ui@11.0.0
- @keystone-next/keystone@12.0.0
- @keystone-next/fields@5.2.1
-
29a970378#5011 Thanks @timleslie! - Updated internals to allow for easier documentation. -
Updated dependencies [
aba7c45d7,9b202b31a]:- @keystone-next/fields@5.2.0
- @keystone-next/admin-ui@10.0.1
- @keystone-next/keystone@11.0.1
- @keystone-next/types@14.0.1
03abbab48#4986 Thanks @timleslie! - SimplifiedcreateAuth()to only return{ withAuth }.
9ea032828#4968 Thanks @timleslie! - RemovedgqlSuffixconfig option fromcreateAuth().
490d52c2f#4985 Thanks @timleslie! - RemovedprotectIdentitiesfrom thecreateAutharguments. The behaviour is now the same as havingprotectIdentities: true.
098ce08d7#4987 Thanks @timleslie! - ThepasswordReset*fields andmagicAuth*fields are only added to the system ifpasswordResetLinkandmagicAuthLinkrespectively are set.
a00a382ff#4965 Thanks @timleslie! - Fixed a bug when usingpasswordResetLinkwith asecretFieldother than'password'. If you used asecretFieldother than'password'then the generated fields in your schema will change.
c63e5d75c#4857 Thanks @mitchellhamilton! - Removed all syntax that is not ES5 + ES Modules in the generated Admin UI pages.
685347911#5003 Thanks @timleslie! - Addedcontextargument tosendTokenfunction used bypasswordResetLinkandmagicAuthLink.
884129fa7#4928 Thanks @MurzNN! - Fixed a bug which prevented accessing the '/init` path from behind a reverse proxy.
2674831cd#5008 Thanks @timleslie! - Updated internal types to be more correct.
2bf710177#5009 Thanks @timleslie! - Renamed internal functionupdateAuthTokentocreateAuthToken.
e6844dd95#4941 Thanks @timleslie! - Updated import ofKeystoneContextto use top leveltypespackage API.
10852a174#4964 Thanks @timleslie! - Moved thegetSchemaExtensioncode into its own file for easier documentation.
-
9f2409127#5005 Thanks @timleslie! - UpdatedcreateAuthto only include/initinpublicPagesifinitFirstItemis being used. -
Updated dependencies [
f4e4498c6,1c5a39972,687fd5ef0,9a9276eb7,370c0ee62,fdb9d9abb,2655c0b1b,0cd5acb82,53b8b659f,29e787983,d9c20ba66,562cccbe1,0e265f6c1,24e0ef5b6,45ea93421,f895a2671,6c949dbf2,ceab7dc69,7ae67b857,3ca5038a0,c8cf7fb1f,d9c20ba66,6469362a1,bea9008f8,c63e5d75c,0f86e99bb,880fd5f92,5d565ea57]:- @keystone-ui/button@3.0.1
- @keystone-ui/core@2.0.1
- @keystone-ui/fields@2.0.1
- @keystone-ui/notice@2.0.1
- @keystone-next/admin-ui@10.0.0
- @keystone-next/admin-ui-utils@3.0.1
- @keystone-next/fields@5.1.0
- @keystone-next/keystone@11.0.0
- @keystone-next/types@14.0.0
8d0be8a89#4815 Thanks @timleslie! - Added a.sudo()method tocontextobjects, which is equivalent to the common operationcontext.createContext({ skipAccessControl: true }).
526b4ce69#4754 Thanks @JedWatson! - Changed showKeystoneSignup prop to enableWelcome in InitPage
526b4ce69#4754 Thanks @JedWatson! - Added Welcome page with mailing list signup flow to InitPage.
-
526b4ce69#4754 Thanks @JedWatson! - Refactored router events on InitPage, and made minor changes to SignupContainer styles. -
Updated dependencies [
ee019cfc5,b97216a65,208722a42,ad75e3d61,74f428353,4035218df,a418fd535,954350389,e29ae2749,ee019cfc5,250daa2a2,8d0be8a89]:- @keystone-next/admin-ui@9.0.0
- @keystone-next/keystone@10.0.0
- @keystone-next/admin-ui-utils@3.0.0
- @keystone-next/fields@5.0.0
- @keystone-ui/button@3.0.0
- @keystone-ui/core@2.0.0
- @keystone-ui/fields@2.0.0
- @keystone-ui/notice@2.0.0
- @keystone-next/types@13.0.0
314edec3d#4384 Thanks @timleslie! - Added improved types to resolver functions.
-
5be53ddc3#4762 Thanks @timleslie! - Renamed the typeKeystoneAdminUIConfigtoAdminUIConfig. -
Updated dependencies [
1744c5f05,26543bd07,d9675553b,fd0dff3fd,5be53ddc3,fb8bcff91,096927a68]:- @keystone-next/types@12.0.0
- @keystone-next/keystone@9.3.0
- @keystone-next/admin-ui@8.0.1
- @keystone-next/admin-ui-utils@2.0.8
- @keystone-next/fields@4.1.1
- Updated dependencies [
94fbb45f1,588be9ea1]:- @keystone-next/keystone@9.2.0
- @keystone-next/types@11.0.2
- Updated dependencies [
fe0c228b1,a96c24cca,ac3db9561,f162a9d72]:- @keystone-next/keystone@9.1.0
- @keystone-next/types@11.0.1
- 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-ui/fields@1.1.0
- @keystone-next/fields@4.1.0
- @keystone-next/admin-ui-utils@2.0.7
- Updated dependencies [
24ecd72e5]:- @keystone-next/admin-ui@7.0.1
- @keystone-next/fields@4.0.3
- @keystone-next/types@10.0.0
- @keystone-next/admin-ui-utils@2.0.6
- @keystone-next/keystone@9.0.1
0dfb63414#4304 Thanks @timleslie! - Changed the default value ofprotectIdentitiesfromfalsetotrue.
- Updated dependencies [
1236f5f40,933c78a1e,f559e680b,89f7d4599,abc5440dc,1200c3562,17519bf64]:- @keystone-next/admin-ui@7.0.0
- @keystone-next/keystone@9.0.0
- @keystone-next/types@9.0.0
- @keystone-next/fields@4.0.2
- @keystone-next/admin-ui-utils@2.0.5
- Updated dependencies [
075ef1628]:- @keystone-next/admin-ui@6.0.0
- @keystone-next/keystone@8.0.0
- @keystone-next/types@8.0.0
- @keystone-next/fields@4.0.1
- @keystone-next/admin-ui-utils@2.0.4
96ece1c61#4526 Thanks @timleslie! - Fixed error being thrown when noauthenticatedItemis available.
7ef80b2f2#4525 Thanks @timleslie! - Updated/initpage to use theadminMetaquery.
39639b203#4529 Thanks @timleslie! - Added missing attributespath,viewsIndex, andcustomViewstoFieldMeta.
-
661104764#4509 Thanks @timleslie! - ReplacedKeystoneAdminUIConfig.systemwithKeystoneAdminUIConfig.createConfigto reduce API surface area. -
Updated dependencies [
841be0bc9,2d3668c49,6912c7b9d,e33cf0c1e,fd5daefb4,44c78319e,5c75534f6,6d09df338,4d3cb8e32,a3908a675,88b230317,39639b203,c1e8def9a,661104764,dab8121a6,88b230317,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/types@7.0.0
- @keystone-ui/core@1.0.4
- @keystone-ui/fields@1.0.3
- @keystone-next/admin-ui-utils@2.0.3
dc58df5c8#4493 Thanks @timleslie! - RenamedSerializedFieldMeta.viewstoSerializedFieldMeta.viewsIndexto makes it clear that this is the index, not the views object itself.
41ad2a010#4474 Thanks @timleslie! - Removed unncessary calls toJSON.stringifyin error messages and generated code.
d712d3c2b#4485 Thanks @JedWatson! - Updating auth extensions to skip access control after the context API changes
2da044a0c#4482 Thanks @timleslie! - Removedconfigfrom typeKeystoneSystem. The config object is now explicitly passed around where needed to make it clear which code is consuming it. TypeKeystoneAdminUIConfig.getAdditionalFilesnow takes aconfigparameter.
1c12b8204#4424 Thanks @timleslie! - Added more specific types forlistQuery,listQueryMeta, and the items API.
-
202767d72#4476 Thanks @timleslie! - Replacedanywith more specific types in internal code. -
Updated dependencies [
dc58df5c8,c89b43d07,a5d7b264a,b7a4b997b,ca34424d5,cffa011f7,192cbed74,2338ed731,e78d837b1,57092b7c1,914beac0e,dbfef6256,b21b62ed5,554917760,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/fields@3.2.2
- @keystone-next/admin-ui-utils@2.0.2
b6498d9f1#4427 Thanks @timleslie! - Added aBaseKeystonetype to replace usage ofanyin all instances.
-
dfed54074#4433 Thanks @JedWatson! - Updated InitPage to fix the error with the new field value shape -
Updated dependencies [
b6498d9f1,d36e580cc,803626e88]:- @keystone-next/keystone@5.0.0
- @keystone-next/types@5.0.0
- @keystone-next/admin-ui@3.1.2
- @keystone-next/admin-ui-utils@2.0.1
- @keystone-next/fields@3.2.1
8543f732b#4371 Thanks @timleslie! - Fixed thegenerateTokenalgorithm to reduce the chance of generating a short token.
2c5135f17#4370 Thanks @timleslie! - UpdatedgetMagicAuthLinkSchemacode to use items API rather than adapter. Fixed hard-coding oflistKey: 'User'when redeeming tokens.
8baad4a14#4374 Thanks @timleslie! - Updated library code to no longer require a fullcontextobject.
2926369a0#4404 Thanks @JedWatson! - Added missing spacing between the signin header and form
1cf445cad#4380 Thanks @timleslie! - RenamedattemptAuthenticationtovalidateSecret.
c9159c956#4387 Thanks @mitchellhamilton! - Updated usage ofFieldscomponent
6cd469e29#4414 Thanks @JedWatson! - Typed keystone context
0082a3144#4383 Thanks @timleslie! - AddedfindMatchingIdentityto auth mutations library.
bb747c9cb#4381 Thanks @timleslie! - RefactoredvalidatedAuthTokento usevalidSecretinternally.
139c74a4a#4378 Thanks @timleslie! - Updated code to consistently usecontextrather thanctxfor graphQL context variables.
2ab785c79#4372 Thanks @timleslie! - Fixed return value ofsendItemPasswordResetLink.
-
2dccc86cf#4379 Thanks @timleslie! - Refactored auth mutation logic to make it more clear where side-effects were taking place. -
Updated dependencies [
8b12f795d,55a04a100,f4a855c71,c9159c956,c9159c956,6cd469e29,eddd7e795,139c74a4a,c9159c956,b8c2c48ec]:- @keystone-next/fields@3.2.0
- @keystone-ui/core@1.0.3
- @keystone-next/admin-ui@3.1.1
- @keystone-next/admin-ui-utils@2.0.0
- @keystone-next/keystone@4.1.1
- @keystone-next/types@4.1.1
2d5f78207#4302 Thanks @mitchellhamilton! - Add optionalallowedExportsOnCustomViewsexport to field views
d2ebd1c39#4308 Thanks @timleslie! - UpdatedcreateInitialItemto use the items API rather than direct adapter access.
-
ebb8d2cdf#4318 Thanks @timleslie! - UpdatedupdateAuthTokento use the items API rather than direct adapter access. -
Updated dependencies [
ad10994d2,80c980452,d2ebd1c39,add3f67e3,2d5f78207,2d5f78207]:- @keystone-next/keystone@4.1.0
- @keystone-ui/fields@1.0.2
- @keystone-next/types@4.1.0
- @keystone-next/fields@3.1.0
- @keystone-next/admin-ui@3.1.0
cc987d078#4269 Thanks @timleslie! - Renamedkeystoneargument ofKeystoneAdminUIConfig.getAdditionalFiles()andKeystoneAdminUIConfig.pageMiddleware()tosystem. Renamedkeystoneargument ofSessionStrategy.start,SessionStrategy.endandSessionStrategy.gettosystem.
aa4f28e51#4303 Thanks @timleslie! - Fixed return values of authentication mutations.
d7d82e90f#4270 Thanks @timleslie! - Simplified the code used to generate graphQL extensions.
d012b4c89#4287 Thanks @JedWatson! - Fixed auth when you're using a listKey other than User
60d30b238#4305 Thanks @timleslie! - UpdatedattemptAuthenticationto use the items API rather than direct adapter access.
-
b8e085143Thanks @timleslie! - UpdatedauthenticatedItemto use the items API rather than direct adapter access. -
Updated dependencies [
96a1d5226,11777cddb,cbf11a69b,5866cb81f,81a140ee3,c858a05fe,d1ea5e667,c60b229ec,b2de22941,cc987d078,60e061246,9fddeee41,cc987d078]:- @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
-
0e65409c7#4216 Thanks @jossmac! - Admin UI tidy: mostly alignment and spacing consolidation. -
Updated dependencies [
fd4b0d04c,d2cfd6106,c103cde7d,84e651c3f,3d66ebc87,98e8fd4bc,d02957453,549a9a06d,400a6e50c,302afe226,98dd7dcff,bc198775e,7afde2fb5,8291187de,5216e9dc6,fab97f6b4,36cf9b0a9,6eb4def9a,8f4ebd5f7,2a2a7c00b,68f1c8fdc,8e77254a2,b9e93cb66,28e2b43d4,b89377c9c,b9e643dc6,cfa0d8275,9928da13e,fab97f6b4,d2927f78c,dce39ca1b,0e65409c7]:- @keystone-next/fields@3.0.0
- @keystone-ui/core@1.0.2
- @keystone-ui/fields@1.0.1
- @keystone-next/keystone@3.0.0
- @keystone-next/admin-ui@2.0.2
- @keystone-next/types@3.0.0
- @keystone-ui/button@2.0.1
- Updated dependencies [
6c3b566a1,c3e4c1e3f,d6139dcf9,39a5890de]:- @keystone-ui/button@2.0.0
- @keystone-ui/notice@1.0.1
- @keystone-ui/core@1.0.1
- @keystone-next/fields@2.0.1
- @keystone-next/admin-ui@2.0.1
-
71b74161d#4146 Thanks @mitchellhamilton! - Keep showing the loading state on the init first item page while the next page is loading after the mutation has finished -
Updated dependencies [
166acb9bf,ae0fc4d78,166acb9bf,ae0fc4d78,71b74161d,166acb9bf,ae0fc4d78,f3c0f79e3,ae0fc4d78]:- @keystone-next/types@2.0.0
- @keystone-next/fields@2.0.0
- @keystone-next/keystone@2.0.0
- @keystone-next/admin-ui@2.0.0
9d360a67b#4106 Thanks @mitchellhamilton! - Initial release
- Updated dependencies [
9d360a67b]:- @keystone-ui/button@1.0.0
- @keystone-ui/core@1.0.0
- @keystone-ui/fields@1.0.0
- @keystone-ui/notice@1.0.0
- @keystone-next/admin-ui@1.0.0
- @keystone-next/fields@1.0.0
- @keystone-next/keystone@1.0.0
- @keystone-next/types@1.0.0