Skip to content

v0.3.0

Compare
Choose a tag to compare
@slingamn slingamn released this 14 Feb 04:36
· 23 commits to master since this release
v0.3.0

irc-go v0.3.0 is a new tagged release. It incorporates enhancements to ircevent, our IRC client library, and ircfmt, our library for handling IRC formatting codes. There are no API breaks relative to previous tagged versions.

Thanks to @kofany for helpful discussions.

Added

  • Added (*ircevent.Connection).DialContext, an optional callback for customizing how ircevent creates IRC connections. Clients can create a custom net.Dialer instance and pass in its DialContext method, or use a callback that invokes a proxy, e.g. a SOCKS proxy (see ircevent/examples/proxy.go for an example). (#64, #91)
  • Added ircfmt.Split(), which splits an IRC message containing formatting codes into a machine-readable representation (a slice of ircfmt.FormattedSubstring). (#89)
  • Added ircfmt.ParseColor(), which parses an IRC color code string into a machine-readable representation (an ircfmt.ColorCode). (#89, #92)

Fixed

  • Fixed some edge cases in ircfmt.Strip() (#89)