Skip to content

0.11.1

Latest
Compare
Choose a tag to compare
@jchesterpivotal jchesterpivotal released this 06 Oct 19:50

Bug Fixes

v0.11.0 introduced an events.json file. As noted in #35, information in this file was not complete; it left out the critical event type and event type version fields due to a misunderstanding about Concourse's data types for events.

This version fixes the bug.

Breaking Changes

The structure of entries in the events array inside events.json has changed.

An entry that previously looked like this:

{"time":1538845130,"origin":{"id":"5bb8df9a","source":"stderr"},"payload":"c018b674c414: Pull complete\n"}

Now looks like this:

{"data":{"time":1538845130,"origin":{"id":"5bb8df9a","source":"stderr"},"payload":"c018b674c414: Pull complete\n"},"event":"log","version":"5.1"} 

The key changes are:

  1. The original toplevel object is now the value of the data key
  2. event is added, its value is the event type
  3. version is added, its value is the event type version

After these changes, the JSON objects have the same format as the objects sent by Concourse.