functions_client 1.3.1 functions_client: ^1.3.1 copied to clipboard
A dart client library for the Supabase functions.
1.2.1 #
- chore: move the repo into supabase-flutter monorepo
[1.2.0] #
- feat: expose
headers
getter
[1.1.1] #
- fix: use utf8 encoding for text response
[1.1.0] #
- feat: add
method
parameter toinvoke()
to support all GET, POST, PUT, PATCH, DELETE methods
[1.0.2] #
- fix: add
await functions.dispose()
method to dispose yet_another_json_isolate instance
[1.0.1] #
- fix: use yet_another_json_isolate for json encoding/decoding
[1.0.0] #
- chore: v1.0.0 release 🚀
- BREAKING: set minimum SDK version to 2.15.0
[1.0.0-dev.4] #
- fix: Support null body when invoking functions
[1.0.0-dev.3] #
- BREAKING:
error
is now thrown instead of being returned within a response
try {
final res = await functions.invoke('myFunction');
print(res.data);
} catch (error, stacktrace) {
print('$error \n $stracktrace');
}
[1.0.0-dev.2] #
- feat: use isolates for json encoding/decoding
[1.0.0-dev.1] #
- chore: Update lints to v2.0.0
[0.0.1-dev.5] #
- fix: Change the minimul SDK version to 2.12.0
[0.0.1-dev.4] #
- fix: Fix a bug where json is not properly encoded.
- fix: Set default headers with X-Client-Info.
[0.0.1-dev.3] #
- BREAKIMG: 'body', 'headers', and
responseType
are now named parameters ofinvoke()
.
[0.0.1-dev.2] #
- BREAKIMG:
functionsUrl
andheaders
are now positional arguments.
[0.0.1-dev.1] #
- Initial pre-release.