0.12.0
版本发布时间: 2019-07-20 15:06:44
nightscout/cgm-remote-monitor最新发布版本:15.0.0(2023-10-18 23:18:23)
Overview
The release focuses improving the data management and packaging of Nightscout, to both make it load faster and consume less resources on the client, but also to fix data related issues. Based on testing, the release resolves many issues related to data, such as site loading slowly or the admin section showing treatments in the future.
READ THIS: The Nightscout REST API now normalizes dates in the data to the UTC time zone. This might cause some data loading to behave unexpectedly for n hours after updating the site (where n is the number of hours between your local time and UTC). If you're using systems that syncronizes data both ways with Nightscout (such as a DIY artificial pancreas), please keep a close eye to how everything is behaving after you upgrade.
While installing, please sanity check the following:
- Check you have the DISPLAY_UNITS setting in Heroku or Azure, and that it's set to either mmol or mg/dl
- In the Profile Editor, double check the profile is fully filled and matches the actual profile
Notable new features
- Guardian Connect now supports the EU servers (set MMCONNECT_SERVER=EU in site settings, among other parameters)
Notable changes
- Random metrics: 12299 new lines of code, with 6692 old lines gone
- The site now loads less data on start, with up to around 50% less data needed for people using a DIY artificial pancreas
- Related to the data loading changes, battery, cannula, sensor age now support up to 31 day old entries
- You can now log protein and fat intake for meal treatments and see the aggregate records in daily reports
- Speech: Pressing the button to enable sounds now also enables speech on mobile devices
- Guardian Connect now supports the EU servers (set MMCONNECT_SERVER=EU in site settings, among other parameters)
- Nightscout now visualizes Guardian users’ trend arrows using the one to three arrow format for consistency with Medtronic CGM systems
- REST API fixes to bugs introduced in the previous release
- Fixes an issue where the latest iOS caused a stale data alarm every time, when Nightscout had been added as a Home Screen web app
- Javascript packaging has been improved, so the site should both load faster and require less memory to run
- Layout fixes for setups with a lot of features enabled
- Glucose distribution report was showing slightly elevated variability for users with noisy CGM records
- Plugin code was improved to reduce issues when a single plugin is misbehaving
- Many dependencies were updated to newer versions with no know security issues
- Many language updates and fixes
Developers
- The REST API now users Moment.js to parse dates and normalize the date to UTC. If the date had a time zone defined in the object, the resulting new date will be in UTC and a new utcOffset field will be added to the data, which defines the time zone delta from UTC in minutes (positive numbers indicate zones ahead of UTC)
- The clock face code was completely refactored
- ESLint is now happy with the site (and .eslintrc is committed to the repository)
- Developers should check CONTRIBUTING.md for changes in how the site is now run in dev mode and how to run the site to get automatic reload on code changes. Javascript packaging now uses the webpack dev mode along with nodemon, so when running in dev mode, all changes are deployed when you save changes in your editor. The site also runs eslint in the packaging mode; please check any reported errors and fix them before PRing changes.
- The repository now includes .eslintrc and .jsbeautifyrc files; using VSCode for editing with those plugins is recommended
Contributors to this release: @sulkaharo, @PieterGit, @unsoluble, @jasoncalabrese, @jpcunningh, @rob-andy, @mitchellhenke, @m-a-v, @janrpn, @OpossumGit, @diabetlum, @tanja3981, @thecubic, @jungsomyeong