Twift icon indicating copy to clipboard operation
Twift copied to clipboard

Add support for earlier OS versions + Change stream line separator to CRLF

Open MMP0 opened this issue 1 year ago • 1 comments

Lower the minimum supported OS versions to macOS 10.15 and iOS 13, the lowest versions that support Swift Concurrency.

Also I noticed an issue while creating a polyfill: the Twitter developer page mentions that the line separator in the streaming API is \r\n, but AsyncLineSequence interprets CR (\r), LF (\n), CRLF (\r\n), NEL (\u{85}), LS (\u{2028}) and PS (\u{2029}) as line separators. This could potentially cause problems with tweets containing these characters. So I created AsyncCRLFLineSequence.

MMP0 avatar Nov 03 '22 13:11 MMP0

Thank you for pointing those out. I’ve fixed them.

MMP0 avatar Nov 22 '22 02:11 MMP0