diff --git a/docs/Next/classes/ClientEncryption.html b/docs/Next/classes/ClientEncryption.html index f54a6ae9b0d..1121d5c2c52 100644 --- a/docs/Next/classes/ClientEncryption.html +++ b/docs/Next/classes/ClientEncryption.html @@ -1,5 +1,5 @@ ClientEncryption | mongodb

Class ClientEncryption

The public interface for explicit in-use encryption

-

Constructors

Constructors

Accessors

Methods

addKeyAltName createDataKey @@ -20,7 +20,7 @@
new ClientEncryption(mongoClient, {
keyVaultNamespace: 'client.encryption',
kmsProviders: {
aws: {
accessKeyId: AWS_ACCESS_KEY,
secretAccessKey: AWS_SECRET_KEY
}
}
});
-

Accessors

Methods

Accessors

Methods

  • Adds a keyAltName to a key identified by the provided _id.

    This method resolves to/returns the old key value (prior to adding the new altKeyName).

    Parameters

    • _id: Binary

      The id of the document to update.

    • keyAltName: string

      a keyAltName to search for a key

      @@ -29,7 +29,7 @@
  • Creates a data key used for explicit encryption and inserts it into the key vault namespace

    Parameters

    Returns Promise<UUID>

    // Using async/await to create a local key
    const dataKeyId = await clientEncryption.createDataKey('local');
    @@ -39,7 +39,7 @@
    // Using async/await to create an aws key with a keyAltName
    const dataKeyId = await clientEncryption.createDataKey('aws', {
    masterKey: {
    region: 'us-east-1',
    key: 'xxxxxxxxxxxxxx' // CMK ARN here
    },
    keyAltNames: [ 'mySpecialKey' ]
    });
    -
  • Explicitly decrypt a provided encrypted value

    Type Parameters

    • T = any

    Parameters

    • value: Binary

      An encrypted value

    Returns Promise<T>

    a Promise that either resolves with the decrypted value, or rejects with an error

    // Decrypting value with async/await API
    async function decryptMyValue(value) {
    return clientEncryption.decrypt(value);
    }
    -
  • Deletes the key with the provided id from the keyvault, if it exists.

    Parameters

    Returns Promise<DeleteResult>

    // delete a key by _id
    const id = new Binary(); // id is a bson binary subtype 4 object
    const { deletedCount } = await clientEncryption.deleteKey(id);

    if (deletedCount != null && deletedCount > 0) {
    // successful deletion
    }
    -
  • Explicitly encrypt a provided value. Note that either options.keyId or options.keyAltName must be specified. Specifying both options.keyId and options.keyAltName is considered an error.

    Parameters

    Returns Promise<Binary>

    a Promise that either resolves with the encrypted value, or rejects with an error.

    @@ -68,7 +68,7 @@
    // Encryption using a keyAltName
    async function encryptMyData(value) {
    await clientEncryption.createDataKey('local', { keyAltNames: 'mySpecialKey' });
    return clientEncryption.encrypt(value, { keyAltName: 'mySpecialKey', algorithm: 'AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic' });
    }
    -
+
diff --git a/docs/Next/classes/MongoCredentials.html b/docs/Next/classes/MongoCredentials.html index be1e154a3bd..b2d929310e8 100644 --- a/docs/Next/classes/MongoCredentials.html +++ b/docs/Next/classes/MongoCredentials.html @@ -15,7 +15,7 @@
source: string

The database that the user should authenticate against

username: string

The username used for authentication

Methods

+

Returns MongoCredentials

diff --git a/docs/Next/classes/MongoCryptAzureKMSRequestError.html b/docs/Next/classes/MongoCryptAzureKMSRequestError.html index 63a626c68ce..73b7fd83200 100644 --- a/docs/Next/classes/MongoCryptAzureKMSRequestError.html +++ b/docs/Next/classes/MongoCryptAzureKMSRequestError.html @@ -1,5 +1,5 @@ MongoCryptAzureKMSRequestError | mongodb

Class MongoCryptAzureKMSRequestError

An error indicating that mongodb-client-encryption failed to auto-refresh Azure KMS credentials.

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

body? cause? code? @@ -19,12 +19,12 @@

Meant for internal use only.

Parameters

Returns MongoCryptAzureKMSRequestError

This class is only meant to be constructed within the driver. This constructor is not subject to semantic versioning compatibility guarantees and may change at any time.

-

Properties

body?: Document

The body of the http response that failed, if present.

-
cause?: Error
code?: string | number

This is a number in MongoServerError and a string in MongoDriverError

+

Properties

body?: Document

The body of the http response that failed, if present.

+
cause?: Error
code?: string | number

This is a number in MongoServerError and a string in MongoDriverError

connectionGeneration?: number
message: string
stack?: string
topologyVersion?: TopologyVersion
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Accessors

  • get errmsg(): string
  • Legacy name for server error responses

    -

    Returns string

  • get errorLabels(): string[]
  • Returns string[]

Methods

  • Checks the error to see if it has an error label

    +

    Returns string

  • get errorLabels(): string[]
  • Returns string[]

Methods

  • Checks the error to see if it has an error label

    Parameters

    • label: string

      The error label to check for

    Returns boolean

    returns true if the error has the provided error label

  • Create .stack property on a target object

    diff --git a/docs/Next/classes/MongoCryptCreateDataKeyError.html b/docs/Next/classes/MongoCryptCreateDataKeyError.html index 3c038d63684..c283eed4d10 100644 --- a/docs/Next/classes/MongoCryptCreateDataKeyError.html +++ b/docs/Next/classes/MongoCryptCreateDataKeyError.html @@ -1,5 +1,5 @@ MongoCryptCreateDataKeyError | mongodb

    Class MongoCryptCreateDataKeyError

    An error indicating that ClientEncryption.createEncryptedCollection() failed to create data keys

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    cause? code? connectionGeneration? @@ -19,11 +19,11 @@

    Meant for internal use only.

    Parameters

    • encryptedFields: Document
    • __namedParameters: {
          cause: Error;
      }
      • cause: Error

    Returns MongoCryptCreateDataKeyError

    This class is only meant to be constructed within the driver. This constructor is not subject to semantic versioning compatibility guarantees and may change at any time.

    -

Properties

cause?: Error
code?: string | number

This is a number in MongoServerError and a string in MongoDriverError

-
connectionGeneration?: number
encryptedFields: Document
message: string
stack?: string
topologyVersion?: TopologyVersion
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

+

Properties

cause?: Error
code?: string | number

This is a number in MongoServerError and a string in MongoDriverError

+
connectionGeneration?: number
encryptedFields: Document
message: string
stack?: string
topologyVersion?: TopologyVersion
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Accessors

  • get errmsg(): string
  • Legacy name for server error responses

    -

    Returns string

  • get errorLabels(): string[]
  • Returns string[]

Methods

  • Checks the error to see if it has an error label

    +

    Returns string

  • get errorLabels(): string[]
  • Returns string[]

Methods

  • Checks the error to see if it has an error label

    Parameters

    • label: string

      The error label to check for

    Returns boolean

    returns true if the error has the provided error label

  • Create .stack property on a target object

    diff --git a/docs/Next/classes/MongoCryptCreateEncryptedCollectionError.html b/docs/Next/classes/MongoCryptCreateEncryptedCollectionError.html index 9f97d1d46e3..608e3447af7 100644 --- a/docs/Next/classes/MongoCryptCreateEncryptedCollectionError.html +++ b/docs/Next/classes/MongoCryptCreateEncryptedCollectionError.html @@ -1,5 +1,5 @@ MongoCryptCreateEncryptedCollectionError | mongodb

    Class MongoCryptCreateEncryptedCollectionError

    An error indicating that ClientEncryption.createEncryptedCollection() failed to create a collection

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    cause? code? connectionGeneration? @@ -19,11 +19,11 @@

    Meant for internal use only.

    Parameters

    • encryptedFields: Document
    • __namedParameters: {
          cause: Error;
      }
      • cause: Error

    Returns MongoCryptCreateEncryptedCollectionError

    This class is only meant to be constructed within the driver. This constructor is not subject to semantic versioning compatibility guarantees and may change at any time.

    -

Properties

cause?: Error
code?: string | number

This is a number in MongoServerError and a string in MongoDriverError

-
connectionGeneration?: number
encryptedFields: Document
message: string
stack?: string
topologyVersion?: TopologyVersion
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

+

Properties

cause?: Error
code?: string | number

This is a number in MongoServerError and a string in MongoDriverError

+
connectionGeneration?: number
encryptedFields: Document
message: string
stack?: string
topologyVersion?: TopologyVersion
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Accessors

  • get errmsg(): string
  • Legacy name for server error responses

    -

    Returns string

  • get errorLabels(): string[]
  • Returns string[]

Methods

  • Checks the error to see if it has an error label

    +

    Returns string

  • get errorLabels(): string[]
  • Returns string[]

Methods

  • Checks the error to see if it has an error label

    Parameters

    • label: string

      The error label to check for

    Returns boolean

    returns true if the error has the provided error label

Properties

cause?: Error
code?: string | number

This is a number in MongoServerError and a string in MongoDriverError

+

Properties

cause?: Error
code?: string | number

This is a number in MongoServerError and a string in MongoDriverError

connectionGeneration?: number
message: string
stack?: string
topologyVersion?: TopologyVersion
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Accessors

  • get errmsg(): string
  • Legacy name for server error responses

    -

    Returns string

  • get errorLabels(): string[]
  • Returns string[]

Methods

  • Checks the error to see if it has an error label

    +

    Returns string

  • get errorLabels(): string[]
  • Returns string[]

Methods

  • Checks the error to see if it has an error label

    Parameters

    • label: string

      The error label to check for

    Returns boolean

    returns true if the error has the provided error label

keyExpirationMS?: number

Sets the expiration time for the DEK in the cache in milliseconds. Defaults to 60000. 0 means no timeout.

+
keyVaultClient?: MongoClient

A MongoClient used to fetch keys from a key vault

+
keyVaultNamespace?: string

The namespace where keys are stored in the key vault

+
kmsProviders?: KMSProviders

Configuration options that are used by specific KMS providers during key generation, encryption, and decryption.

+
options?: {
    logger?: ((level: AutoEncryptionLoggerLevel, message: string) => void);
}

Type declaration

  • Optionallogger?: ((level: AutoEncryptionLoggerLevel, message: string) => void)

    An optional hook to catch logging messages from the underlying encryption engine

    +
proxyOptions?: ProxyOptions
schemaMap?: Document

A map of namespaces to a local JSON schema for encryption

NOTE: Supplying options.schemaMap provides more security than relying on JSON Schemas obtained from the server. It protects against a malicious server advertising a false JSON Schema, which could trick the client into sending decrypted data that should be encrypted. Schemas supplied in the schemaMap only apply to configuring automatic encryption for Client-Side Field Level Encryption. Other validation rules in the JSON schema will not be enforced by the driver and will result in an error.

-
tlsOptions?: CSFLEKMSTlsOptions

The TLS options to use connecting to the KMS provider

-
+
tlsOptions?: CSFLEKMSTlsOptions

The TLS options to use connecting to the KMS provider

+
diff --git a/docs/Next/interfaces/AzureEncryptionKeyOptions.html b/docs/Next/interfaces/AzureEncryptionKeyOptions.html index d5fd0c94d61..a2eac560af5 100644 --- a/docs/Next/interfaces/AzureEncryptionKeyOptions.html +++ b/docs/Next/interfaces/AzureEncryptionKeyOptions.html @@ -1,8 +1,8 @@ AzureEncryptionKeyOptions | mongodb

Interface AzureEncryptionKeyOptions

Configuration options for making an Azure encryption key

-
interface AzureEncryptionKeyOptions {
    keyName: string;
    keyVaultEndpoint: string;
    keyVersion?: string;
}

Properties

interface AzureEncryptionKeyOptions {
    keyName: string;
    keyVaultEndpoint: string;
    keyVersion?: string;
}

Properties

keyName: string

Key name

-
keyVaultEndpoint: string

Key vault URL, typically <name>.vault.azure.net

-
keyVersion?: string

Key version

-
+
keyVaultEndpoint: string

Key vault URL, typically <name>.vault.azure.net

+
keyVersion?: string

Key version

+
diff --git a/docs/Next/interfaces/ClientEncryptionCreateDataKeyProviderOptions.html b/docs/Next/interfaces/ClientEncryptionCreateDataKeyProviderOptions.html index d55dfb88d19..a7b66dd28b5 100644 --- a/docs/Next/interfaces/ClientEncryptionCreateDataKeyProviderOptions.html +++ b/docs/Next/interfaces/ClientEncryptionCreateDataKeyProviderOptions.html @@ -1,8 +1,8 @@ ClientEncryptionCreateDataKeyProviderOptions | mongodb

Interface ClientEncryptionCreateDataKeyProviderOptions

Options to provide when creating a new data key.

-
interface ClientEncryptionCreateDataKeyProviderOptions {
    keyAltNames?: string[];
    keyMaterial?: Buffer<ArrayBufferLike> | Binary;
    masterKey?:
        | AWSEncryptionKeyOptions
        | AzureEncryptionKeyOptions
        | GCPEncryptionKeyOptions
        | KMIPEncryptionKeyOptions;
}

Properties

interface ClientEncryptionCreateDataKeyProviderOptions {
    keyAltNames?: string[];
    keyMaterial?: Buffer<ArrayBufferLike> | Binary;
    masterKey?:
        | AWSEncryptionKeyOptions
        | AzureEncryptionKeyOptions
        | GCPEncryptionKeyOptions
        | KMIPEncryptionKeyOptions;
}

Properties

keyAltNames?: string[]

An optional list of string alternate names used to reference a key. If a key is created with alternate names, then encryption may refer to the key by the unique alternate name instead of by _id.

-
keyMaterial?: Buffer<ArrayBufferLike> | Binary

Identifies a new KMS-specific key used to encrypt the new data key

-
+
keyMaterial?: Buffer<ArrayBufferLike> | Binary
masterKey?:
    | AWSEncryptionKeyOptions
    | AzureEncryptionKeyOptions
    | GCPEncryptionKeyOptions
    | KMIPEncryptionKeyOptions

Identifies a new KMS-specific key used to encrypt the new data key

+
diff --git a/docs/Next/interfaces/ClientEncryptionEncryptOptions.html b/docs/Next/interfaces/ClientEncryptionEncryptOptions.html index 06b3863aa4a..5a2d4e6ace4 100644 --- a/docs/Next/interfaces/ClientEncryptionEncryptOptions.html +++ b/docs/Next/interfaces/ClientEncryptionEncryptOptions.html @@ -1,5 +1,5 @@ ClientEncryptionEncryptOptions | mongodb

Interface ClientEncryptionEncryptOptions

Options to provide when encrypting data.

-
interface ClientEncryptionEncryptOptions {
    algorithm:
        | "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
        | "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
        | "Indexed"
        | "Unindexed"
        | "Range"
        | "TextPreview";
    contentionFactor?: number | bigint;
    keyAltName?: string;
    keyId?: Binary;
    queryType?:
        | "equality"
        | "range"
        | "prefixPreview"
        | "suffixPreview"
        | "substringPreview";
    rangeOptions?: RangeOptions;
    textOptions?: TextQueryOptions;
}

Properties

interface ClientEncryptionEncryptOptions {
    algorithm:
        | "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
        | "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
        | "Indexed"
        | "Unindexed"
        | "Range"
        | "TextPreview";
    contentionFactor?: number | bigint;
    keyAltName?: string;
    keyId?: Binary;
    queryType?:
        | "equality"
        | "range"
        | "prefixPreview"
        | "suffixPreview"
        | "substringPreview";
    rangeOptions?: RangeOptions;
    textOptions?: TextQueryOptions;
}

Properties

algorithm:
    | "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
    | "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
    | "Indexed"
    | "Unindexed"
    | "Range"
    | "TextPreview"

The algorithm to use for encryption.

-
contentionFactor?: number | bigint

The contention factor.

-
keyAltName?: string

A unique string name corresponding to an already existing dataKey.

-
keyId?: Binary

The id of the Binary dataKey to use for encryption

-
queryType?:
    | "equality"
    | "range"
    | "prefixPreview"
    | "suffixPreview"
    | "substringPreview"

The query type.

-
rangeOptions?: RangeOptions

The index options for a Queryable Encryption field supporting "range" queries.

-
textOptions?: TextQueryOptions

Options for a Queryable Encryption field supporting text queries. Only valid when algorithm is TextPreview.

+
contentionFactor?: number | bigint

The contention factor.

+
keyAltName?: string

A unique string name corresponding to an already existing dataKey.

+
keyId?: Binary

The id of the Binary dataKey to use for encryption

+
queryType?:
    | "equality"
    | "range"
    | "prefixPreview"
    | "suffixPreview"
    | "substringPreview"

The query type.

+
rangeOptions?: RangeOptions

The index options for a Queryable Encryption field supporting "range" queries.

+
textOptions?: TextQueryOptions

Options for a Queryable Encryption field supporting text queries. Only valid when algorithm is TextPreview.

Public Technical Preview: textPreview is an experimental feature and may break at any time.

-
+
diff --git a/docs/Next/interfaces/ClientEncryptionOptions.html b/docs/Next/interfaces/ClientEncryptionOptions.html index 822165f8d52..24f556e0be8 100644 --- a/docs/Next/interfaces/ClientEncryptionOptions.html +++ b/docs/Next/interfaces/ClientEncryptionOptions.html @@ -1,5 +1,5 @@ ClientEncryptionOptions | mongodb

Interface ClientEncryptionOptions

Additional settings to provide when creating a new ClientEncryption instance.

-
interface ClientEncryptionOptions {
    credentialProviders?: CredentialProviders;
    keyExpirationMS?: number;
    keyVaultClient?: MongoClient;
    keyVaultNamespace: string;
    kmsProviders?: KMSProviders;
    proxyOptions?: ProxyOptions;
    timeoutMS?: number;
    tlsOptions?: CSFLEKMSTlsOptions;
}

Properties

interface ClientEncryptionOptions {
    credentialProviders?: CredentialProviders;
    keyExpirationMS?: number;
    keyVaultClient?: MongoClient;
    keyVaultNamespace: string;
    kmsProviders?: KMSProviders;
    proxyOptions?: ProxyOptions;
    timeoutMS?: number;
    tlsOptions?: CSFLEKMSTlsOptions;
}

Properties

credentialProviders?: CredentialProviders

Options for user provided custom credential providers.

-
keyExpirationMS?: number

Sets the expiration time for the DEK in the cache in milliseconds. Defaults to 60000. 0 means no timeout.

-
keyVaultClient?: MongoClient

A MongoClient used to fetch keys from a key vault. Defaults to client.

-
keyVaultNamespace: string

The namespace of the key vault, used to store encryption keys

-
kmsProviders?: KMSProviders

Options for specific KMS providers to use

-
proxyOptions?: ProxyOptions

Options for specifying a Socks5 proxy to use for connecting to the KMS.

-
timeoutMS?: number

The timeout setting to be used for all the operations on ClientEncryption.

+
keyExpirationMS?: number

Sets the expiration time for the DEK in the cache in milliseconds. Defaults to 60000. 0 means no timeout.

+
keyVaultClient?: MongoClient

A MongoClient used to fetch keys from a key vault. Defaults to client.

+
keyVaultNamespace: string

The namespace of the key vault, used to store encryption keys

+
kmsProviders?: KMSProviders

Options for specific KMS providers to use

+
proxyOptions?: ProxyOptions

Options for specifying a Socks5 proxy to use for connecting to the KMS.

+
timeoutMS?: number

The timeout setting to be used for all the operations on ClientEncryption.

When provided, timeoutMS is used as the timeout for each operation executed on the ClientEncryption object. For example:

const clientEncryption = new ClientEncryption(client, {
timeoutMS: 1_000
kmsProviders: { local: { key: '<KEY>' } }
});

// `1_000` is used as the timeout for createDataKey call
await clientEncryption.createDataKey('local'); @@ -24,5 +24,5 @@
const client = new MongoClient('<uri>', { timeoutMS: 2_000 });

// timeoutMS is set to 1_000 on clientEncryption
const clientEncryption = new ClientEncryption(client, {
timeoutMS: 1_000
kmsProviders: { local: { key: '<KEY>' } }
});
-
tlsOptions?: CSFLEKMSTlsOptions

TLS options for kms providers to use.

-
+
tlsOptions?: CSFLEKMSTlsOptions

TLS options for kms providers to use.

+
diff --git a/docs/Next/interfaces/ClientEncryptionRewrapManyDataKeyProviderOptions.html b/docs/Next/interfaces/ClientEncryptionRewrapManyDataKeyProviderOptions.html index ea488f4124d..93a50651eba 100644 --- a/docs/Next/interfaces/ClientEncryptionRewrapManyDataKeyProviderOptions.html +++ b/docs/Next/interfaces/ClientEncryptionRewrapManyDataKeyProviderOptions.html @@ -1,3 +1,3 @@ -ClientEncryptionRewrapManyDataKeyProviderOptions | mongodb

Interface ClientEncryptionRewrapManyDataKeyProviderOptionsExperimental

interface ClientEncryptionRewrapManyDataKeyProviderOptions {
    masterKey?:
        | AWSEncryptionKeyOptions
        | AzureEncryptionKeyOptions
        | GCPEncryptionKeyOptions
        | KMIPEncryptionKeyOptions;
    provider: keyof KMSProviders;
}

Properties

masterKey? +ClientEncryptionRewrapManyDataKeyProviderOptions | mongodb

Interface ClientEncryptionRewrapManyDataKeyProviderOptionsExperimental

interface ClientEncryptionRewrapManyDataKeyProviderOptions {
    masterKey?:
        | AWSEncryptionKeyOptions
        | AzureEncryptionKeyOptions
        | GCPEncryptionKeyOptions
        | KMIPEncryptionKeyOptions;
    provider: keyof KMSProviders;
}

Properties

Properties

provider: keyof KMSProviders
+

Properties

provider: keyof KMSProviders
diff --git a/docs/Next/interfaces/ClientEncryptionRewrapManyDataKeyResult.html b/docs/Next/interfaces/ClientEncryptionRewrapManyDataKeyResult.html index d6ca092d508..18b7092f4d6 100644 --- a/docs/Next/interfaces/ClientEncryptionRewrapManyDataKeyResult.html +++ b/docs/Next/interfaces/ClientEncryptionRewrapManyDataKeyResult.html @@ -1,3 +1,3 @@ -ClientEncryptionRewrapManyDataKeyResult | mongodb

Interface ClientEncryptionRewrapManyDataKeyResultExperimental

interface ClientEncryptionRewrapManyDataKeyResult {
    bulkWriteResult?: BulkWriteResult;
}

Properties

bulkWriteResult? +ClientEncryptionRewrapManyDataKeyResult | mongodb

Interface ClientEncryptionRewrapManyDataKeyResultExperimental

interface ClientEncryptionRewrapManyDataKeyResult {
    bulkWriteResult?: BulkWriteResult;
}

Properties

Properties

bulkWriteResult?: BulkWriteResult

The result of rewrapping data keys. If unset, no keys matched the filter.

-
+
diff --git a/docs/Next/interfaces/ConnectionOptions.html b/docs/Next/interfaces/ConnectionOptions.html index afd8b60495b..4efe8a68b53 100644 --- a/docs/Next/interfaces/ConnectionOptions.html +++ b/docs/Next/interfaces/ConnectionOptions.html @@ -1,4 +1,4 @@ -ConnectionOptions | mongodb

Interface ConnectionOptions

interface ConnectionOptions {
    allowPartialTrustChain?: boolean;
    ALPNProtocols?: Uint8Array<ArrayBufferLike> | string[] | Uint8Array<ArrayBufferLike>[];
    autoSelectFamily?: boolean;
    autoSelectFamilyAttemptTimeout?: number;
    ca?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[];
    cancellationToken?: CancellationToken;
    cert?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[];
    checkServerIdentity?: ((hostname: string, cert: PeerCertificate) => Error | undefined);
    ciphers?: string;
    compressors?: (
        | "none"
        | "snappy"
        | "zlib"
        | "zstd")[];
    connectTimeoutMS?: number;
    credentials?: MongoCredentials;
    crl?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[];
    ecdhCurve?: string;
    family?: number;
    generation: number;
    hints?: number;
    hostAddress: HostAddress;
    id: number | "<monitor>";
    keepAliveInitialDelay?: number;
    key?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike> | KeyObject)[];
    loadBalanced: boolean;
    localAddress?: string;
    localPort?: number;
    logicalSessionTimeoutMinutes?: number;
    lookup?: LookupFunction;
    metadata: ClientMetadata;
    minDHSize?: number;
    monitorCommands: boolean;
    noDelay?: boolean;
    passphrase?: string;
    pfx?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike> | PxfObject)[];
    proxyHost?: string;
    proxyPassword?: string;
    proxyPort?: number;
    proxyUsername?: string;
    rejectUnauthorized?: boolean;
    secureContext?: SecureContext;
    secureProtocol?: string;
    serverApi?: ServerApi;
    servername?: string;
    session?: Buffer<ArrayBufferLike>;
    socketTimeoutMS?: number;
    tls: boolean;
}

Hierarchy (view full)

Properties

allowPartialTrustChain? +ConnectionOptions | mongodb

Interface ConnectionOptions

interface ConnectionOptions {
    allowPartialTrustChain?: boolean;
    ALPNProtocols?: Uint8Array<ArrayBufferLike> | string[] | Uint8Array<ArrayBufferLike>[];
    autoSelectFamily?: boolean;
    autoSelectFamilyAttemptTimeout?: number;
    ca?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[];
    cancellationToken?: CancellationToken;
    cert?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[];
    checkServerIdentity?: ((hostname: string, cert: PeerCertificate) => Error | undefined);
    ciphers?: string;
    compressors?: (
        | "none"
        | "snappy"
        | "zlib"
        | "zstd")[];
    connectTimeoutMS?: number;
    credentials?: MongoCredentials;
    crl?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[];
    ecdhCurve?: string;
    family?: number;
    generation: number;
    hints?: number;
    hostAddress: HostAddress;
    id: number | "<monitor>";
    keepAliveInitialDelay?: number;
    key?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike> | KeyObject)[];
    loadBalanced: boolean;
    localAddress?: string;
    localPort?: number;
    logicalSessionTimeoutMinutes?: number;
    lookup?: LookupFunction;
    metadata: ClientMetadata;
    minDHSize?: number;
    monitorCommands: boolean;
    noDelay?: boolean;
    passphrase?: string;
    pfx?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike> | PxfObject)[];
    proxyHost?: string;
    proxyPassword?: string;
    proxyPort?: number;
    proxyUsername?: string;
    rejectUnauthorized?: boolean;
    secureContext?: SecureContext;
    secureProtocol?: string;
    serverApi?: ServerApi;
    servername?: string;
    session?: Buffer<ArrayBufferLike>;
    socketTimeoutMS?: number;
    tls: boolean;
}

Hierarchy (view full)

Properties

ca?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

Optionally override the trusted CA certificates. Default is to trust the well-known CAs curated by Mozilla. Mozilla's CAs are completely replaced when CAs are explicitly specified using this option.

-
cancellationToken?: CancellationToken
cert?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

Cert chains in PEM format. One cert chain should be provided per +

cancellationToken?: CancellationToken
cert?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

Cert chains in PEM format. One cert chain should be provided per private key. Each cert chain should consist of the PEM formatted certificate for a provided private key, followed by the PEM formatted intermediate certificates (if any), in order, and not @@ -81,7 +81,7 @@ information, see modifying the default cipher suite. Permitted ciphers can be obtained via tls.getCiphers(). Cipher names must be uppercased in order for OpenSSL to accept them.

-
compressors?: (
    | "none"
    | "snappy"
    | "zlib"
    | "zstd")[]
connectTimeoutMS?: number
credentials?: MongoCredentials
crl?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

PEM formatted CRLs (Certificate Revocation Lists).

+
compressors?: (
    | "none"
    | "snappy"
    | "zlib"
    | "zstd")[]
connectTimeoutMS?: number
credentials?: MongoCredentials
crl?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

PEM formatted CRLs (Certificate Revocation Lists).

ecdhCurve?: string

A string describing a named curve or a colon separated list of curve NIDs or names, for example P-521:P-384:P-256, to use for ECDH key agreement. Set to auto to select the curve automatically. Use @@ -89,7 +89,7 @@ recent releases, openssl ecparam -list_curves will also display the name and description of each available elliptic curve. Default: tls.DEFAULT_ECDH_CURVE.

-
family?: number
generation: number
hints?: number
hostAddress: HostAddress
id: number | "<monitor>"
keepAliveInitialDelay?: number

Node.JS socket option to set the time the first keepalive probe is sent on an idle socket. Defaults to 120000ms

+
family?: number
generation: number
hints?: number
hostAddress: HostAddress
id: number | "<monitor>"
keepAliveInitialDelay?: number

Node.JS socket option to set the time the first keepalive probe is sent on an idle socket. Defaults to 120000ms

key?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike> | KeyObject)[]

Private keys in PEM format. PEM allows the option of private keys being encrypted. Encrypted keys will be decrypted with options.passphrase. Multiple keys using different algorithms can be @@ -98,7 +98,7 @@ passphrase: ]}. The object form can only occur in an array. object.passphrase is optional. Encrypted keys will be decrypted with object.passphrase if provided, or options.passphrase if it is not.

-
loadBalanced: boolean
localAddress?: string
localPort?: number
logicalSessionTimeoutMinutes?: number
lookup?: LookupFunction
metadata: ClientMetadata
minDHSize?: number
monitorCommands: boolean
noDelay?: boolean
passphrase?: string

Shared passphrase used for a single private key and/or a PFX.

+
loadBalanced: boolean
localAddress?: string
localPort?: number
logicalSessionTimeoutMinutes?: number
lookup?: LookupFunction
metadata: ClientMetadata
minDHSize?: number
monitorCommands: boolean
noDelay?: boolean
passphrase?: string

Shared passphrase used for a single private key and/or a PFX.

pfx?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike> | PxfObject)[]

PFX or PKCS12 encoded private key and certificate chain. pfx is an alternative to providing key and cert individually. PFX is usually encrypted, if it is, passphrase will be used to decrypt it. Multiple @@ -107,7 +107,7 @@ passphrase: ]}. The object form can only occur in an array. object.passphrase is optional. Encrypted PFX will be decrypted with object.passphrase if provided, or options.passphrase if it is not.

-
proxyHost?: string
proxyPassword?: string
proxyPort?: number
proxyUsername?: string
rejectUnauthorized?: boolean

If true the server will reject any connection which is not +

proxyHost?: string
proxyPassword?: string
proxyPort?: number
proxyUsername?: string
rejectUnauthorized?: boolean

If true the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if requestCert is true.

true
@@ -123,5 +123,5 @@
 any TLS protocol version up to TLSv1.3. It is not recommended to use
 TLS versions less than 1.2, but it may be required for
 interoperability. Default: none, see minVersion.

-
serverApi?: ServerApi
servername?: string
session?: Buffer<ArrayBufferLike>

An optional Buffer instance containing a TLS session.

-
socketTimeoutMS?: number
tls: boolean
+
serverApi?: ServerApi
servername?: string
session?: Buffer<ArrayBufferLike>

An optional Buffer instance containing a TLS session.

+
socketTimeoutMS?: number
tls: boolean
diff --git a/docs/Next/interfaces/ConnectionPoolOptions.html b/docs/Next/interfaces/ConnectionPoolOptions.html index 8c3b451a460..02b31fee05a 100644 --- a/docs/Next/interfaces/ConnectionPoolOptions.html +++ b/docs/Next/interfaces/ConnectionPoolOptions.html @@ -55,7 +55,7 @@
ca?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

Optionally override the trusted CA certificates. Default is to trust the well-known CAs curated by Mozilla. Mozilla's CAs are completely replaced when CAs are explicitly specified using this option.

-
cancellationToken?: CancellationToken
cert?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

Cert chains in PEM format. One cert chain should be provided per +

cancellationToken?: CancellationToken
cert?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

Cert chains in PEM format. One cert chain should be provided per private key. Each cert chain should consist of the PEM formatted certificate for a provided private key, followed by the PEM formatted intermediate certificates (if any), in order, and not @@ -84,7 +84,7 @@ information, see modifying the default cipher suite. Permitted ciphers can be obtained via tls.getCiphers(). Cipher names must be uppercased in order for OpenSSL to accept them.

-
compressors?: (
    | "none"
    | "snappy"
    | "zlib"
    | "zstd")[]
connectTimeoutMS?: number
credentials?: MongoCredentials
crl?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

PEM formatted CRLs (Certificate Revocation Lists).

+
compressors?: (
    | "none"
    | "snappy"
    | "zlib"
    | "zstd")[]
connectTimeoutMS?: number
credentials?: MongoCredentials
crl?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

PEM formatted CRLs (Certificate Revocation Lists).

ecdhCurve?: string

A string describing a named curve or a colon separated list of curve NIDs or names, for example P-521:P-384:P-256, to use for ECDH key agreement. Set to auto to select the curve automatically. Use @@ -92,7 +92,7 @@ recent releases, openssl ecparam -list_curves will also display the name and description of each available elliptic curve. Default: tls.DEFAULT_ECDH_CURVE.

-
family?: number
hints?: number
hostAddress: HostAddress
keepAliveInitialDelay?: number

Node.JS socket option to set the time the first keepalive probe is sent on an idle socket. Defaults to 120000ms

+
family?: number
hints?: number
hostAddress: HostAddress
keepAliveInitialDelay?: number

Node.JS socket option to set the time the first keepalive probe is sent on an idle socket. Defaults to 120000ms

key?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike> | KeyObject)[]

Private keys in PEM format. PEM allows the option of private keys being encrypted. Encrypted keys will be decrypted with options.passphrase. Multiple keys using different algorithms can be @@ -105,8 +105,8 @@

localAddress?: string
localPort?: number
logicalSessionTimeoutMinutes?: number
lookup?: LookupFunction
maxConnecting: number

The maximum number of connections that may be in the process of being established concurrently by the connection pool.

maxIdleTimeMS: number

The maximum amount of time a connection should remain idle in the connection pool before being marked idle.

maxPoolSize: number

The maximum number of connections that may be associated with a pool at a given time. This includes in use and available connections.

-
metadata: ClientMetadata
minDHSize?: number
minPoolSize: number

The minimum number of connections that MUST exist at any moment in a single connection pool.

-
monitorCommands: boolean
noDelay?: boolean
passphrase?: string

Shared passphrase used for a single private key and/or a PFX.

+
metadata: ClientMetadata
minDHSize?: number
minPoolSize: number

The minimum number of connections that MUST exist at any moment in a single connection pool.

+
monitorCommands: boolean
noDelay?: boolean
passphrase?: string

Shared passphrase used for a single private key and/or a PFX.

pfx?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike> | PxfObject)[]

PFX or PKCS12 encoded private key and certificate chain. pfx is an alternative to providing key and cert individually. PFX is usually encrypted, if it is, passphrase will be used to decrypt it. Multiple @@ -115,7 +115,7 @@ passphrase: ]}. The object form can only occur in an array. object.passphrase is optional. Encrypted PFX will be decrypted with object.passphrase if provided, or options.passphrase if it is not.

-
proxyHost?: string
proxyPassword?: string
proxyPort?: number
proxyUsername?: string
rejectUnauthorized?: boolean

If true the server will reject any connection which is not +

proxyHost?: string
proxyPassword?: string
proxyPort?: number
proxyUsername?: string
rejectUnauthorized?: boolean

If true the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if requestCert is true.

true
@@ -131,6 +131,6 @@
 any TLS protocol version up to TLSv1.3. It is not recommended to use
 TLS versions less than 1.2, but it may be required for
 interoperability. Default: none, see minVersion.

-
serverApi?: ServerApi
servername?: string
session?: Buffer<ArrayBufferLike>

An optional Buffer instance containing a TLS session.

-
socketTimeoutMS?: number
tls: boolean
waitQueueTimeoutMS: number

The maximum amount of time operation execution should wait for a connection to become available. The default is 0 which means there is no limit.

+
serverApi?: ServerApi
servername?: string
session?: Buffer<ArrayBufferLike>

An optional Buffer instance containing a TLS session.

+
socketTimeoutMS?: number
tls: boolean
waitQueueTimeoutMS: number

The maximum amount of time operation execution should wait for a connection to become available. The default is 0 which means there is no limit.

diff --git a/docs/Next/interfaces/DataKey.html b/docs/Next/interfaces/DataKey.html index a864400c36e..28270f7d4b6 100644 --- a/docs/Next/interfaces/DataKey.html +++ b/docs/Next/interfaces/DataKey.html @@ -1,5 +1,5 @@ DataKey | mongodb

Interface DataKey

The schema for a DataKey in the key vault collection.

-
interface DataKey {
    _id: UUID;
    creationDate: Date;
    keyAltNames?: string[];
    keyMaterial: Binary;
    masterKey: Document;
    status: number;
    updateDate: Date;
    version?: number;
}

Properties

_id +
interface DataKey {
    _id: UUID;
    creationDate: Date;
    keyAltNames?: string[];
    keyMaterial: Binary;
    masterKey: Document;
    status: number;
    updateDate: Date;
    version?: number;
}

Properties

_id: UUID
creationDate: Date
keyAltNames?: string[]
keyMaterial: Binary
masterKey: Document
status: number
updateDate: Date
version?: number
+

Properties

_id: UUID
creationDate: Date
keyAltNames?: string[]
keyMaterial: Binary
masterKey: Document
status: number
updateDate: Date
version?: number
diff --git a/docs/Next/interfaces/GCPEncryptionKeyOptions.html b/docs/Next/interfaces/GCPEncryptionKeyOptions.html index c230acb2ce9..2450a7b8f92 100644 --- a/docs/Next/interfaces/GCPEncryptionKeyOptions.html +++ b/docs/Next/interfaces/GCPEncryptionKeyOptions.html @@ -1,14 +1,14 @@ GCPEncryptionKeyOptions | mongodb

Interface GCPEncryptionKeyOptions

Configuration options for making an AWS encryption key

-
interface GCPEncryptionKeyOptions {
    endpoint?: string;
    keyName: string;
    keyRing: string;
    keyVersion?: string;
    location: string;
    projectId: string;
}

Properties

interface GCPEncryptionKeyOptions {
    endpoint?: string;
    keyName: string;
    keyRing: string;
    keyVersion?: string;
    location: string;
    projectId: string;
}

Properties

endpoint?: string

KMS URL, defaults to https://www.googleapis.com/auth/cloudkms

-
keyName: string

Key name

-
keyRing: string

Key ring name

-
keyVersion?: string

Key version

-
location: string

Location name (e.g. "global")

-
projectId: string

GCP project ID

-
+
keyName: string

Key name

+
keyRing: string

Key ring name

+
keyVersion?: string

Key version

+
location: string

Location name (e.g. "global")

+
projectId: string

GCP project ID

+
diff --git a/docs/Next/interfaces/KMIPEncryptionKeyOptions.html b/docs/Next/interfaces/KMIPEncryptionKeyOptions.html index e2e61e40ac4..392e31608d7 100644 --- a/docs/Next/interfaces/KMIPEncryptionKeyOptions.html +++ b/docs/Next/interfaces/KMIPEncryptionKeyOptions.html @@ -1,10 +1,10 @@ KMIPEncryptionKeyOptions | mongodb

Interface KMIPEncryptionKeyOptions

Configuration options for making a KMIP encryption key

-
interface KMIPEncryptionKeyOptions {
    delegated?: boolean;
    endpoint?: string;
    keyId?: string;
}

Properties

interface KMIPEncryptionKeyOptions {
    delegated?: boolean;
    endpoint?: string;
    keyId?: string;
}

Properties

delegated?: boolean

If true, this key should be decrypted by the KMIP server.

Requires mongodb-client-encryption>=6.0.1.

-
endpoint?: string

Host with optional port.

-
keyId?: string

keyId is the KMIP Unique Identifier to a 96 byte KMIP Secret Data managed object.

+
endpoint?: string

Host with optional port.

+
keyId?: string

keyId is the KMIP Unique Identifier to a 96 byte KMIP Secret Data managed object.

If keyId is omitted, a random 96 byte KMIP Secret Data managed object will be created.

-
+
diff --git a/docs/Next/interfaces/MonitorOptions.html b/docs/Next/interfaces/MonitorOptions.html index 76c9c81b76c..f8fd5c2cf71 100644 --- a/docs/Next/interfaces/MonitorOptions.html +++ b/docs/Next/interfaces/MonitorOptions.html @@ -52,7 +52,7 @@
ca?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

Optionally override the trusted CA certificates. Default is to trust the well-known CAs curated by Mozilla. Mozilla's CAs are completely replaced when CAs are explicitly specified using this option.

-
cancellationToken?: CancellationToken
cert?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

Cert chains in PEM format. One cert chain should be provided per +

cancellationToken?: CancellationToken
cert?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

Cert chains in PEM format. One cert chain should be provided per private key. Each cert chain should consist of the PEM formatted certificate for a provided private key, followed by the PEM formatted intermediate certificates (if any), in order, and not @@ -81,7 +81,7 @@ information, see modifying the default cipher suite. Permitted ciphers can be obtained via tls.getCiphers(). Cipher names must be uppercased in order for OpenSSL to accept them.

-
compressors?: (
    | "none"
    | "snappy"
    | "zlib"
    | "zstd")[]
connectTimeoutMS: number
credentials?: MongoCredentials
crl?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

PEM formatted CRLs (Certificate Revocation Lists).

+
compressors?: (
    | "none"
    | "snappy"
    | "zlib"
    | "zstd")[]
connectTimeoutMS: number
credentials?: MongoCredentials
crl?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

PEM formatted CRLs (Certificate Revocation Lists).

ecdhCurve?: string

A string describing a named curve or a colon separated list of curve NIDs or names, for example P-521:P-384:P-256, to use for ECDH key agreement. Set to auto to select the curve automatically. Use @@ -98,7 +98,7 @@ passphrase: ]}. The object form can only occur in an array. object.passphrase is optional. Encrypted keys will be decrypted with object.passphrase if provided, or options.passphrase if it is not.

-
loadBalanced: boolean
localAddress?: string
localPort?: number
logicalSessionTimeoutMinutes?: number
lookup?: LookupFunction
metadata: ClientMetadata
minDHSize?: number
minHeartbeatFrequencyMS: number
monitorCommands: boolean
noDelay?: boolean
passphrase?: string

Shared passphrase used for a single private key and/or a PFX.

+
loadBalanced: boolean
localAddress?: string
localPort?: number
logicalSessionTimeoutMinutes?: number
lookup?: LookupFunction
metadata: ClientMetadata
minDHSize?: number
minHeartbeatFrequencyMS: number
monitorCommands: boolean
noDelay?: boolean
passphrase?: string

Shared passphrase used for a single private key and/or a PFX.

pfx?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike> | PxfObject)[]

PFX or PKCS12 encoded private key and certificate chain. pfx is an alternative to providing key and cert individually. PFX is usually encrypted, if it is, passphrase will be used to decrypt it. Multiple @@ -107,7 +107,7 @@ passphrase: ]}. The object form can only occur in an array. object.passphrase is optional. Encrypted PFX will be decrypted with object.passphrase if provided, or options.passphrase if it is not.

-
proxyHost?: string
proxyPassword?: string
proxyPort?: number
proxyUsername?: string
rejectUnauthorized?: boolean

If true the server will reject any connection which is not +

proxyHost?: string
proxyPassword?: string
proxyPort?: number
proxyUsername?: string
rejectUnauthorized?: boolean

If true the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if requestCert is true.

true
@@ -123,5 +123,5 @@
 any TLS protocol version up to TLSv1.3. It is not recommended to use
 TLS versions less than 1.2, but it may be required for
 interoperability. Default: none, see minVersion.

-
serverApi?: ServerApi
serverMonitoringMode: ServerMonitoringMode
servername?: string
session?: Buffer<ArrayBufferLike>

An optional Buffer instance containing a TLS session.

-
socketTimeoutMS?: number
tls: boolean
+
serverApi?: ServerApi
serverMonitoringMode: ServerMonitoringMode
servername?: string
session?: Buffer<ArrayBufferLike>

An optional Buffer instance containing a TLS session.

+
socketTimeoutMS?: number
tls: boolean
diff --git a/docs/Next/interfaces/ProxyOptions.html b/docs/Next/interfaces/ProxyOptions.html index ad84ecbfd52..ba96e49350a 100644 --- a/docs/Next/interfaces/ProxyOptions.html +++ b/docs/Next/interfaces/ProxyOptions.html @@ -1,5 +1,5 @@ -ProxyOptions | mongodb

Interface ProxyOptions

interface ProxyOptions {
    proxyHost?: string;
    proxyPassword?: string;
    proxyPort?: number;
    proxyUsername?: string;
}

Hierarchy (view full)

Properties

proxyHost? +ProxyOptions | mongodb

Interface ProxyOptions

interface ProxyOptions {
    proxyHost?: string;
    proxyPassword?: string;
    proxyPort?: number;
    proxyUsername?: string;
}

Hierarchy (view full)

Properties

proxyHost?: string
proxyPassword?: string
proxyPort?: number
proxyUsername?: string
+

Properties

proxyHost?: string
proxyPassword?: string
proxyPort?: number
proxyUsername?: string
diff --git a/docs/Next/interfaces/RangeOptions.html b/docs/Next/interfaces/RangeOptions.html index 06b76678b4d..2b4ca91d6d8 100644 --- a/docs/Next/interfaces/RangeOptions.html +++ b/docs/Next/interfaces/RangeOptions.html @@ -1,13 +1,13 @@ RangeOptions | mongodb

Interface RangeOptions

RangeOptions specifies index options for a Queryable Encryption field supporting "range" queries. min, max, sparsity, trimFactor and range must match the values set in the encryptedFields of the destination collection. For double and decimal128, min/max/precision must all be set, or all be unset.

-
interface RangeOptions {
    max?: any;
    min?: any;
    precision?: number;
    sparsity?: bigint | Long;
    trimFactor?: number | Int32;
}

Properties

interface RangeOptions {
    max?: any;
    min?: any;
    precision?: number;
    sparsity?: bigint | Long;
    trimFactor?: number | Int32;
}

Properties

max?: any

max is the minimum value for the encrypted index. Required if precision is set.

-
min?: any

min is the minimum value for the encrypted index. Required if precision is set.

-
precision?: number
sparsity?: bigint | Long

sparsity may be used to tune performance. must be non-negative. When omitted, a default value is used.

-
trimFactor?: number | Int32

trimFactor may be used to tune performance. must be non-negative. When omitted, a default value is used.

-
+
min?: any

min is the minimum value for the encrypted index. Required if precision is set.

+
precision?: number
sparsity?: bigint | Long

sparsity may be used to tune performance. must be non-negative. When omitted, a default value is used.

+
trimFactor?: number | Int32

trimFactor may be used to tune performance. must be non-negative. When omitted, a default value is used.

+
diff --git a/docs/Next/interfaces/TextQueryOptions.html b/docs/Next/interfaces/TextQueryOptions.html index 84bef6defe6..10c038914d8 100644 --- a/docs/Next/interfaces/TextQueryOptions.html +++ b/docs/Next/interfaces/TextQueryOptions.html @@ -1,17 +1,17 @@ TextQueryOptions | mongodb

Interface TextQueryOptionsExperimental

Options for a Queryable Encryption field supporting text queries.

Public Technical Preview: textPreview is an experimental feature and may break at any time.

-
interface TextQueryOptions {
    caseSensitive: boolean;
    diacriticSensitive: boolean;
    prefix?: {
        strMaxQueryLength: number | Int32;
        strMinQueryLength: number | Int32;
    };
    substring?: {
        strMaxLength: number | Int32;
        strMaxQueryLength: number | Int32;
        strMinQueryLength: number | Int32;
    };
    suffix?: {
        strMaxQueryLength: number | Int32;
        strMinQueryLength: number | Int32;
    };
}

Properties

interface TextQueryOptions {
    caseSensitive: boolean;
    diacriticSensitive: boolean;
    prefix?: {
        strMaxQueryLength: number | Int32;
        strMinQueryLength: number | Int32;
    };
    substring?: {
        strMaxLength: number | Int32;
        strMaxQueryLength: number | Int32;
        strMinQueryLength: number | Int32;
    };
    suffix?: {
        strMaxQueryLength: number | Int32;
        strMinQueryLength: number | Int32;
    };
}

Properties

caseSensitive: boolean

Indicates that text indexes for this field are case sensitive

-
diacriticSensitive: boolean

Indicates that text indexes for this field are diacritic sensitive.

-
prefix?: {
    strMaxQueryLength: number | Int32;
    strMinQueryLength: number | Int32;
}

Type declaration

diacriticSensitive: boolean

Indicates that text indexes for this field are diacritic sensitive.

+
prefix?: {
    strMaxQueryLength: number | Int32;
    strMinQueryLength: number | Int32;
}

Type declaration

  • strMaxQueryLength: number | Int32

    The maximum allowed query length.

  • strMinQueryLength: number | Int32

    The minimum allowed query length.

    -
substring?: {
    strMaxLength: number | Int32;
    strMaxQueryLength: number | Int32;
    strMinQueryLength: number | Int32;
}

Type declaration

  • strMaxLength: number | Int32

    The maximum allowed length to insert.

    +
substring?: {
    strMaxLength: number | Int32;
    strMaxQueryLength: number | Int32;
    strMinQueryLength: number | Int32;
}

Type declaration

  • strMaxLength: number | Int32

    The maximum allowed length to insert.

  • strMaxQueryLength: number | Int32

    The maximum allowed query length.

  • strMinQueryLength: number | Int32

    The minimum allowed query length.

    -
suffix?: {
    strMaxQueryLength: number | Int32;
    strMinQueryLength: number | Int32;
}

Type declaration

  • strMaxQueryLength: number | Int32

    The maximum allowed query length.

    +
suffix?: {
    strMaxQueryLength: number | Int32;
    strMinQueryLength: number | Int32;
}

Type declaration

  • strMaxQueryLength: number | Int32

    The maximum allowed query length.

  • strMinQueryLength: number | Int32

    The minimum allowed query length.

    -
+
diff --git a/docs/Next/types/AWSCredentialProvider.html b/docs/Next/types/AWSCredentialProvider.html index 435d6ccb496..ecd22abf9b9 100644 --- a/docs/Next/types/AWSCredentialProvider.html +++ b/docs/Next/types/AWSCredentialProvider.html @@ -1,4 +1,4 @@ AWSCredentialProvider | mongodb

Type Alias AWSCredentialProvider

AWSCredentialProvider: (() => Promise<AWSCredentials>)
-
+
diff --git a/docs/Next/types/AutoEncryptionExtraOptions.html b/docs/Next/types/AutoEncryptionExtraOptions.html index 0988a2fa8a5..dea7c1d2a87 100644 --- a/docs/Next/types/AutoEncryptionExtraOptions.html +++ b/docs/Next/types/AutoEncryptionExtraOptions.html @@ -1,3 +1,3 @@ AutoEncryptionExtraOptions | mongodb

Type Alias AutoEncryptionExtraOptions

AutoEncryptionExtraOptions: NonNullable<AutoEncryptionOptions["extraOptions"]>

Extra options related to the mongocryptd process * Available in MongoDB 6.0 or higher.

-
+
diff --git a/docs/Next/types/AutoEncryptionLoggerLevel.html b/docs/Next/types/AutoEncryptionLoggerLevel.html index 3bf06a0c5c7..455882bfe9a 100644 --- a/docs/Next/types/AutoEncryptionLoggerLevel.html +++ b/docs/Next/types/AutoEncryptionLoggerLevel.html @@ -29,4 +29,4 @@ -
+
diff --git a/docs/Next/types/ConnectionEvents.html b/docs/Next/types/ConnectionEvents.html index a877d582df2..0a01fd81191 100644 --- a/docs/Next/types/ConnectionEvents.html +++ b/docs/Next/types/ConnectionEvents.html @@ -1 +1 @@ -ConnectionEvents | mongodb

Type Alias ConnectionEvents

ConnectionEvents: {
    close(): void;
    clusterTimeReceived(clusterTime: Document): void;
    commandFailed(event: CommandFailedEvent): void;
    commandStarted(event: CommandStartedEvent): void;
    commandSucceeded(event: CommandSucceededEvent): void;
    pinned(pinType: string): void;
    unpinned(pinType: string): void;
}
+ConnectionEvents | mongodb

Type Alias ConnectionEvents

ConnectionEvents: {
    close(): void;
    clusterTimeReceived(clusterTime: Document): void;
    commandFailed(event: CommandFailedEvent): void;
    commandStarted(event: CommandStartedEvent): void;
    commandSucceeded(event: CommandSucceededEvent): void;
    pinned(pinType: string): void;
    unpinned(pinType: string): void;
}
diff --git a/docs/Next/variables/AutoEncryptionLoggerLevel-1.html b/docs/Next/variables/AutoEncryptionLoggerLevel-1.html index 5d1573f7510..7872b792741 100644 --- a/docs/Next/variables/AutoEncryptionLoggerLevel-1.html +++ b/docs/Next/variables/AutoEncryptionLoggerLevel-1.html @@ -1 +1 @@ -AutoEncryptionLoggerLevel | mongodb

Variable AutoEncryptionLoggerLevelConst

AutoEncryptionLoggerLevel: Readonly<{
    Error: 1;
    FatalError: 0;
    Info: 3;
    Trace: 4;
    Warning: 2;
}> = ...
+AutoEncryptionLoggerLevel | mongodb

Variable AutoEncryptionLoggerLevelConst

AutoEncryptionLoggerLevel: Readonly<{
    Error: 1;
    FatalError: 0;
    Info: 3;
    Trace: 4;
    Warning: 2;
}> = ...
diff --git a/docs/Next/variables/MongoErrorLabel-1.html b/docs/Next/variables/MongoErrorLabel-1.html index c6f6c0ace40..d7afbf797a4 100644 --- a/docs/Next/variables/MongoErrorLabel-1.html +++ b/docs/Next/variables/MongoErrorLabel-1.html @@ -1 +1 @@ -MongoErrorLabel | mongodb

Variable MongoErrorLabelConst

MongoErrorLabel: Readonly<{
    HandshakeError: "HandshakeError";
    InterruptInUseConnections: "InterruptInUseConnections";
    NoWritesPerformed: "NoWritesPerformed";
    PoolRequstedRetry: "PoolRequstedRetry";
    ResetPool: "ResetPool";
    ResumableChangeStreamError: "ResumableChangeStreamError";
    RetryableWriteError: "RetryableWriteError";
    TransientTransactionError: "TransientTransactionError";
    UnknownTransactionCommitResult: "UnknownTransactionCommitResult";
}> = ...
+MongoErrorLabel | mongodb

Variable MongoErrorLabelConst

MongoErrorLabel: Readonly<{
    HandshakeError: "HandshakeError";
    InterruptInUseConnections: "InterruptInUseConnections";
    NoWritesPerformed: "NoWritesPerformed";
    PoolRequestedRetry: "PoolRequestedRetry";
    ResetPool: "ResetPool";
    ResumableChangeStreamError: "ResumableChangeStreamError";
    RetryableWriteError: "RetryableWriteError";
    TransientTransactionError: "TransientTransactionError";
    UnknownTransactionCommitResult: "UnknownTransactionCommitResult";
}> = ...
diff --git a/hugo/LICENSE b/hugo/LICENSE new file mode 100644 index 00000000000..261eeb9e9f8 --- /dev/null +++ b/hugo/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/hugo/README.md b/hugo/README.md new file mode 100644 index 00000000000..1bc23e905ec --- /dev/null +++ b/hugo/README.md @@ -0,0 +1,282 @@ +[bep]: https://github.com/bep +[bugs]: https://github.com/gohugoio/hugo/issues?q=is%3Aopen+is%3Aissue+label%3ABug +[contributing]: CONTRIBUTING.md +[create a proposal]: https://github.com/gohugoio/hugo/issues/new?labels=Proposal%2C+NeedsTriage&template=feature_request.md +[documentation repository]: https://github.com/gohugoio/hugoDocs +[documentation]: https://gohugo.io/documentation +[dragonfly bsd, freebsd, netbsd, and openbsd]: https://gohugo.io/installation/bsd +[features]: https://gohugo.io/about/features/ +[forum]: https://discourse.gohugo.io +[friends]: https://github.com/gohugoio/hugo/graphs/contributors +[go]: https://go.dev/ +[hugo modules]: https://gohugo.io/hugo-modules/ +[installation]: https://gohugo.io/installation +[issue queue]: https://github.com/gohugoio/hugo/issues +[linux]: https://gohugo.io/installation/linux +[macos]: https://gohugo.io/installation/macos +[prebuilt binary]: https://github.com/gohugoio/hugo/releases/latest +[requesting help]: https://discourse.gohugo.io/t/requesting-help/9132 +[spf13]: https://github.com/spf13 +[static site generator]: https://en.wikipedia.org/wiki/Static_site_generator +[support]: https://discourse.gohugo.io +[themes]: https://themes.gohugo.io/ +[website]: https://gohugo.io +[windows]: https://gohugo.io/installation/windows + +Hugo + +A fast and flexible static site generator built with love by [bep], [spf13], and [friends] in [Go]. + +--- + +[![GoDoc](https://godoc.org/github.com/gohugoio/hugo?status.svg)](https://godoc.org/github.com/gohugoio/hugo) +[![Tests on Linux, MacOS and Windows](https://github.com/gohugoio/hugo/workflows/Test/badge.svg)](https://github.com/gohugoio/hugo/actions?query=workflow%3ATest) +[![Go Report Card](https://goreportcard.com/badge/github.com/gohugoio/hugo)](https://goreportcard.com/report/github.com/gohugoio/hugo) + +[Website] | [Installation] | [Documentation] | [Support] | [Contributing] | Mastodon + +## Overview + +Hugo is a [static site generator] written in [Go], optimized for speed and designed for flexibility. With its advanced templating system and fast asset pipelines, Hugo renders a complete site in seconds, often less. + +Due to its flexible framework, multilingual support, and powerful taxonomy system, Hugo is widely used to create: + +- Corporate, government, nonprofit, education, news, event, and project sites +- Documentation sites +- Image portfolios +- Landing pages +- Business, professional, and personal blogs +- Resumes and CVs + +Use Hugo's embedded web server during development to instantly see changes to content, structure, behavior, and presentation. Then deploy the site to your host, or push changes to your Git provider for automated builds and deployment. + +Hugo's fast asset pipelines include: + +- Image processing – Convert, resize, crop, rotate, adjust colors, apply filters, overlay text and images, and extract EXIF data +- JavaScript bundling – Transpile TypeScript and JSX to JavaScript, bundle, tree shake, minify, create source maps, and perform SRI hashing. +- Sass processing – Transpile Sass to CSS, bundle, tree shake, minify, create source maps, perform SRI hashing, and integrate with PostCSS +- Tailwind CSS processing – Compile Tailwind CSS utility classes into standard CSS, bundle, tree shake, optimize, minify, perform SRI hashing, and integrate with PostCSS + +And with [Hugo Modules], you can share content, assets, data, translations, themes, templates, and configuration with other projects via public or private Git repositories. + +See the [features] section of the documentation for a comprehensive summary of Hugo's capabilities. + +## Sponsors + +

 

+

+ Linode +    + The complete IDE crafted for professional Go developers. +     + CloudCannon +

+ +## Editions + +Hugo is available in three editions: standard, extended, and extended/deploy. While the standard edition provides core functionality, the extended and extended/deploy editions offer advanced features. + +Feature|extended edition|extended/deploy edition +:--|:-:|:-: +Encode to the WebP format when [processing images]. You can decode WebP images with any edition.|:heavy_check_mark:|:heavy_check_mark: +[Transpile Sass to CSS] using the embedded LibSass transpiler. You can use the [Dart Sass] transpiler with any edition.|:heavy_check_mark:|:heavy_check_mark: +Deploy your site directly to a Google Cloud Storage bucket, an AWS S3 bucket, or an Azure Storage container. See [details].|:x:|:heavy_check_mark: + +[dart sass]: https://gohugo.io/functions/css/sass/#dart-sass +[processing images]: https://gohugo.io/content-management/image-processing/ +[transpile sass to css]: https://gohugo.io/functions/css/sass/ +[details]: https://gohugo.io/hosting-and-deployment/hugo-deploy/ + +Unless your specific deployment needs require the extended/deploy edition, we recommend the extended edition. + +## Installation + +Install Hugo from a [prebuilt binary], package manager, or package repository. Please see the installation instructions for your operating system: + +- [macOS] +- [Linux] +- [Windows] +- [DragonFly BSD, FreeBSD, NetBSD, and OpenBSD] + +## Build from source + +Prerequisites to build Hugo from source: + +- Standard edition: Go 1.24.0 or later +- Extended edition: Go 1.24.0 or later, and GCC +- Extended/deploy edition: Go 1.24.0 or later, and GCC + +Build the standard edition: + +```text +go install github.com/gohugoio/hugo@latest +``` + +Build the extended edition: + +```text +CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest +``` + +Build the extended/deploy edition: + +```text +CGO_ENABLED=1 go install -tags extended,withdeploy github.com/gohugoio/hugo@latest +``` + +## Star History + +[![Star History Chart](https://api.star-history.com/svg?repos=gohugoio/hugo&type=Timeline)](https://star-history.com/#gohugoio/hugo&Timeline) + +## Documentation + +Hugo's [documentation] includes installation instructions, a quick start guide, conceptual explanations, reference information, and examples. + +Please submit documentation issues and pull requests to the [documentation repository]. + +## Support + +Please **do not use the issue queue** for questions or troubleshooting. Unless you are certain that your issue is a software defect, use the [forum]. + +Hugo’s [forum] is an active community of users and developers who answer questions, share knowledge, and provide examples. A quick search of over 20,000 topics will often answer your question. Please be sure to read about [requesting help] before asking your first question. + +## Contributing + +You can contribute to the Hugo project by: + +- Answering questions on the [forum] +- Improving the [documentation] +- Monitoring the [issue queue] +- Creating or improving [themes] +- Squashing [bugs] + +Please submit documentation issues and pull requests to the [documentation repository]. + +If you have an idea for an enhancement or new feature, create a new topic on the [forum] in the "Feature" category. This will help you to: + +- Determine if the capability already exists +- Measure interest +- Refine the concept + +If there is sufficient interest, [create a proposal]. Do not submit a pull request until the project lead accepts the proposal. + +For a complete guide to contributing to Hugo, see the [Contribution Guide](CONTRIBUTING.md). + +## Dependencies + +Hugo stands on the shoulders of great open source libraries. Run `hugo env --logLevel info` to display a list of dependencies. + +
+See current dependencies + +```text +github.com/BurntSushi/locker="v0.0.0-20171006230638-a6e239ea1c69" +github.com/PuerkitoBio/goquery="v1.10.1" +github.com/alecthomas/chroma/v2="v2.15.0" +github.com/andybalholm/cascadia="v1.3.3" +github.com/armon/go-radix="v1.0.1-0.20221118154546-54df44f2176c" +github.com/bep/clocks="v0.5.0" +github.com/bep/debounce="v1.2.0" +github.com/bep/gitmap="v1.6.0" +github.com/bep/goat="v0.5.0" +github.com/bep/godartsass/v2="v2.3.2" +github.com/bep/golibsass="v1.2.0" +github.com/bep/gowebp="v0.3.0" +github.com/bep/imagemeta="v0.8.4" +github.com/bep/lazycache="v0.7.0" +github.com/bep/logg="v0.4.0" +github.com/bep/mclib="v1.20400.20402" +github.com/bep/overlayfs="v0.9.2" +github.com/bep/simplecobra="v0.5.0" +github.com/bep/tmc="v0.5.1" +github.com/cespare/xxhash/v2="v2.3.0" +github.com/clbanning/mxj/v2="v2.7.0" +github.com/cpuguy83/go-md2man/v2="v2.0.4" +github.com/disintegration/gift="v1.2.1" +github.com/dlclark/regexp2="v1.11.5" +github.com/dop251/goja="v0.0.0-20250125213203-5ef83b82af17" +github.com/evanw/esbuild="v0.24.2" +github.com/fatih/color="v1.18.0" +github.com/frankban/quicktest="v1.14.6" +github.com/fsnotify/fsnotify="v1.8.0" +github.com/getkin/kin-openapi="v0.129.0" +github.com/ghodss/yaml="v1.0.0" +github.com/go-openapi/jsonpointer="v0.21.0" +github.com/go-openapi/swag="v0.23.0" +github.com/go-sourcemap/sourcemap="v2.1.4+incompatible" +github.com/gobuffalo/flect="v1.0.3" +github.com/gobwas/glob="v0.2.3" +github.com/gohugoio/go-i18n/v2="v2.1.3-0.20230805085216-e63c13218d0e" +github.com/gohugoio/hashstructure="v0.5.0" +github.com/gohugoio/httpcache="v0.7.0" +github.com/gohugoio/hugo-goldmark-extensions/extras="v0.2.0" +github.com/gohugoio/hugo-goldmark-extensions/passthrough="v0.3.0" +github.com/gohugoio/locales="v0.14.0" +github.com/gohugoio/localescompressed="v1.0.1" +github.com/golang/freetype="v0.0.0-20170609003504-e2365dfdc4a0" +github.com/google/go-cmp="v0.6.0" +github.com/google/pprof="v0.0.0-20250208200701-d0013a598941" +github.com/gorilla/websocket="v1.5.3" +github.com/hairyhenderson/go-codeowners="v0.7.0" +github.com/hashicorp/golang-lru/v2="v2.0.7" +github.com/jdkato/prose="v1.2.1" +github.com/josharian/intern="v1.0.0" +github.com/kr/pretty="v0.3.1" +github.com/kr/text="v0.2.0" +github.com/kyokomi/emoji/v2="v2.2.13" +github.com/lucasb-eyer/go-colorful="v1.2.0" +github.com/mailru/easyjson="v0.7.7" +github.com/makeworld-the-better-one/dither/v2="v2.4.0" +github.com/marekm4/color-extractor="v1.2.1" +github.com/mattn/go-colorable="v0.1.13" +github.com/mattn/go-isatty="v0.0.20" +github.com/mattn/go-runewidth="v0.0.9" +github.com/mazznoer/csscolorparser="v0.1.5" +github.com/mitchellh/mapstructure="v1.5.1-0.20231216201459-8508981c8b6c" +github.com/mohae/deepcopy="v0.0.0-20170929034955-c48cc78d4826" +github.com/muesli/smartcrop="v0.3.0" +github.com/niklasfasching/go-org="v1.7.0" +github.com/oasdiff/yaml3="v0.0.0-20241210130736-a94c01f36349" +github.com/oasdiff/yaml="v0.0.0-20241210131133-6b86fb107d80" +github.com/olekukonko/tablewriter="v0.0.5" +github.com/pbnjay/memory="v0.0.0-20210728143218-7b4eea64cf58" +github.com/pelletier/go-toml/v2="v2.2.3" +github.com/perimeterx/marshmallow="v1.1.5" +github.com/pkg/browser="v0.0.0-20240102092130-5ac0b6a4141c" +github.com/pkg/errors="v0.9.1" +github.com/rivo/uniseg="v0.4.7" +github.com/rogpeppe/go-internal="v1.13.1" +github.com/russross/blackfriday/v2="v2.1.0" +github.com/sass/libsass="3.6.6" +github.com/spf13/afero="v1.11.0" +github.com/spf13/cast="v1.7.1" +github.com/spf13/cobra="v1.8.1" +github.com/spf13/fsync="v0.10.1" +github.com/spf13/pflag="v1.0.6" +github.com/tdewolff/minify/v2="v2.20.37" +github.com/tdewolff/parse/v2="v2.7.15" +github.com/tetratelabs/wazero="v1.8.2" +github.com/webmproject/libwebp="v1.3.2" +github.com/yuin/goldmark-emoji="v1.0.4" +github.com/yuin/goldmark="v1.7.8" +go.uber.org/automaxprocs="v1.5.3" +golang.org/x/crypto="v0.33.0" +golang.org/x/exp="v0.0.0-20250210185358-939b2ce775ac" +golang.org/x/image="v0.24.0" +golang.org/x/mod="v0.23.0" +golang.org/x/net="v0.35.0" +golang.org/x/sync="v0.11.0" +golang.org/x/sys="v0.30.0" +golang.org/x/text="v0.22.0" +golang.org/x/tools="v0.30.0" +golang.org/x/xerrors="v0.0.0-20240903120638-7835f813f4da" +gonum.org/v1/plot="v0.15.0" +google.golang.org/protobuf="v1.36.5" +gopkg.in/yaml.v2="v2.4.0" +gopkg.in/yaml.v3="v3.0.1" +oss.terrastruct.com/d2="v0.6.9" +oss.terrastruct.com/util-go="v0.0.0-20241005222610-44c011a04896" +rsc.io/qr="v0.2.0" +software.sslmate.com/src/go-pkcs12="v0.2.0" +``` +
diff --git a/hugo/hugo b/hugo/hugo new file mode 100755 index 00000000000..21ffd78e3e8 Binary files /dev/null and b/hugo/hugo differ