v0.8.0
This release introduces some API changes:
sip.Messageinterface 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 gocontextyou 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.GenericHeaderis now hidden to avoid usage- sip Parser interface is redesigned to use more exact
ParseSIPfunc. Parser is refactored and added docs #18 parser.Parsercan now be customized with custom headers parsing. Parser now accepts optional parameter. Check parser package docs for more.DefaultHeadersParseris added as default header parsing used by SIP package. This now allows custom header parsing. #18
Full Changelog: v0.7.2...v0.8.0