diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f8be3d..d4c600e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,38 @@ # Changelog Hiber API +### 0.52 (2020-07-06) + +This release contains a few minor additions and some bugfixes. + +#### Changes + +##### AWSIoTService + +- Added `created_by`, containing the user id of the user who created this publisher, to `AWSIoTConfiguration`. + +##### MQTTService + +- Added `created_by`, containing the user id of the user who created this publisher, to `MQTTPublisher`. + +##### SlackIntegrationService + +- Added `created_by`, containing the user id of the user who created this publisher, to `SlackPublisher`. + +##### WebhookService + +- Added `created_by`, containing the user id of the user who created this publisher, to `Webhook`. + +##### Other + +- Added `created_by`, containing the user id of the user who created this publisher, to `Publisher` + (the generic publisher object used in events). + +#### Bugfixes + +- Fixed a bug where some message would not generate message events, because of a bug in the changes that introduced + the new `ModemMessageBodyReceivedEvent` and `ModemMessageBodyParsedEvent` types. + No data was lost, and the events will be generated by the system after the update. + ### 0.51 (2020-06-29) This release introduces automatic assignment rules for modem message body parsers. diff --git a/email_notifications.proto b/email_notifications.proto index ef425fe..e0fc7c0 100644 --- a/email_notifications.proto +++ b/email_notifications.proto @@ -25,6 +25,7 @@ message EmailNotificationPreferences { string name = 2; } + /* The organization that owns this publisher */ string organization = 1; /* Events to receive by email. */ diff --git a/integration_aws_iot.proto b/integration_aws_iot.proto index 39c30a1..2b25584 100644 --- a/integration_aws_iot.proto +++ b/integration_aws_iot.proto @@ -20,6 +20,10 @@ service AWSIoTService { message AWSIoTConfiguration { int64 publisher_id = 1; + + /* The uid of the user that created this publisher. */ + string created_by = 12; + string url = 2; Filter.Modems modems = 3; int64 certificate_id = 4; diff --git a/integration_mqtt.proto b/integration_mqtt.proto index 043da08..98e4731 100644 --- a/integration_mqtt.proto +++ b/integration_mqtt.proto @@ -25,6 +25,10 @@ service MQTTService { message MQTTPublisher { int64 id = 1; string description = 2; + + /* The uid of the user that created this publisher */ + string created_by = 10; + Data data = 3; Filter.Events filter_event_types = 4; Filter.Modems filter_modem_numbers = 5; diff --git a/integration_slack.proto b/integration_slack.proto index 2c0a4b4..564efde 100644 --- a/integration_slack.proto +++ b/integration_slack.proto @@ -25,6 +25,10 @@ service SlackIntegrationService { message SlackPublisher { int64 id = 1; string description = 2; + + /* The uid of the user that created this publisher */ + string created_by = 10; + Data data = 3; Filter.Events filter_event_types = 4; Filter.Modems filter_modem_numbers = 5; diff --git a/publisher.proto b/publisher.proto index f4890c5..4deb2b4 100644 --- a/publisher.proto +++ b/publisher.proto @@ -45,6 +45,9 @@ message Publisher { Timestamp in_cooldown_until = 8; bool disabled = 9; + /* Firebase uid of the user that created this publisher */ + string created_by = 15; + /* The configuration for its type. */ oneof data { webhook.Webhook.WebhookData http = 10; diff --git a/webhook.proto b/webhook.proto index f7f7feb..6adbc60 100644 --- a/webhook.proto +++ b/webhook.proto @@ -28,6 +28,7 @@ service WebhookService { message Webhook { int64 id = 1; string organization = 2; + string created_by = 10; string description = 3; WebhookData data = 4; WebhookFilters filters = 5;