Skip to content

Releases: emiago/sipgo

v0.26.0

25 Nov 08:43
Compare
Choose a tag to compare

Highlights:

  • Reducing allocs (GC) on creating requests and dialog request
  • siptest client tx executor for easier testing client request
  • GetHostname is removed and client will not do any IP resolving as UDP will check remote IP

Full Changelog: v0.25.1...v0.26.0

v0.25.0

03 Nov 21:34
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.1...v0.25.0

v0.24.1

06 Oct 22:52
Compare
Choose a tag to compare

Full Changelog: v0.24.0...v0.24.1

Note:

  • Fixed 487 loop forever on Wait Answer (CRITICAL bug)
  • Added missing WriteBye #135

v0.24.0

28 Sep 21:36
f0165a2
Compare
Choose a tag to compare

Full Changelog: v0.23.0...v0.24.0

v0.23.0

08 Sep 12:28
Compare
Choose a tag to compare

Highlights

  • Decoupling dialog from caching struct DialogServer DialogClient by adding DialogUA struct and simplifying API. This allows now dialog to be extended and wrapped with caller caching. DialogServer and DialogClient maybe moved only for TESTS in future and DialogUA will provide handing Invites and dialog creation
  • Testing coverage increased to 50.1 *.
  • We are forcing IPV4 either on default IP resolving and also on DNS lookups. DNS lookups need to have exported filtering mechanism in future release
  • Client have now Do request same like std http.Client. This allows caller not to deal with transaction and just have request/reply
  • Dialog Client Server now have Do and TransactionRequest that comply to RFC better as Dialogs need more to comply versus standard Request. It is recomended now to use DialogUA and sub sessions when have to deal with INVITE requests.
  • SIP URI is now more generic (Adds SCHEME detection) to allow custom uri conversions like tel: #114
  • BREAKING CHANGE: CANCEL handling was complex with Dialog. Now Transaction Layer and Dialog handles this correctly without need to have additional logic on caller. ServerTransaction.Cancels and ClientTransaction.Cancel is removed and everything is handled by transaction layer. In cases of statefull proxy this may be exposed for better control. For now it is expected that cancel terminates transaction and then proxy should terminate other end.
    Per RFC CANCEL only makes sense for INVITE and this is provided with dialog management when canceling WaitAnswer.

What's Changed

New Contributors

Full Changelog: v0.22.1...v0.23.0

v0.22.1

30 Jun 11:20
Compare
Choose a tag to compare

What's Changed

  • fix: honor lr in record route for dialog clients by @InnovativeUS in #99
  • fix: ACK request does not convert the Record-Route headers into Route headers by @hateeyan in #100

New Contributors

Full Changelog: v0.22.0...v0.22.1

v0.22.0

30 May 21:34
Compare
Choose a tag to compare

Highlights

  • Do request/response stile for client. Same like std http. This avoids need for handling complex transaction request
  • Fixed racy condition when handling FSM in client transaction.

What's Changed

  • Change AppendHeaderAfter to append after the provided header name pas… by @KingDanx in #87

New Contributors

Full Changelog: v0.21.0...v0.22.0

v0.21.0

09 May 09:54
Compare
Choose a tag to compare

Notes:

  • RespondSDP to dialog server to avoid missing header
  • TransactionRequest on dialog client and server exposed for correct sending Requests within dialog. There is SIP rfc section
  • Lot of fixes, mainly for dialog
  • Dialog Refer (transfer) support is in experimental. More is done on sipgox currently
  • SIP Uri parsing was failing for sip://user@host . Now this is fixed

Full Changelog: v0.20.0...v0.21.0

v0.20.0

06 Apr 12:55
Compare
Choose a tag to compare
  • TLS and WSS handshake with hostname is now fixed and refactored. Broken in previous refactoring. Instead hostname we always passed IP.
  • SRV lookups are fixed now with correct behavior.
  • Local resolving also uses transport layer dns resolver. We could not override dns resolver due to this.
  • Added option to prefer SRV lookups over local, by setting DNSPreferSRV option
    ua.TransportLayer().DNSPreferSRV = true.
  • Some other minor cleanups and fixes

v0.19.0

17 Mar 23:49
Compare
Choose a tag to compare

HAS BREAKING CHANGES

  • NewRequest now accept recipient as value instead pointer to prevent nil pointer issue with no performance drop

Other:

  • client.DoDigestAuth exposes digest auth for client
  • uri.Endpoint adds URI endpoint style formating
  • lot of refactoring and cleanups

What's Changed

New Contributors

Full Changelog: v0.18.0...v0.19.0