Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 1.0.0 #137

Closed

Conversation

github-actions[bot]
Copy link
Contributor

🤖 I have created a release beep boop

1.0.0 (2024-04-21)

⚠ BREAKING CHANGES

  • lib: remove types export (#34)
  • usePortabletext: Removed deprecated and inapt functions
  • remove BlockStyle and isBlockStyle
  • deprecate isBlockStyle
  • redefine Block and deprecate BlockStyle
  • bring in consistent naming
  • change NodeType type from enum to string
  • Props type N param should extend TypedObject
  • remove deprecated types

Features

  • add class property to Props and deprecate astroClass (ddc12ce)
  • add getWarningMessage (81ae628)
  • add isBlockStyle type guard (74574c4)
  • add menu to list component types (c9547e1)
  • add onMissingComponent prop (46cb0e0)
  • add onMissingComponent prop (02e36c6)
  • add TextNode (43a49e6)
  • add entry declaration file (e0c35e2)
  • add new types and deprecate some (7b83ffe)
  • api: usePortableText (1c205e7)
  • component: add utils (1ee90b0)
  • component: export types (e442699)
  • components to throw error (7c52ca2)
  • demo: add .stackblitzrc (c6eb504)
  • demo: add astro/client type (c9b0f12)
  • deps: update demo dependencies (#115) (0f5c228)
  • extend functionality of usePortableText (9ba2709)
  • make toPlainText and mergeComponents accessible (1c102cf)
  • make primary components accessible (a6bfa8e)
  • move types to exports in package.json (564d953)

Bug Fixes

  • #13 UnknownType failed during build (46c62f6)
  • #14 client-side components are non-reactive (fb3cdf5)
  • [object Generator] error (8644be2)
  • [object Generator] error (0329730)
  • block and unknownBlockStyle prop in PortableTextComponents (2ab187e)
  • components.type to be an empty object (ba047c2)
  • onMissingComponent prop to accept boolean (29815b8)
  • add .PHONY target (47e47ea)
  • add dist to ignore in .eslintrc (1c3c4ea)
  • add dom to compilerOptions.lib (004f71d)
  • add main field (33d07bf)
  • add default components.listItem.menu component (4f194e6)
  • add LICENSE (#133) (a7b026f)
  • amend exports and add typesVersions (87ff079)
  • astro-portabletext: add ignoreDeprecations to tsconfig.json (b4096ff)
  • astro-portabletext: add PortableTextBlock type (e49f2ab)
  • astro-portabletext: fix #92 (#103) (9d96e54)
  • astro-portabletext: update dependencies and fix #92 (#100) (5cbea17)
  • build failing (ab96ddc)
  • cannot redefine property error (67cdf4c)
  • change list and listItem to object (a353768)
  • change npm publish to changeset publish (57c759f)
  • change entry file extension (8ef55a1)
  • component: update path (4994b2c)
  • component: use new types (9afa7e3)
  • demo: add is:global directive to style (#97) (1b42231)
  • demo: amend style (d326aa4)
  • demo: fix import declaration (#95) (e2168b7)
  • demo: fix PortableText is not defined (#96) (6765eae)
  • demo: remove inapt prop (ce34bbb)
  • demo: startCommand (a0b8d31)
  • demo: update demo package (#93) (3efa450)
  • demo: update dependencies (#105) (213686c)
  • demo: update dependencies (#109) (9042b92)
  • demo: update to new types (7a9f967)
  • demo: use getDefaultComponent (53b0937)
  • dependency version (b82101d)
  • deprecated types (eedb253)
  • deps: update astro-portabletext (#126) (8e576a7)
  • deps: update astro-portabletext dependencies (#131) (8c9612d)
  • deps: update astro-portabletext dependencies (#67) (a712143)
  • deps: update astro-portabletext dependencies (#73) (2fbb149)
  • deps: update demo dependencies (#112) (f59d515)
  • deps: update demo dependencies (#118) (2b7e358)
  • deps: update demo dependencies (#121) (1494739)
  • deps: update demo dependencies (#72) (c33800e)
  • disable formatting for pre-push hook (1fdd014)
  • downgrade prettier-plugin-astro (606e24a)
  • error thrown in component falls back to unknown counterpart (7809f2f)
  • escape strings (d39afe6)
  • hide component (4f362ed)
  • ignore demo (2a3d9cf)
  • lib/types: interface Mark (#62) (33df21b)
  • missing export LIST_NEST_MODE_HTML (dab66b0), closes #22
  • path to types (4b03123)
  • prefix lib directory with / (13ed29e)
  • release: create new release (#79) (216ed54)
  • release: create new release (#82) (8504f8f)
  • release: fix bad release (#80) (a50bc83)
  • remove --dry-run (94d1c3e)
  • remove --noEmit flag (91d4726)
  • remove index.ts from include (5e8ddf9)
  • rename astroClass to class (dec16e8)
  • replace all style imports with js imports to fit new astro syntax (8448bf7)
  • replace hook with prepublishOnly (7a569bc)
  • replace warning message with slot (ab19744)
  • replace with Fragment (5f59d91)
  • set normal as default block style (5949203)
  • UnknownBlockStyle css breaking on dev (0b51036)
  • unwanted whitespace (7ca752d)
  • update import path (478f2c5)
  • use markDef (fcde082)
  • use new type definitions (233d145)

Performance Improvements

  • flush context at end of PortableText render (f10099f)
  • move style to inline (cbb4945)
  • remove style (1d483d6)
  • use inline css for unknown types/components (eedfe08)

Reverts

  • "chore: exit prerelease and version packages" (900d39a)
  • "chore(workflow/npm): change step order (#76)" (#77) (9276fe9)

Code Refactoring

  • Props type N param should extend TypedObject (d1b38ea)
  • bring in consistent naming (9753535)
  • change NodeType type from enum to string (11ffafc)
  • deprecate isBlockStyle (c60cc04)
  • lib: remove types export (#34) (f95c9da)
  • redefine Block and deprecate BlockStyle (c6cbd3b)
  • remove BlockStyle and isBlockStyle (cfaaf38)
  • remove deprecated types (f8b9a06)
  • usePortabletext: remove inapt functions (1eb192e)

This PR was generated with Release Please. See documentation.

@theisel theisel closed this Apr 21, 2024
@theisel theisel deleted the release-please--branches--main--components--root branch April 21, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mark component parameter types incompatible missing export LIST_NEST_MODE_HTML
1 participant