Skip to content

Commit

Permalink
chore: exit prerelease mode and version packages
Browse files Browse the repository at this point in the history
  • Loading branch information
theisel committed Oct 31, 2022
1 parent bb0a0eb commit 3686580
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 60 deletions.
5 changes: 0 additions & 5 deletions .changeset/eighty-parrots-walk.md

This file was deleted.

22 changes: 0 additions & 22 deletions .changeset/giant-mugs-look.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/pre.json

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/shy-donkeys-judge.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-wasps-explain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-doors-cheat.md

This file was deleted.

34 changes: 34 additions & 0 deletions astro-portabletext/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# astro-portabletext

## 0.7.0

### Minor Changes

- 9ba2709: Feat: `usePortableText(node)` utility function returns new properties and some have been deprecated.

Refer to the `utils docs` for usage.

**Added**

| Property | Type | Description |
| :---------------------------- | :--------- | :------------------------------------------------------------------------------------------------------------------------------- |
| getDefaultComponent | `function` | Returns the `default` component related to the passed in `node`. Use this when you need to fall back to the `default` component. |
| getUnknownComponent | `function` | Returns the counterpart `unknown(Block\|List\|ListItem\|Mark\|Type)` component related to the passed in `node`. |
| notifyMissingComponentHandler | `function` | Calls `onMissingComponent` handler. Pass in a `string` to override `default` message. |

**Deprecated**

| Property | Type | Description |
| :----------------- | :--------- | :---------------------------------- |
| next | `function` | Use `getDefaultComponent` |
| onMissingComponent | `function` | Use `notifyMissingComponentHandler` |

- aa3201a: Updated dependency `@portabletext/types` from v1 to v2

### Patch Changes

- c9547e1: Feat: Added [`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu) to `components` props `list` type
- 67cdf4c: Fixes "Cannot redefine property: Symbol(astro-portabletext)" error

Astro in `dev` mode caused an issue on refresh

- 4f194e6: Fixes missing `components.listItem.menu` default component

## 0.7.0-next.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion astro-portabletext/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro-portabletext",
"version": "0.7.0-next.4",
"version": "0.7.0",
"type": "module",
"description": "Render Portable Text with Astro",
"keywords": [
Expand Down

0 comments on commit 3686580

Please sign in to comment.