Releases: keystonejs/keystone
✨ 23rd March 2021
What's New
Added support for SQLite with Prisma 🎉
You can now use SQLite to store your data via Prisma. The SQLite rollout also includes support for the File
and Cloudinary
field types.
Noteworthy bug-squashing 🐛
Mitchell solved a bug where withItemData
returned sessions that don't match an item, rather than treating them as invalid.
Enjoying Keystone?
Star this repo 🌟 ☝️ or connect to Keystone on Twitter and in Slack.
View verbose release notes
Releases
@keystone-next/keystone@14.0.0
Major Changes
- #5168
343b74246
Thanks @mitchellhamilton! - FixedwithItemData
returning sessions that don't match an item rather than treating them as invalid
Patch Changes
- Updated dependencies []:
- @keystone-next/admin-ui@12.0.1
@keystone-next/fields-document@3.2.0
Minor Changes
- #5173
7debecb86
Thanks @mitchellhamilton! - Added support for SQLite with Prisma
Patch Changes
- Updated dependencies [
eae55db19
]:- @keystone-next/fields-legacy@23.2.0
- @keystone-next/admin-ui@12.0.1
@keystone-next/fields-legacy@23.2.0
Minor Changes
- #5188
eae55db19
Thanks @timleslie! - Added support for theFile
field type with Primsa + SQLite.
@keystone-next/fields-cloudinary-image-legacy@3.2.0
Minor Changes
- #5189
56c4dd0f8
Thanks @timleslie! - Added support for theCloudinary
field type with Primsa + SQLite.
Patch Changes
- Updated dependencies [
eae55db19
]:- @keystone-next/fields-legacy@23.2.0
@keystone-next/admin-ui@12.0.1
Patch Changes
- Updated dependencies [
343b74246
]:- @keystone-next/keystone@14.0.0
@keystone-next/auth@19.0.0
Patch Changes
- Updated dependencies [
343b74246
]:- @keystone-next/keystone@14.0.0
- @keystone-next/admin-ui@12.0.1
@keystone-next/test-utils-legacy@14.0.1
Patch Changes
- Updated dependencies [
343b74246
]:- @keystone-next/keystone@14.0.0
@keystone-next/example-auth@1.0.4
Patch Changes
- Updated dependencies [
343b74246
]:- @keystone-next/keystone@14.0.0
- @keystone-next/admin-ui@12.0.1
- @keystone-next/auth@19.0.0
@keystone-next/app-basic@1.0.4
Patch Changes
- Updated dependencies [
7debecb86
,343b74246
]:- @keystone-next/fields-document@3.2.0
- @keystone-next/keystone@14.0.0
- @keystone-next/admin-ui@12.0.1
- @keystone-next/auth@19.0.0
@keystone-next/example-ecommerce@1.0.4
Patch Changes
- Updated dependencies [
343b74246
]:- @keystone-next/keystone@14.0.0
- @keystone-next/admin-ui@12.0.1
- @keystone-next/auth@19.0.0
keystone-next-app@0.0.4
Patch Changes
- Updated dependencies [
7debecb86
,343b74246
]:- @keystone-next/fields-document@3.2.0
- @keystone-next/keystone@14.0.0
- @keystone-next/auth@19.0.0
@keystone-next/example-roles@1.0.4
Patch Changes
- Updated dependencies [
343b74246
]:- @keystone-next/keystone@14.0.0
- @keystone-next/admin-ui@12.0.1
- @keystone-next/auth@19.0.0
@keystone-next/example-sandbox@1.0.4
Patch Changes
- Updated dependencies [
343b74246
]:- @keystone-next/keystone@14.0.0
- @keystone-next/admin-ui@12.0.1
- @keystone-next/auth@19.0.0
@keystone-next/example-todo@1.0.4
Patch Changes
- Updated dependencies [
343b74246
]:- @keystone-next/keystone@14.0.0
- @keystone-next/admin-ui@12.0.1
- @keystone-next/auth@19.0.0
@keystone-next/benchmarks-legacy@5.2.3
Patch Changes
✨ 22nd March 2021
What's New
Prisma migrations 🚚
- We updated
keystone-next dev
with the Prisma adapter so that it interactively prompts for creating and applying migrations. createKeystone
andcreateSystem
also accept a migration mode now instead of a script.keystone-next generate
now uses Prisma's programmatic APIs to generate migrations and it accepts the following options as command line arguments or as prompts:--name
to set the name of the migration--accept-data-loss
to allow resetting the database when it is out of sync with the migrations--allow-empty
to create an empty migration when there are no changes to the schema.
Noteworthy bug-squashing 🐛
Now you can include negative values for float
, decimal
and integer
fields. 🎉
Enjoying Keystone?
Star this repo 🌟 ☝️ or connect to Keystone on Twitter and in Slack.
View verbose release notes
Releases
@keystone-next/admin-ui@12.0.0
Major Changes
- #5087
56e5fe10b
Thanks @mitchellhamilton! - UpdatedcreateKeystone
andcreateSystem
to accept a migration mode rather than script
Patch Changes
-
#5150
3a9d20ce1
Thanks @timleslie! - Applied eslintimport/order
rule. -
Updated dependencies [
bfeb927be
,8e9b04ecd
,17c86e0c3
,b7ce464a2
,714bdadce
,b84abebb6
,3a9d20ce1
,56e5fe10b
,56e5fe10b
,e6b16d4e9
,cdd889db1
,215aed387
,00f980cad
,b37cbffc8
,40d4fff5d
,215aed387
,b37cbffc8
,00f980cad
,d31acf61b
]:- @keystone-next/keystone@13.0.0
- @keystone-next/types@15.0.0
- @keystone-ui/fields@2.0.2
- @keystone-ui/options@2.0.2
- @keystone-ui/core@2.0.2
- @keystone-ui/notice@2.0.2
- @keystone-next/admin-ui-utils@3.0.2
@keystone-next/keystone@13.0.0
Major Changes
-
#5087
56e5fe10b
Thanks @mitchellhamilton! - UpdatedcreateKeystone
andcreateSystem
to accept a migration mode rather than script -
#5135
cdd889db1
Thanks @mitchellhamilton! - Updatedkeystone-next dev
with the Prisma adapter so that it interactively prompts for creating and applying a migration -
#5163
b37cbffc8
Thanks @mitchellhamilton! - Addeddb.useMigrations
option to replace usingkeystone-next dev
andkeystone-next prototype
depending on what kind of migration strategy you want to use. If you were previously usingkeystone-next dev
, you should setdb.useMigrations
to true in your config and continue usingkeystone-next dev
. If you were previously usingkeystone-next prototype
, you should now usekeystone-next dev
. -
#5155
215aed387
Thanks @mitchellhamilton! - RemovedcreateOnly
migration mode -
#5163
b37cbffc8
Thanks @mitchellhamilton! - ReplacedMigrationMode
type withMigrationAction
thatcreateSystem
andcreateKeystone
now accept.
Minor Changes
-
#3946
8e9b04ecd
Thanks @timleslie! - Added experimental support for Prisma + SQLite as a database adapter. -
#5102
714bdadce
Thanks @mitchellhamilton! - Addednone-skip-client-generation
migrationMode -
#5148
e6b16d4e9
Thanks @mitchellhamilton! - Updatedkeystone-next deploy
to use Prisma's programmatic APIs to apply migrations -
#5155
215aed387
Thanks @mitchellhamilton! - Changedkeystone-next generate
so that it uses Prisma's programmatic APIs to generate migrations and it accepts the following options as command line arguments or as prompts:--name
to set the name of the migration--accept-data-loss
to allow resetting the database when it is out of sync with the migrations--allow-empty
to create an empty migration when there are no changes to the schema
-
#5084
40d4fff5d
Thanks @timleslie! - Updatedcontext.sudo()
to provide access to all operations, including those excluded by{ access: false }
in the public schema. -
#5152
00f980cad
Thanks @mitchellhamilton! - Updatedkeystone-next reset
to use Prisma's programmatic APIs to reset the database. -
#4912
d31acf61b
Thanks @timleslie! - Added aconfig.graphql.apolloConfig
option to allow developers to configure theApolloServer
object provided by Keystone.
Patch Changes
-
#5099
bfeb927be
Thanks @timleslie! - Updatedcontext.graphql.raw
andcontext.graphql.run
to use the GraphQL functiongraphql
rather thanexecute
. This function performs more rigorous query validation before executing the query. -
#5096
b7ce464a2
Thanks @timleslie! - Updated items API to handle staticfalse
access control. -
#5150
3a9d20ce1
Thanks @timleslie! - Applied eslintimport/order
rule. -
#5152
00f980cad
Thanks @mitchellhamilton! - Fixedkeystone-next reset
saying that it is not a command that keystone-next accepts -
Updated dependencies [
1eeac4722
, [8e9b04ecd
]...