Skip to content

v5.0.0 - TypeScript Rewrite & ESM

Latest

Choose a tag to compare

@jsarafajr jsarafajr released this 07 Nov 12:10
6cad25d

Release Notes:

๐Ÿš€ Major Changes

TypeScript Rewrite & ESM-Only (#50)

  • Complete rewrite in TypeScript with full type definitions
  • Breaking Change: Now exclusively ESM (ECMAScript Modules) - CommonJS no longer supported
  • Improved type safety and developer experience
  • Modern module system for better tree-shaking and compatibility

โœจ Enhancements

HTML Comment Stripping (#51)

  • HTML comments are now automatically removed from Slack output
  • Cleaner markdown-to-Slack conversion without unwanted comment artifacts

๐Ÿ› Bug Fixes

Multiline Blockquote Support (#52)

  • Fixed handling of multiline blockquotes for proper Slack formatting
  • Blockquotes now correctly preserve multi-line content

โš ๏ธ Breaking Changes

This release contains breaking changes:

  • Node.js: Requires Node.js environment with ESM support

Before (v4.x - CommonJS):
const slackifyMarkdown = require('slackify-markdown');

After (v5.x - ESM):
import { slackifyMarkdown } from 'slackify-markdown';