@temporalio/common 1.12.0-rc.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,6 +94,7 @@ export interface ActivityOptions {
94
94
  *
95
95
  * @default 'COMPATIBLE'
96
96
  *
97
+ * @deprecated In favor of the new Worker Deployment API.
97
98
  * @experimental The Worker Versioning API is still being designed. Major changes are expected.
98
99
  */
99
100
  versioningIntent?: VersioningIntent;
@@ -2,6 +2,7 @@ import type { VersioningIntent as VersioningIntentString } from './versioning-in
2
2
  /**
3
3
  * Protobuf enum representation of {@link VersioningIntentString}.
4
4
  *
5
+ * @deprecated In favor of the new Worker Deployment API.
5
6
  * @experimental The Worker Versioning API is still being designed. Major changes are expected.
6
7
  */
7
8
  export declare enum VersioningIntent {
@@ -3,11 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VersioningIntent = void 0;
4
4
  exports.versioningIntentToProto = versioningIntentToProto;
5
5
  const type_helpers_1 = require("./type-helpers");
6
+ /* eslint-disable deprecation/deprecation */
6
7
  // Avoid importing the proto implementation to reduce workflow bundle size
7
8
  // Copied from coresdk.common.VersioningIntent
8
9
  /**
9
10
  * Protobuf enum representation of {@link VersioningIntentString}.
10
11
  *
12
+ * @deprecated In favor of the new Worker Deployment API.
11
13
  * @experimental The Worker Versioning API is still being designed. Major changes are expected.
12
14
  */
13
15
  var VersioningIntent;
@@ -1 +1 @@
1
- {"version":3,"file":"versioning-intent-enum.js","sourceRoot":"","sources":["../src/versioning-intent-enum.ts"],"names":[],"mappings":";;;AAoBA,0DAWC;AA7BD,iDAA2D;AAE3D,0EAA0E;AAC1E,8CAA8C;AAC9C;;;;GAIG;AACH,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,qEAAe,CAAA;IACf,mEAAc,CAAA;IACd,6DAAW,CAAA;AACb,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAED,IAAA,2BAAY,GAAqD,CAAC;AAClE,IAAA,2BAAY,GAAqD,CAAC;AAElE,SAAgB,uBAAuB,CAAC,MAA0C;IAChF,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,SAAS;YACZ,OAAO,gBAAgB,CAAC,OAAO,CAAC;QAClC,KAAK,YAAY;YACf,OAAO,gBAAgB,CAAC,UAAU,CAAC;QACrC,KAAK,SAAS;YACZ,OAAO,gBAAgB,CAAC,WAAW,CAAC;QACtC;YACE,IAAA,0BAAW,EAAC,6BAA6B,EAAE,MAAM,CAAC,CAAC;IACvD,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"versioning-intent-enum.js","sourceRoot":"","sources":["../src/versioning-intent-enum.ts"],"names":[],"mappings":";;;AAuBA,0DAWC;AAhCD,iDAA2D;AAE3D,4CAA4C;AAE5C,0EAA0E;AAC1E,8CAA8C;AAC9C;;;;;GAKG;AACH,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,qEAAe,CAAA;IACf,mEAAc,CAAA;IACd,6DAAW,CAAA;AACb,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAED,IAAA,2BAAY,GAAqD,CAAC;AAClE,IAAA,2BAAY,GAAqD,CAAC;AAElE,SAAgB,uBAAuB,CAAC,MAA0C;IAChF,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,SAAS;YACZ,OAAO,gBAAgB,CAAC,OAAO,CAAC;QAClC,KAAK,YAAY;YACf,OAAO,gBAAgB,CAAC,UAAU,CAAC;QACrC,KAAK,SAAS;YACZ,OAAO,gBAAgB,CAAC,WAAW,CAAC;QACtC;YACE,IAAA,0BAAW,EAAC,6BAA6B,EAAE,MAAM,CAAC,CAAC;IACvD,CAAC;AACH,CAAC"}
@@ -11,6 +11,7 @@
11
11
  * current worker. The default behavior for starting Workflows is `DEFAULT`. The default behavior for Workflows starting
12
12
  * Activities, starting Child Workflows, or Continuing As New is `COMPATIBLE`.
13
13
  *
14
+ * @deprecated In favor of the new Worker Deployment API.
14
15
  * @experimental The Worker Versioning API is still being designed. Major changes are expected.
15
16
  */
16
17
  export type VersioningIntent = 'COMPATIBLE' | 'DEFAULT';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temporalio/common",
3
- "version": "1.12.0-rc.0",
3
+ "version": "1.12.1",
4
4
  "description": "Common library for code that's used across the Client, Worker, and/or Workflow",
5
5
  "main": "lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -12,7 +12,7 @@
12
12
  "author": "Temporal Technologies Inc. <sdk@temporal.io>",
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@temporalio/proto": "1.12.0-rc.0",
15
+ "@temporalio/proto": "1.12.1",
16
16
  "long": "^5.2.3",
17
17
  "ms": "^3.0.0-canary.1",
18
18
  "proto3-json-serializer": "^2.0.0"
@@ -39,5 +39,5 @@
39
39
  "src",
40
40
  "lib"
41
41
  ],
42
- "gitHead": "3e02f59f5c3edbdd3a4d05bc77c3bee9dbdc1226"
42
+ "gitHead": "0e30a8f5a56dceb20fe623e0fa0b329a32b5f117"
43
43
  }
@@ -120,9 +120,10 @@ export interface ActivityOptions {
120
120
  *
121
121
  * @default 'COMPATIBLE'
122
122
  *
123
+ * @deprecated In favor of the new Worker Deployment API.
123
124
  * @experimental The Worker Versioning API is still being designed. Major changes are expected.
124
125
  */
125
- versioningIntent?: VersioningIntent;
126
+ versioningIntent?: VersioningIntent; // eslint-disable-line deprecation/deprecation
126
127
 
127
128
  /**
128
129
  * Priority of this activity
@@ -2,11 +2,14 @@ import type { coresdk } from '@temporalio/proto';
2
2
  import type { VersioningIntent as VersioningIntentString } from './versioning-intent';
3
3
  import { assertNever, checkExtends } from './type-helpers';
4
4
 
5
+ /* eslint-disable deprecation/deprecation */
6
+
5
7
  // Avoid importing the proto implementation to reduce workflow bundle size
6
8
  // Copied from coresdk.common.VersioningIntent
7
9
  /**
8
10
  * Protobuf enum representation of {@link VersioningIntentString}.
9
11
  *
12
+ * @deprecated In favor of the new Worker Deployment API.
10
13
  * @experimental The Worker Versioning API is still being designed. Major changes are expected.
11
14
  */
12
15
  export enum VersioningIntent {
@@ -11,6 +11,7 @@
11
11
  * current worker. The default behavior for starting Workflows is `DEFAULT`. The default behavior for Workflows starting
12
12
  * Activities, starting Child Workflows, or Continuing As New is `COMPATIBLE`.
13
13
  *
14
+ * @deprecated In favor of the new Worker Deployment API.
14
15
  * @experimental The Worker Versioning API is still being designed. Major changes are expected.
15
16
  */
16
17
  export type VersioningIntent = 'COMPATIBLE' | 'DEFAULT';