Skip to content

Nightscout 13.0.0 Ketchup

Compare
Choose a tag to compare
@sulkaharo sulkaharo released this 17 Dec 14:36
· 721 commits to master since this release
41ac93f

ketchup

Happy holidays from the #WeAreNotWaiting Rogue Cowboys!

To end the year with a bang, here’s a new release of Nightscout! This release ended up being a bit bigger than expected, with a total of 12186 lines of code changes from 26 participants. In addition to the list including many first time contributors, we have three absolute heroes for this release, with Jeremy Cunningham volunteering to upgrade the D3 library we use for the graph rendering to the latest version, Petr Ondrusek’s new V3 API and Caleb Hornbeck’s rewrite of the Alexa and Google Home support.

If you’re wondering if you should update to the latest release, read up! The graph rendering and other parts of the code were optimised significantly, so Nightscout web page now loads in under 1 second on fast browsers on fast a fast connection. This also makes the site a lot more usable on old devices - we tested the site on an iPad mini 1 running iOS 9 and it’s actually now usable (even if slow) and scrolling back the history is now butter smooth on newer devices. If you like speed, go update.

The release changes the version number scheme - instead of this being release 0.13.0, the release is now numbered 13.0.0. This change was done so we can comply with the usual way version numbers are used (so 13.0.1 would be a bug fix release after this and 13.1.0 would mean we’ve added new features).

As before, we recommend Heroku for hosting Nightscout. Users on Azure should migrate their site over to Heroku - this is a quite simple process and you won’t lose any data. Instructions how to do this are here: https://bfaloona.github.io/loopdocs/nightscout/azure_migration/

The tool to upgrade your instance is here: http://www.nightscout.info/wiki/welcome/how-to-update-to-latest-cgm-remote-monitor-aka-cookie

The Nightscout chat has moved from Gitter to Discord! You can find us at https://discord.gg/zg7CvCQ

Changes in the release include (in no particular order)

  • Language matters: “Normal” glucose in distribution reports was changed to “In Range”
  • We have a new V3 REST API, see below
  • Alexa & Google Home plugins saw a significant code update, see documentation in the readme at https://github.com/nightscout/cgm-remote-monitor
  • The UI for how many hours of data is show was refactored and a new 4 hour option was added
  • The BG targets in the environment can now be set in MMOL
  • Auth tokens generated in the UI can now be used in in place of secrets, using them significantly easier
  • The Nightscout builds now use Github Actions (in addition to Travis, for now)
  • Clocks now show the BG delta and time since last entry
  • Remote Loop overrides for Loop users
  • Renamed the xdrip-js plugin to xdripjs to fix issues - users with existing configuration need to update their configuration to refer to the new plugin name
  • Pushover library fix upgrade to prevent crashes if Pushover is having issues
  • The dialog for authenticating to Nightscout should now be fully visible on smaller mobile phone screens
  • Nightscout now uses the latest D3 library, along with other modules being updated to latest versions
  • Bug fix: device status data handling has had a long-standing issue with merging data, causing random anomalies in the data being displayed from uploaders
  • Bug fix: stale data alarm bug introduce in the 0.12 series was fixed
  • Bug fix: mmol/L units detection is now more robust
  • Bug fix: distribution calculation report issue fixes
  • Bug fix: The UI scaling on different screen sizes was fixed for screens around 700 to 1000 pixel wide screens

Developers: new V3 API

The new APIv3 generally provides secured and HTTP REST compliant interface for Nightscout's data exchange. It treats collections in a generic way, provides improved deduplication mechanism and brings possibility to incrementally track data changes (including its own lightweight Socket.IO channel for it).

The V3 API should be considered to be in beta during the release 13 series and we’ll be extremely happy for any feedback on the new API.

To get started, the API documentation is at https://github.com/nightscout/cgm-remote-monitor/blob/dev/lib/api3/doc/