Skip to content

Commit

Permalink
Version Packages (follow up) (#9087)
Browse files Browse the repository at this point in the history
Co-authored-by: Keystonejs Release Bot <automation+keystonejs@thinkmill.com.au>
  • Loading branch information
dcousens and keystonejs-release-bot authored Apr 9, 2024
1 parent e382f9e commit 6f8c86f
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 13 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
environment: Release
steps:
Expand All @@ -15,16 +14,23 @@ jobs:

- uses: ./.github/actions/ci-setup

- run: pnpm build
- name: version packages
run: pnpm changeset version
env:
GITHUB_TOKEN: ${{ secrets.KEYSTONE_RELEASE_BOT_GITHUB_TOKEN }}

- name: git config
- name: git commit
run: |
git config --global user.name 'Keystonejs Release Bot'
git config --global user.email 'automation+keystonejs@thinkmill.com.au'
git commit -a -m 'bump packages'
- run: pnpm build

- name: npm publish, git tag
run: pnpm changeset publish --tag latest
run: pnpm changeset publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- run: git push origin --follow-tags
- name: git push
run: git push origin --tags
6 changes: 6 additions & 0 deletions packages/auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @keystone-6/auth

## 7.0.3

### Patch Changes

- [#9018](https://github.com/keystonejs/keystone/pull/9018) [`17ba589`](https://github.com/keystonejs/keystone/commit/17ba58970167fde082401d612db5a7acd8fc2184) Thanks [@dcousens](https://github.com/dcousens)! - Fix `createInitial*` and `send*MagicAuthLink` to throw if the expected type from `sessionStrategy.start` is not a string

## 7.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-6/auth",
"version": "7.0.2",
"version": "7.0.3",
"license": "MIT",
"main": "dist/keystone-6-auth.cjs.js",
"module": "dist/keystone-6-auth.esm.js",
Expand Down
46 changes: 40 additions & 6 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# @keystone-6/core

## 5.8.0

### Minor Changes

- [#9057](https://github.com/keystonejs/keystone/pull/9057) [`1b55b41`](https://github.com/keystonejs/keystone/commit/1b55b41248ffcea0322d024a333169549ccf111c) Thanks [@dcousens](https://github.com/dcousens)! - Adds `{field}.hooks.validate.[create|update|delete]` hooks, deprecates `validateInput` and `validateDelete` (throws if incompatible)

- [#9056](https://github.com/keystonejs/keystone/pull/9056) [`3d20b94`](https://github.com/keystonejs/keystone/commit/3d20b94f8791225bf832b4c8d83d9235b6cc103b) Thanks [@dcousens](https://github.com/dcousens)! - Adds `{list}.hooks.validate.[create|update|delete]` hooks, deprecates `validateInput` and `validateDelete`

- [#9026](https://github.com/keystonejs/keystone/pull/9026) [`8147976`](https://github.com/keystonejs/keystone/commit/8147976e90998d3d6e96f177d7f3370feeadf8d1) Thanks [@dcousens](https://github.com/dcousens)! - Add `async` to `extendHttpServer`, to support `await` on startup

### Patch Changes

- [#9027](https://github.com/keystonejs/keystone/pull/9027) [`18eed93`](https://github.com/keystonejs/keystone/commit/18eed93868f8e769f84ec6c81025d7694252b98f) Thanks [@dcousens](https://github.com/dcousens)! - Use `db.idField` of `{ kind: 'number', kind: 'Int' }` internally for singletons

- [#9042](https://github.com/keystonejs/keystone/pull/9042) [`ee1bdac`](https://github.com/keystonejs/keystone/commit/ee1bdaca34412d1b1fbea6dec3ce46e0f33d67f6) Thanks [@dcousens](https://github.com/dcousens)! - Fix static relationship resolution errors to conform to nominal error structure

- [#9026](https://github.com/keystonejs/keystone/pull/9026) [`8147976`](https://github.com/keystonejs/keystone/commit/8147976e90998d3d6e96f177d7f3370feeadf8d1) Thanks [@dcousens](https://github.com/dcousens)! - Fix `config.server.cors` type preventing value of `false`

- [#8809](https://github.com/keystonejs/keystone/pull/8809) [`c0dacbf`](https://github.com/keystonejs/keystone/commit/c0dacbf3426961e645a56fb9451415ac6b561b0e) Thanks [@dcousens](https://github.com/dcousens)! - Fix `defaultIsFilterable` and `defaultIsOrderable` types preventing value of `true`

- [#9029](https://github.com/keystonejs/keystone/pull/9029) [`f125787`](https://github.com/keystonejs/keystone/commit/f125787946ed41ac5d7d097fa33608f27da14654) Thanks [@dcousens](https://github.com/dcousens)! - Fixes `createExpressApp` to use `context.graphql.schema`, not the GraphQLSchema argument

- [#9028](https://github.com/keystonejs/keystone/pull/9028) [`d828013`](https://github.com/keystonejs/keystone/commit/d828013079dbbe29ef5cbd10f580cc9a85548996) Thanks [@dcousens](https://github.com/dcousens)! - Deprecates `extendHttpServer`'s `graphqlSchema` argument, use `context.graphql.schema` instead

- [#9029](https://github.com/keystonejs/keystone/pull/9029) [`f125787`](https://github.com/keystonejs/keystone/commit/f125787946ed41ac5d7d097fa33608f27da14654) Thanks [@dcousens](https://github.com/dcousens)! - Deprecates `ExtendGraphQLSchema` type, use type `(schema: GraphQLSchema) => GraphQLSchema` instead

- [#8809](https://github.com/keystonejs/keystone/pull/8809) [`c0dacbf`](https://github.com/keystonejs/keystone/commit/c0dacbf3426961e645a56fb9451415ac6b561b0e) Thanks [@dcousens](https://github.com/dcousens)! - Fix global locking by dropping global `p-limit` on `context.query`/`context.db`

- [#9017](https://github.com/keystonejs/keystone/pull/9017) [`3cb0cce`](https://github.com/keystonejs/keystone/commit/3cb0cceef7a0b55d0ea7998ca00654c7eb217bde) Thanks [@dcousens](https://github.com/dcousens)! - Fix `image` field type to use consistent sub-field ordering

- [#9057](https://github.com/keystonejs/keystone/pull/9057) [`1b55b41`](https://github.com/keystonejs/keystone/commit/1b55b41248ffcea0322d024a333169549ccf111c) Thanks [@dcousens](https://github.com/dcousens)! - Fixes the `text` field type to accept a `defaultValue` of `null`

## 5.7.2

### Patch Changes
Expand Down Expand Up @@ -1659,8 +1691,8 @@
config({
server: {
healthCheck: {
path: '/my-health-check',
data: { status: 'healthy' },
path: "/my-health-check",
data: { status: "healthy" },
},
},
});
Expand All @@ -1672,9 +1704,9 @@
config({
server: {
healthCheck: {
path: '/my-health-check',
path: "/my-health-check",
data: () => ({
status: 'healthy',
status: "healthy",
timestamp: Date.now(),
uptime: process.uptime(),
}),
Expand Down Expand Up @@ -2713,7 +2745,9 @@
For example, to find the title and author name for all posts in our system we would run:

```js
const posts = await context.lists.Post.findMany({ resolveFields: 'id title author { id name }' });
const posts = await context.lists.Post.findMany({
resolveFields: "id title author { id name }",
});
```

If `resolveFields: false` is provided, this indicates to the method that no field-resolving is desired.
Expand All @@ -2737,7 +2771,7 @@
return context.lists.Post.findMany({
where: { user: { id: userId } },
first: 1,
sortBy: ['stars_DESC'],
sortBy: ["stars_DESC"],
resolveFields: false,
});
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-6/core",
"version": "5.7.2",
"version": "5.8.0",
"repository": "https://github.com/keystonejs/keystone/tree/main/packages/core",
"license": "MIT",
"main": "dist/keystone-6-core.cjs.js",
Expand Down

0 comments on commit 6f8c86f

Please sign in to comment.