Skip to content

Commit dc57f88

Browse files
chore(release): [ci] release (#39)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent d88e928 commit dc57f88

File tree

8 files changed

+73
-93
lines changed

8 files changed

+73
-93
lines changed

.changeset/eighty-mirrors-drive.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/lemon-lies-visit.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/nine-drinks-walk.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

.changeset/perfect-camels-carry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/pre.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.changeset/thin-eagles-study.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

astro-portabletext/CHANGELOG.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,77 @@
11
# astro-portabletext
22

3+
## 0.9.0
4+
5+
### Minor Changes
6+
7+
- d56e161: BREAKING CHANGE
8+
- `Props` type requires a `TypedObject` to be passed in and no longer defaults to `ArbitraryTypedObject`
9+
- 1eb192e: **BREAKING**
10+
11+
**astro-portabletext/utils**
12+
13+
- `usePortableText(node)`
14+
- Removed: `getWarningMessage` function
15+
- Meant for internal use
16+
- Removed: `notifyMissingComponentHandler` function
17+
- This is handled for you and has no purpose
18+
- Removed: _deprecated_ `next` function
19+
- Use `getDefaultComponent`
20+
- Removed: _deprecated_ `onMissingComponent` function
21+
22+
- f95c9da: **BREAKING CHANGE** `astro-portabletext/components`
23+
24+
- Removed `BlockProps` type
25+
26+
```diff
27+
- import type { BlockProps } from "astro-portabletext/components";
28+
+ import type { Block, Props as $ } from "astro-portabletext/types";
29+
```
30+
31+
```js
32+
// type BlockProps = $<Block>;
33+
```
34+
35+
- Removed `ListProps` type
36+
37+
```diff
38+
- import type { ListProps } from "astro-portabletext/components";
39+
+ import type { List, Props as $ } from "astro-portabletext/types";
40+
```
41+
42+
```js
43+
// type ListProps = $<List>;
44+
```
45+
46+
- Removed `ListItemProps` type
47+
48+
```diff
49+
- import type { ListItemProps } from "astro-portabletext/components";
50+
+ import type { ListItem, Props as $ } from "astro-portabletext/types";
51+
```
52+
53+
```js
54+
// type ListItemProps = $<ListItem>;
55+
```
56+
57+
- Removed `MarkProps` type
58+
59+
```diff
60+
- import type { MarkProps } from "astro-portabletext/components";
61+
+ import type { Mark, Props as $ } from "astro-portabletext/types";
62+
```
63+
64+
```js
65+
// type MarkProps = $<Mark<{...}>>;
66+
```
67+
68+
### Patch Changes
69+
70+
- d56e161: Fixes `exports` field
71+
- d56e161: Removed compiling step for package release:
72+
73+
- Pre-compiling isn't necessary as Astro handles Typescript for us
74+
375
## 0.9.0-next.4
476

577
### Minor Changes

astro-portabletext/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "astro-portabletext",
3-
"version": "0.9.0-next.4",
3+
"version": "0.9.0",
44
"type": "module",
55
"description": "Render Portable Text with Astro",
66
"keywords": [

0 commit comments

Comments
 (0)