Releases: yhatt/jsx-slack
Releases · yhatt/jsx-slack
v6.1.2
v6.1.1
v6.1.0
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
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
href
attribute 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
children
prop fromFunctionComponent
to make compatible types with React 18 (UsePropsWithChildren<P>
to includechildren
prop) (#270)-JSXSlack.FunctionComponent<P> +JSXSlack.FunctionComponent<JSXSlack.PropsWithChildren<P>> -JSXSlack.FunctionComponent +JSXSlack.FunctionComponent<JSXSlack.PropsWithChildren<{}>>
Deprecated
-
VoidFunctionComponent
,VFC
,FunctionalComponent
,VoidFunctionalComponent
, andProps
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)