d748156b
#2537 Thanks @jesstelford! - Introduce a framework for testing CRUD operations on fields. This surfaced a bug in the Decimal field where updating other fields would result in a Decimal field being reset to null.
-
fb510d67
#2527 Thanks @jesstelford! - Updated to latest version of globby for discovering test files to run. -
Updated dependencies [
51546e41
,29ad8a17
,83bdf743
,d748156b
,d30b7498
,1d9c6762
,8f22ab5e
,599c0929
,fb510d67
]:- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
-
5ba330b8
#2487 Thanks @Noviny! - Small changes to package.json (mostly adding a repository field) -
Updated dependencies [
10e88dc3
,e46f0adf
,6975f169
,42497b8e
,fe42a997
,97fb01fe
,6111e065
,2d1069f1
,949f2f6a
,6b353eff
,5ba330b8
]:- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
517b23e4
#2391 Thanks @timleslie! - Removed support for Node 8.x, as it is no longer in maintenance mode.
- Updated dependencies [
517b23e4
]:- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
0da2ce99
#2295 - Silenced knex adapter output during testing.- Updated dependencies [
6bc87d43
,eb36cf37
,ec81468c
,6eb23086
,8f54a4eb
,5b058a63
,8f54a4eb
]:- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
f3ea15f8
#2189 - Upgraded prettier to 1.19.1 and formatted code accordingly.- Updated dependencies [
38f88b62
,f3ea15f8
,3d7222cd
,4cd4499d
,ef419b59
,05d07adf
,78193f9c
]:- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
5540771e
#2006 Thanks @timleslie! - Consolidated implementation of alllistAdapter.find\*()
methods to use theitemsQuery()
API for internal consistency.
35ee7ca0
#2048 - Fixed an intermittant test failure.- Updated dependencies [
77056ebd
,267dab2f
,8188d76c
,af1e9e4d
,0acdae17
,733ac847
,44b2bc93
,e68fc43b
,d4d89836
,946a52fd
,5540771e
,860dabec
,1f4dc33d
,ee6fbcb2
,0145f7e2
,a3fdc50e
,2cc83b12
,721472e1
,a1dcbd7b
,da62aa4a
,6a348b93
]:- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
-
7b4ed362
#1821 Thanks @jesstelford! - Release @keystonejs/* packages (つ^ ◡ ^)つ- This is the first release of
@keystonejs/*
packages (previously@keystone-alpha/*
). - All packages in the
@keystone-alpha
namespace are now available in the@keystonejs
namespace, starting at version5.0.0
. - To upgrade your project you must update any
@keystone-alpha/*
dependencies inpackage.json
to point to"@keystonejs/*": "^5.0.0"
and update anyrequire
/import
statements in your code.
- This is the first release of
- Updated dependencies [
7b4ed362
]:- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- @keystonejs/[email protected]
- Updated dependencies [
0a36b0f4
,7129c887
,3bc02545
,768420f5
,a48281ba
,effc1f63
]:- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- Updated dependencies [
6d7d0df0
]:- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
588c50cd: Support protection against Billion Laughs DoS attacks
-
b12e4ccb: Add a global maxTotalResults limit to Keystone object
-
Updated dependencies 6c4df466:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- Updated dependencies 4e6a574d:
- Updated dependencies b96a3a58:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- 552e6fb6: Add support for schema cache hints
- b9e2c45b: Add support for query validation
- Updated dependencies 42a45bbd:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
9498c690: Fix meta queries with maxResults limits
-
Updated dependencies b61289b4:
-
Updated dependencies 0bba9f07:
-
Updated dependencies 9ade2b2d:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- Updated dependencies decf7319:
- Updated dependencies 89c0d7e9:
- Updated dependencies 89c0d7e9:
- Updated dependencies f8ad0975:
- Updated dependencies a8e9378d:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- 63350996: Add queryLimits and maxResults to List API
-
8bb1bb0e: Add a
keystone.executeQuery()
method to run GraphQL queries and mutations directly against a Keystone instance. NOTE: These queries are executed without any Access Control checks by default. -
Updated dependencies 8d0d98c7:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- Updated dependencies 33001656:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- e42fdb4a: Makes the password auth strategy its own package.
Previously:
const { Keystone, PasswordAuthStrategy } = require('@keystone-alpha/keystone');
After change:const { PasswordAuthStrategy } = require('@keystone-alpha/auth-password');
- Updated dependencies b86f0e26:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- e049cfcb: Support defaultValue as a function at mutation execution time
- 144e6e86: - API Changes to Adapters: - Configs are now passed directly to the adapters rather than via
adapterConnectOptions
. - Default connections strings changed for both Knex and Mongoose adapters to be more inline with system defaults. -keystone.connect()
no longer accepts ato
paramter - the connection options must be passed to the adapter constructor (as above).
- 87155453: Refactor Knex query builder to fix many-to-many filtering in complex queries, and reduce the number of database calls
- 42c3fbc9: Ensure resolveInput for list receives result from fields
-
42c3fbc9: Upgrade prettier to 1.18.2
-
42c3fbc9: Reload all columns after insert (knex); fixes #1399
-
42c3fbc9: Upgrade express to 4.17.1
-
Updated dependencies 42c3fbc9:
-
Updated dependencies 42c3fbc9:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- Updated dependencies 4007f5dd:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- Updated dependencies 2b094b7f:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- Updated dependencies b6a9f6b9:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
Using
connect: []
andcreate: []
in many-relationship queries now behaves as expected.
- Updated dependencies 91fffa1e:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
Fields configured with isRequired now behave as expected on create and update, returning a validation error if they are null.
-
Fixed behaviour of isRequired within update operations.
- Updated dependencies 30c1b1e1:
- Updated dependencies 1b4cf4e0:
- Updated dependencies 1b4cf4e0:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
Specify custom servers from within the index.js file
- Major Changes:
- The
index.js
export foradmin
must now be exported in theservers
array:module.exports = { keystone, - admin, + apps: [admin], }
- The
keystone.prepare()
method (often used within a Custom Serverserver.js
) no longer returns aserver
, it now returns amiddlewares
array:+const express = require('express'); const port = 3000; keystone.prepare({ port }) - .then(async ({ server, keystone: keystoneApp }) => { + .then(async ({ middlewares, keystone: keystoneApp }) => { await keystoneApp.connect(); - await server.start(); + const app = express(); + app.use(middlewares); + app.listen(port) });
- The
- Major Changes:
- Updated dependencies b2651279:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- Updated dependencies 9a0456ff:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
Re-enable field tests
- Updated dependencies 24cd26ee:
- Updated dependencies 9dbed649:
- Updated dependencies 2ef2658f:
- Updated dependencies 119448fc:
- Updated dependencies ae5cf6cc:
- Updated dependencies 1a7b706c:
- Updated dependencies b7a2ea9c:
- Updated dependencies b22d6c16:
- Updated dependencies bd0ea21f:
- Updated dependencies 119448fc:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
[patch]85b74a2c:
- Expose result of running relationship operations (create/connect/disconnect)
-
[patch]4eb2dcd0:
- Add more relationship query tests to exercise knex adapter bug
-
[patch]b4dcf44b:
- Use named exports from @keystone-alpha/keystone package.
-
[patch]302930a4:
- Minor internal code cleanups
-
[patch]21be780b:
- Use updated test-utils APIs
-
Updated dependencies 37dcee37:
-
Updated dependencies 656e90c2:
-
Updated dependencies b4dcf44b:
-
Updated dependencies 21be780b:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
[patch]5ebf4c3a:
- Use the new @keystone-alpha/session package
-
Updated dependencies 8d385ede:
-
Updated dependencies d718c016:
-
Updated dependencies 5ebf4c3a:
-
Updated dependencies 5ebf4c3a:
-
Updated dependencies 52f1c47b:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
[patch]de616f7e:
- Use new authStrategy APIs
-
Updated dependencies 9a9f214a:
-
Updated dependencies de616f7e:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
[patch]7417ea3a:
- Update patch-level dependencies
-
Updated dependencies dcb93771:
- @keystone-alpha/[email protected]
- @keystone-alpha/[email protected]
-
[major]c0e64c01:
- Create a new package to house all system tests