Skip to content

Commit 4189a3d

Browse files
authored
chore(release): Prepare for v3.3.0-rc.1 release (#575)
Update protos, update e2e pipeline, bump version Signed-off-by: Shubham Sharma <[email protected]>
1 parent 319e2fb commit 4189a3d

24 files changed

+1089
-676
lines changed

.github/workflows/test-e2e.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
test-e2e:
3535
runs-on: ubuntu-latest
3636
env:
37-
GOVER: 1.20
38-
DAPR_CLI_VER: 1.12.0
39-
DAPR_RUNTIME_VER: 1.12.0
37+
GOVER: 1.21
38+
DAPR_CLI_VER: 1.13.0-rc.1
39+
DAPR_RUNTIME_VER: 1.13.0-rc.10
4040
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
4141
DAPR_CLI_REF: ""
4242
DAPR_REF: ""

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dapr/dapr",
3-
"version": "3.2.0",
3+
"version": "3.3.0-rc.1",
44
"description": "The official Dapr (https://dapr.io) SDK for Node.js",
55
"types": "./build/index.d.ts",
66
"scripts": {

scripts/fetch-proto.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ OS=$(echo `uname`|tr '[:upper:]' '[:lower:]')
33
ARCH=$(uname -m)
44
ORG_NAME="dapr"
55
REPO_NAME="dapr"
6-
BRANCH_NAME="v1.12.0"
6+
BRANCH_NAME="v1.13.0-rc.10"
77

88
# Path to store output
99
PATH_ROOT=$(pwd)

src/proto/dapr/proto/common/v1/common_pb.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@
1313

1414
var jspb = require('google-protobuf');
1515
var goog = jspb;
16-
var global =
17-
(typeof globalThis !== 'undefined' && globalThis) ||
18-
(typeof window !== 'undefined' && window) ||
19-
(typeof global !== 'undefined' && global) ||
20-
(typeof self !== 'undefined' && self) ||
21-
(function () { return this; }).call(null) ||
22-
Function('return this')();
16+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
2317

2418
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
2519
goog.object.extend(proto, google_protobuf_any_pb);
@@ -1284,8 +1278,7 @@ proto.dapr.proto.common.v1.StateItem.prototype.getMetadataMap = function(opt_noL
12841278
*/
12851279
proto.dapr.proto.common.v1.StateItem.prototype.clearMetadataMap = function() {
12861280
this.getMetadataMap().clear();
1287-
return this;
1288-
};
1281+
return this;};
12891282

12901283

12911284
/**
@@ -1823,8 +1816,7 @@ proto.dapr.proto.common.v1.ConfigurationItem.prototype.getMetadataMap = function
18231816
*/
18241817
proto.dapr.proto.common.v1.ConfigurationItem.prototype.clearMetadataMap = function() {
18251818
this.getMetadataMap().clear();
1826-
return this;
1827-
};
1819+
return this;};
18281820

18291821

18301822
goog.object.extend(exports, proto.dapr.proto.common.v1);

src/proto/dapr/proto/internals/v1/apiversion_pb.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@
1313

1414
var jspb = require('google-protobuf');
1515
var goog = jspb;
16-
var global =
17-
(typeof globalThis !== 'undefined' && globalThis) ||
18-
(typeof window !== 'undefined' && window) ||
19-
(typeof global !== 'undefined' && global) ||
20-
(typeof self !== 'undefined' && self) ||
21-
(function () { return this; }).call(null) ||
22-
Function('return this')();
16+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
2317

2418
goog.exportSymbol('proto.dapr.proto.internals.v1.APIVersion', null, global);
2519
/**

src/proto/dapr/proto/internals/v1/service_invocation_pb.js

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@
1313

1414
var jspb = require('google-protobuf');
1515
var goog = jspb;
16-
var global =
17-
(typeof globalThis !== 'undefined' && globalThis) ||
18-
(typeof window !== 'undefined' && window) ||
19-
(typeof global !== 'undefined' && global) ||
20-
(typeof self !== 'undefined' && self) ||
21-
(function () { return this; }).call(null) ||
22-
Function('return this')();
16+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
2317

2418
var dapr_proto_common_v1_common_pb = require('../../../../dapr/proto/common/v1/common_pb.js');
2519
goog.object.extend(proto, dapr_proto_common_v1_common_pb);
@@ -507,8 +501,7 @@ proto.dapr.proto.internals.v1.InternalInvokeRequest.prototype.getMetadataMap = f
507501
*/
508502
proto.dapr.proto.internals.v1.InternalInvokeRequest.prototype.clearMetadataMap = function() {
509503
this.getMetadataMap().clear();
510-
return this;
511-
};
504+
return this;};
512505

513506

514507
/**
@@ -791,8 +784,7 @@ proto.dapr.proto.internals.v1.InternalInvokeResponse.prototype.getHeadersMap = f
791784
*/
792785
proto.dapr.proto.internals.v1.InternalInvokeResponse.prototype.clearHeadersMap = function() {
793786
this.getHeadersMap().clear();
794-
return this;
795-
};
787+
return this;};
796788

797789

798790
/**
@@ -814,8 +806,7 @@ proto.dapr.proto.internals.v1.InternalInvokeResponse.prototype.getTrailersMap =
814806
*/
815807
proto.dapr.proto.internals.v1.InternalInvokeResponse.prototype.clearTrailersMap = function() {
816808
this.getTrailersMap().clear();
817-
return this;
818-
};
809+
return this;};
819810

820811

821812
/**

src/proto/dapr/proto/internals/v1/status_pb.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@
1313

1414
var jspb = require('google-protobuf');
1515
var goog = jspb;
16-
var global =
17-
(typeof globalThis !== 'undefined' && globalThis) ||
18-
(typeof window !== 'undefined' && window) ||
19-
(typeof global !== 'undefined' && global) ||
20-
(typeof self !== 'undefined' && self) ||
21-
(function () { return this; }).call(null) ||
22-
Function('return this')();
16+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
2317

2418
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
2519
goog.object.extend(proto, google_protobuf_any_pb);

src/proto/dapr/proto/operator/v1/operator.proto

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,21 @@ service Operator {
4040
rpc HTTPEndpointUpdate (HTTPEndpointUpdateRequest) returns (stream HTTPEndpointUpdateEvent) {}
4141
}
4242

43+
// ResourceEventType is the type of event to a resource.
44+
enum ResourceEventType {
45+
// UNKNOWN indicates that the event type is unknown.
46+
UNKNOWN = 0;
47+
48+
// CREATED indicates that the resource has been created.
49+
CREATED = 1;
50+
51+
// UPDATED indicates that the resource has been updated.
52+
UPDATED = 2;
53+
54+
// DELETED indicates that the resource has been deleted.
55+
DELETED = 3;
56+
}
57+
4358
// ListComponentsRequest is the request to get components for a sidecar in namespace.
4459
message ListComponentsRequest {
4560
string namespace = 1;
@@ -55,6 +70,9 @@ message ComponentUpdateRequest {
5570
// ComponentUpdateEvent includes the updated component event.
5671
message ComponentUpdateEvent {
5772
bytes component = 1;
73+
74+
// type is the type of event.
75+
ResourceEventType type = 2;
5876
}
5977

6078
// ListComponentResponse includes the list of available components.
@@ -134,4 +152,4 @@ message HTTPEndpointUpdateRequest {
134152
// HTTPEndpointsUpdateEvent includes the updated http endpoint event.
135153
message HTTPEndpointUpdateEvent {
136154
bytes http_endpoints = 1;
137-
}
155+
}

src/proto/dapr/proto/operator/v1/operator_pb.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ export class ComponentUpdateEvent extends jspb.Message {
5858
getComponent_asU8(): Uint8Array;
5959
getComponent_asB64(): string;
6060
setComponent(value: Uint8Array | string): ComponentUpdateEvent;
61+
getType(): ResourceEventType;
62+
setType(value: ResourceEventType): ComponentUpdateEvent;
6163

6264
serializeBinary(): Uint8Array;
6365
toObject(includeInstance?: boolean): ComponentUpdateEvent.AsObject;
@@ -72,6 +74,7 @@ export class ComponentUpdateEvent extends jspb.Message {
7274
export namespace ComponentUpdateEvent {
7375
export type AsObject = {
7476
component: Uint8Array | string,
77+
type: ResourceEventType,
7578
}
7679
}
7780

@@ -416,3 +419,10 @@ export namespace HTTPEndpointUpdateEvent {
416419
httpEndpoints: Uint8Array | string,
417420
}
418421
}
422+
423+
export enum ResourceEventType {
424+
UNKNOWN = 0,
425+
CREATED = 1,
426+
UPDATED = 2,
427+
DELETED = 3,
428+
}

0 commit comments

Comments
 (0)