Skip to content

Releases: gabe565/nightscout-menu-bar

v0.4.1

14 Nov 08:02
6f75950
Compare
Choose a tag to compare

Changelog

Features

  • df87722 feat: Add menu item that shows the current version and links to the GitHub repo

Fixes

  • b9d8319 fix(dynamicicon): Improve hex color conversion
  • 23d7591 fix: Fix Nightscout mmol/L readings causing an error

Others

  • be523df chore: Add version and copyright to Windows app metadata
  • 42ee447 chore: Add version and copyright to macOS app metadata
  • 2533f8d chore: Log version on startup
  • ed4b053 chore: Use custom User-Agent
  • 6f75950 chore: Append OS and arch to User-Agent
  • 04a1813 chore: Change import path to gabe565.com/nightscout-menu-bar
  • 65eb69c chore: Clean up HTTP timeout logic
  • a31dca2 chore(deps): update go to v1.23.3 (#86)
  • b4ddb2d chore(deps): update module github.com/knadh/koanf/providers/file to v1.1.2 (#87)
  • 947eafb chore(deps): update module github.com/knadh/koanf/v2 to v2.1.2 (#91)
  • 529ffe4 chore(deps): update module golang.org/x/image to v0.22.0 (#88)

v0.4.0

08 Sep 08:52
d3448a5
Compare
Choose a tag to compare

Changelog

Features

  • 46b2071 feat: Add dynamic icon color preference

Fixes

  • 79b3173 fix: Allow changing the dynamic icon color on macOS
  • a45c268 perf: Change RGBA types to NRGBA

Others

  • f701c2f chore(deps): update go to v1.23.1 (#85)
  • d3448a5 chore(deps): update module github.com/masterminds/sprig/v3 to v3.3.0 (#82)
  • ef1856a chore(deps): update module github.com/ncruces/zenity to v0.10.14 (#84)
  • c4ee4b6 chore: Change preference title from "Token" to "Nightscout API Token"
  • 1e5534d chore: Increase icon sizes to 64x64
  • c9ffacd chore: Remove values from preference menu items

v0.3.0

25 Aug 00:47
87e8f57
Compare
Choose a tag to compare

Changelog

Features

  • 796283f feat: Add dynamic icon generation (#79)
  • 1001801 feat(ticker): Load data more quickly when starting up
  • fdc550b feat(ticker): Render configuration changes more quickly
  • 5fe298f feat(dynamicicon): Search system font dirs if font file is not found
  • fbd3a89 feat(log): Add colored and JSON log output

Fixes

  • 42a41cb fix(config): Change dynamic icon config to use hyphens
  • b78a840 fix(config): Fix callbacks not being cleared correctly
  • 889591f fix(dynamicicon): Change to freetype fork to improve font rendering
  • bea9b62 fix(dynamicicon): Load font file relative to config file
  • 51c5dd1 fix(ticker): Fix build failures on Windows and Linux
  • 64a62b0 fix(tray): Fix dynamic icon not toggling when config file is updated
  • aab4143 fix: Fix errors removed from the menu bar during a timestamp update
  • f9863ff perf(dynamicicon): Decrease PNG compression level to optimize render time
  • 54341ed perf(fetch): Remove unnecessary buffer

Others

  • 5bd0897 chore(config): Add example config file
  • a60400c chore(config): Change units from string to custom type
  • 93f6134 chore(config): Clear config callbacks instead of setting to nil
  • d331c6c chore(config): Suppress integer overflow warnings
  • 4af25b9 chore(deps): update go to v1.23.0 (#77)
  • 3fed3f0 chore(deps): update module github.com/knadh/koanf/providers/file to v1.1.0 (#76)
  • 0e51787 chore(deps): update module github.com/pelletier/go-toml/v2 to v2.2.3 (#81)
  • f3f9bd8 chore(deps): update module golang.org/x/image to v0.19.0 (#80)
  • 215c9b5 chore(dynamicicon): Change default font to Roboto Condensed SemiBold
  • 548e902 chore(dynamicicon): Slightly increase font size
  • e775366 chore(golangci-lint): exportloopref -> copyloopvar
  • 87e8f57 chore(ticker): Don't reset fetch cache when awake event occurs
  • 13d3be7 chore(ticker): Tweak sleep notifier notifications
  • 40a61ee chore(tray): Handle dynamic icon checks and failure modes more consistently
  • f4c6476 chore(util): Add util.ResolvePath() helper func
  • 6562a9c chore: Add time taken to some logs
  • b829c25 chore: Remove ctx field from structs and always pass as a param
  • 046836a chore: Remove accidental test file

v0.2.1

08 Jul 04:11
0e4307d
Compare
Choose a tag to compare

Changelog

Others

  • e3b09b4 chore(deps): Bump golang.org/x/image from 0.15.0 to 0.18.0 (#72)
  • 7ecaae7 chore(deps): update dependency macos to v14
  • 192031c chore(deps): update go to v1.22.3 (#65)
  • 6e8cce3 chore(deps): update go to v1.22.4 (#68)
  • b765cb9 chore(deps): update go to v1.22.5 (#74)
  • 1d79a1f chore(deps): update module fyne.io/systray to v1.11.0 (#71)
  • 0e4307d chore(deps): update module github.com/knadh/koanf/providers/file to v1 (#73)
  • 46d86ed chore(deps): update module github.com/ncruces/zenity to v0.10.13 (#75)
  • eae2eeb chore(deps): update module github.com/rs/zerolog to v1.33.0 (#67)
  • ba02196 ci: Cache apt packages
  • 7ad5d4e ci: Pin runner versions

v0.2.0

07 May 05:21
f98a5ce
Compare
Choose a tag to compare

Changelog

Features

  • 3e2d690 feat(config): Add configurable log level
  • 5f5a902 feat(log): Add various debug/trace logs
  • 8f347f3 feat(ticker): Add macOS sleep notifier

Fixes

  • 9e824bd fix(config): Fix --config flag not being registered
  • a1bcfb9 fix(nightscout): Remove extra space when delta is empty
  • ab10cda fix(nightscout): Return empty string when historical readings are empty
  • 49e95cf fix(nightscout): Skip timestamp if value is empty
  • 4fbafdb fix(ticker): Fix duplicate events when reloading configuration

Others

  • 8d777a3 chore(changelog-generator): Move config into .github dir [skip ci]
  • 0c1f0f4 chore(config): Move interval to advanced.fallback-interval
  • 71995f4 chore(deps): update gabe565/changelog-generator action to v1
  • 5728001 chore(deps): update golangci/golangci-lint-action action to v6
  • 3997089 chore(fetch): Close response body earlier
  • 9311cef chore(log): Migrate logging backend to zerolog
  • 847af69 chore(main): Simplify systray creation
  • f98a5ce chore(nightscout): Add mg/dL type
  • ac193fe chore(nightscout): Change unused fields to json.Number to avoid parsing errors
  • 8fdcc44 chore(nightscout): Move util.MinAgo to nightscout.Mills

v0.1.0

04 May 08:50
a1bf381
Compare
Choose a tag to compare

Changelog

Features

  • 8244e06 feat(ticker): Minimize the number of http fetches

Fixes

  • c82bb94 perf(fetch): Store URL as a string
  • b1aed7c perf(nightscout): Remove fmt.Sprintf calls

Others

  • 81a3eab chore(fetch): Add context param
  • c2f4ef7 chore(fetch): Change http request method string to const
  • d252e91 chore(nightscout): Hide mmol decimal when value is .0
  • 6f289ad chore(tray): Create struct to hold all menu items
  • 4b5a067 chore(tray): Log errors in addition to showing in dropdown
  • 9d36759 chore: Disable rounding of the reading age by default
  • 53600f2 ci: Update actions/setup-go cache due to default value change
  • a18bdec refactor: Remove global variables and complex import relationships

v0.0.3

02 May 07:05
d40779f
Compare
Choose a tag to compare

Changelog

Fixes

  • 828c667 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.2 (#61)
  • 213c12d fix(nightscout): Fix 401 when token is not set
  • 352dc8b perf(nightscout): Optimize token checksum generation

Others

  • 3e9d749 chore(assets): Remove stray newline
  • ab2f21f chore(deps): update golangci/golangci-lint-action action to v5
  • 5bbd185 chore(localfile): Clean up local filepath temp dir replacement
  • 85abefd chore(localfile): Remove underscore from package name
  • d40779f chore(tray): Shorten quit item text

v0.0.2

16 Apr 09:22
5169414
Compare
Choose a tag to compare

Changelog

Fixes

  • a7691ac fix(deps): update module github.com/knadh/koanf/v2 to v2.1.1 (#46)
  • 5201799 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.0 (#45)
  • 7bce2d2 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.1 (#49)

Others

  • 4a4797c chore(changelog-generator): Add JSON schema [skip ci]
  • 2cab340 chore(deps): update go to v1.22.2 (#47)
  • 871b10f chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0 (#48)
  • da18d9a ci(build): Gzip build outputs
  • 5169414 ci(release): Update Homebrew tap on release

v0.0.1

12 Mar 07:13
7ed38d1
Compare
Choose a tag to compare