- 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:
combineEqualTimesandcombineEqualTimesSeparator: Combine segments if thestartTime,endTime, andspeakermatch between the current and prior segments. (Resolves #19)speakerChange: Only includespeakerwhen speaker changes. (Resolves #20)combineSegmentsandcombineSegmentsLength: ReplacescombineSingleWordSegmentsfunction. Combine segments where speaker is the same and concatenatedbodyfits in thecombineSegmentsLength- Change
timestampFormattertoTimestampFormatter
Breaking Changes:
combineSingleWordSegmentsfunction is now handled by thecombineSegmentsandcombineSegmentsLengthoptionstimestampFormatteris 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,FormatterCallbackavailable 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