appwrite / sdk-for-dart

[READ-ONLY] Official Appwrite Dart SDK 💙
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
113 stars 17 forks source link

🐛 Bug Report: Version 8.0.1 required dart 2.19 which not available as functions runtime. #44

Open byawitz opened 1 year ago

byawitz commented 1 year ago

👟 Reproduction steps

When publishing any function to Appwrite using the latest 8.0.1 version you get an error like this

Because every version of appwrite_function from path depends on dart_appwrite ^8.0.1 which depends on http >=0.13.6 <1.0.1, every version of appwrite_function from path requires http >=0.13.6 <1.0.1. So, because http >=0.13.6 requires SDK version >=2.19.0 <3.0.0 or ^3.0.0 and open_runtimes_dart depends on appwrite_function from path, version solving failed.

Version 0.13.6 of http supports only dart 2.19 and up.

Currently, OpenRuntime doesn't support dart 2.19 so I couldn't deploy a dart function.

I've checked that issue after seeing this in Discord.

👍 Expected behavior

Maybe downgrading the version to 0.13.5 to have support for all available dart open-runtime.

👎 Actual Behavior

The above error.

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Linux

🧱 Your Environment

1.3.6

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?

lohanidamodar commented 1 year ago

@byawitz thank you for raising the issue. We know the functions release is behind schedule, however we are working on some major improvements to the functions runtime. You will have the updates soon.