Py-nightscout

Latest version: v1.3.3

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

14.0.1

This is a maintenance release that fixes a the treatment report for users on mmol (thank you pazaan).

See the [Release 14 Liquorice](https://github.com/nightscout/cgm-remote-monitor/releases/tag/14.0.0) description for details of major changes in the release.

14.0.0

![119596269_1021245785059061_4026200607729658702_n](https://user-images.githubusercontent.com/1001330/93344956-f75bc680-f83a-11ea-9da6-906c32f423c2.png)

Release 14 Liquorice

(Note this is currently a silent release - please do not post massive announce threads anywhere. The dev team will do this once we confirm everything is working as expected.)

Nightscout documentation is now hosted at [nightscout.github.io](https://nightscout.github.io/).

Major changes in this release

* The release fixes issues found with MongoDB Atlas. Notably, the database load is hugely improved with release 14, compared to previous releases. **It's highly recommended all users who have migrated to Atlas update to this release.**
* Related to above, release 14 is unlikely to work if you’re uploading data directly to MongoDB. If you’re using an uploader that connects directly to MongoDB instead of using the REST API, please migrate to REST API as part of updating to this release. Instructions on how to do this should be either in the uploader settings or the uploader documentation.
* Nightscout now integrates the split view that allows you to view 2-8 Nightscout graphs in one browser window. See the Readme for details
* We now have a configurable Clock view! After updating, press the +.button next to clock view links in the Nightscout site, create your view and bookmark clock page you just made
* This release fixes a security issue with remote service integrations. We do not know of any exploits using this vulnerability and exploiting the issue requires access to your Nightscout, so it’s unlikely any users are in danger. However, if you use Loop Overrides, Dexcom Share Bridge or the Medtronic Guardian service, it’s highly recommended you immediately upgrade to this release
* Multiple issues with Dexcom Share and Medronic cloud services have been fixed

Other changes

* Stale data alarms were still broken on some users, depending on how they synched data to Nightscout. The alarms should now work again for all users
* Nightscout now shows the size of the database as a pill (enabled by default)
* Client side caching now uses a service worker instead of appcache. After updating the site, please clear the browser cache to ensure you get the latest client side version.
* Improved translations for many languages
* Google Home and Alexa improvements
* Reporting pages updated styling, fixing some issues on mobile browsers
* Graph rendering has been fixed for situations where data was missing
* Glucose distribution report headline now shows dates
* Day to Day reporting now supports Loop overrides
* Default mg/dl setting value changed from “mgdl” to “mg/dl” (should not affect any users)
* DBsize plugin now works with Atlas
* The flow that pushed users to the profile editor on startup has been improved
* Layout fixes for small screens

Known issues

* The current Loop implementation stores a large amount of profile data into Nightscout and can cause issues after migrating to MongoDB Atlas, especially with reporting. The current fix is to simply go to Atlas and delete the profile collection data. We’re working with Loop developers to fix this in the future releases of Loop/Nightscout.

Developer notes

* Direct to Mongo data injection is now fully unsupported. This is a permanent change and even if the current release might work with direct to Mongo data injection, the upcoming releases are guaranteed to break this functionality. For read-only use cases, the V1 API offers performant data reads and if you want to save data into Nightscout and/or synchronise the Nightscout data with a local database, please use the V3 API, as we’re likely to make V1 API read only in the future.
* The V1 API now uses a caching layer to improve the performance of the API and reduce Mongo load very significantly. The cache is refreshed on every data change, but there is a few second gap between data being inserted and updated, during which you will be served stale data that doesn't include the latest insertion. If this is a problem for data synchronisation with a local database, please migrate over to using the V3 API. If you're implementing an app that only reads data, please keep using V1. To ensure the requests hit the cache to load recent data, _avoid_ using date parameters in the queries and just request latest n entries from the database. Also please be mindful of how frequently you request data and don't ask for more entries than what the application actually needs.
* The site caching has been migrated to use a service worker

13.0.1

This is a hot fix release to fix a bug in the authentication in the profile editor, introduced in 13.0.0

**Changes:**

* Fix authentication dialog issue
* Google Home documentation update

13.0.0

![ketchup](https://user-images.githubusercontent.com/1001330/71003724-dfa7b400-20e9-11ea-8ca8-64412b2fa2b0.png)

**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/

1.3.3

- Add uploader type to UploaderDevice class

1.3.2

- Add mmol/L SGV delta values

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.