Skip to content

Tags: plgd-dev/go-coap

Tags

v3.5.1

Toggle v3.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
FIX: response source address on [::]-bound servers are wrong (#629)

* fix: on binding the server to [::] the response happened to come from different addresses than sent to.

* fix: add .idea to gitignore

* feat: store source addr in conn

* fix: did not swap

* fix: remove vscode folder from gitignore

* fix: ignore mcast adresses

* fix: modify signatures in NewConn in tests

* fix: data race condition

* fix: don't use dummy adresses in test

* fix: missed nil check

* fix: don't upsert if nothing to do

* fix: prevent against race conditions and dangling pointers

* fix: comment

* fix for golangci-lint

* fix(udp): avoid multicast conn key leaks and stale control state

* fix the two gocritic warnings

---------

Co-authored-by: Theodor Rauch <theodor.rauch@ml-pa.com>
Co-authored-by: Jozef Kralik <jozef.kralik@plgd.dev>

v3.5.0

Toggle v3.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump Go baseline to 1.24 and update CI/test compatibility (#648)

* chore: bump Go baseline to 1.24 and update CI/test compatibility

- Raise Go version requirements from 1.20 to 1.24 in CI workflows, lint config, and project docs.
- Keep Windows CI capped below Go 1.26 as noted in workflow comments.
- Expand TLS listener test error assertion to also accept the Windows-specific remote-close message.

* chore(lint): add scoped golangci exclusions for legacy DTLS and style noise

- exclude perfsprint findings in test files
- suppress revive stutter warning for DTLS compatibility type names
- suppress revive stdlib-package-name warnings for existing package layout
- suppress staticcheck SA1019 warnings for intentional legacy DTLS config/dial usage

* chore(ci): bump SonarQube scan action to v6 in test workflow

v3.4.2

Toggle v3.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix sending to IPv4 addresses from an IPv6 dual-stack socket (#640) (#…

…641)

* Fix sending to IPv4 addresses from an IPv6 dual-stack socket (#640)

v3.4.1

Toggle v3.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix race condition during CSM message exchange (#611)

* Fix race condition during CSM message exchange

* Rename handler registration function and fix some issues

* Return nil in case of timeout

* Fix naming for linter

* Fix linter context issues

* Add tests for CSM Option

* gofumpt tcp/client_test.go

* Fix shadowing and resource leaks in test

---------

Co-authored-by: cah <lubomir.capucha@kistler.com>
Co-authored-by: Cvo <miroslav.cuvar@kistler.com>

v3.4.0

Toggle v3.4.0's commit message
Upgrade to golangci-lint v2

v3.3.6

Toggle v3.3.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix UDP Socket Binding Issue on Linux for IPv4 and IPv6 (#582)

* Fix UDP Socket Binding Issue on Linux for IPv4 and IPv6

On Linux, when using UDP sockets, both IPv6 and IPv4 addresses are
bound to the same socket by default. This can cause issues when
sending and receiving packets across different address families.
Specifically, if we receive a packet from an IPv4 address,
attempting to send a response using an IPv6 address fails.

v3.3.5

Toggle v3.3.5's commit message
Upgrade to github.com/pion/dtls/v3

v3.3.4

Toggle v3.3.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Blockwise: Allow transfer via NonConfirmable messages (#548)

*Blockwise: Allow transfer via NonConfirmable messages 

Ensured the request type is correctly set during write operations, enhancing reliability and consistency in data handling.


---------

Co-authored-by: Alberto Zambrano <azambrano.etraid@grupoetra.com>
Co-authored-by: Jozef Kralik <jojo.lwin@gmail.com>

v3.3.3

Toggle v3.3.3's commit message
Fix issues reported by golangsci-lint

v3.3.2

Toggle v3.3.2's commit message
net: implement IsConnectionBrokenError for Plan 9