isar-community / isar

Extremely fast, easy to use, and fully async NoSQL database for Flutter
https://isar-community.dev
Apache License 2.0
131 stars 15 forks source link

Isar is still using an older js 0.6.4 version. Add js 0.7.1 support #16

Closed alexfeller closed 4 months ago

alexfeller commented 6 months ago

Is your feature request related to a problem? Please describe. Unable to upgrade flutter native splash package due to the following issue:

Because isar 3.1.3 depends on js ^0.6.4 and flutter_native_splash >=2.3.12 depends on js ^0.7.1, isar 3.1.3 is incompatible with flutter_native_splash >=2.3.12.

Describe the solution you'd like Upgrade isar js package from 0.6.4 to the most recent version 0.7.1

Describe alternatives you've considered Alternative solution would be a downgrade of the flutter_native_splash package. Though it is recommended to upgrade js package to 0.7.1 in isar to stay up to date.

Version

vicenterusso commented 6 months ago

Try native splash version flutter_native_splash 2.3.10.

Also, there are some breaking changes in js 0.7.0 that may not justify the update in the short term

alexfeller commented 6 months ago

That is what I proposed as an alternate solution. It is not about having the most recent version of the flutter_native_splash. I can use the previous one. It is more about keeping Isar up to date. The update request is not critical.

vicenterusso commented 6 months ago

Sorry, I misread your post and was in a hurry. Let's keep that issue open for future discussion

alexfeller commented 6 months ago

flutter_native_splash 2.4.0 has migrated from js to js_interop Therefore there is no dependency to js anymore.

AristideVB commented 5 months ago

Hello @vicenterusso flutter_branch_sdk & mobile_scanner also need js ^0.7.1 & many other packages, could you prioritize this update ? 🙂🙏

vicenterusso commented 4 months ago

Hello @vicenterusso flutter_branch_sdk & mobile_scanner also need js ^0.7.1 & many other packages, could you prioritize this update ? 🙂🙏

Can you provide your flutter version? or a repo? both packages installed using js ^0.6.4

AristideVB commented 4 months ago

@vicenterusso I'm using the latest flutter version 3.19.6

flutter_branch_sdk flutter_nfc_kit are using js: ^0.7.1 as you can see here :

flutter_branch_sdk pubspec.yaml -- flutter_nfc_kit pubspec.yaml

🙏