home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.14k stars 605 forks source link

Jackson 2.14+ requires higher minimum SDK level #3518

Open jpelgrom opened 1 year ago

jpelgrom commented 1 year ago

Is your feature request related to a problem? Please describe.

Jackson, which is used for JSON (de)serialization, requires a minimum SDK level of 26 for version 2.14+. The app's minimum SDK level is currently 21.

Jackson's 2.13 branch will remain supported until at least the end of 2023, but the app should make sure it's using a supported library for critical functionality like this.

Describe the solution you'd like

and/or

Describe alternatives you've considered, if any

Additional context

3077, #3489

jpelgrom commented 3 months ago

Looks like Retrofit 2.10 adds support for kotlinx.serialization - would this be a good candidate for replacement, as it supports whatever Kotlin supports and we're already using Kotlin anyway? I kind of like the idea of less orgs who can make dependencies difficult for us.

dshokouhi commented 3 months ago

I kind of like the idea of less orgs who can make dependencies difficult for us.

I agree on this.

JBassett commented 3 months ago

Sounds like a good plan