functions_client 1.3.1 copy "functions_client: ^1.3.1" to clipboard
functions_client: ^1.3.1 copied to clipboard

A dart client library for the Supabase functions.

1.3.1 #

  • FIX: Update http dependency constraints (#491). (825d0737)

1.3.0 #

  • FEAT: update dependency constraints to sdk < 4.0.0 (#474). (7894bc70)

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 to invoke() 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 of invoke().

[0.0.1-dev.2] #

  • BREAKIMG: functionsUrl and headers are now positional arguments.

[0.0.1-dev.1] #

  • Initial pre-release.