Skip to content

Commit

Permalink
0.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
benmerckx committed Apr 25, 2024
1 parent e0b54fc commit 60d381f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## [0.9.7]

- Add `Edit.link` and `Edit.links` to create link values in the Edit api. These
are currently not optimally typed and will be improved in the future.

```tsx
const imageField = Field.link('Image', {
fields: {
alt: Field.text('Alt text')
}
})
const imageValue = Edit.link(imageField)
.addImage(imageId, {alt: 'An image'})
.value()
```

## [0.9.6]

- Fix double language in urls for entries created through the Edit api
Expand Down

0 comments on commit 60d381f

Please sign in to comment.