-
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 #5190
Version Packages #5190
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/keystonejs/keystone-next-docs/7rDtwEb6AuNMBZrWAK1FPLHaZeqy |
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 a4c1d7e:
|
aa65644
to
b425162
Compare
b425162
to
47183b5
Compare
47183b5
to
8155984
Compare
8155984
to
fdd1961
Compare
fdd1961
to
0400b77
Compare
0400b77
to
a7d01f1
Compare
a7d01f1
to
bf45d05
Compare
bf45d05
to
4803e47
Compare
4803e47
to
7510d6d
Compare
7510d6d
to
2f072ba
Compare
2f072ba
to
3cc49e6
Compare
3cc49e6
to
610ae66
Compare
610ae66
to
4167f77
Compare
4167f77
to
f266839
Compare
61e52b6
to
50b186e
Compare
50b186e
to
82bb131
Compare
82bb131
to
2fee084
Compare
2fee084
to
5015a22
Compare
5015a22
to
1c3c538
Compare
1c3c538
to
755e323
Compare
755e323
to
7217c1c
Compare
7217c1c
to
c909519
Compare
c909519
to
ce4289d
Compare
ce4289d
to
88f4498
Compare
88f4498
to
a4c1d7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
What's New
Goodbye legacy code 👋 🌇
We removed a few legacy items including:
CalendarDay
,DateTime
,Slug
,Url
, andUuid
.cookieSecret
,cookie
, andsessionStore
from the Keystone constructor.schemaName
,schemaNames
,keystoneOptions
, andgraphqlOptions
were unused and have been removed from thesetupServer()
function (which we also removed).Improved
select
field type 🔽It now uses the correct underlying type, which lets you make use of { dataType: 'enum' } and { dataType: 'integer'}.
Squashed bugs 🐛
We fixed a bug that existed in
updateMany
on lists with declarative access control.Enjoying Keystone?
Star this repo 🌟 ☝️ or connect to Keystone on Twitter and in Slack.
Releases
@keystone-next/[email protected]
Major Changes
#5196
ca1be4156
Thanks @timleslie! - Removed legacy method.getAdminMeta
fromKeystone
,List
andField
classes.#5208
4d405390c
Thanks @timleslie! - Removed legacy propertyList.views
and methodField.extendAdminViews()
.#5194
a8be4c860
Thanks @timleslie! - Removed legacy Admin UI views.#5244
0e1487385
Thanks @timleslie! - Removed the legacy argumentsadminDoc
andadminConfig
, and the methodextendAdminMeta
.#5186
aa76102c1
Thanks @timleslie! - Removedapp-admin-ui-legacy
package.#5234
f448a8b3a
Thanks @timleslie! - Removed the legacy field typesCalendarDay
,DateTime
,Slug
,Url
, andUuid
.Patch Changes
0e01f471d
,76e5c7bd3
,97609a623
,da900777a
]:@keystone-next/[email protected]
Major Changes
9e78d8818
Thanks @timleslie! - Removedviews
export, which was used to provide functionality to the legacy Admin UI.Patch Changes
ca1be4156
,4d405390c
,a8be4c860
,0e1487385
,aa76102c1
,f448a8b3a
]:@keystone-next/[email protected]
Major Changes
#5244
0e1487385
Thanks @timleslie! - Removed the legacy argumentsadminDoc
andadminConfig
, and the methodextendAdminMeta
.#5193
eb39fa37d
Thanks @timleslie! - Removedviews
export, which was used to provide functionality to the legacy Admin UI.Patch Changes
ca1be4156
,4d405390c
,a8be4c860
,0e1487385
,aa76102c1
,f448a8b3a
]:@keystone-next/[email protected]
Major Changes
9e78d8818
Thanks @timleslie! - Removedviews
export, which was used to provide functionality to the legacy Admin UI.Patch Changes
ca1be4156
,4d405390c
,a8be4c860
,0e1487385
,aa76102c1
,f448a8b3a
]:@keystone-next/[email protected]
Major Changes
7bf269057
Thanks @timleslie! - Removed legacyS3Adapter
.@keystone-next/[email protected]
Major Changes
#5250
e944b1ebb
Thanks @timleslie! - Removed legacy methodkeystone.createContext()
.#5196
ca1be4156
Thanks @timleslie! - Removed legacy method.getAdminMeta
fromKeystone
,List
andField
classes.#5220
7ae452ad1
Thanks @timleslie! - Removed the legacykeystone.createAuthStrategy()
method.#5226
45272d0b1
Thanks @timleslie! - Removed legacy methodkeystone.prepare()
.#5248
ade638de0
Thanks @timleslie! - Removed support for legacyplugins
argument toList
config.#5247
2a1fc416e
Thanks @timleslie! - Removed legacy methodkeystone.executeGraphQL()
.#5208
4d405390c
Thanks @timleslie! - Removed legacy propertyList.views
and methodField.extendAdminViews()
.#5198
b36758a12
Thanks @timleslie! - Removed the legacycookieSecret
,cookie
, andsessionStore
arguments from theKeystone
constructor.#5249
fe9fc5e0d
Thanks @timleslie! - Removed the legacyschemaNames
argument from theKeystone
andList
constructors.#5246
b8cd13fdf
Thanks @timleslie! - Removed legacykeystone.createApolloServer
method.#5195
32578f01e
Thanks @timleslie! - Removed legacy methodKeystone.getAdminViews()
.Patch Changes
#5184
5510ae33f
Thanks @timleslie! - Fixed bug with updateMany on lists with declarative access control.Updated dependencies [
97609a623
]:@keystone-next/[email protected]
Major Changes
#5222
db6cb59dc
Thanks @timleslie! - Removed the legacykeystone
argument from all exported functions.#5258
0b679b742
Thanks @timleslie! - Removed legacyrunCustomQuery
function.Minor Changes
f73cc9377
Thanks @timleslie! - Convert the package to TypeScript.Patch Changes
34dd809ee
]:@keystone-next/[email protected]
Major Changes
#5199
d8e32c50e
Thanks @timleslie! - Removed unused argumentsschemaName
,schemaNames
,keystoneOptions
, andgraphqlOptions
fromsetupServer()
.#5223
33bc4de6c
Thanks @timleslie! - Removed the legacy functionsetupServer
.Patch Changes
#5198
b36758a12
Thanks @timleslie! - Removed the legacycookieSecret
,cookie
, andsessionStore
arguments from theKeystone
constructor.Updated dependencies [
e944b1ebb
,ca1be4156
,7ae452ad1
,45272d0b1
,ade638de0
,2a1fc416e
,5510ae33f
,4d405390c
,fe4b48907
,b36758a12
,fe9fc5e0d
,b8cd13fdf
,32578f01e
]:@keystone-next/[email protected]
Major Changes
97609a623
Thanks @timleslie! - Removed unused functionscaptureSuspensePromises
andcountArrays
.@keystone-next/[email protected]
Minor Changes
da900777a
Thanks @timleslie! -select
field type now uses the correct underlying type, allowing the use of{ dataType: 'enum' }
and{ dataType: 'integer'}
.Patch Changes
#5216
0e01f471d
Thanks @timleslie! - Added a default config value of{}
for themongoId
field type.#5212
76e5c7bd3
Thanks @timleslie! - Moved test fixtures into the new packages.Updated dependencies [
ca1be4156
,9e78d8818
,4d405390c
,34dd809ee
,a8be4c860
,0e1487385
,aa76102c1
,f448a8b3a
]:@keystone-next/[email protected]
Patch Changes
34dd809ee
,0e1487385
,7bf269057
,eb39fa37d
]:@keystone-next/[email protected]
Patch Changes
#5212
76e5c7bd3
Thanks @timleslie! - Moved test fixtures into the new packages.Updated dependencies [
0e01f471d
,76e5c7bd3
,ca1be4156
,da900777a
,4d405390c
,34dd809ee
,a8be4c860
,0e1487385
,aa76102c1
,f448a8b3a
]:@keystone-next/[email protected]
Patch Changes
#5229
fe4b48907
Thanks @raveling! - Updated command line output emojis to be more friendly#5198
b36758a12
Thanks @timleslie! - Removed the legacycookieSecret
,cookie
, andsessionStore
arguments from theKeystone
constructor.Updated dependencies [
0e01f471d
,76e5c7bd3
,f73cc9377
,e944b1ebb
,db6cb59dc
,ca1be4156
,7ae452ad1
,45272d0b1
,ade638de0
,2a1fc416e
,5510ae33f
,da900777a
,4d405390c
,34dd809ee
,0b679b742
,b36758a12
,fe9fc5e0d
,b8cd13fdf
,32578f01e
]:@keystone-next/[email protected]
Patch Changes
34dd809ee
Thanks @timleslie! - Updated typeGraphQLExecutionArguments.variables
to be optional.@keystone-next/[email protected]
Patch Changes
97609a623
]:@keystone-next/[email protected]
Patch Changes
e944b1ebb
,ca1be4156
,7ae452ad1
,97609a623
,45272d0b1
,ade638de0
,2a1fc416e
,9e78d8818
,5510ae33f
,4d405390c
,b36758a12
,fe9fc5e0d
,b8cd13fdf
,32578f01e
]:@keystone-next/[email protected]
Patch Changes
e944b1ebb
,ca1be4156
,7ae452ad1
,97609a623
,45272d0b1
,ade638de0
,2a1fc416e
,9e78d8818
,5510ae33f
,4d405390c
,b36758a12
,fe9fc5e0d
,b8cd13fdf
,32578f01e
]:@keystone-next/[email protected]
Patch Changes
e944b1ebb
,ca1be4156
,7ae452ad1
,97609a623
,45272d0b1
,ade638de0
,2a1fc416e
,9e78d8818
,5510ae33f
,4d405390c
,b36758a12
,fe9fc5e0d
,b8cd13fdf
,32578f01e
]:@keystone-next/[email protected]
Major Changes
673b21a0d
Thanks @timleslie! - Updated project to useprisma_sqlite
rather thanmongoose
as the database adapter ifDATABASSE_URL
is not provided.Patch Changes
0e01f471d
,76e5c7bd3
,da900777a
,fe4b48907
,b36758a12
]:@keystone-next/[email protected]
Major Changes
673b21a0d
Thanks @timleslie! - Updated project to useprisma_sqlite
rather thanmongoose
as the database adapter ifDATABASSE_URL
is not provided.Patch Changes
0e01f471d
,76e5c7bd3
,da900777a
,34dd809ee
,fe4b48907
,b36758a12
]:@keystone-next/[email protected]
Major Changes
673b21a0d
Thanks @timleslie! - Updated project to useprisma_sqlite
rather thanmongoose
as the database adapter ifDATABASSE_URL
is not provided.Patch Changes
0e01f471d
,76e5c7bd3
,f73cc9377
,db6cb59dc
,da900777a
,34dd809ee
,0b679b742
,fe4b48907
,b36758a12
]:@keystone-next/[email protected]
Major Changes
673b21a0d
Thanks @timleslie! - Updated project to useprisma_sqlite
rather thanmongoose
as the database adapter ifDATABASSE_URL
is not provided.Patch Changes
0e01f471d
,76e5c7bd3
,da900777a
,34dd809ee
,fe4b48907
,b36758a12
]:@keystone-next/[email protected]
Patch Changes
#5212
76e5c7bd3
Thanks @timleslie! - Moved test fixtures into the new packages.#5184
5510ae33f
Thanks @timleslie! - Fixed bug with updateMany on lists with declarative access control.Updated dependencies [
ca1be4156
,97609a623
,4d405390c
,34dd809ee
,a8be4c860
,b36758a12
,0e1487385
,d8e32c50e
,33bc4de6c
,aa76102c1
,f448a8b3a
]:@keystone-next/[email protected]
Patch Changes
#5258
0b679b742
Thanks @timleslie! - Removed legacyrunCustomQuery
function.Updated dependencies [
0e01f471d
,76e5c7bd3
,f73cc9377
,e944b1ebb
,db6cb59dc
,ca1be4156
,7ae452ad1
,45272d0b1
,ade638de0
,2a1fc416e
,5510ae33f
,da900777a
,4d405390c
,0b679b742
,a8be4c860
,fe4b48907
,b36758a12
,fe9fc5e0d
,0e1487385
,b8cd13fdf
,32578f01e
,d8e32c50e
,33bc4de6c
,aa76102c1
,f448a8b3a
]: