Releases: muktihari/fit
Releases · muktihari/fit
v0.13.0
BREAKING CHANGES:
MesgListener
andMesgDefListener
are only used by decoder so it makes more sense just to put it under decoder package and packagelistener
is now removed.- scaleoffset's
DiscardValue
andApplyValue
are no longer receiving any but now receiving proto.Value{} to avoid heap alloc.
What's Changed
- chore(deps): bump codecov/codecov-action from 4.1.1 to 4.2.0 by @dependabot in #154
- chore: limit fitgen trigger comment only on pull request by @muktihari in #156
- refactor!: move listener to decoder package by @muktihari in #157
- docs: update README.md by @muktihari in #158
Full Changelog: v0.12.0...v0.13.0
v0.12.0
BREAKING CHANGES:
- 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 []uint16proto.Value = proto.SliceUint16([]uint16{1,2})
. Alternatively, we can use field.WithValue(uint8(10)) just like before, under the hood it will callproto.Any(v any)
that will figure it out the input. - typedef.Marshal and typedef.Unmarshal functions are moved to proto: proto.Marshal and proto.Unmarshal.
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.- proto.Fit is now renamed to proto.FIT since FIT is an abbreviation.
- 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
What's Changed
- Create SECURITY.md by @muktihari in #149
- docs: update README.md by @muktihari in #150
- chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 by @dependabot in #148
- docs: update SECURITY.md by @muktihari in #151
- cli: fix fitactivity combine logic by @muktihari in #152
Full Changelog: v0.11.3...v0.11.4
v0.11.3
What's Changed
- Create scorecard.yml by @muktihari in #126
- chore: update fitgen.yml to prevent script injection attack by @muktihari in #127
- chore: update fitgen.yml by @muktihari in #129
- chore: update ci.yml by @muktihari in #130
- chore: update release.yml by @muktihari in #131
- chore: update release.yml by @muktihari in #132
- chore: update release.yml by @muktihari in #133
- chore: update fitgen.yml by @muktihari in #134
- fix: potential incorrect string to integer conversion by @muktihari in #136
- Create dependabot.yml by @muktihari in #137
- chore(deps): bump softprops/action-gh-release from 1 to 2 by @dependabot in #138
- chore(deps): bump codecov/codecov-action from 3 to 4 by @dependabot in #139
- chore(deps): bump actions/setup-go from 4 to 5 by @dependabot in #140
- chore(deps): bump github.com/google/go-cmp from 0.5.8 to 0.6.0 by @dependabot in #142
- chore(deps): bump golang.org/x/text from 0.12.0 to 0.14.0 by @dependabot in #143
- chore(deps): bump actions/upload-artifact from 3.pre.node20 to 4.3.1 by @dependabot in #141
- chore(deps): hash dependencies ci.yml by @muktihari in #144
- chore(deps): hash dependencies fitgen.yml by @muktihari in #145
- chore(deps): hash dependencies release.yml by @muktihari in #146
- cli: fix fitactivity on calculating session.TotalElapsedTime and clean up code by @muktihari in #147
New Contributors
- @dependabot made their first contribution in #138
Full Changelog: v0.11.2...v0.11.3
v0.11.2
What's Changed
- chore: clean up code on decoder.go by @muktihari in #122
- perf: reduce factory memory usage by @muktihari in #123
- chore: clean up code and update docs by @muktihari in #124
- chore: clean up code docs usage.md by @muktihari in #125
Full Changelog: v0.11.1...v0.11.2
v0.11.1
What's Changed
- perf: optimize factory performance by @muktihari in #120
- chore: update usage.md and add missing copyright header by @muktihari in #121
Full Changelog: v0.11.0...v0.11.1
v0.11.0
What's Changed
- chore: update workflow fitgen.yml by @muktihari in #110
- chore: remove sdk profile version comment in generated files by @muktihari in #109
- feat(proto)!: update on FieldBase and DeveloperField by @muktihari in #111
- perf: reduce encoder memory alloc by @muktihari in #112
- chore: simplify factory code by @muktihari in #113
- feat!: mesgdef convert to mesg now has options as param by @muktihari in #114
- feat(decoder): add Discard method by @muktihari in #115
- test: add basetype's unit test by @muktihari in #116
- docs: update README.md and docs/generating_code.md by @muktihari in #117
- chore: fix misspelling by @muktihari in #118
- chore: fix misspelling by @muktihari in #119
Full Changelog: v0.10.0...v0.11.0
v0.10.0
v0.9.2
What's Changed
- perf: reduce alloc on decoder's component expansion by @muktihari in #107
Full Changelog: v0.9.1...v0.9.2