Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release beep boop
1.0.0 (2024-04-21)
⚠ BREAKING CHANGES
types
export (#34)BlockStyle
andisBlockStyle
isBlockStyle
Block
and deprecateBlockStyle
NodeType
type fromenum
tostring
Props
typeN
param should extendTypedObject
Features
class
property toProps
and deprecateastroClass
(ddc12ce)getWarningMessage
(81ae628)isBlockStyle
type guard (74574c4)menu
tolist
component types (c9547e1)onMissingComponent
prop (46cb0e0)onMissingComponent
prop (02e36c6)TextNode
(43a49e6)usePortableText
(1c205e7)utils
(1ee90b0).stackblitzrc
(c6eb504)astro/client
type (c9b0f12)demo
dependencies (#115) (0f5c228)usePortableText
(9ba2709)toPlainText
andmergeComponents
accessible (1c102cf)Bug Fixes
UnknownType
failed during build (46c62f6)block
andunknownBlockStyle
prop inPortableTextComponents
(2ab187e)components.type
to be an empty object (ba047c2)onMissingComponent
prop to accept boolean (29815b8).PHONY
target (47e47ea)dist
to ignore in.eslintrc
(1c3c4ea)dom
tocompilerOptions.lib
(004f71d)main
field (33d07bf)components.listItem.menu
component (4f194e6)exports
and addtypesVersions
(87ff079)ignoreDeprecations
to tsconfig.json (b4096ff)PortableTextBlock
type (e49f2ab)list
andlistItem
to object (a353768)npm publish
tochangeset publish
(57c759f)is:global
directive to style (#97) (1b42231)demo
package (#93) (3efa450)getDefaultComponent
(53b0937)astro-portabletext
(#126) (8e576a7)astro-portabletext
dependencies (#131) (8c9612d)astro-portabletext
dependencies (#67) (a712143)astro-portabletext
dependencies (#73) (2fbb149)demo
dependencies (#112) (f59d515)demo
dependencies (#118) (2b7e358)demo
dependencies (#121) (1494739)demo
dependencies (#72) (c33800e)pre-push
hook (1fdd014)prettier-plugin-astro
(606e24a)unknown
counterpart (7809f2f)demo
(2a3d9cf)Mark
(#62) (33df21b)lib
directory with/
(13ed29e)--noEmit
flag (91d4726)astroClass
toclass
(dec16e8)prepublishOnly
(7a569bc)Fragment
(5f59d91)normal
as default blockstyle
(5949203)markDef
(fcde082)Performance Improvements
PortableText
render (f10099f)Reverts
Code Refactoring
Props
typeN
param should extendTypedObject
(d1b38ea)NodeType
type fromenum
tostring
(11ffafc)isBlockStyle
(c60cc04)types
export (#34) (f95c9da)Block
and deprecateBlockStyle
(c6cbd3b)BlockStyle
andisBlockStyle
(cfaaf38)This PR was generated with Release Please. See documentation.