Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev - candidate for release 15.0.0 #7809

Merged
merged 169 commits into from
Oct 18, 2023
Merged

dev - candidate for release 15.0.0 #7809

merged 169 commits into from
Oct 18, 2023

Conversation

bewest
Copy link
Member

@bewest bewest commented Jan 3, 2023

Draft Release notes

Nightscout version 15.0.0

Current dev branch preparing release for 15.0.0. This is a major version bump because we changed node version requirements to support only lts versions, removing older versions.

Breaking changes:

  • Node 12 no longer supported, modern versions of node and npm.
  • AAPS Compatibility - AAPS 3.2.0 need at least NS 15.0.0.

Fixes

  • fix security issue where part of v2 API was unsecured.
  • Viewing reports from another timezone now aligns treatment and glucose data, at the trade of framing the query in UTC. This may result in wrapping to tomorrow or yesterday's date depending on the timezones involved, and time of day.

Improvements

  • tweak viewport for iphone
  • new "easy state" in v2 API to help enable reproducible, easy to consume statistics and usage information.

Loop

  • Make Loop overrides more convenient by removing unused OTP field.
  • Introduce Nightsout Connect, a plugin to unify importing external cloud provider diabetes data into Nightscout.

Android APS

  • Prevent gaps from appearing in some cases.
  • Upgrades to data consistency and auth
    While using websockets in NS v3 plugin treatments entered through NS UI (plus button) and other applications using v1 API are not sent to AAPS. This will be fixed in future release of NS. Always use the same client (v1 or v3) in AAPS and AAPSClient until NS fully switch to v3 internaly. The same is valid for AAPS and AAPSClient itself.
    See the full release notes for AAPS 3.2.0 for more details.

Maintenance

  • update or pin many dependencies to keep Nightscout up to date
  • changed build system to trivially support more cloud providers, notably Digital Ocean.
  • updating mongo uri parser and providing indices expected to improve Azure + CosmoDB compatibility
  • More translations and language updates.
  • Update mongodb dependencies and poll the database 15 seconds instead of 5 seconds.

Jakob Sandberg and others added 30 commits January 28, 2022 09:23
…already merged his branch to dev

add NodeJS 16.x support.
drop NodeJS 12.x support.It reached End-of-Life status on 30 April 2022
allow NodeJS 18.x support to run for CI
upgrade webpack and webpack-cli
update browserlist and browser documentation, config is now at .browserslistrc
update README.md for browsers and Node versions
fix typos in comments in lib/client/hashauth.js and webpack/webpack.config from #7440
…odules, so the content is retained across cached builds in various PAAS environments
* Change | to && in package.json
The '^' prefix makes this meaingless, there's
no reason to refuse to run less than 16.16.0
if it's still some 16.x.
Avoid HTML injection called out by CODEQL.
See if this makes codeql happy.
@MilosKozak
Copy link
Contributor

👍

Given node 18 and 20, allow running on any LTS version of node.
We can block out bad versions if needed.
Use npm install under node 14 generates different lock file.
This patch adjusts the user feedback while the server is initializing to
communicate that Nightscout startup sequence should take closer to 15 second
than 5 seconds.
Record output of npm instlal using oldest supported version.
Record changes from upgrading nightscout-connect to at least the latest
release, 0.0.12.
Mongo driver update & less frequent database polls
@bewest
Copy link
Member Author

bewest commented Oct 12, 2023

@MilosKozak This completes all the high priority items. I've updated the draft release notes in the description. Please attach any additional feedback and I will release accordingly. :shipit:

Did we pick an M theme?

@bewest bewest merged commit da3b2ee into master Oct 18, 2023
16 checks passed
@MilosKozak
Copy link
Contributor

@bewest no issues 👍

@olorinmaia
Copy link

olorinmaia commented Oct 19, 2023

@bewest @MilosKozak In breaking changes it must be added that AAPS 3.1.0.3 and older versions of AAPS is not working with NS15. AAPS 3.1 users must stay on old master NS14.

I assume there is no plan of making AAPS 3.1 compatible with NS15 due to imminent release of AAPS 3.2 that requires NS15 or that it was known that AAPS 3.1 didnt work with NS15? If it can be hotfixed to work with AAPS 3.1 it would save us all alot of trouble :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.