Releases: weizhenye/ASS
Releases · weizhenye/ASS
v0.1.3
v0.1.2
New Features
- support animation for
\clip
- support
fadeaway
of Effects - support
<accel>
in\t()
Refactors
- use CSS
path()
to replace svg<clipPath>
for\clip
- use
TextMetrics
for font size if supported - don't merge multi
\t()
tags
Fixes
- origin of animation
\blur
with\bord0
- font size in Firefox
- margin with custom effect name
- missed spaces with
\q0
, #50
v0.1.1
v0.1.0
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
andwaiting
events - #36 fallback script resolution to video.clientWidth
- #40 scale
\fsp
- #41 height of long dialogues
- #43 large MarginV