-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Packages #5274
Version Packages #5274
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/keystonejs/keystone-next-docs/5n76iBdVwQ7GAAo2QfygMcknxjV4 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 52fd888:
|
356422a
to
02cdb51
Compare
02cdb51
to
3331512
Compare
3331512
to
4132702
Compare
4132702
to
108e581
Compare
108e581
to
eb80fae
Compare
eb80fae
to
9a62fb6
Compare
9a62fb6
to
d90c474
Compare
d90c474
to
bad0235
Compare
bad0235
to
87f57a0
Compare
87f57a0
to
5233d13
Compare
5233d13
to
80bea9a
Compare
80bea9a
to
b91f192
Compare
b91f192
to
4fbca72
Compare
4fbca72
to
4784ec8
Compare
ef69297
to
3b8374e
Compare
3b8374e
to
0b18127
Compare
0b18127
to
82e9f1e
Compare
82e9f1e
to
e847e7c
Compare
e847e7c
to
834f455
Compare
834f455
to
06dde8c
Compare
06dde8c
to
cb04589
Compare
cb04589
to
e93bb8d
Compare
e93bb8d
to
0c3f6bc
Compare
0c3f6bc
to
52fd888
Compare
What's New
Controlled code demolition 🏗️ 👷♀️
We pruned a lot of code from the Keystone garden – cutting out the dead wood to make way for a more efficient and productive core in Keystone 6. Notable changes include:
db.adapter
config option (now that Keystone 6 uses Prisma under the hood).deploy
,reset
andgenerate
commands forkeystone-next prisma
e.g:keystone-next deploy
->keystone-next prisma migrate deploy
Better pagination in Admin UI ⏭️ ✨
Pagination in the Admin UI has fresh styles and is easier to use.
Enjoying Keystone?
Star this repo 🌟 ☝️ or connect to Keystone on Twitter and in Slack.
Releases
@keystone-next/admin-ui@13.0.0
Major Changes
c28e765d1
Thanks @mitchellhamilton! - Updated Next API route template to usecreateSystem
without thedotKeystonePath
argument and import from the new Prisma Client location.Minor Changes
bc21855a7
Thanks @gwyneplaine! - Added styling and quality of life updates to the pagination component.Patch Changes
#5322
d93bab17b
Thanks @gwyneplaine! - Added padding to the select input in the Pagination component in @keystone-next/admin-ui.#5280
9e450d6b3
Thanks @timleslie! - Removed theadapters-mongoose-legacy
packages dependency.Updated dependencies [
901817fed
,c28e765d1
,c28e765d1
,c28e765d1
,95fefaf81
,c28e765d1
,1a4db6c87
,b40016301
,5c4b48636
,192393d0d
,c28e765d1
,1886b4323
,c28e765d1
,1886b4323
,399e6db39
,5cd94b2a3
,9e450d6b3
,1e6d12f47
,c28e765d1
,d93bab17b
]:@keystone-next/fields@6.0.0
Major Changes
#5256
399e6db39
Thanks @timleslie! - Removed support for themongoId
field type.#5275
8665cfe66
Thanks @timleslie! - Removed themongoId
field type.#5256
399e6db39
Thanks @timleslie! - Removed support for theknex
andmongoose
database adapters. We now only supportprisma_postgresql
andprisma_sqlite
.Patch Changes
#5280
9e450d6b3
Thanks @timleslie! - Removed theadapters-mongoose-legacy
packages dependency.Updated dependencies [
e702fea44
,c28e765d1
,b40016301
,192393d0d
,c28e765d1
,1886b4323
,8665cfe66
,fda82869c
,4fa66ac1f
,399e6db39
,d93bab17b
,9e450d6b3
,bc21855a7
,d93bab17b
]:@keystone-next/fields-document@4.0.0
Major Changes
4fa66ac1f
Thanks @timleslie! - Removed support for theknex
andmongoose
field adapters.Patch Changes
1261c398b
,1e6d12f47
,e702fea44
,c28e765d1
,95fefaf81
,b40016301
,192393d0d
,c28e765d1
,1886b4323
,399e6db39
,8665cfe66
,1e6d12f47
,fda82869c
,4fa66ac1f
,399e6db39
,d93bab17b
,5cd94b2a3
,9e450d6b3
,4f0abec0b
,95fefaf81
,bc21855a7
,d93bab17b
]:@keystone-next/keystone@15.0.0
Major Changes
#5266
c28e765d1
Thanks @mitchellhamilton! - Replaceddeploy
,reset
andgenerate
commands withkeystone-next prisma
. You can use these commands as replacements for the old commands:keystone-next deploy
->keystone-next prisma migrate deploy
keystone-next reset
->keystone-next prisma migrate reset
keystone-next generate
->keystone-next prisma migrate dev
#5266
c28e765d1
Thanks @mitchellhamilton! - RemovedmigrationAction
argument tocreateSystem
and require that the PrismaClient is passed tocreateSystem
to be able to connect to the database.#5266
c28e765d1
Thanks @mitchellhamilton! - Updatedkeystone-next build
command to validate that the GraphQL and Prisma schemas are up to date.#5287
95fefaf81
Thanks @mitchellhamilton! - RemovedgetDbSchemaName
andgetPrismaPath
database adapter options. To change the database schema that Keystone uses, you can add?schema=whatever
to the database url.#5266
c28e765d1
Thanks @mitchellhamilton! - Moved generatedschema.prisma
to the root of the project directory. Note that this also moves the location of migrations from.keystone/prisma/migrations
tomigrations
at the root of the project.#5266
c28e765d1
Thanks @mitchellhamilton! - RemoveddotKeystonePath
argument fromcreateSystem
#5256
399e6db39
Thanks @timleslie! - Removed support for theknex
andmongoose
database adapters. We now only supportprisma_postgresql
andprisma_sqlite
.#5285
5cd94b2a3
Thanks @mitchellhamilton! - RemoveddropDatabase
method and config option#5266
c28e765d1
Thanks @mitchellhamilton! - Moved generated GraphQL schema toschema.graphql
to the root of the project. We recommend that you commit this file to your repo.Minor Changes
#5344
901817fed
Thanks @mitchellhamilton! - Added prompt before dropping the database or applying a change to the database that could lose data whendb.useMigrations
is set to false inkeystone-next dev
#5276
1a4db6c87
Thanks @mitchellhamilton! - Addedartifacts
entrypoint.#5368
b40016301
Thanks @timleslie! - The config optiondb.adapter
is now deprecated. It has been repaced withdb.provider
which can take the valuespostgresql
orsqlite
.#5321
5c4b48636
Thanks @mitchellhamilton! - Added--reset-db
flag tokeystone-next dev
to reset the database before starting Keystone#5283
192393d0d
Thanks @timleslie! - The flag{ experimental: { prismaSqlite: true } }
is no longer required to use the SQLite adapter.#5341
1886b4323
Thanks @mitchellhamilton! - AddedgenerateNextGraphqlAPI
andgenerateNodeAPI
experimental options#5266
c28e765d1
Thanks @mitchellhamilton! - Addedkeystone-next postinstall
command which verifies that the Prisma and GraphQL schemas are up to date with a--fix
flag to automatically update them without a prompt.#5341
1886b4323
Thanks @mitchellhamilton! - AddedwithKeystone
innext
entrypoint#5302
1e6d12f47
Thanks @mitchellhamilton! - Addedmigrations
entrypoint withpushPrismaSchemaToDatabase
export.Patch Changes
#5280
9e450d6b3
Thanks @timleslie! - Removed theadapters-mongoose-legacy
packages dependency.Updated dependencies [
1261c398b
,1e6d12f47
,e702fea44
,c28e765d1
,95fefaf81
,955787055
,b40016301
,192393d0d
,c28e765d1
,1886b4323
,399e6db39
,8665cfe66
,1e6d12f47
,fda82869c
,399e6db39
,d93bab17b
,5cd94b2a3
,9e450d6b3
,4f0abec0b
,95fefaf81
,bc21855a7
]:@keystone-next/types@16.0.0
Major Changes
#5266
c28e765d1
Thanks @mitchellhamilton! - RemovedmigrationAction
argument tocreateSystem
and require that the PrismaClient is passed tocreateSystem
to be able to connect to the database.#5256
399e6db39
Thanks @timleslie! - Removed support for theknex
andmongoose
database adapters. We now only supportprisma_postgresql
andprisma_sqlite
.Minor Changes
#5368
b40016301
Thanks @timleslie! - The config optiondb.adapter
is now deprecated. It has been repaced withdb.provider
which can take the valuespostgresql
orsqlite
.#5283
192393d0d
Thanks @timleslie! - The flag{ experimental: { prismaSqlite: true } }
is no longer required to use the SQLite adapter.#5341
1886b4323
Thanks @mitchellhamilton! - AddedgenerateNextGraphqlAPI
andgenerateNodeAPI
experimental options@keystone-next/adapter-prisma-legacy@5.0.0
Major Changes
#5319
1261c398b
Thanks @timleslie! - Removed legacyPrismaAdapter.listAdapterClass
,PrismaAdapter.postConnect()
, andPrismaAdapter.checkDatabaseVersion()
.#5302
1e6d12f47
Thanks @mitchellhamilton! - RemovedCLIOptionsForCreateMigration
andcreateMigration
exports#5324
e702fea44
Thanks @timleslie! - Removed legacy.find()
,.findAll()
,.findOne()
,.findById()
,.itemsQueryMeta()
,.getFieldAdapterByPath()
, and.getPrimaryKeyAdapter()
methods fromPrismaListAdapter
.#5287
95fefaf81
Thanks @mitchellhamilton! - RemovedgetDbSchemaName
andgetPrismaPath
database adapter options. To change the database schema that Keystone uses, you can add?schema=whatever
to the database url.#5302
1e6d12f47
Thanks @mitchellhamilton! - Removed formatting of Prisma schema returned from_generatePrismaSchema
method and made it return synchronously#5320
fda82869c
Thanks @timleslie! - Removed legacy default ID field support.#5285
5cd94b2a3
Thanks @mitchellhamilton! - RemoveddropDatabase
method and config option#5287
95fefaf81
Thanks @mitchellhamilton! - Removed migrationMode and all migration related methods on the adapter and instead require that a prisma client is passed to the adapter to be able to connect to the databasePatch Changes
#5281
4f0abec0b
Thanks @timleslie! - Removed the legacyBaseKeystoneAdapter
,BaseListAdapter
, andBaseFieldAdapter
exports.Updated dependencies [
e702fea44
,955787055
,fda82869c
,4f0abec0b
]:@keystone-next/fields-legacy@25.0.0
Major Changes
#5275
8665cfe66
Thanks @timleslie! - Removed themongoId
field type.#5273
4fa66ac1f
Thanks @timleslie! - Removed support for theknex
andmongoose
field adapters.Patch Changes
#5324
e702fea44
Thanks @timleslie! - Removed legacy.find()
,.findAll()
,.findOne()
,.findById()
,.itemsQueryMeta()
,.getFieldAdapterByPath()
, and.getPrimaryKeyAdapter()
methods fromPrismaListAdapter
.#5280
9e450d6b3
Thanks @timleslie! - Removed theadapters-mongoose-legacy
packages dependency.Updated dependencies [
1261c398b
,1e6d12f47
,e702fea44
,95fefaf81
,399e6db39
,8665cfe66
,1e6d12f47
,fda82869c
,399e6db39
,5cd94b2a3
,9e450d6b3
,4f0abec0b
,95fefaf81
]:@keystone-next/fields-auto-increment-legacy@10.0.0
Major Changes
#5320
fda82869c
Thanks @timleslie! - Removed legacy default ID field support.#5273
4fa66ac1f
Thanks @timleslie! - Removed support for theknex
andmongoose
field adapters.Patch Changes
1261c398b
,1e6d12f47
,e702fea44
,95fefaf81
,8665cfe66
,1e6d12f47
,fda82869c
,4fa66ac1f
,5cd94b2a3
,9e450d6b3
,4f0abec0b
,95fefaf81
]:@keystone-next/fields-cloudinary-image-legacy@5.0.0
Major Changes
4fa66ac1f
Thanks @timleslie! - Removed support for theknex
andmongoose
field adapters.Patch Changes
e702fea44
,8665cfe66
,4fa66ac1f
,9e450d6b3
]:@keystone-next/keystone-legacy@23.0.0
Major Changes
#5343
955787055
Thanks @timleslie! - Removed logging of errors to stdout usingpino
pending a complete rewrite of this functionality.#5320
fda82869c
Thanks @timleslie! - Removed legacy default ID field support.#5281
4f0abec0b
Thanks @timleslie! - Removed the legacyBaseKeystoneAdapter
,BaseListAdapter
, andBaseFieldAdapter
exports.Patch Changes
e702fea44
Thanks @timleslie! - Removed legacy.find()
,.findAll()
,.findOne()
,.findById()
,.itemsQueryMeta()
,.getFieldAdapterByPath()
, and.getPrimaryKeyAdapter()
methods fromPrismaListAdapter
.@keystone-next/test-utils-legacy@16.0.0
Major Changes
#5276
1a4db6c87
Thanks @mitchellhamilton! - Removed usage ofgetDbSchemaName
,getPrismaPath
,migrationMode
anddropDatabase
adapter options. Note this means that dropping the database and running migrations will now only happen when creating a keystone instance fromsetupFromConfig
rather than on everykeystone.connect
#5256
399e6db39
Thanks @timleslie! - Removed support for theknex
andmongoose
database adapters. We now only supportprisma_postgresql
andprisma_sqlite
.Patch Changes
#5266
c28e765d1
Thanks @mitchellhamilton! - RemovedmigrationAction
argument tocreateSystem
and require that the PrismaClient is passed tocreateSystem
to be able to connect to the database.#5368
b40016301
Thanks @timleslie! - The config optiondb.adapter
is now deprecated. It has been repaced withdb.provider
which can take the valuespostgresql
orsqlite
.#5283
192393d0d
Thanks @timleslie! - The flag{ experimental: { prismaSqlite: true } }
is no longer required to use the SQLite adapter.#5266
c28e765d1
Thanks @mitchellhamilton! - RemoveddotKeystonePath
argument fromcreateSystem
#5280
9e450d6b3
Thanks @timleslie! - Removed theadapters-mongoose-legacy
packages dependency.Updated dependencies [
1261c398b
,1e6d12f47
,901817fed
,c28e765d1
,e702fea44
,c28e765d1
,c28e765d1
,95fefaf81
,c28e765d1
,1a4db6c87
,955787055
,b40016301
,5c4b48636
,192393d0d
,c28e765d1
,1886b4323
,c28e765d1
,1e6d12f47
,fda82869c
,1886b4323
,399e6db39
,5cd94b2a3
,9e450d6b3
,1e6d12f47
,4f0abec0b
,c28e765d1
,95fefaf81
]:@keystone-ui/fields@2.1.0
Minor Changes
d93bab17b
Thanks @gwyneplaine! - Added styles prop to @keystone-ui/fields select components to enable style customisations to propagate to the underlying reaect-select implementation.@keystone-next/admin-ui-utils@3.0.3
Patch Changes
c28e765d1
,b40016301
,192393d0d
,1886b4323
,399e6db39
]:@keystone-next/auth@20.0.0
Patch Changes
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/cloudinary@3.0.6
Patch Changes
c28e765d1
,b40016301
,192393d0d
,c28e765d1
,1886b4323
,4fa66ac1f
,399e6db39
,d93bab17b
,9e450d6b3
,bc21855a7
,d93bab17b
]:@keystone-next/server-side-graphql-client-legacy@3.0.1
Patch Changes
c28e765d1
,b40016301
,192393d0d
,1886b4323
,399e6db39
]:@keystone-next/website@1.3.0
Minor Changes
b40016301
Thanks @timleslie! - The config optiondb.adapter
is now deprecated. It has been repaced withdb.provider
which can take the valuespostgresql
orsqlite
.Patch Changes
#5301
c8744fd56
Thanks @raveling! - Added a Keystone 5 vs Next guide to site.#5340
ff472d5af
Thanks @raveling! - copy changes to home page (including CTA to getting started tut)#5283
192393d0d
Thanks @timleslie! - The flag{ experimental: { prismaSqlite: true } }
is no longer required to use the SQLite adapter.Updated dependencies [
4fa66ac1f
,d93bab17b
]:@keystone-next/example-auth@2.0.1
Patch Changes
#5283
192393d0d
Thanks @timleslie! - The flag{ experimental: { prismaSqlite: true } }
is no longer required to use the SQLite adapter.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/app-basic@2.0.1
Patch Changes
#5283
192393d0d
Thanks @timleslie! - The flag{ experimental: { prismaSqlite: true } }
is no longer required to use the SQLite adapter.Updated dependencies [
901817fed
,c28e765d1
,c28e765d1
,c28e765d1
,95fefaf81
,c28e765d1
,1a4db6c87
,b40016301
,5c4b48636
,192393d0d
,c28e765d1
,c28e765d1
,1886b4323
,c28e765d1
,399e6db39
,8665cfe66
,4fa66ac1f
,1886b4323
,399e6db39
,d93bab17b
,5cd94b2a3
,9e450d6b3
,1e6d12f47
,c28e765d1
,bc21855a7
,d93bab17b
]:@keystone-next/example-ecommerce@2.0.1
Patch Changes
#5283
192393d0d
Thanks @timleslie! - The flag{ experimental: { prismaSqlite: true } }
is no longer required to use the SQLite adapter.#5280
9e450d6b3
Thanks @timleslie! - Removed theadapters-mongoose-legacy
packages 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-app@0.0.5
Patch Changes
901817fed
,c28e765d1
,c28e765d1
,c28e765d1
,95fefaf81
,c28e765d1
,1a4db6c87
,b40016301
,5c4b48636
,192393d0d
,c28e765d1
,1886b4323
,c28e765d1
,399e6db39
,8665cfe66
,4fa66ac1f
,1886b4323
,399e6db39
,5cd94b2a3
,9e450d6b3
,1e6d12f47
,c28e765d1
]:@keystone-next/example-next-lite@1.0.4
Patch Changes
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/example-roles@2.0.1
Patch Changes
#5283
192393d0d
Thanks @timleslie! - The flag{ experimental: { prismaSqlite: true } }
is no longer required to use the SQLite adapter.#5280
9e450d6b3
Thanks @timleslie! - Removed theadapters-mongoose-legacy
packages 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/example-sandbox@1.0.5
Patch Changes
#5283
192393d0d
Thanks @timleslie! - The flag{ experimental: { prismaSqlite: true } }
is no longer required to use the SQLite adapter.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/example-todo@1.0.5
Patch Changes
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/api-tests-legacy@9.2.2
Patch Changes
#5280
9e450d6b3
Thanks @timleslie! - Removed theadapters-mongoose-legacy
packages dependency.Updated dependencies [
1a4db6c87
,e702fea44
,c28e765d1
,b40016301
,192393d0d
,c28e765d1
,1886b4323
,8665cfe66
,4fa66ac1f
,399e6db39
,9e450d6b3
]:@keystone-next/benchmarks-legacy@5.2.5
Patch Changes
#5280
9e450d6b3
Thanks @timleslie! - Removed theadapters-mongoose-legacy
packages dependency.Updated dependencies [
901817fed
,1a4db6c87
,c28e765d1
,e702fea44
,c28e765d1
,c28e765d1
,95fefaf81
,c28e765d1
,1a4db6c87
,955787055
,b40016301
,5c4b48636
,192393d0d
,c28e765d1
,1886b4323
,c28e765d1
,399e6db39
,8665cfe66
,fda82869c
,4fa66ac1f
,1886b4323
,399e6db39
,5cd94b2a3
,9e450d6b3
,1e6d12f47
,4f0abec0b
,c28e765d1
]: