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

A dart client library for the Supabase functions.

2.4.0 #

2.3.3 #

  • Update a dependency to the latest release.

2.3.2 #

  • FIX: Upgrade web_socket_channel for supporting web: ^1.0.0 and therefore WASM compilation on web (#992). (7da68565)

2.3.1 #

  • Update a dependency to the latest release.

2.3.0 #

  • FIX(functions_client): Add toString to FunctionException (#985). (e072ff74)
  • FEAT: Support MultipartRequest in functions invoke (#977). (09698edf)

2.2.0 #

  • FEAT(functions): Invoke function with custom query params (#926). (7ded898d)

2.1.0 #

  • FEAT(functions_client): Add SSE support to invoke method (#905). (2e052440)

2.0.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

2.0.0-dev.0 #

Note: This release has breaking changes.

  • FIX(functions_client): use header for response parsing (#616). (e413acbb)
  • BREAKING REFACTOR: use Dart 3 (#598). (02c4071a)
  • BREAKING FIX: throw exception on non 2xx status (#629). (db5ec824)
  • BREAKING FEAT: use Object? instead of dynamic (#606). (0c6caa00)

1.3.2 #

  • REFACTOR: bump minimum Dart SDK version to 2.17.0 (#510). (ed927ee0)

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.
6
likes
140
points
109k
downloads

Publisher

verified publishersupabase.io

Weekly Downloads

A dart client library for the Supabase functions.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

http, logging, yet_another_json_isolate

More

Packages that depend on functions_client