Skip to content

v5.0.0

Compare
Choose a tag to compare
@yhatt yhatt released this 19 Jun 06:09
· 124 commits to main since this release

Breaking

  • Dropped EoL Node.js 12 support (#271)

  • Removed implicit children prop from FunctionComponent to make compatible types with React 18 (Use PropsWithChildren<P> to include children prop) (#270)

    -JSXSlack.FunctionComponent<P>
    +JSXSlack.FunctionComponent<JSXSlack.PropsWithChildren<P>>
    -JSXSlack.FunctionComponent
    +JSXSlack.FunctionComponent<JSXSlack.PropsWithChildren<{}>>

Deprecated

  • VoidFunctionComponent, VFC, FunctionalComponent, VoidFunctionalComponent, and Props type (#270)

    Depreacted Replace to
    VoidFunctionComponent / VFC FunctionComponent / FC
    FunctionalComponent FunctionComponent / FC
    VoidFunctionalComponent FunctionComponent / FC
    Props<P> P

Changed

  • Upgrade Node and dependent packages to the latest version (#271)