v0.8.0
This release introduces some API changes:
sip.Message
interface is reduced to support only that is used by SIP. This interface has no use from outside but it is used internally- terminating transaction in unhandled handler made issue. Now this is refactored #12
<-tx.Error()
channel is now replaced with functx.Err()
. Similar like gocontext
you can check last Error of transaction after it was terminated. This also removed blocking behavior in client handle #15sip.NewHeader(name, value)
is now added as better way to create generic type header andsip.GenericHeader
is now hidden to avoid usage- sip Parser interface is redesigned to use more exact
ParseSIP
func. Parser is refactored and added docs #18 parser.Parser
can now be customized with custom headers parsing. Parser now accepts optional parameter. Check parser package docs for more.DefaultHeadersParser
is added as default header parsing used by SIP package. This now allows custom header parsing. #18
Full Changelog: v0.7.2...v0.8.0