Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed Dec 13, 2024
1 parent 7d3b421 commit 5dacc94
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions packages/dataviews/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,25 @@

## Unreleased

### Bug Fixes

- Fixed commonjs export ([#67962](https://github.com/WordPress/gutenberg/pull/67962))

## 4.10.0 (2024-12-11)

## Breaking Changes

- Support showing or hiding title, media and description fields ([#67477](https://github.com/WordPress/gutenberg/pull/67477)).
- Unify the `title`, `media` and `description` fields for the different layouts. So instead of the previous `view.layout.mediaField`, `view.layout.primaryField` and `view.layout.columnFields`, all the layouts now support these three fields with the following config ([#67477](https://github.com/WordPress/gutenberg/pull/67477)):
- Unify the `title`, `media` and `description` fields for the different layouts. So instead of the previous `view.layout.mediaField`, `view.layout.primaryField` and `view.layout.columnFields`, all the layouts now support these three fields with the following config ([#67477](https://github.com/WordPress/gutenberg/pull/67477)):

```js
const view = {
type: 'table',
titleField: 'title',
mediaField: 'media',
descriptionField: 'description',
fields: [ 'author', 'date' ],
}
type: 'table',
titleField: 'title',
mediaField: 'media',
descriptionField: 'description',
fields: [ 'author', 'date' ],
};
```

## Internal
Expand Down

0 comments on commit 5dacc94

Please sign in to comment.