Skip to content

Releases: muktihari/fit

v0.13.0

06 Apr 07:50
fac42d2
Compare
Choose a tag to compare

BREAKING CHANGES:

  • MesgListener and MesgDefListener are only used by decoder so it makes more sense just to put it under decoder package and package listener is now removed.
  • scaleoffset's DiscardValue and ApplyValue are no longer receiving any but now receiving proto.Value{} to avoid heap alloc.

What's Changed

Full Changelog: v0.12.0...v0.13.0

v0.12.0

05 Apr 06:49
339f161
Compare
Choose a tag to compare

BREAKING CHANGES:

  1. Since field.Value is changed from interface{} to proto.Value{} we can no longer pass value directly. We can not create proto.Value{} as literal, we need to use constructors. For example, when we have uint8 value we need create proto.Value{} for uint8 like this field.Value = proto.Uint8(10), for []uint16 proto.Value = proto.SliceUint16([]uint16{1,2}). Alternatively, we can use field.WithValue(uint8(10)) just like before, under the hood it will call proto.Any(v any) that will figure it out the input.
  2. typedef.Marshal and typedef.Unmarshal functions are moved to proto: proto.Marshal and proto.Unmarshal.
  3. typeconv package is removed since it is no longer being used in our code, ever since we use proto.Value{}, the typeconv is no longer needed.
  4. proto.Fit is now renamed to proto.FIT since FIT is an abbreviation.
  5. fieldef's ToFit method is renamed to ToFIT.

What's Changed

  • refactor!: field.Value now use proto.Value{} instead of interface{} by @muktihari in #153

Full Changelog: v0.11.4...v0.12.0

v0.11.4

02 Apr 08:09
1062786
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.11.3...v0.11.4

v0.11.3

01 Apr 06:34
171975e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.11.2...v0.11.3

v0.11.2

31 Mar 23:53
7b010bb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.11.1...v0.11.2

v0.11.1

31 Mar 00:27
e6009de
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.11.0...v0.11.1

v0.11.0

30 Mar 13:23
b531a82
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.10.0...v0.11.0

v0.10.0

14 Mar 05:27
52e5e0c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.2...v0.10.0

v0.9.2

14 Mar 05:12
afc1756
Compare
Choose a tag to compare

What's Changed

  • perf: reduce alloc on decoder's component expansion by @muktihari in #107

Full Changelog: v0.9.1...v0.9.2

v0.9.1

22 Jan 06:03
8f3753e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.0...v0.9.1