Skip to content

Releases: yhatt/jsx-slack

v6.1.1

14 Dec 13:39
Compare
Choose a tag to compare

Fixed

v6.1.0

14 Dec 12:31
Compare
Choose a tag to compare

Added

Changed

  • Upgrade Node.js and dependent packages (#303)

Fixed

  • Avoid using node_modules directory for pre-bundled external modules in ESM output (#308 by @nihalgonsalves)

Removed

  • Test against Node.js 14 (#303)

v6.0.0

22 Feb 16:08
Compare
Choose a tag to compare

Breaking

  • URLs in <a> tags have no longer been encoded by encodeURI() implicitly, excluding some characters that have conflicted with Slack's mrkdwn format (#288, #289 by @nholden)

For keeping to get the compatible output with v5, wrap the value of href attribute with encodeURI() explicitly.

 <Mrkdwn>
-  <a href={'https://example.com/?regex=<([^/]+?)>'}>Link</a>
+  <a href={encodeURI('https://example.com/?regex=<([^/]+?)>')}>Link</a>
 </Mrkdwn>

Changed

Removed

  • Removed deprecated types: VoidFunctionComponent, VFC, JSXSlack.FunctionalComponent, JSXSlack.VoidFunctionalComponent, and JSXSlack.Props (#293)

v5.3.1

19 Feb 08:43
Compare
Choose a tag to compare

Fixed

  • Define types field of conditional exports (#290 by @odanado)

Changed

  • Upgrade Node.js and dependent packages (#291)

v5.3.0

11 Dec 16:23
Compare
Choose a tag to compare

Added

  • Add description prop support to <Option> component (#284, #285)

v5.2.1

23 Nov 01:27
Compare
Choose a tag to compare

Fixed

  • Improve compatibility with npm support for Deno (#283)

v5.2.0

29 Oct 20:26
Compare
Choose a tag to compare

Added

Changed

  • Upgrade dependent packages to the latest version (#281)

v5.1.0

16 Jul 13:12
Compare
Choose a tag to compare

Added

Fixed

  • Make stable documentation anchor links (#274)

v5.0.0

19 Jun 06:09
Compare
Choose a tag to compare

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)

v4.6.1

28 Mar 00:08
Compare
Choose a tag to compare

Fixed

  • Export Fragment in JSX runtime to match to React's runtime (#267, #269)

Changed

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