Skip to content

v1.0.0

Compare
Choose a tag to compare
@metonym metonym released this 23 Apr 21:12
· 494 commits to master since this release

Breaking Changes

  • upgrade highlight.js to version 10.7
  • remove all forwarded events from Highlight, HighlightSvelte
  • remove legacy component; replace with Highlight.svelte as the default export
  • remove Rollup from build process; only ship Svelte source code and languages/styles as ESM
  • remove highlightjs-svelte dependency; use XML/JavaScript/CSS as sublanguages

Features

  • add HighlightAuto component that auto highlights code
  • major bundle size improvements by using only the core library

Fixes

  • correctly type languages/styles

Other

  • drop Node.js v12 from Travis CI build config

Documentation

  • use SvelteKit instead of Sapper for the documentation/live demo site
  • provide correct NPM install command