- Add support for handling speaker markers in Apple generated VTT files
- Update dependencies, Node 20.11.0, Yarn 4.0.2
- Add support for VTT without index value (Resolves #25)
- Add support to remove extra spaces when combining segment body (Resolves #22)
New Options
:
combineEqualTimes
andcombineEqualTimesSeparator
: Combine segments if thestartTime
,endTime
, andspeaker
match between the current and prior segments. (Resolves #19)speakerChange
: Only includespeaker
when speaker changes. (Resolves #20)combineSegments
andcombineSegmentsLength
: ReplacescombineSingleWordSegments
function. Combine segments where speaker is the same and concatenatedbody
fits in thecombineSegmentsLength
- Change
timestampFormatter
toTimestampFormatter
Breaking Changes:
combineSingleWordSegments
function is now handled by thecombineSegments
andcombineSegmentsLength
optionstimestampFormatter
is nowTimestampFormatter
- Add step to replace main entry in distributed package.json
- For HTML transcripts, just use the next segment's startTime for the endTime instead of adding the startTime to it. (Resolves #14)
- Add support for specifying custom timestamp formatter (Resolves #11)
- Make
Segment
,TranscriptFormat
,TimestampFormatter
,FormatterCallback
available from the root
- Update HTML support to not require html or body
elements. (Resolves #5)
- Allow any order of elements.
- Make cite element optional.
- Add formatted start and end times to Segment type (Resolves #6)
Rework build and publish steps so that published data does not use dist folder
Update version in order to publish updated README
Initial version