Skip to content

Releases: einride/can-go

v0.12.1

04 Nov 16:10
Compare
Choose a tag to compare

0.12.1 (2024-11-04)

Bug Fixes

  • generate: handle invalid signal name for metadata (5a220ab)

Documentation

  • security: add Security Policy (adfb763)

CI

  • pin Go version to 1.22 (7798b54)
  • remove deprecated goreview (65176c6)

v0.12.0

05 Jul 07:44
Compare
Choose a tag to compare

0.12.0 (2024-07-05)

Breaking Changes

  • cantool: CopyFrom accepts canrunner.Node Rx messages (56c0075)

When updating the signature for CopyFrom we accidentally broke a
workflow where receive messages in a `canrunner.Node` and then copy
the data from them using `CopyFrom`. This commit restores CopyFrom to
accept a "message reader" type, but extends that type to also require
that values implement `Frame() can.Frame`.

All messages generated by cantool already implements `Frame()
can.Frame` so only mocks should be affected.

BREAKING CHANGE: This restores old signature of CopyFrom to accept a
message reader instead of a message instance to copy from.

v0.11.0

24 Jun 12:22
Compare
Choose a tag to compare

0.11.0 (2024-06-24)

Feature

  • analyze: add unique message ID analyzer (36c7f19)

v0.10.0

12 Jun 12:06
Compare
Choose a tag to compare

0.10.0 (2024-06-12)

Feature

  • cantool: generate raw setters and getters for physical signals (357da1e)

Chores

v0.9.0

10 Jun 08:26
Compare
Choose a tag to compare

0.9.0 (2024-06-10)

Breaking Changes

  • cantool: generated messages' CopyFrom preserves invalid signals (aef1e7d)

Previously we used the setters and getters in the CopyFrom method. The
getters and setters both caps a signal to be within [min, max] range.

This meant that if we used CopyFrom from a message which contained an
out-of-bounds signal the new value would not keep the same signal
value.

This commit updates the CopyFrom implementation to instead unmarshal
the generated CAN frame from the original message.

BREAKING CHANGE: This changes CopyFrom to accept a message instead of
a message reader to copy from, however mostly test code should be
affected.

Chores

v0.8.0

24 May 14:54
Compare
Choose a tag to compare

0.8.0 (2024-05-24)

Feature

  • add support for floating point signals. (1166f24)

Chores

  • README: update examples to show import path (bb0b196)
  • remove backstage documents (ba313b5)
  • CODEOWNERS: update code ownership (8814c47)
  • update to valid domain (68bcbf3)

Build

  • deps: bump github.com/fatih/color in the go group (0a81a70)
  • deps: bump the go group across 1 directory with 3 updates (9da2ef2)
  • deps: bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0 (bb7547e)
  • deps: bump the go group with 4 updates (165d53b)
  • deps: bump go.einride.tech/sage from 0.272.0 to 0.275.0 in /.sage (b74a1f8)
  • deps: bump the go group with 3 updates (7a49679)
  • deps: bump go.einride.tech/sage from 0.270.1 to 0.272.0 in /.sage (1e82434)
  • deps: bump go.einride.tech/sage from 0.268.0 to 0.270.1 in /.sage (698cacb)
  • deps: bump go.einride.tech/sage from 0.265.1 to 0.268.0 in /.sage (acf4655)
  • deps: bump the go group with 1 update (061825e)
  • deps: bump go-semantic-release/action from 1.21 to 1.23 (108b3c4)
  • deps: bump the go group with 2 updates (901ab9e)
  • deps: bump go.einride.tech/sage from 0.264.0 to 0.265.1 in /.sage (23821ee)
  • deps: bump go.einride.tech/sage from 0.263.0 to 0.264.0 in /.sage (86d1add)
  • deps: bump go.einride.tech/sage from 0.260.0 to 0.263.0 in /.sage (5ada12b)
  • deps: bump the go group with 2 updates (9dc5ee5)
  • deps: bump the go group with 2 updates (abc1d5b)
  • deps: bump the go group with 1 update (8d03661)
  • deps: bump go.einride.tech/sage from 0.259.0 to 0.260.0 in /.sage (533ab90)
  • deps: bump the go group with 2 updates (2c3db42)
  • deps: bump the go group with 1 update (dc89d3b)
  • deps: bump go.einride.tech/sage from 0.254.0 to 0.259.0 in /.sage (9b68015)
  • deps: bump the go group with 4 updates (2dbf7ec)
  • deps: bump go.einride.tech/sage from 0.249.0 to 0.254.0 in /.sage (d7bd481)
  • deps: bump go.einride.tech/sage from 0.247.0 to 0.249.0 in /.sage (d36d203)
  • deps: bump the go group with 1 update (e41fea0)
  • deps: bump go.einride.tech/sage from 0.244.0 to 0.247.0 in /.sage (74095f0)
  • deps: bump go.einride.tech/sage from 0.243.0 to 0.244.0 in /.sage (236a2a4)
  • deps: bump go.einride.tech/sage from 0.242.0 to 0.243.0 in /.sage (c125ae8)
  • deps: bump golang.org/x/net from 0.16.0 to 0.17.0 (490ea59)
  • deps: bump go.einride.tech/sage from 0.241.0 to 0.242.0 in /.sage (41183c1)
  • deps: bump the go group with 3 updates (2702396)
  • deps: bump go.einride.tech/sage from 0.240.0 to 0.241.0 in /.sage (b6b843c)

v0.7.0

28 Sep 12:01
Compare
Choose a tag to compare

0.7.0 (2023-09-28)

Feature

  • restore returning struct from New() (1c5bf36)
  • add interface (d98f4cd)

v0.6.1

26 Sep 07:32
53338ac
Compare
Choose a tag to compare

0.6.1 (2023-09-26)

Bug Fixes

  • release: update gorelaser config format (53338ac)

v0.6.0

26 Sep 07:17
30e16b4
Compare
Choose a tag to compare

0.6.0 (2023-09-26)

Feature

  • add support for virtual can (d307875)
  • implement SetListenOnlyMode() (e243d3d)
  • add socketcan option to receive error frames (f29cb9e)

Bug Fixes

  • ci: allow release action to create release (30e16b4)
  • candevice: undefined type (5d129d1)

Documentation

  • backstage: describe the library (86a9de0)

Tests

  • add test for receiving errorframes (38b311b)
  • go 1.21 compatibility (abd3d3f)

Chores

  • dependabot: run on early monday morning (c9c7685)

Build

  • deps: bump go.einride.tech/sage from 0.239.0 to 0.240.0 in /.sage (c5fd5be)
  • deps: bump gotest.tools/v3 from 3.5.0 to 3.5.1 (304649b)
  • deps: bump goreleaser/goreleaser-action from 4.4.0 to 5.0.0 (bde68f3)
  • deps: bump golang.org/x/tools from 0.12.0 to 0.13.0 (e3d4bc6)
  • deps: bump go.einride.tech/sage from 0.237.1 to 0.239.0 in /.sage (6a15d77)
  • deps: bump golang.org/x/net from 0.14.0 to 0.15.0 (66fbd71)
  • deps: bump go.einride.tech/sage from 0.234.1 to 0.237.1 in /.sage (b982c06)
  • deps: bump go.einride.tech/sage from 0.234.0 to 0.234.1 in /.sage (566e970)
  • deps: bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 (ff11f8d)
  • deps: bump golang.org/x/tools from 0.11.0 to 0.12.0 (5a6647a)
  • deps: bump golang.org/x/net from 0.12.0 to 0.14.0 (dd34bad)
  • deps: bump go.einride.tech/sage from 0.231.0 to 0.234.0 in /.sage (3f44599)
  • deps: bump golang.org/x/sys from 0.10.0 to 0.11.0 (bc6b7bd)
  • deps: bump go.einride.tech/sage from 0.229.0 to 0.231.0 in /.sage (1d91d11)
  • deps: bump go.einride.tech/sage from 0.227.0 to 0.229.0 in /.sage (625c1f1)
  • deps: bump golang.org/x/tools from 0.10.0 to 0.11.0 (8af5a7e)
  • deps: bump golang.org/x/net from 0.11.0 to 0.12.0 (a565674)
  • deps: bump golang.org/x/sys from 0.9.0 to 0.10.0 (8786401)
  • deps: bump go.einride.tech/sage from 0.225.0 to 0.227.0 in /.sage (d722855)
  • deps: bump gotest.tools/v3 from 3.4.0 to 3.5.0 (ff0ccad)
  • deps: bump go.einride.tech/sage from 0.224.1 to 0.225.0 in /.sage (e061c6e)
  • deps: bump golang.org/x/tools from 0.9.3 to 0.10.0 (d24c142)
  • deps: bump go.einride.tech/sage from 0.223.2 to 0.224.1 in /.sage (77331f9)
  • deps: bump golang.org/x/net from 0.10.0 to 0.11.0 (44949de)
  • deps: bump go.einride.tech/sage from 0.221.0 to 0.223.2 in /.sage (ea80ee5)
  • deps: bump golang.org/x/tools from 0.9.1 to 0.9.3 (55ee376)
  • deps: bump goreleaser/goreleaser-action from 4.2.0 to 4.3.0 (c63222a)
  • deps: bump go.einride.tech/sage from 0.219.1 to 0.221.0 in /.sage (b61f95a)
  • deps: bump go.einride.tech/sage from 0.218.1 to 0.219.1 in /.sage (3359c25)
  • deps: bump codecov/codecov-action from 3.1.3 to 3.1.4 (0b0fba1)
  • deps: bump golang.org/x/tools from 0.8.0 to 0.9.1 (07da425)
  • deps: bump go.einride.tech/sage from 0.218.0 to 0.218.1 in /.sage (e0b7390)
  • deps: bump golang.org/x/sys from 0.7.0 to 0.8.0 (e8abf97)
  • deps: bump go.einride.tech/sage from 0.216.0 to 0.218.0 in /.sage (9e21544)
  • deps: bump golang.org/x/sync from 0.1.0 to 0.2.0 (bb159d9)
  • deps: bump github.com/mdlayher/netlink from 1.7.1 to 1.7.2 (ec9700d)
  • deps: bump go.einride.tech/sage from 0.214.0 to 0.216.0 in /.sage (e99dbc9)
  • deps: bump codecov/codecov-action from 3.1.1 to 3.1.3 (b95a15e)
  • deps: bump go.einride.tech/sage from 0.213.2 to 0.214.0 in /.sage (1c328d1)
  • deps: bump golang.org/x/tools from 0.7.0 to 0.8.0 (cd96a2c)
  • deps: bump golang.org/x/net from 0.8.0 to 0.9.0 (0bb6fa9)
  • deps: bump golang.org/x/sys from 0.6.0 to 0.7.0 (7b6e764)
  • deps: bump go.einride.tech/sage from 0.212.1 to 0.213.2 in /.sage (0f1a43c)

CI

  • dependabot: group Go deps (700e5c2)
  • codecov: remove codecov step (68b80da)

v0.5.5

03 Apr 07:35
e0818c0
Compare
Choose a tag to compare

0.5.5 (2023-04-03)

Bug Fixes

  • deps: kingpin has changed module path (e0818c0)

Chores

  • codeowners: transfer ownership to team-ads-platform (0419f48)

Build

  • deps: bump go.einride.tech/sage from 0.211.0 to 0.212.1 in /.sage (6470b47)
  • deps: bump go.einride.tech/sage from 0.209.1 to 0.211.0 in /.sage (64eb6dd)
  • deps: bump golang.org/x/tools from 0.6.0 to 0.7.0 (e3bd18a)
  • deps: bump golang.org/x/net from 0.7.0 to 0.8.0 (30b23d3)
  • deps: bump github.com/fatih/color from 1.14.1 to 1.15.0 (3ffe9fe)
  • deps: bump go.einride.tech/sage from 0.206.0 to 0.209.1 in /.sage (ff556bd)

CI

  • codeconv: hopefully fix the codecoverage report (e6a8649)