Skip to content

Commit 98c9591

Browse files
authored
Version Packages (#8841)
1 parent cf0bd47 commit 98c9591

23 files changed

+39
-101
lines changed

.changeset/add-error-message.md

-5
This file was deleted.

.changeset/add-field-hooks.md

-5
This file was deleted.

.changeset/contributors.json

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"MohammadKurjieh",
1515
"MurzNN",
1616
"Noviny",
17+
"ScottAgirs",
1718
"SeanDoyleGit",
1819
"Skulek",
1920
"TasinIshmam",
@@ -81,6 +82,7 @@
8182
"ticidesign",
8283
"timgates42",
8384
"timleslie",
85+
"ttbarnes",
8486
"u-ishii",
8587
"u-u-z",
8688
"willemmulder",

.changeset/fix-cloudinary-init.md

-5
This file was deleted.

.changeset/fix-id-filters.md

-5
This file was deleted.

.changeset/odd-lemons-hide.md

-5
This file was deleted.

.changeset/refine-hook-types.md

-5
This file was deleted.

.changeset/strong-swans-destroy.md

-5
This file was deleted.

STYLE_GUIDE.md docs/STYLE_GUIDE.md

File renamed without changes.

examples/cloudinary/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@keystone-6/cloudinary": "workspace:^",
14-
"@keystone-6/core": "^5.0.0",
14+
"@keystone-6/core": "^5.7.0",
1515
"@prisma/client": "^4.16.2",
1616
"dotenv": "^16.0.0"
1717
},

examples/custom-id/README.md

-6
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ This example includes sample data. To add it to your database:
3232
2. Run `pnpm seed-data`. This will populate your database with sample content.
3333
3. Run `pnpm dev` again to startup Admin UI with sample data in place.
3434

35-
## Next steps
36-
37-
Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.
38-
39-
When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.
40-
4135
## Try it out in CodeSandbox 🧪
4236

4337
You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/custom-id>. You can also fork this sandbox to make your own changes.

examples/limits/README.md

-6
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,3 @@ This example includes sample data. To add it to your database:
2828
## Try it out in CodeSandbox 🧪
2929

3030
You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/limits>. You can also fork this sandbox to make your own changes.
31-
32-
## Next steps
33-
34-
Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.
35-
36-
When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.

examples/script/README.md

-6
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,3 @@ Congratulations, you're now up and running with Keystone! 🚀
2222
## Try it out in CodeSandbox 🧪
2323

2424
You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/script>. You can also fork this sandbox to make your own changes.
25-
26-
## Next steps
27-
28-
Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.
29-
30-
When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.

examples/usecase-blog/README.md

-6
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,3 @@ This example includes sample data. To add it to your database:
3030
## Try it out in CodeSandbox 🧪
3131

3232
You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/usecase-blog>. You can also fork this sandbox to make your own changes.
33-
34-
## Next steps
35-
36-
Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.
37-
38-
When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.

examples/usecase-blog/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"dev": "keystone dev",
88
"start": "keystone start",
99
"build": "keystone build",
10-
"seed-data": "tsx seed-data.ts",
11-
"postinstall": "keystone postinstall"
10+
"postinstall": "keystone postinstall",
11+
"seed-data": "tsx seed-data.ts"
1212
},
1313
"dependencies": {
1414
"@keystone-6/core": "^5.2.0",
+4-19
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
## Base Project - Versioning
1+
## Base Project - Relationship Union
22

3-
This project demonstrates a Posts list where a particular field is always required to be sent in a GraphQL request; this can useful for optimistic locking and versioning.
4-
5-
Use it as a starting place for learning how to use Keystone.
3+
This project demonstrates a meta-list relationship approach that effectively acts as union of a number of different relationships.
4+
This can be useful when trying to use represent union (or sum) types in a list, without forgoing relational or database integrity.
65

76
## Instructions
87

@@ -19,20 +18,6 @@ You can also access a GraphQL Playground at [localhost:3000/api/graphql](http://
1918

2019
Congratulations, you're now up and running with Keystone! 🚀
2120

22-
### Optional: add sample data
23-
24-
This example includes sample data. To add it to your database:
25-
26-
1. Ensure you’ve initialised your project with `pnpm dev` at least once.
27-
2. Run `pnpm seed-data`. This will populate your database with sample content.
28-
3. Run `pnpm dev` again to startup Admin UI with sample data in place.
29-
3021
## Try it out in CodeSandbox 🧪
3122

32-
You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/usecase-versioning>. You can also fork this sandbox to make your own changes.
33-
34-
## Next steps
35-
36-
Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.
37-
38-
When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.
23+
You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/usecase-relationship-union>. You can also fork this sandbox to make your own changes.

examples/usecase-todo/README.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Base Project - Task Manager
1+
## Base Project - Task Management Application
22

33
This base project implements a simple **Task Management** app, with `Tasks` and `People` who can be assigned to tasks.
44

@@ -26,12 +26,6 @@ This example includes sample data. To add it to your database:
2626
2. Run `pnpm seed-data`. This will populate your database with sample content.
2727
3. Run `pnpm dev` again to startup Admin UI with sample data in place.
2828

29-
## Next steps
30-
31-
Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.
32-
33-
When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.
34-
3529
## Try it out in CodeSandbox 🧪
3630

3731
You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/usecase-todo>. You can also fork this sandbox to make your own changes.

examples/usecase-versioning/README.md

-8
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
This project demonstrates a Posts list where a particular field is always required to be sent in a GraphQL request; this can useful for optimistic locking and versioning.
44

5-
Use it as a starting place for learning how to use Keystone.
6-
75
## Instructions
86

97
To run this project, clone the Keystone repository locally, run `pnpm` at the root of this repository, then navigate to this directory and run:
@@ -30,9 +28,3 @@ This example includes sample data. To add it to your database:
3028
## Try it out in CodeSandbox 🧪
3129

3230
You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL <https://githubbox.com/keystonejs/keystone/tree/main/examples/usecase-versioning>. You can also fork this sandbox to make your own changes.
33-
34-
## Next steps
35-
36-
Experiment with the code in this example to see how Keystone works, familiarise yourself with the Admin UI, and learn about the GraphQL Playground.
37-
38-
When you’ve got the hang of this base project, try a [feature project](../) to learn Keystone’s advanced features and take your knowledge to the next level.

packages/cloudinary/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @keystone-6/cloudinary
22

3+
## 7.0.2
4+
5+
### Patch Changes
6+
7+
- [#8836](https://github.com/keystonejs/keystone/pull/8836) [`a216bc2d2`](https://github.com/keystonejs/keystone/commit/a216bc2d211dbb056e7226377323a41b9699c86d) Thanks [@dcousens](https://github.com/dcousens)! - Remove runtime errors from the Cloudinary field, fall back to the `cloudinary` package for Cloudinary errors
8+
39
## 7.0.1
410

511
### Patch Changes

packages/cloudinary/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@keystone-6/cloudinary",
3-
"version": "7.0.1",
3+
"version": "7.0.2",
44
"license": "MIT",
55
"main": "dist/keystone-6-cloudinary.cjs.js",
66
"module": "dist/keystone-6-cloudinary.esm.js",

packages/core/CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
11
# @keystone-6/core
22

3+
## 5.7.0
4+
5+
### Minor Changes
6+
7+
- [#8837](https://github.com/keystonejs/keystone/pull/8837) [`650fae574`](https://github.com/keystonejs/keystone/commit/650fae574951f91454eb1169ff2b1f9ff51e918c) Thanks [@dcousens](https://github.com/dcousens)! - Add type `FieldHooks` to `@keystone-6/core/types` exports
8+
9+
* [#8826](https://github.com/keystonejs/keystone/pull/8826) [`dc26bdfed`](https://github.com/keystonejs/keystone/commit/dc26bdfedb783a0d73174e579e46d9f00410e8ef) Thanks [@dcousens](https://github.com/dcousens)! - Add `beforeOperation.[create|update|delete]` and `afterOperation.[create|update|delete]` operation routing for list hooks
10+
11+
### Patch Changes
12+
13+
- [#8819](https://github.com/keystonejs/keystone/pull/8819) [`52337e3aa`](https://github.com/keystonejs/keystone/commit/52337e3aa6a57c23c2f0756199a90058a6e5a2ac) Thanks [@acburdine](https://github.com/acburdine)! - Fix `hooks.validateInput` argument types for update operations
14+
15+
* [#8824](https://github.com/keystonejs/keystone/pull/8824) [`712ebb427`](https://github.com/keystonejs/keystone/commit/712ebb42700cd418bb2642858493f57cf7825a40) Thanks [@ScottAgirs](https://github.com/ScottAgirs)! - Remove deprecated `experimental.appDir` flag from generated next.config
16+
317
## 5.6.0
418

519
### Minor Changes
620

21+
- [#8810](https://github.com/keystonejs/keystone/pull/8810) [`27a893380`](https://github.com/keystonejs/keystone/commit/27a8933807804ddad17ce51e5aa418e958e48ce3) Thanks [@dcousens](https://github.com/dcousens)! - Adds error messages for GraphQL errors on the List view in the AdminUI
22+
723
- [#8773](https://github.com/keystonejs/keystone/pull/8773) [`32f7a6ad4`](https://github.com/keystonejs/keystone/commit/32f7a6ad4a5a51a58988e7be495c96b06771b9b7) Thanks [@marekryb](https://github.com/marekryb)! - Adds `config.graphql.schemaPath`
824

925
* [#8777](https://github.com/keystonejs/keystone/pull/8777) [`e3438dcad`](https://github.com/keystonejs/keystone/commit/e3438dcad7a97fb976c1d012b0b53919d0514747) Thanks [@dcousens](https://github.com/dcousens)! - Adds `config.db.prismaSchemaPath`
@@ -12,6 +28,8 @@
1228

1329
### Patch Changes
1430

31+
- [#8810](https://github.com/keystonejs/keystone/pull/8810) [`27a893380`](https://github.com/keystonejs/keystone/commit/27a8933807804ddad17ce51e5aa418e958e48ce3) Thanks [@dcousens](https://github.com/dcousens)! - Fix `Input error: only a int can be passed to id filters` for AdminUI
32+
1533
- [#8790](https://github.com/keystonejs/keystone/pull/8790) [`b830b7c6d`](https://github.com/keystonejs/keystone/commit/b830b7c6deebcffabcf6cd84919a7326a66e9bc9) Thanks [@dcousens](https://github.com/dcousens)! - Reduce number of package dependencies
1634

1735
* [#8788](https://github.com/keystonejs/keystone/pull/8788) [`7b2bb087c`](https://github.com/keystonejs/keystone/commit/7b2bb087c475255322893b01dc1be08174bcca80) Thanks [@borisno2](https://github.com/borisno2)! - Fixes `keystone build` hanging with next version >13.4.12

packages/core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@keystone-6/core",
3-
"version": "5.6.0",
3+
"version": "5.7.0",
44
"repository": "https://github.com/keystonejs/keystone/tree/main/packages/core",
55
"license": "MIT",
66
"main": "dist/keystone-6-core.cjs.js",
@@ -248,7 +248,7 @@
248248
"uuid": "^9.0.0"
249249
},
250250
"devDependencies": {
251-
"@keystone-6/core": "5.6.0",
251+
"@keystone-6/core": "5.7.0",
252252
"@types/apollo-upload-client": "17.0.3",
253253
"@types/bcryptjs": "^2.4.2",
254254
"@types/body-parser": "^1.19.2",

pnpm-lock.yaml

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)