Skip to content

v0.1.0

Compare
Choose a tag to compare
@weizhenye weizhenye released this 10 Jun 16:28
· 34 commits to master since this release

Breaking Changes

  • Drop support of IE 11
  • remove UMD dist, only support ES Module
  • In the past, ASS.js will create a container when it's not provided. Now ASS.js will use video.parentNode as default.
  • remove resize API, ASS.js will resize to video size automatically by ResizeObserver

New Features

  • add delay API
  • use text-wrap: balance for WrapStyle 0 and 3

Refactors

  • use text-stroke to render border
  • use Web Animation API to replace CSS Animation
  • use Vitest
  • use Class private fields

Fixes

  • #21 avoid dialogue's line-height to be changed by global styles
  • use text-stroke to render border
  • scale \org
  • #29 position logic
  • ignore empty drawings
  • difference of \fad and \fade
  • binding video playing and waiting events
  • #36 fallback script resolution to video.clientWidth
  • #40 scale \fsp
  • #41 height of long dialogues
  • #43 large MarginV