Skip to content

Commit

Permalink
0.82
Browse files Browse the repository at this point in the history
  • Loading branch information
wbouvy committed Aug 5, 2021
1 parent ae84c63 commit eac2b44
Show file tree
Hide file tree
Showing 17 changed files with 7,551 additions and 64 deletions.
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
# Changelog Hiber API

### 0.82 (2021-08-05)

#### Changes

- Removed a few unnecessary imports.

##### EasypulseService

- Introduced the `EasypulseService` for Easypulse-specific implementations.
- This API requires the `Organization.Feature.EASYPULSE` feature flag.
- This is mostly a convenience view on the normal modems and messages.
- `Easypulse.History` allows you to fetch individual message fields and apply aggregations to them, for example
- the average pressure per day
- the sum of run time per week
- This feature will be made available for all organizations soon in the `ModemService`.

##### EventService

- Corrected the text for ModemCreatedEvent, which is now produced any time modems are created, whether it is manually
or automatically.

##### HealthService

- Cleaned up the documentation for `HealthLevel`.

##### ModemMessageBodyParserService

- Added `ModemMessageBodyParser.DataField` to define more properties for data fields in a parser.
This is mostly used internally, to power the new Easypulse service.
- Updated `ModemMessageBodyParser`, `UploadModemMessageBodyParserRequest` and
`UpdateUploadedModemMessageBodyParserRequest`:
- Deprecated and renamed the repeated string `data_fields` to `data_fields_deprecated`.
- Added `data_fields` as the repeated `DataField`s.
- Introduced `UnitOfMeasurement` in `base.proto` to support defining the type for parser data fields.

##### ModemDownlinkMessageService

- Introduced the experimental `ModemDownlinkMessageService` to store and fetch messages that should be sent to
your devices.
For now, this is just a CRUD service to prepare and fetch messages, but expect more features in the future.

##### OrganizationPermissions

- Added `OrganizationPermission.MODEM_DOWNLINK_MESSAGES` for using the new ModemDownlinkMessageService.

#### Generated Documentation

- In this release, we're experimenting with some automatically generated documentation in the `docs` folder.

### 0.81 (2021-07-05)

This release contains a collection of minor features:
Expand Down
21 changes: 21 additions & 0 deletions base.proto
Original file line number Diff line number Diff line change
Expand Up @@ -424,3 +424,24 @@ message Avatar {
NamedFile image = 2;
}
}

/* Unit of measurement for a numeric value. */
enum UnitOfMeasurement {
UNIT_UNKNOWN = 0;
DURATION_SECONDS = 1;
DURATION_MINUTES = 2;
DURATION_HOURS = 3;
DURATION_DAYS = 4;
TEMPERATURE_KELVIN = 5;
TEMPERATURE_DEGREES_CELSIUS = 6;
TEMPERATURE_DEGREES_FAHRENHEIT = 7;
DISTANCE_METER = 8;
DISTANCE_MILLIMETER = 9;
DISTANCE_CENTIMETER = 10;
DISTANCE_KILOMETER = 11;
PRESSURE_BAR = 12;
PRESSURE_BAR_GROUND = 13;
PRESSURE_PSI = 14;
VOLTAGE_MILLIVOLT = 15;
PERCENT = 16;
}
Loading

0 comments on commit eac2b44

Please sign in to comment.