Skip to content

Commit

Permalink
Added content related to the recent release (keystonejs#7530)
Browse files Browse the repository at this point in the history
  • Loading branch information
raveling authored May 13, 2022
1 parent 97c5ffb commit 43a73e5
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 2 deletions.
49 changes: 49 additions & 0 deletions docs/pages/releases/2022-05-13.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { Markdown, getStaticProps } from '../../components/Markdown';
import { Emoji } from '../../components/primitives/Emoji';
import { Stack } from '../../components/primitives/Stack';

# Release: 13th May 2022

Maintenance release:

```json
"@keystone-6/core": "1.1.1"
"@keystone-6/fields-document": "2.0.1"
```

## Core changes <Emoji symbol="⚙️" alt="Gear" />

- Fixed decimal `validation.min` not being respected and `validation.max` being used as the min if provided.

## Admin UI improvements <Emoji symbol="" alt="Sparkles" />

- Fixed the **JSON field** not showing any formatting when the field mode is **read-only**
- Updated the **list page** to show the **reset to default button** when any sorting, or other field value filters are provided
- Updated the styling for the **relationship select** to be less confusing when the field mode is **read-only**
- Improvements to the **document editor toolbar**:
- the toolbar is now hidden when the field mode is read-only
- fixed a z-index issue
- Fixed **read only** view for **segmented control** display mode in the **select** field. When a segmented-control select field is in read mode, the values no longer appear editable.

## Dependencies <Emoji symbol="⬆️" alt="Up arrow" />

- Upgrade react-day-picker to v8

## Community Contributors <Emoji symbol="💙" alt="Blue heart" />

- Thanks [@moselhy](https://github.com/moselhy)! - Fixed React key warning when showing GraphQL errors
- Thanks [@MurzNN](https://github.com/murznn)! - Added sandbox configs for all examples, so now all our examples can be launched on the codesandbox.io service. Give it a try in our [blog example](https://github.com/keystonejs/keystone/tree/main/examples/blog#online-sandox) 🚀

## Complete Changelog <Emoji symbol="📜" alt="Scroll" />

You can also view the [verbose release notes](https://github.com/keystonejs/keystone/pull/7419) for this release on Github.

export default ({ children, ...props }) => (
<Markdown
description="Improvements to decimal validation and Admin UI read-only fields."
{...props}
>
{children}
</Markdown>
);
export { getStaticProps };
6 changes: 5 additions & 1 deletion docs/pages/releases/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ import { Status } from '../../components/primitives/Status';

# Release Notes

## 1st December 2021
## 13th May 2022

<Status look="latestRelease" />

Improvements to decimal validation and Admin UI read-only fields.<Emoji symbol="" alt="Sparkles"/> — [Read more](/releases/2022-05-13)

## 1st December 2021

Keystone 6 has hit **General Availability**! We've shipped some additional improvements since our release candidate last week. <Emoji symbol="🚀" alt="Rocket"/> — [Read more](/releases/2021-12-01)

## 24th November 2021
Expand Down
14 changes: 13 additions & 1 deletion docs/pages/updates/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,19 @@ export default function WhatsNew() {
gap: 0,
})}
>
<Timeline date="8th February 2022" isLatest />
<Timeline date="13th May 2022" isLatest />
<Box heading="Example projects in CodeSandbox">
You can now experiment with Keystone{' '}
<a href="https://github.com/keystonejs/keystone/tree/main/examples">example projects</a>{' '}
in a browser using the free <a href="https://codesandbox.io/">codesandbox.io</a> service.
Try the{' '}
<a href="https://githubbox.com/keystonejs/keystone/tree/main/examples/blog">
blog example
</a>{' '}
today. Thanks <a href="https://github.com/MurzNN">@murznn</a> for making it happen!{' '}
<Emoji symbol="🙌" alt="raised hands" />
</Box>
<Timeline date="8th February 2022" />
<Box heading="New learning series">
Aimed at Keystone beginners, our{' '}
<a href="/docs/walkthroughs#learn-keystone">new learning series</a> shows you how to turn
Expand Down

0 comments on commit 43a73e5

Please sign in to comment.