Skip to content

v0.21.0

Compare
Choose a tag to compare
@muktihari muktihari released this 11 Aug 12:46
· 161 commits to master since this release
9c8e76f

Breaking Changes

  • bufferedwriter package is dropped as Encoder has implement built-in buffer.
  • datetime.ToTime now accepts uint32 instead of interface{}
  • datetime.ToLocalTime now accepts time.Time instead of interface{} and it is no longer allocate.
  • kit's Ptr function is moved to internal as it is only used for testing.
  • mesgdef: Field IsExpandedFields [N]bool is replaced by IsExpanded(fieldNum byte) bool method to get the value and MarkAsExpandedField(fieldNum byte, flag bool) (ok bool) method to set the value (hiding the implementation details from users, hopefuly we don't break users' code next time we need to change the logic).
  • mesgdef: Fixed array is now represented as fixed array (previously was represented using slice), e.g. Record's CompressedSpeedDistance is now [3]byte instead of []byte.

What's Changed

  • chore(deps): bump github/codeql-action from 3.25.10 to 3.25.11 by @dependabot in #328
  • chore(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 by @dependabot in #329
  • chore(deps): bump actions/setup-go from 5.0.1 to 5.0.2 by @dependabot in #330
  • chore(deps): bump github/codeql-action from 3.25.11 to 3.25.12 by @dependabot in #331
  • chore(deps): bump softprops/action-gh-release from 2.0.6 to 2.0.8 by @dependabot in #333
  • chore: always run ci on updates by @muktihari in #335
  • chore(deps): bump github/codeql-action from 3.25.12 to 3.25.13 by @dependabot in #334
  • perf!: update datetime package by @muktihari in #336
  • refactor!: move kit.Ptr to internal by @muktihari in #337
  • chore!: drop bufferedwriter package by @muktihari in #338
  • chore(deps): bump github/codeql-action from 3.25.13 to 3.25.14 by @dependabot in #339
  • chore(deps): bump github/codeql-action from 3.25.14 to 3.25.15 by @dependabot in #340
  • chore(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 by @dependabot in #341
  • chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 by @dependabot in #342
  • chore(deps): bump github/codeql-action from 3.25.15 to 3.26.0 by @dependabot in #343
  • chore(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6 by @dependabot in #344
  • chore(deps): bump golang.org/x/text from 0.16.0 to 0.17.0 by @dependabot in #345
  • perf!: optimize mesgdef structs by @muktihari in #346
  • chore: update fitgen workflow go version to stable by @muktihari in #348
  • chore: update release workflow go version to stable by @muktihari in #349
  • docs: update README.md on benchmark result by @muktihari in #347
  • chore: mesgdef expanded field assign from variable instead of recalculating by @muktihari in #350
  • chore: factory replace len on array to be constant number by @muktihari in #351
  • chore: mesgdef replace len on array to be constant number by @muktihari in #352
  • chore: simplify decoder struct by @muktihari in #353

Full Changelog: v0.20.2...v0.21.0