Skip to content

Releases: Artificial-Pancreas/iAPS

Release 4.6.0

08 Jul 20:32
d069246
Compare
Choose a tag to compare

UI finishes

  1. Resolves issues with not displaying rounding corners of the TIR and Loop BarMark Charts. These charts are now looking prettier.
  2. Remove the history button (less crowded now), as this is no longer needed in current UI/UX implementation. You can access the history by tapping the main Chart, as before.
    Increase the Apple symbol image size.

New UI updates

  1. New Mini glucose chart added to the Home View. Displayed when scrolling down to always see both the status header View and the glucose past 24 hours.

img_3_1720469231268

  1. Total insulin since start of day now displayed in pump history data table, together with the previous Total insulin 24 hours (or the hours existing with pump data).

IMG_6457

New features

  1. Read the current active profile (override) preset name in middleware.
  2. Added a post Ore0 layer and integrated it into the middleware function, making it possible to enact a basal rate from middleware. 1 and 2 can of course be combined in middleware, enacting a basal rate when using a certain preset.

To enable basal rate in middleware: profile.set_basal = true
To enact the basal rate (only if set to true) to 2U/h: profile.set_basal = 2

This will override the Oref0 suggestion and enact a new Basal rate. Use cases are numerous, but requested for use when doing prolonged exercises.

IMG_6459

  1. Add carbs, fat and protein using the iAPS meal presets with iOS shortcuts. For instance: When waking up enable a morning profile override and add two coffees and a breakfast to iAPS.

Resolved issues

  1. Out of bonds issue (found with iOS 18 simulator with Xcode beta2).

Miscellaneous
Add methods for using some iOS 17 - required functions in Swift.

Translations
New translations from the Crowdin translators:
Micheline Tasseron, Hung Nguyen Phuteleco and David de Tommasi

Release 4.4.1

30 Jun 09:23
2384902
Compare
Choose a tag to compare

Patch update to resolve new browser building issue.

Deletes the Gemfile.lock, which will allow for auto update and install of all gems and the Fastlane version when building with GitHub actions.

Bump version to 4.4.1

Release 4.4.0

25 Jun 12:10
0194add
Compare
Choose a tag to compare

New Features

  1. The last missing piece in the new carbs + bolus flow (first introduced in version 3):
    Complete the carbs -> bolus flow before enacting any eventual auto bolus (SMB) or any auto temp basal. For safety reasons the insulin suspending is always allowed, when needed.
    Complete the carbs -> bolus flow before enacting any eventual auto bo…
    @Jon-b-m
    and
    Allow bolus when long time since last loop
    @Jon-b-m

  2. Add link to sharing to bring directly to personal statistics page:
    Add link to sharing to bring directly to personal statistics page (#727)
    @scrappy, by @scrappy.

  3. Display insulin analysis in IOB View.

  4. Use the autosens.min/max limits to limit any eventual dynamic basal adjustments.

  5. Use a time adjusted insulin average for dynamic ISF to avoid any eventual skewness.
    Example: if current time is 15:15, your average insulin past 24h (used in dynamic ISF and displayed in IOB View) is the average of: [today 15:15, yesterday 15:15, day before yesterday 15:15, ... ]
    Insulin and TDD details. (#724)
    @Jon-b-m

Resolved issues

  1. Confirm pod DeliveryStatus to prevent 0x31 fault.
    confirm pod DeliveryStatus to prevent 0x31 fault (#735)
    @marionbarker, by @marionbarker.

  2. Missing localizations
    Missing localizable strings.
    @Jon-b-m

  3. Sharing and Version checks.
    Don't require a NS URL for the version check
    @Jon-b-m
    and
    Use NS URL for NS uploads
    @Jon-b-m

Other
Overdue update to the iPhone identifier list (#725)
@scrappy, by @scrappy

Translations
Crowdin Updates. Thank you translators: Aleksandr Van-Zaam @vanzaam, @nicolevanelstvandenhoek, @Mirko-tri , Alessandro Fogliani, Hung Nguyen Phuteleco, Mykola Yroslavadudko, David de Tommas, Diabetlum and NazeehSheikh.

Release 4.2.1

02 Jun 13:25
570ded7
Compare
Choose a tag to compare

Resolved issues:
#711
#712
#705, by @yurique
dc733d9, by @scrappy
#720, by @bastiaanv

Miscellaneous:
6. Remove extra characters in pop-up.
7. Remove requirement having a NS URL.
8. More logging.

Translations:
Thank you Hung Nguyen Phuteleco!

Co-authored-by: yurique [email protected]
Co-authored-by: Marc G. Fournier [email protected]
Co-authored-by: Bastiaan Verhaar [[email protected]]

Release 4.2.0

24 May 12:35
f0a74dd
Compare
Choose a tag to compare
  1. Discrete update reminder:

image

  1. Active insulin / carbohydrates charts:

image

  1. Translations. Thank you @danielacano , Hung Nguyen Phuteleco, @nicolevanelstvandenhoek, @becksen, David de Tommasi, @Mirko-tri and wannabeflatliner.

  2. Issues resolved:

Deleting active preset.
Allow for bigger adjustment of FPU settings.
Always log when dynISF disabled
Always log middleware and middleware errors (now display error also in pop-up!)

Release 4.0.4

18 May 18:51
53fa2d8
Compare
Choose a tag to compare

Resolve issues.
Resolve issues with defaults ,IOB count, GitHub workflow and NS import.
Contact updates. Sharing View updates.

Release 4.0.3

09 May 09:03
Compare
Choose a tag to compare

Contact Image updates. Thank you @yurique
Crowdin translations. Thank you Mykola Yroslavadudko, Andras Feher @smilodonis, Andreas Lueger, Hung Nguyen, Mirko Trierenberg and Nicole Van Elst - van den Hoek @nicolevanelstvandenhoek!

Release 4.0.2

08 May 21:01
Compare
Choose a tag to compare

Crowdin translations.

Release 4.0.1

08 May 19:06
Compare
Choose a tag to compare

Bolus calculator config. Missing toggle.

Release V4.0.0

08 May 15:44
398ed72
Compare
Choose a tag to compare

OPEN CLEAN Oref0 AND NEW EASILY ACCESSIBLE, READABLE, COMPACT, NON COMPRESSED DYNAMIC ISF CODE

  • First dynamic ISF release which uses the public clean unmodified Open APS repo. All dynamic ISF is aded as a separate layer, easily reviewed by anyone. This layer allows for a super simple overview and for super simple changing of any formula and makes the open public iAPS repo even more open (more accessible for non-devs) to everyone.
  • Uses the OpenAPS Oref0 repo modules unmodified. The algorithm in JS is back to the Oref0 modules, as originally implemented in FreeAPS.
  • The source code for dynISF is added as a layer and run before the OpenAPS algorithm, similar to the middleware, visible and uncompressed in the iAPS repo.
  • The TDD code needed for dynISF now written in Swift, made to work for all pumps using the pump history storage, as before.
    One exception where the JS code currently differs from OpenAPS is in one file, a file just with the default list of preferences etc, the index.js file. This is taken compressed from the original FreeAPS code (https://github.com/ivalkou/freeaps/blob/master/FreeAPS/Resources/javascript/bundle/profile.js), as this code has never been presented unminimized and I therefore don’t know exactly what format is used for this file, but you can see all these variables contained here uncompressed in the preferences.json and in other places in the Swift code, where this list of preferences and profiles is generated.

BOLUS CALCULATORS

  • Calculators are now using safer formulas and a more user friendly UI/UX with several important old bugs fixed.
  • Both the “original” and the alternative are now written entirely in Swift. Several bugs found and fixed in the newer alternative calculator.
  • The calculators now about 0.2 s faster, when not using the slower LoopKit function for rounding.
  • Added safety guardrails to both alternatives, using the OpenAPS prediction minPredBG (can be disabled, but on by default). The error alerts have been removed and replaced with illustrations.
  • Settings for bolus calculators have been revamped. More clean and simple.
  • The bolus View is now more compact, using an added compactSpacing method (only used on devices with iOS 17 and newer).

NEW CHARTS

  • New charts and illustrations for the bolus calculators. You can now see the insulin needed illustrated in the bolus prediction chart as a AreaMark in the prediction chart in bolus view.
  • Target glucose added as dotted green line.
  • For the alternative calculator I added new graphics to better illustrate the data used, a new chart with the insulin needed for each variable and a Grid data table with the specific formulas and summation of the variables.
  • Main Chart. Alignment of the default bolus and carbs dots and strings adjusted for easier reading of all entries.
  • To reduce eventual bolus string clutter a setting has been added in UX/U settings, where you can opt in to hide the insulin amount string when under a selected value, default is 0.3, a bit similar to xDrip.
  • I’ve added an option in UI/UX-settings to replace the bolus dot with an InsulinBar instead (off by default). The height of the bars is dynamic, based on your pump history, meaning a user with history of boluses of 0.2-2 U will generate the same size of the insulin bars as a user with history of boluses of 2-20. Max Height is added as a new Config in code and will impact all bars.
  • Glucose dots now connected by a thin line for better overview of the chart data.

NEW OPTIONAL ANONYMOUS SHARING AND SAVING OF YOUR STATISTICS

  • The data you now choose to share is not using Nightscout anymore. This data is unidentified (no emails or URLS are needed or tied to your data) and uploaded anonymously.
  • A new section of settings has been created for this with a new link to a new site with the statistics.
  • Very soon you will also be able to see in your settings header when there is a newer main release to build/download.
    To prevent duplicate uploads of data a unique random string is created as identifier, saved on your iPhone.
    Thank you @scrappy for the work with the new site for statistics!

LIVE IAPS COMPLICATIONS AND WIDGETS

  • Uses a Contact Image to display iAPS updates/data on Watch App (Apple Contacts complication) and as iPhone widget (Apple Contact widget).
  • Ensuring reliable live updates.
  • Many options and settings with live preview in iAPS settings.
    Thank you @yurique for this contribution!

MISCELLANEOUS

  • Back port various Omnipod related fixes from Loop #619, by @itsmojo
  • Cleanup around diagnostic commands (commits from OmniBLE 118 & OmniKit 32) #620, by @itsmojo
  • Many important bug fixes. Most of fixes are for really old bugs (pre v3).
  • Middleware and the adjusted profiles can now be read outside of the middleware layer and outside of oref0.
  • It’s now clear when autosense has been used and when the dynamic ratio has been used instead.
  • TDD will always be displayed in the history data table. When dynamic ratio used also in the iAPS loop pill (pop-up). You can see hours of data available in the data table.
  • The dynISF and the other OpenApS variables are now separated in two groups in the pop-up.
  • Any active override is now added to the iAPS pill pop-up and to the Nightscout OpenAPS pill. Middleware can be read in pop-up and NS pill as before.
  • The profile button was slightly disproportionate (too large) before.
  • Changed colour of glucose in main chart to darkGreen, for better readability and to be coherent with the TIR and Loop chart green colour.
  • MAX IOB added as a variable to the Overrides, by request.
  • When SMBs either by your own settings or by other temporary conditions in the Oref0 code are disabled, you will now see this both in the iAPS pill in iAPS and in Nightscout.
  • To prevent GitHub build errors due to the naming of your iAPS-repo, you now can use any repo name. A fix in the workflow file.
  • An edit of the Webpack config file, for correct file names of the new compressed files, by @thomasvargiu
  • Siri Bolus Shortcut: you're now able to disable the confirmation when making the shortcut/automation.

TRANSLATIONS

  • Thank you all community translators: Hung Nguyen Phuteleco, Nicole Van Elst - van den Hoek, David de Tommasi, Mirko Trierenberg, Andras Feher, Mykola Yroslavadudko, Dani S Nahek, Jani Lavonen, Aleksandr Van-Zaam @vanzaam, Alessandro Fogliani, Typ1er and Matteo Neri for your contribution!

CAVE!
in version 4 there are some changes made to the middleware function.

  • The arguments preferences, basalProfile and pumphistory are removed as these are no longer needed (no TDD calc made in oref0 anymore and the preferences is anyways already part of the profiles and the current basal you still can see and change as before)).
    -The argument oref2_variables has been renamed to dynamicVariables. You have to update your current middleware function (provided you have some) to avoid any errors.