- feat: expose
headers
getter
- fix: use utf8 encoding for text response
- feat: add
method
parameter toinvoke()
to support all GET, POST, PUT, PATCH, DELETE methods
- fix: add
await functions.dispose()
method to dispose yet_another_json_isolate instance
- fix: use yet_another_json_isolate for json encoding/decoding
- chore: v1.0.0 release 🚀
- BREAKING: set minimum SDK version to 2.15.0
- fix: Support null body when invoking functions
- 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');
}
- feat: use isolates for json encoding/decoding
- chore: Update lints to v2.0.0
- fix: Change the minimul SDK version to 2.12.0
- fix: Fix a bug where json is not properly encoded.
- fix: Set default headers with X-Client-Info.
- BREAKIMG: 'body', 'headers', and
responseType
are now named parameters ofinvoke()
.
- BREAKIMG:
functionsUrl
andheaders
are now positional arguments.
- Initial pre-release.