Skip to content

Release 0.2.0

Compare
Choose a tag to compare
@pastelmind pastelmind released this 20 Jun 08:31
· 90 commits to main since this release

0.2.0 (2022-06-20)

⚠ BREAKING CHANGES

  • The image decoder in @webtoon/psd now uses WebAssembly instead of asm.js. This makes the bundle significantly larger (~73 KiB), as well as requiring runtimes that support WebAssembly.
    On the plus side, not using asm.js enables using esbuild or Vite without hurting performance due to deoptimized code.
  • Parse layer hidden, transparency lock flags
  • Remove named export 'parse()'
  • Export Group, Layer, Slice as types only

Features

  • export Group, Layer, Slice as types only (564b5a5)
  • implement Rust/WebAssembly-based decoder (020f7a0)
  • init WASM during decode, no top-level init (0b0bb68)
  • parse layer hidden, transparency lock flags (1caf69b)

Code Refactoring

  • remove named export 'parse()' (86af282)