Releases: yhatt/jsx-slack
Releases · yhatt/jsx-slack
Release list
v6.1.2
v6.1.1
v6.1.0
Added
Changed
- Upgrade Node.js and dependent packages (#303)
Fixed
- Avoid using
node_modulesdirectory for pre-bundled external modules in ESM output (#308 by @nihalgonsalves)
Removed
- Test against Node.js 14 (#303)
v6.0.0
Breaking
- URLs in
<a>tags have no longer been encoded byencodeURI()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
hrefattribute withencodeURI()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, andJSXSlack.Props(#293)
v5.3.1
v5.3.0
v5.2.1
v5.2.0
v5.1.0
v5.0.0
Breaking
-
Dropped EoL Node.js 12 support (#271)
-
Removed implicit
childrenprop fromFunctionComponentto make compatible types with React 18 (UsePropsWithChildren<P>to includechildrenprop) (#270)-JSXSlack.FunctionComponent<P> +JSXSlack.FunctionComponent<JSXSlack.PropsWithChildren<P>> -JSXSlack.FunctionComponent +JSXSlack.FunctionComponent<JSXSlack.PropsWithChildren<{}>>
Deprecated
-
VoidFunctionComponent,VFC,FunctionalComponent,VoidFunctionalComponent, andPropstype (#270)Depreacted Replace to VoidFunctionComponent/VFCFunctionComponent/FCFunctionalComponentFunctionComponent/FCVoidFunctionalComponentFunctionComponent/FCProps<P>P
Changed
- Upgrade Node and dependent packages to the latest version (#271)