Skip to content

Commit

Permalink
Release v2.3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
marinPassio committed Dec 19, 2023
1 parent 7252bc3 commit f1d5afe
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Passio SDK

[![release](https://img.shields.io/badge/release-v2.3.13-brightgreen)](https://github.com/Passiolife/Passio-Nutrition-AI-Android-SDK-Distribution/releases/tag/v2.3.13) [![release](https://img.shields.io/badge/platform-Android-lightgray)]() [![release](https://img.shields.io/badge/minimum--suported--version-26-lightgray)](https://developer.android.com/about/versions/oreo) [![release](https://img.shields.io/badge/Kotlin-v1.6.10-informational)](https://github.com/JetBrains/kotlin/releases/tag/v1.6.10) [![release](https://img.shields.io/badge/codelab-Get_started-important)](https://musing-gates-4e7160.netlify.app/#0)
[![release](https://img.shields.io/badge/release-v2.3.15-brightgreen)](https://github.com/Passiolife/Passio-Nutrition-AI-Android-SDK-Distribution/releases/tag/v2.3.15) [![release](https://img.shields.io/badge/platform-Android-lightgray)]() [![release](https://img.shields.io/badge/minimum--suported--version-26-lightgray)](https://developer.android.com/about/versions/oreo) [![release](https://img.shields.io/badge/Kotlin-v1.6.10-informational)](https://github.com/JetBrains/kotlin/releases/tag/v1.6.10) [![release](https://img.shields.io/badge/codelab-Get_started-important)](https://musing-gates-4e7160.netlify.app/#0)

## Overview:

Expand Down
21 changes: 21 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

Full project was build with **Kotlin 1.6.10**

## V2.3.15

### Deprecated APIs

* Removed support for language packs, they will be available in version 3.0.0. Removed ```enableLanguagePack``` from the ```PassioConfiguration``` object, and the ```setSDKLanguage```.

### Added APIs

* Fetch a map of nutrients for a 100 grams of a specific food item

```
fun fetchNutrientsFor(passioID: PassioID, onResult: (nutrients: List<PassioNutrient>?) -> Unit)
data class PassioNutrient(
val name: String,
val amount: Double,
val unit: String,
val inflammatoryEffectScore: Double,
)
```

## V2.3.13

* Add support for German language pack
Expand Down
18 changes: 18 additions & 0 deletions ReleaseNotesForModels.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Passio SDK Release Notes for Models

## V2.3.15

* Number of food items recognized via HNN: 4104
* Nutrition database version: passio_nutrition.4105.0.301
* Number of products recognized via OCR: TBA

### New included HNN foods
```
corn chowder
```

### Excluded HNN foods
```
coconut sandwich cookies
mollete
strawberry cream cheese bagel
```

## V2.3.13

* Number of food items recognized via HNN: 4106
Expand Down

0 comments on commit f1d5afe

Please sign in to comment.