Skip to content

Commit

Permalink
Merge pull request #801 from Annopaolo/consume-events-for-real
Browse files Browse the repository at this point in the history
TriggerEngine: do not fail when receiving events with `version` unset
  • Loading branch information
rbino authored Jun 15, 2023
2 parents 1f2b9c8 + 5a53206 commit b73a6aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.1.0] - Unreleased
### Fixed
- [astarte_trigger_engine] Allow to decode events that do not contain the
deprecated `version` field.

## [1.1.0-rc.0] - 2023-06-09
### Changed
- Update Elixir to 1.14.5 and Erlang/OTP to 25.3.2.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ defmodule Astarte.TriggerEngine.EventsConsumer do
event: {
event_type,
event
},
version: 1
}
} = decoded_payload

timestamp_ms =
Expand Down

0 comments on commit b73a6aa

Please sign in to comment.