Changelog
3.0.0 (2022-03-02)
settings
parameter instead of operationParams
.
makeDirectory(path, operationParams?)
After: makeDirectory(path, {operationParams: ...}?)
removeDirectory(path, operationParams?)
After: removeDirectory(path, {operationParams: ...}?)
listDirectory(path, operationParams?)
After: listDirectory(path, {operationParams: ...}?)
describePath(path, operationParams?)
After: describePath(path, {operationParams: ...}?)
modifyPermissions(path, ..., ..., operationParams?)
After: modifyPermissions(path, ..., ..., {operationParams: ...}?)
@withTypeOptions({namesConversion:snakeToCamelCaseConversion})
for backward compatibility.(query, params, txControl, operationParams?, settings?, collectStats?)
After: (query, params, txControl, settings?)
(tablePath: string, operationParams?)|(tablePath, describeTableParams?)
After: (tablePath, settings?)
(txControl, operationParams?)
After: (txControl, settings?)
(and collectStats
support)(<required params>, operationParams?)
After: (<required params>, settings?)
tablePath
in bulkUpsert
and readTable
methods must be without database prefixTypedValues
new Driver(entryPoint, dbName, authService, ...)
After: new Driver({connectionString: "...", authService: ..., ...})
or new Driver({endpoint: "...", database: "...", authService: ..., ...})
database
and sslCredentials
are no longer needed in *AuthService constructors
(ssl credentials option is now initialized in the driver if it's necessary)
Before: const authService = new MetadataAuthService(dbName, sslCredentials);
After: const authService = new MetadataAuthService();
const authService = getCredentialsFromEnv(endpoint, database, logger);
After: const authService = getCredentialsFromEnv();
(logger is optional)Types
and TypedValues
helper classes (029db0e)tablePath
for bulkUpsert
and readTable
methods (d416d59)