Skip to content

v0.8.0

Compare
Choose a tag to compare
@emiago emiago released this 20 Mar 17:44
· 323 commits to main since this release

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 func tx.Err() . Similar like go context you can check last Error of transaction after it was terminated. This also removed blocking behavior in client handle #15
  • sip.NewHeader(name, value) is now added as better way to create generic type header and sip.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