8000 Releases · einride/can-go · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: einride/can-go

v0.14.0

03 Jun 08:55
Compare
Choose a tag to compare

0.14.0 (2025-06-03)

Feature

  • signal names capitalization (fca59e3)

v0.13.0

13 May 07:57
Compare
Choose a tag to compare

0.13.0 (2025-05-13)

Breaking Changes

  • bump Go version to 1.22 (ab1c5ca)

Go 1.22 is the oldest officially supported version of Go currently and
at Einride we aim to follow that guideline.

In order to get the project to build a number of other changes needed
to be done.

go.einride.tech/sage needed to be updated to get us a golangci-lint
version that can lint 1.22 and with that a whole swath of lints were
activated:
- most are on the form of copyloopvar (i.e. loop variables
  now work as most people expect and we don't need to copy them)
- we were also shadowing min/max builtins that were introduced in Go
  1.21, these are now renamed were applicable.

BREAKING CHANGE: The library requires Go 1.22 to build, no other user
visible changes introduced.

v0.12.2

24 Mar 15:40
Compare
Choose a tag to compare

0.12.2 (2025-03-24)

Bug Fixes

  • bump Golang version to go1.20 (f05338f)

Chores

Build

  • deps: bump golang.org/x/net from 0.25.0 to 0.33.0 (4ea2233)

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)
0