irc-go v0.4.0 is a new tagged release. It incorporates enhancements to ircmsg
, our IRC protocol handling library, and ircfmt
, our library for handling IRC formatting codes. There are no API breaks relative to previous tagged versions.
Changed
ircmsg.ParseLineStrict
now does UTF8-aware truncation of the parsed message, using the same algorithm asircmsg.LineBytesStrict
(if the truncated message is invalid as UTF8, up to 3 additional bytes are removed in an attempt to make it valid)TruncateUTF8Safe
was moved fromircutils
toircmsg
. (An alias is provided inircutils
for compatibility.)
Added
ircfmt.Unescape
now accepts the American spellings "gray" and "light gray", in addition to "grey" and "light grey"