INCOMPLETE
- Fixed
Function
client not detectingFXN_ACCESS_KEY
environment variable. - Fixed
Function
client not detectingFXN_API_URL
environment variable. - Removed
PREDICTION_FIELDS
constant.
- Function now supports Linux, across
x86_64
andarm64
architectures.
- Updated
Acceleration
type from string constant to integer enumeration. - Updated
Value
type to be a union of plain JavaScript types. - Updated to Function C 0.0.27.
- Removed
fxn.environmentVariables
field. - Removed
fxn.storage
field. - Removed
fxn.users.update
method. - Removed
fxn.predictors.list
method. - Removed
fxn.predictors.search
method. - Removed
fxn.predictors.create
method. - Removed
fxn.predictors.delete
method. - Removed
fxn.predictors.archive
method. - Removed
fxn.predictions.toObject
method. - Removed
fxn.predictions.toValue
method. - Removed
Predictor.type
field. - Removed
Predictor.acceleration
field. - Removed
Prediction.type
field. - Removed
isFunctionValue
type predicate function. - Removed
EnvironmentVariable
type. - Removed
PredictorType
type. - Removed
Profile
type. - Removed
UploadType
type. - Removed
USER_FIELDS
constant. - Removed
PROFILE_FIELDS
constant. - Removed
PREDICTOR_FIELDS
constant.
- Fixed Webpack bundler errors caused by Function.
- Fixed package install error due to missing dependencies.
- Fixed package install error due to required script excluded from packaging process.
- Added edge prediction support on Node.js when running on macOS and Windows. Linux coming soon!
- Improved edge predictor memory consumption when predictors input and output tensors.
- Fixed
fxn.predictions.create
method with large input images resulting in413 Payload Too Large
error. - Fixed
Prediction.configuration
being populated with invalid token when edge prediction is created withnull
configuration identifier. - Refactored
Acceleration
type from enumeration to string literal. - Refactored
AccessMode
type from enumeration to string literal. - Refactored
PredictorStatus
type from enumeration to string literal. - Refactored
PredictorType
type from enumeration to string literal. - Refactored
UploadType
type from enumeration to string literal. - Updated
Image.data
field type toUint8ClampedArray
. - Updated to Function C 0.0.26.
- Added
Image.channels
field for inspecting image channel count. - Fixed edge prediction output
Image
having incorrectwidth
andheight
. - Updated to Function C 0.0.20.
- Fixed edge prediction errors caused by request backpressure while the predictor is being loaded.
- Updated to Function C 0.0.19.
- Fixed
isFunctionValue
type guard function returningfalse
fornull
Function values.
- Updated to Function C 0.0.18.
- Added support for making edge predictions on
ImageData
input values. - Fixed
fxn.predictors.retrieve
not populating signature output parameterschema
.
- Fixed error when making edge predictions with image input values.
- Fixed prediction proxying errors when large prediction input values are uploaded.
- Refactored
toFunctionValue
function tofxn.predictions.toValue
method. - Refactored
toPlainValue
function tofxn.predictions.toObject
method.
- Minor updates.
- Added
CreatePredictionInput.client
field for overriding client identifier when making predictions. - Added
CreatePredictionInput.configuration
field for overriding configuration identifier when making predictions. - Added
PredictionResource.name
field for handling resources with required file names. - Fixed certain edge predictors failing to be loaded on Google Chrome due to size restrictions.
- Removed
AccessMode.Protected
access mode. UseAccessMode.Public
orAccessMode.Private
instead. - Removed
PredictionResource.id
field as it is no longer used.
- Added
PredictionResource.type
field for inspecting the type of a prediction resource.
- Added experimental support for running on-device predictions in the browser with WebAssembly!
- Added
fxn.predictions.delete
method to delete a loaded edge predictor from memory. - Added
bigint
support for prediction inputs and outputs. - Added
Tensor
type for working with tensors. - Fixed
fxn.predictions.create
wrongly returning scalar result for single-element vector output. - Fixed
fxn.predictors.list
returningnull
when listing organization predictors. - Removed
CloudPrediction
interface. UsePrediction
interface instead. - Removed
EdgePrediction
interface. UsePrediction
interface instead. - Removed
ToFunctionValueInput.shape
input field. UseTensor
type instead.
- Added
AccessMode.Protected
enumeration member for working with protected predictors.
- Added
Function.predictions.stream
method to create a streaming prediction.
- Added
Parameter.schema
field for inspecting the JSON schema fordict
andlist
parameters.
- Added support for making predictions in Vercel Serverless Functions using their edge Runtime.
- Refactored
Predictor.readme
field tocard
.
- Added
Dtype.null
constant for working withnull
prediction values. - Added support for
ArrayBuffer
instances as prediction inputs. - Fixed
isFunctionValue
utility method throwing error onnull
input.
- Added support for using
TypedArray
instances as prediction inputs and outputs. - Added
isFunctionValue
utility method for checking whether avalue
is a Function value. - Refactored
Feature
type toValue
to improve clarity. - Refactored
FeatureValue
type toPlainValue
to improve clarity. - Refactored
UploadType.Feature
enumeration member toUploadType.Value
. - Refactored
featureFromValue
function totoFunctionValue
. - Refactored
featureToValue
function totoPlainValue
.
- Fixed
fxn.environmentVariables.list
method throwing error.
- Added UMD script for using Function without a bundler.
- Minor stability updates.
- Minor stability updates.
- Added support for Vercel Edge runtime.
- Fixed
Parameter.enumeration
field type to beEnumerationMember[]
instead ofEnumerationMember
.
- Added
featureFromValue
function for creating a prediction feature from a JavaScript value. - Added
featureToValue
function for creating a JavaScript value from a prediction feature.
- Fixed
crypto
exception when callingFunction.predictions.create
in a web browser.
- Removed
CreatePredictionInput.features
input field. UseCreatePredictionInput.inputs
input field instead. - Removed
PREDICTION_FIELDS_RAW
constant. UsePREDICTION_FIELDS
constant instead. - Removed
ParameterInput
type.
- Added
EnumerationMember
class for working with parameters that are enumeration values. - Added
Parameter.enumeration
field for inspecting parameters which hold enumeration values. - Added
Parameter.defaultValue
field for inspecting the default value of a predictor parameter. - Renamed
Dtype.3d
data type tomodel
. - Removed
Parameter.stringDefault
field. UseParameter.defaultValue
field instead. - Removed
Parameter.intDefault
field. UseParameter.defaultValue
field instead. - Removed
Parameter.floatDefault
field. UseParameter.defaultValue
field instead. - Removed
Parameter.boolDefault
field. UseParameter.defaultValue
field instead.
- Added
Predictor.predictions
field for inspecting the number of predictions made with a predictor. - Added
Predictor.readme
field for inspecting the predictor README from the predictor notebook. - Fixed
Predictor.error
field not being populated forINVALID
predictors.
- Fixed
Function.predictors.list
function raising errors. - Fixed
Function.storage.createUploadUrl
function raising errors.
- Added
EnvironmentVariable
type for managing predictor environment variables. - Added
Function.environmentVariables
service for managing global predictor environment variables. - Added
CreatePredictorInput.overwrite
input field for overwriting an existing predictor with the same tag.
- Removed
Predictor.topics
field.
- Populating API.
- First pre-release.