Skip to content

Commit 3b42b85

Browse files
authored
mTLS functionality taken out of preview (#1237)
1 parent 0ebd3b5 commit 3b42b85

File tree

4 files changed

+12
-24
lines changed

4 files changed

+12
-24
lines changed

packages/core/src/client-certificate.ts

+5-10
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ type KeyFile = string | { path: string, password?: string }
3939
*
4040
* @interface
4141
* @see https://nodejs.org/api/tls.html#tlscreatesecurecontextoptions
42-
* @experimental Exposed as preview feature.
43-
* @since 5.19
42+
* @since 5.27
4443
*/
4544
export default class ClientCertificate {
4645
public readonly certfile: string | string[]
@@ -87,8 +86,7 @@ export default class ClientCertificate {
8786
* Should fetching the certificate be particularly slow, it might be necessary to increase the timeout.
8887
*
8988
* @interface
90-
* @experimental Exposed as preview feature.
91-
* @since 5.19
89+
* @since 5.27
9290
*/
9391
export class ClientCertificateProvider {
9492
/**
@@ -116,8 +114,7 @@ export class ClientCertificateProvider {
116114
/**
117115
* Interface for {@link ClientCertificateProvider} which provides update certificate function.
118116
* @interface
119-
* @experimental Exposed as preview feature.
120-
* @since 5.19
117+
* @since 5.27
121118
*/
122119
export class RotatingClientCertificateProvider extends ClientCertificateProvider {
123120
/**
@@ -136,8 +133,7 @@ export class RotatingClientCertificateProvider extends ClientCertificateProvider
136133
/**
137134
* Defines the object which holds the common {@link ClientCertificateProviders} used in the Driver
138135
*
139-
* @experimental Exposed as preview feature.
140-
* @since 5.19
136+
* @since 5.27
141137
*/
142138
class ClientCertificateProviders {
143139
/**
@@ -161,8 +157,7 @@ class ClientCertificateProviders {
161157
/**
162158
* Holds the common {@link ClientCertificateProviders} used in the Driver.
163159
*
164-
* @experimental Exposed as preview feature.
165-
* @since 5.19
160+
* @since 5.27
166161
*/
167162
const clientCertificateProviders: ClientCertificateProviders = new ClientCertificateProviders()
168163

packages/core/src/types.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,7 @@ export class Config {
350350
* where the {@link ClientCertificate} might change over time.
351351
*
352352
* @type {ClientCertificate|ClientCertificateProvider|undefined}
353-
* @experimental Exposed as preview feature.
354-
* @since 5.19
353+
* @since 5.27
355354
*/
356355
this.clientCertificate = undefined
357356
}

packages/neo4j-driver-deno/lib/core/client-certificate.ts

+5-10
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ type KeyFile = string | { path: string, password?: string }
3939
*
4040
* @interface
4141
* @see https://nodejs.org/api/tls.html#tlscreatesecurecontextoptions
42-
* @experimental Exposed as preview feature.
43-
* @since 5.19
42+
* @since 5.27
4443
*/
4544
export default class ClientCertificate {
4645
public readonly certfile: string | string[]
@@ -87,8 +86,7 @@ export default class ClientCertificate {
8786
* Should fetching the certificate be particularly slow, it might be necessary to increase the timeout.
8887
*
8988
* @interface
90-
* @experimental Exposed as preview feature.
91-
* @since 5.19
89+
* @since 5.27
9290
*/
9391
export class ClientCertificateProvider {
9492
/**
@@ -116,8 +114,7 @@ export class ClientCertificateProvider {
116114
/**
117115
* Interface for {@link ClientCertificateProvider} which provides update certificate function.
118116
* @interface
119-
* @experimental Exposed as preview feature.
120-
* @since 5.19
117+
* @since 5.27
121118
*/
122119
export class RotatingClientCertificateProvider extends ClientCertificateProvider {
123120
/**
@@ -136,8 +133,7 @@ export class RotatingClientCertificateProvider extends ClientCertificateProvider
136133
/**
137134
* Defines the object which holds the common {@link ClientCertificateProviders} used in the Driver
138135
*
139-
* @experimental Exposed as preview feature.
140-
* @since 5.19
136+
* @since 5.27
141137
*/
142138
class ClientCertificateProviders {
143139
/**
@@ -161,8 +157,7 @@ class ClientCertificateProviders {
161157
/**
162158
* Holds the common {@link ClientCertificateProviders} used in the Driver.
163159
*
164-
* @experimental Exposed as preview feature.
165-
* @since 5.19
160+
* @since 5.27
166161
*/
167162
const clientCertificateProviders: ClientCertificateProviders = new ClientCertificateProviders()
168163

packages/neo4j-driver-deno/lib/core/types.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,7 @@ export class Config {
350350
* where the {@link ClientCertificate} might change over time.
351351
*
352352
* @type {ClientCertificate|ClientCertificateProvider|undefined}
353-
* @experimental Exposed as preview feature.
354-
* @since 5.19
353+
* @since 5.27
355354
*/
356355
this.clientCertificate = undefined
357356
}

0 commit comments

Comments
 (0)